diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 7c3e8df3c..99e57fa01 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -148,14 +148,10 @@ docs/BankTransfersEventsUpdateWebhookForAuth.md docs/BaseReport.md docs/BaseReportAccount.md docs/BaseReportAccountBalances.md -docs/BaseReportAccountBalancesAllOf.md docs/BaseReportAccountInsights.md docs/BaseReportAverageFlowInsights.md docs/BaseReportAverageMonthlyBalances.md -docs/BaseReportCreateRequest.md -docs/BaseReportCreateResponse.md -docs/BaseReportGetRequest.md -docs/BaseReportGetResponse.md +docs/BaseReportHistoricalBalance.md docs/BaseReportItem.md docs/BaseReportLongestGapInsights.md docs/BaseReportNumberFlowInsights.md @@ -184,6 +180,7 @@ docs/BeaconMatchSummaryCode.md docs/BeaconReport.md docs/BeaconReportCreateRequest.md docs/BeaconReportCreateResponse.md +docs/BeaconReportCreateType.md docs/BeaconReportCreatedWebhook.md docs/BeaconReportGetRequest.md docs/BeaconReportGetResponse.md @@ -199,6 +196,7 @@ docs/BeaconReportSyndicationListResponse.md docs/BeaconReportSyndicationOriginalReport.md docs/BeaconReportType.md docs/BeaconReportUpdatedWebhook.md +docs/BeaconSyndicatedReportDepositoryAccountMatchAnalysis.md docs/BeaconUser.md docs/BeaconUserAccountInsightsGetRequest.md docs/BeaconUserAccountInsightsGetResponse.md @@ -206,6 +204,7 @@ docs/BeaconUserAddress.md docs/BeaconUserCreateRequest.md docs/BeaconUserCreateResponse.md docs/BeaconUserData.md +docs/BeaconUserDepositoryAccount.md docs/BeaconUserGetRequest.md docs/BeaconUserGetResponse.md docs/BeaconUserHistoryListRequest.md @@ -216,6 +215,7 @@ docs/BeaconUserNameNullable.md docs/BeaconUserRequestAddress.md docs/BeaconUserRequestAddressNullable.md docs/BeaconUserRequestData.md +docs/BeaconUserRequestDepositoryAccount.md docs/BeaconUserReviewRequest.md docs/BeaconUserRevision.md docs/BeaconUserStatus.md @@ -224,6 +224,7 @@ docs/BeaconUserUpdateRequest.md docs/BeaconUserUpdateRequestData.md docs/BeaconUserUpdateResponse.md docs/CRALoansRegisterRequest.md +docs/CashflowAttributesVersion.md docs/CategoriesGetResponse.md docs/Category.md docs/CategoryInsightDetails.md @@ -236,6 +237,8 @@ docs/ClientProvidedRawTransaction.md docs/ClientProvidedTransaction.md docs/ClientProvidedTransactionLocation.md docs/ConnectedApplication.md +docs/ConsumerDispute.md +docs/ConsumerDisputeCategory.md docs/ConsumerReportPDFGetRequest.md docs/ConsumerReportPermissiblePurpose.md docs/ConsumerReportUserIdentity.md @@ -262,15 +265,21 @@ docs/CraBankIncomeSummary.md docs/CraBankIncomeTransaction.md docs/CraBankIncomeWarning.md docs/CraBankIncomeWarningCode.md +docs/CraBaseReportCreateRequest.md +docs/CraBaseReportCreateResponse.md +docs/CraBaseReportGetRequest.md +docs/CraBaseReportGetResponse.md +docs/CraCashflowInsightsReport.md docs/CraCheckReportBaseReportGetRequest.md docs/CraCheckReportBaseReportGetResponse.md +docs/CraCheckReportCashflowInsightsGetOptions.md docs/CraCheckReportCreateRequest.md docs/CraCheckReportCreateResponse.md docs/CraCheckReportFailedWebhook.md docs/CraCheckReportIncomeInsightsGetRequest.md docs/CraCheckReportIncomeInsightsGetResponse.md -docs/CraCheckReportNetworkAttributesGetRequest.md -docs/CraCheckReportNetworkAttributesGetResponse.md +docs/CraCheckReportNetworkInsightsGetRequest.md +docs/CraCheckReportNetworkInsightsGetResponse.md docs/CraCheckReportPDFGetRequest.md docs/CraCheckReportPartnerInsightsGetOptions.md docs/CraCheckReportPartnerInsightsGetRequest.md @@ -298,8 +307,15 @@ docs/CraLoansRegisterResponse.md docs/CraLoansUnregisterRequest.md docs/CraLoansUpdateRequest.md docs/CraLoansUpdateResponse.md -docs/CraNetworkAttributesItem.md -docs/CraNetworkAttributesReport.md +docs/CraMonitoringInsightsGetRequest.md +docs/CraMonitoringInsightsGetResponse.md +docs/CraMonitoringInsightsItem.md +docs/CraMonitoringInsightsSubscribeRequest.md +docs/CraMonitoringInsightsSubscribeResponse.md +docs/CraMonitoringInsightsUnsubscribeRequest.md +docs/CraMonitoringInsightsUnsubscribeResponse.md +docs/CraNetworkInsightsItem.md +docs/CraNetworkInsightsReport.md docs/CraPDFAddOns.md docs/CraPartnerInsights.md docs/CraPartnerInsightsCompleteWebhook.md @@ -522,6 +538,8 @@ docs/EntityWatchlistScreeningReview.md docs/EntityWatchlistScreeningSearchTerms.md docs/EntityWatchlistSearchTerms.md docs/ExpirationDate.md +docs/ExtendedRecipientMetadata.md +docs/ExtendedRecipientMetadataAllOf.md docs/ExternalPaymentInitiationConsentOptions.md docs/ExternalPaymentOptions.md docs/ExternalPaymentRefundDetails.md @@ -543,13 +561,19 @@ docs/FDXNotificationType.md docs/FDXParty.md docs/FDXPartyRegistry.md docs/FDXPartyType.md +docs/FDXRecipientMetadata.md docs/FallbackAuthMicrodepositAutoVerifiedWebhook.md docs/FallbackAuthMicrodepositVerificationExpiredWebhook.md docs/FinancialInstitutionInsights.md +docs/ForecastedMonthlyIncome.md docs/Form1099Type.md +docs/ForwardedJSONResponse.md docs/FraudAmount.md docs/GenericScreeningHitLocationItems.md +docs/GetRecipientResponse.md +docs/GetRecipientsResponse.md docs/HealthIncident.md +docs/HiddenMatchSummaryCode.md docs/HistoricalBalance.md docs/HistoricalUpdateWebhook.md docs/Holding.md @@ -589,6 +613,7 @@ docs/IdentityVerificationCreateRequest.md docs/IdentityVerificationCreateRequestUser.md docs/IdentityVerificationCreateResponse.md docs/IdentityVerificationDocumentAddressResponse.md +docs/IdentityVerificationDocumentNameResponse.md docs/IdentityVerificationGetRequest.md docs/IdentityVerificationGetResponse.md docs/IdentityVerificationListRequest.md @@ -613,6 +638,7 @@ docs/IncidentUpdate.md docs/IncomeBreakdown.md docs/IncomeBreakdownType.md docs/IncomeOverride.md +docs/IncomeSourcesCounts.md docs/IncomeSummary.md docs/IncomeSummaryFieldNumber.md docs/IncomeSummaryFieldString.md @@ -682,6 +708,7 @@ docs/InvestmentsTransactionsGetRequest.md docs/InvestmentsTransactionsGetRequestOptions.md docs/InvestmentsTransactionsGetResponse.md docs/InvestmentsTransactionsOverride.md +docs/IssueResolvedWebhook.md docs/IssuingCountry.md docs/Item.md docs/ItemAccessTokenInvalidateRequest.md @@ -723,6 +750,7 @@ docs/JWTHeader.md docs/KYCCheckAddressSummary.md docs/KYCCheckDateOfBirthSummary.md docs/KYCCheckDetails.md +docs/KYCCheckDetailsInternationalAddress.md docs/KYCCheckIDNumberSummary.md docs/KYCCheckNameSummary.md docs/KYCCheckPhoneSummary.md @@ -762,6 +790,7 @@ docs/LinkProfileEligibilityCheckResponse.md docs/LinkProfileEligibilityCheckUser.md docs/LinkSessionBankEmploymentResult.md docs/LinkSessionBankIncomeResult.md +docs/LinkSessionCraItemAddResult.md docs/LinkSessionExit.md docs/LinkSessionExitDeprecated.md docs/LinkSessionExitMetadata.md @@ -790,6 +819,7 @@ docs/LinkTokenCreateRequestAuth.md docs/LinkTokenCreateRequestBaseReport.md docs/LinkTokenCreateRequestCraOptions.md docs/LinkTokenCreateRequestCraOptionsBaseReport.md +docs/LinkTokenCreateRequestCraOptionsCashflowInsights.md docs/LinkTokenCreateRequestCraOptionsPartnerInsights.md docs/LinkTokenCreateRequestCreditPartnerInsights.md docs/LinkTokenCreateRequestDepositSwitch.md @@ -824,6 +854,8 @@ docs/LoanFilter.md docs/LoanIdentifier.md docs/LoanIdentifierType.md docs/LoanIdentifiers.md +docs/LoanPaymentsCounts.md +docs/LoanPaymentsMerchantCounts.md docs/Loans.md docs/Location.md docs/MFA.md @@ -831,12 +863,23 @@ docs/MatchSummary.md docs/MatchSummaryCode.md docs/MerchantInsights.md docs/Meta.md +docs/MonitoringIncomeInsights.md +docs/MonitoringIncomeSource.md +docs/MonitoringInsights.md +docs/MonitoringInsightsItemStatus.md +docs/MonitoringInsightsWebhook.md +docs/MonitoringItemStatusCode.md +docs/MonitoringLoanInsights.md docs/MortgageInterestRate.md docs/MortgageLiability.md docs/MortgagePropertyAddress.md docs/MultiDocumentRiskSignal.md docs/NameMatchScore.md docs/NetPay.md +docs/NetworkInsightsItem.md +docs/NetworkInsightsReport.md +docs/NetworkInsightsReportGetRequest.md +docs/NetworkInsightsReportGetResponse.md docs/NewAccountsAvailableWebhook.md docs/Numbers.md docs/NumbersACATS.md @@ -995,6 +1038,8 @@ docs/PaystubOverridePayPeriodDetails.md docs/PaystubOverrideTaxpayerID.md docs/PaystubPayFrequency.md docs/PaystubYTDDetails.md +docs/PendingDisconnectWebhook.md +docs/PendingDisconnectWebhookReason.md docs/PendingExpirationWebhook.md docs/PersonalFinanceCategory.md docs/PhoneNumber.md @@ -1005,14 +1050,19 @@ docs/PhysicalDocumentExtractedData.md docs/PhysicalDocumentExtractedDataAnalysis.md docs/PhysicalDocumentImages.md docs/PlaidApi.md +docs/PlaidCheckScore.md docs/PlaidError.md docs/PlaidErrorType.md docs/PlatformIds.md docs/PrismCashScore.md docs/PrismCashScoreMetadata.md +docs/PrismCashScoreVersion.md docs/PrismFirstDetect.md +docs/PrismFirstDetectVersion.md docs/PrismInsights.md +docs/PrismInsightsVersion.md docs/PrismProduct.md +docs/PrismVersions.md docs/ProcessorAccountGetRequest.md docs/ProcessorAccountGetResponse.md docs/ProcessorApexProcessorTokenCreateRequest.md @@ -1076,6 +1126,10 @@ docs/ProfileIdentity.md docs/ProfileIdentityAddress.md docs/ProfileIdentityName.md docs/ProfileItem.md +docs/ProfileNetworkStatusGetNetworkStatus.md +docs/ProfileNetworkStatusGetRequest.md +docs/ProfileNetworkStatusGetResponse.md +docs/ProfileNetworkStatusGetUser.md docs/ProgramNameSensitivity.md docs/ProjectedIncomeSummaryFieldNumber.md docs/ProxyType.md @@ -1118,6 +1172,7 @@ docs/RiskReason.md docs/RiskSignalDocumentReference.md docs/RiskSignalDocumentStatus.md docs/RiskSignalDocumentType.md +docs/RiskSignalFileType.md docs/Role.md docs/RoleDetail.md docs/Roles.md @@ -1252,6 +1307,7 @@ docs/TaxpayerIdentifierType.md docs/TaxpayerIdentifiers.md docs/Total.md docs/TotalCanonicalDescription.md +docs/TotalMonthlyIncomeInsights.md docs/Transaction.md docs/TransactionAllOf.md docs/TransactionBase.md @@ -1378,6 +1434,7 @@ docs/TransferLedgerWithdrawRequest.md docs/TransferLedgerWithdrawResponse.md docs/TransferListRequest.md docs/TransferListResponse.md +docs/TransferMetricsGetAuthorizationUsage.md docs/TransferMetricsGetRequest.md docs/TransferMetricsGetResponse.md docs/TransferMetricsGetReturnRates.md @@ -1395,6 +1452,9 @@ docs/TransferOriginatorGetRequest.md docs/TransferOriginatorGetResponse.md docs/TransferOriginatorListRequest.md docs/TransferOriginatorListResponse.md +docs/TransferPlatformOriginatorCreateRequest.md +docs/TransferPlatformOriginatorCreateResponse.md +docs/TransferPlatformTOSAcceptanceMetadata.md docs/TransferQuestionnaireCreateRequest.md docs/TransferQuestionnaireCreateResponse.md docs/TransferRecurringCancelRequest.md @@ -1503,6 +1563,7 @@ docs/WalletTransactionGetResponse.md docs/WalletTransactionListRequest.md docs/WalletTransactionListRequestOptions.md docs/WalletTransactionListResponse.md +docs/WalletTransactionRelation.md docs/WalletTransactionStatus.md docs/WalletTransactionStatusUpdateWebhook.md docs/WalletTransactionsListRequest.md @@ -1723,14 +1784,10 @@ lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb lib/plaid/models/base_report.rb lib/plaid/models/base_report_account.rb lib/plaid/models/base_report_account_balances.rb -lib/plaid/models/base_report_account_balances_all_of.rb lib/plaid/models/base_report_account_insights.rb lib/plaid/models/base_report_average_flow_insights.rb lib/plaid/models/base_report_average_monthly_balances.rb -lib/plaid/models/base_report_create_request.rb -lib/plaid/models/base_report_create_response.rb -lib/plaid/models/base_report_get_request.rb -lib/plaid/models/base_report_get_response.rb +lib/plaid/models/base_report_historical_balance.rb lib/plaid/models/base_report_item.rb lib/plaid/models/base_report_longest_gap_insights.rb lib/plaid/models/base_report_number_flow_insights.rb @@ -1759,6 +1816,7 @@ lib/plaid/models/beacon_match_summary_code.rb lib/plaid/models/beacon_report.rb lib/plaid/models/beacon_report_create_request.rb lib/plaid/models/beacon_report_create_response.rb +lib/plaid/models/beacon_report_create_type.rb lib/plaid/models/beacon_report_created_webhook.rb lib/plaid/models/beacon_report_get_request.rb lib/plaid/models/beacon_report_get_response.rb @@ -1774,6 +1832,7 @@ lib/plaid/models/beacon_report_syndication_list_response.rb lib/plaid/models/beacon_report_syndication_original_report.rb lib/plaid/models/beacon_report_type.rb lib/plaid/models/beacon_report_updated_webhook.rb +lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb lib/plaid/models/beacon_user.rb lib/plaid/models/beacon_user_account_insights_get_request.rb lib/plaid/models/beacon_user_account_insights_get_response.rb @@ -1781,6 +1840,7 @@ lib/plaid/models/beacon_user_address.rb lib/plaid/models/beacon_user_create_request.rb lib/plaid/models/beacon_user_create_response.rb lib/plaid/models/beacon_user_data.rb +lib/plaid/models/beacon_user_depository_account.rb lib/plaid/models/beacon_user_get_request.rb lib/plaid/models/beacon_user_get_response.rb lib/plaid/models/beacon_user_history_list_request.rb @@ -1791,6 +1851,7 @@ lib/plaid/models/beacon_user_name_nullable.rb lib/plaid/models/beacon_user_request_address.rb lib/plaid/models/beacon_user_request_address_nullable.rb lib/plaid/models/beacon_user_request_data.rb +lib/plaid/models/beacon_user_request_depository_account.rb lib/plaid/models/beacon_user_review_request.rb lib/plaid/models/beacon_user_revision.rb lib/plaid/models/beacon_user_status.rb @@ -1798,6 +1859,7 @@ lib/plaid/models/beacon_user_status_updated_webhook.rb lib/plaid/models/beacon_user_update_request.rb lib/plaid/models/beacon_user_update_request_data.rb lib/plaid/models/beacon_user_update_response.rb +lib/plaid/models/cashflow_attributes_version.rb lib/plaid/models/categories_get_response.rb lib/plaid/models/category.rb lib/plaid/models/category_insight_details.rb @@ -1810,6 +1872,8 @@ lib/plaid/models/client_provided_raw_transaction.rb lib/plaid/models/client_provided_transaction.rb lib/plaid/models/client_provided_transaction_location.rb lib/plaid/models/connected_application.rb +lib/plaid/models/consumer_dispute.rb +lib/plaid/models/consumer_dispute_category.rb lib/plaid/models/consumer_report_pdf_get_request.rb lib/plaid/models/consumer_report_permissible_purpose.rb lib/plaid/models/consumer_report_user_identity.rb @@ -1836,15 +1900,21 @@ lib/plaid/models/cra_bank_income_summary.rb lib/plaid/models/cra_bank_income_transaction.rb lib/plaid/models/cra_bank_income_warning.rb lib/plaid/models/cra_bank_income_warning_code.rb +lib/plaid/models/cra_base_report_create_request.rb +lib/plaid/models/cra_base_report_create_response.rb +lib/plaid/models/cra_base_report_get_request.rb +lib/plaid/models/cra_base_report_get_response.rb +lib/plaid/models/cra_cashflow_insights_report.rb lib/plaid/models/cra_check_report_base_report_get_request.rb lib/plaid/models/cra_check_report_base_report_get_response.rb +lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb lib/plaid/models/cra_check_report_create_request.rb lib/plaid/models/cra_check_report_create_response.rb lib/plaid/models/cra_check_report_failed_webhook.rb lib/plaid/models/cra_check_report_income_insights_get_request.rb lib/plaid/models/cra_check_report_income_insights_get_response.rb -lib/plaid/models/cra_check_report_network_attributes_get_request.rb -lib/plaid/models/cra_check_report_network_attributes_get_response.rb +lib/plaid/models/cra_check_report_network_insights_get_request.rb +lib/plaid/models/cra_check_report_network_insights_get_response.rb lib/plaid/models/cra_check_report_partner_insights_get_options.rb lib/plaid/models/cra_check_report_partner_insights_get_request.rb lib/plaid/models/cra_check_report_partner_insights_get_response.rb @@ -1873,8 +1943,15 @@ lib/plaid/models/cra_loans_register_response.rb lib/plaid/models/cra_loans_unregister_request.rb lib/plaid/models/cra_loans_update_request.rb lib/plaid/models/cra_loans_update_response.rb -lib/plaid/models/cra_network_attributes_item.rb -lib/plaid/models/cra_network_attributes_report.rb +lib/plaid/models/cra_monitoring_insights_get_request.rb +lib/plaid/models/cra_monitoring_insights_get_response.rb +lib/plaid/models/cra_monitoring_insights_item.rb +lib/plaid/models/cra_monitoring_insights_subscribe_request.rb +lib/plaid/models/cra_monitoring_insights_subscribe_response.rb +lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb +lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb +lib/plaid/models/cra_network_insights_item.rb +lib/plaid/models/cra_network_insights_report.rb lib/plaid/models/cra_partner_insights.rb lib/plaid/models/cra_partner_insights_complete_webhook.rb lib/plaid/models/cra_partner_insights_error_webhook.rb @@ -2097,6 +2174,8 @@ lib/plaid/models/entity_watchlist_screening_review.rb lib/plaid/models/entity_watchlist_screening_search_terms.rb lib/plaid/models/entity_watchlist_search_terms.rb lib/plaid/models/expiration_date.rb +lib/plaid/models/extended_recipient_metadata.rb +lib/plaid/models/extended_recipient_metadata_all_of.rb lib/plaid/models/external_payment_initiation_consent_options.rb lib/plaid/models/external_payment_options.rb lib/plaid/models/external_payment_refund_details.rb @@ -2119,12 +2198,18 @@ lib/plaid/models/fdx_notification_type.rb lib/plaid/models/fdx_party.rb lib/plaid/models/fdx_party_registry.rb lib/plaid/models/fdx_party_type.rb +lib/plaid/models/fdx_recipient_metadata.rb lib/plaid/models/fdxfi_attribute.rb lib/plaid/models/financial_institution_insights.rb +lib/plaid/models/forecasted_monthly_income.rb lib/plaid/models/form1099_type.rb +lib/plaid/models/forwarded_json_response.rb lib/plaid/models/fraud_amount.rb lib/plaid/models/generic_screening_hit_location_items.rb +lib/plaid/models/get_recipient_response.rb +lib/plaid/models/get_recipients_response.rb lib/plaid/models/health_incident.rb +lib/plaid/models/hidden_match_summary_code.rb lib/plaid/models/historical_balance.rb lib/plaid/models/historical_update_webhook.rb lib/plaid/models/holding.rb @@ -2163,6 +2248,7 @@ lib/plaid/models/identity_verification_create_request.rb lib/plaid/models/identity_verification_create_request_user.rb lib/plaid/models/identity_verification_create_response.rb lib/plaid/models/identity_verification_document_address_response.rb +lib/plaid/models/identity_verification_document_name_response.rb lib/plaid/models/identity_verification_get_request.rb lib/plaid/models/identity_verification_get_response.rb lib/plaid/models/identity_verification_list_request.rb @@ -2187,6 +2273,7 @@ lib/plaid/models/incident_update.rb lib/plaid/models/income_breakdown.rb lib/plaid/models/income_breakdown_type.rb lib/plaid/models/income_override.rb +lib/plaid/models/income_sources_counts.rb lib/plaid/models/income_summary.rb lib/plaid/models/income_summary_field_number.rb lib/plaid/models/income_summary_field_string.rb @@ -2257,6 +2344,7 @@ lib/plaid/models/investments_transactions_get_request_options.rb lib/plaid/models/investments_transactions_get_response.rb lib/plaid/models/investments_transactions_override.rb lib/plaid/models/iso_currency_code.rb +lib/plaid/models/issue_resolved_webhook.rb lib/plaid/models/issuing_country.rb lib/plaid/models/item.rb lib/plaid/models/item_access_token_invalidate_request.rb @@ -2298,6 +2386,7 @@ lib/plaid/models/jwt_header.rb lib/plaid/models/kyc_check_address_summary.rb lib/plaid/models/kyc_check_date_of_birth_summary.rb lib/plaid/models/kyc_check_details.rb +lib/plaid/models/kyc_check_details_international_address.rb lib/plaid/models/kyc_check_id_number_summary.rb lib/plaid/models/kyc_check_name_summary.rb lib/plaid/models/kyc_check_phone_summary.rb @@ -2337,6 +2426,7 @@ lib/plaid/models/link_profile_eligibility_check_response.rb lib/plaid/models/link_profile_eligibility_check_user.rb lib/plaid/models/link_session_bank_employment_result.rb lib/plaid/models/link_session_bank_income_result.rb +lib/plaid/models/link_session_cra_item_add_result.rb lib/plaid/models/link_session_exit.rb lib/plaid/models/link_session_exit_deprecated.rb lib/plaid/models/link_session_exit_metadata.rb @@ -2365,6 +2455,7 @@ lib/plaid/models/link_token_create_request_auth.rb lib/plaid/models/link_token_create_request_base_report.rb lib/plaid/models/link_token_create_request_cra_options.rb lib/plaid/models/link_token_create_request_cra_options_base_report.rb +lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb lib/plaid/models/link_token_create_request_credit_partner_insights.rb lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -2399,6 +2490,8 @@ lib/plaid/models/loan_filter.rb lib/plaid/models/loan_identifier.rb lib/plaid/models/loan_identifier_type.rb lib/plaid/models/loan_identifiers.rb +lib/plaid/models/loan_payments_counts.rb +lib/plaid/models/loan_payments_merchant_counts.rb lib/plaid/models/loans.rb lib/plaid/models/location.rb lib/plaid/models/match_summary.rb @@ -2406,12 +2499,23 @@ lib/plaid/models/match_summary_code.rb lib/plaid/models/merchant_insights.rb lib/plaid/models/meta.rb lib/plaid/models/mfa.rb +lib/plaid/models/monitoring_income_insights.rb +lib/plaid/models/monitoring_income_source.rb +lib/plaid/models/monitoring_insights.rb +lib/plaid/models/monitoring_insights_item_status.rb +lib/plaid/models/monitoring_insights_webhook.rb +lib/plaid/models/monitoring_item_status_code.rb +lib/plaid/models/monitoring_loan_insights.rb lib/plaid/models/mortgage_interest_rate.rb lib/plaid/models/mortgage_liability.rb lib/plaid/models/mortgage_property_address.rb lib/plaid/models/multi_document_risk_signal.rb lib/plaid/models/name_match_score.rb lib/plaid/models/net_pay.rb +lib/plaid/models/network_insights_item.rb +lib/plaid/models/network_insights_report.rb +lib/plaid/models/network_insights_report_get_request.rb +lib/plaid/models/network_insights_report_get_response.rb lib/plaid/models/new_accounts_available_webhook.rb lib/plaid/models/numbers.rb lib/plaid/models/numbers_acats.rb @@ -2568,6 +2672,8 @@ lib/plaid/models/paystub_override_pay_period_details.rb lib/plaid/models/paystub_override_taxpayer_id.rb lib/plaid/models/paystub_pay_frequency.rb lib/plaid/models/paystub_ytd_details.rb +lib/plaid/models/pending_disconnect_webhook.rb +lib/plaid/models/pending_disconnect_webhook_reason.rb lib/plaid/models/pending_expiration_webhook.rb lib/plaid/models/personal_finance_category.rb lib/plaid/models/phone_number.rb @@ -2577,15 +2683,20 @@ lib/plaid/models/physical_document_category.rb lib/plaid/models/physical_document_extracted_data.rb lib/plaid/models/physical_document_extracted_data_analysis.rb lib/plaid/models/physical_document_images.rb +lib/plaid/models/plaid_check_score.rb lib/plaid/models/plaid_error.rb lib/plaid/models/plaid_error_type.rb lib/plaid/models/platform_ids.rb lib/plaid/models/po_box_status.rb lib/plaid/models/prism_cash_score.rb lib/plaid/models/prism_cash_score_metadata.rb +lib/plaid/models/prism_cash_score_version.rb lib/plaid/models/prism_first_detect.rb +lib/plaid/models/prism_first_detect_version.rb lib/plaid/models/prism_insights.rb +lib/plaid/models/prism_insights_version.rb lib/plaid/models/prism_product.rb +lib/plaid/models/prism_versions.rb lib/plaid/models/processor_account_get_request.rb lib/plaid/models/processor_account_get_response.rb lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -2649,6 +2760,10 @@ lib/plaid/models/profile_identity.rb lib/plaid/models/profile_identity_address.rb lib/plaid/models/profile_identity_name.rb lib/plaid/models/profile_item.rb +lib/plaid/models/profile_network_status_get_network_status.rb +lib/plaid/models/profile_network_status_get_request.rb +lib/plaid/models/profile_network_status_get_response.rb +lib/plaid/models/profile_network_status_get_user.rb lib/plaid/models/program_name_sensitivity.rb lib/plaid/models/projected_income_summary_field_number.rb lib/plaid/models/proxy_type.rb @@ -2692,6 +2807,7 @@ lib/plaid/models/risk_reason.rb lib/plaid/models/risk_signal_document_reference.rb lib/plaid/models/risk_signal_document_status.rb lib/plaid/models/risk_signal_document_type.rb +lib/plaid/models/risk_signal_file_type.rb lib/plaid/models/role.rb lib/plaid/models/role_detail.rb lib/plaid/models/roles.rb @@ -2826,6 +2942,7 @@ lib/plaid/models/taxpayer_identifier_type.rb lib/plaid/models/taxpayer_identifiers.rb lib/plaid/models/total.rb lib/plaid/models/total_canonical_description.rb +lib/plaid/models/total_monthly_income_insights.rb lib/plaid/models/transaction.rb lib/plaid/models/transaction_all_of.rb lib/plaid/models/transaction_base.rb @@ -2952,6 +3069,7 @@ lib/plaid/models/transfer_ledger_withdraw_request.rb lib/plaid/models/transfer_ledger_withdraw_response.rb lib/plaid/models/transfer_list_request.rb lib/plaid/models/transfer_list_response.rb +lib/plaid/models/transfer_metrics_get_authorization_usage.rb lib/plaid/models/transfer_metrics_get_request.rb lib/plaid/models/transfer_metrics_get_response.rb lib/plaid/models/transfer_metrics_get_return_rates.rb @@ -2969,6 +3087,9 @@ lib/plaid/models/transfer_originator_get_request.rb lib/plaid/models/transfer_originator_get_response.rb lib/plaid/models/transfer_originator_list_request.rb lib/plaid/models/transfer_originator_list_response.rb +lib/plaid/models/transfer_platform_originator_create_request.rb +lib/plaid/models/transfer_platform_originator_create_response.rb +lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb lib/plaid/models/transfer_questionnaire_create_request.rb lib/plaid/models/transfer_questionnaire_create_response.rb lib/plaid/models/transfer_recurring_cancel_request.rb @@ -3077,6 +3198,7 @@ lib/plaid/models/wallet_transaction_get_response.rb lib/plaid/models/wallet_transaction_list_request.rb lib/plaid/models/wallet_transaction_list_request_options.rb lib/plaid/models/wallet_transaction_list_response.rb +lib/plaid/models/wallet_transaction_relation.rb lib/plaid/models/wallet_transaction_status.rb lib/plaid/models/wallet_transaction_status_update_webhook.rb lib/plaid/models/wallet_transactions_list_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 57baa69c0..2abf067aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,141 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 31.0.0 +- Updating to OAS 2020-09-14_1.555.0 + +## OpenAPI Schema Changes +### 2020-09-14_1.555.0 +- Add `require_all_items` field to /asset_report/create + +### 2020-09-14_1.554.0 +- Add `sector` and `industry` properties to the `Security` model. + +### 2020-09-14_1.553.0 +- Add `ISSUE_RESOLVED` webhook + +### 2020-09-14_1.552.0 +- Add `ytd_amount` to `PaystubOverrideEarningsTotal` in /credit/payroll_income/get + +### 2020-09-14_1.551.0 +- Internal changes only + +### 2020-09-14_1.550.0 +- Add `/fdx/recipient` and `/fdx/recipients` endpoints + +### 2020-09-14_1.549.0 +- Made fields required instead of omitempty for CRA Income Insights Transactions + +### 2020-09-14_1.548.4 +- Set CreditAmountWithCurrency fields as required + +### 2020-09-14_1.548.3 +- Added missing `LOGIN_REPAIRED` enum value to possible webhook codes for `/sandbox/item/fire_webhook` request in order to match endpoint description. + +### 2020-09-14_1.548.2 +- [BREAKING] Moved `forecasted_monthly_income` to be a level higher. + +### 2020-09-14_1.548.1 +- Made the fields in account_insights array fields as required. + +### 2020-09-14_1.548.0 +- [BREAKING] Changed fields of `CraMonitoringGetResponse` to be simple `objects` instead of `arrays` +- [BREAKING] Moved `income_sources` to the `income` module in the response + +### 2020-09-14_1.547.2 +- Add `cra_item_add_results` field to `results` object in `/link/token/get` response. + +### 2020-09-14_1.547.1 +- Increase `/wallet/transactions/list` cursor size to 1024 characters. + +### 2020-09-14_1.547.0 +- Add `ledger_id` to the request and response of a number of transfer endpoints. + +### 2020-09-14_1.546.0 +- Added `WalletTransactionRelation` object. +- Added `related_transactions` field to WalletTransaction object. + +### 2020-09-14_1.545.3 +- Some description updates to CRA Base Report fields + +### 2020-09-14_1.545.2 +- Updated phone number examples in Identity Verification endpoints. + +### 2020-09-14_1.545.1 +- Add `update.item_ids` field to `/link/token/create` request. + +### 2020-09-14_1.545.0 +- [BREAKING] Rename network attributes to network insights in the `cra/check_report/network_insights/get` schemas + +### 2020-09-14_1.544.0 +- Added `is_shareable` field to the `/identity_verification/retry` endpoint + +### 2020-09-14_1.543.2 +- [Breaking] Added `data_breach` report type to BeaconReport response object + +### 2020-09-14_1.543.1 +- Added `consumer_statement` field to `Account` in `BaseReport` +- make `warnings` for BaseReportGetResponse required + +### 2020-09-14_1.543.0 +- Add `/network_insights/report/get` + +### 2020-09-14_1.542.0 +- Added `error_code_reason` field to plaidError + +### 2020-09-14_1.541.1 +- Add `update.user` field to `/link/token/create` request. + +### 2020-09-14_1.541.0 +- (pre-release) Add `reauthorization_enabled` field to /link/token/create request + +### 2020-09-14_1.540.2 +- [Breaking] Updated `document_status` field in `identity/document/upload` to include parsing_type + +### 2020-09-14_1.540.1 +- Added `MonitoringInsightsWebhook` +- Added `webhook` field in `cra/monitoring_insights/subscribe` + +### 2020-09-14_1.540.0 +- Added `file_type` field to `/credit/payroll_income/risk_signals/get` + +### 2020-09-14_1.539.0 +- Add `authorization_usage` field to the `transfer/metrics/get` response + +### 2020-09-14_1.538.0 +- Added cra/monitoring_insights/subscribe +- Added cra/monitoring_insights/unsubscribe +- Added cra/monitoring_insights/get + +### 2020-09-14_1.537.0 +- Added depository_accounts to Beacon +- Added event_date to BeaconReports + +### 2020-09-14_1.536.0 +- Internal changes only + +### 2020-09-14_1.535.3 + +- Added missing values to `PlaidErrorType` enum. + +### 2020-09-14_1.535.2 +- Make some `CraBankIncomeSummary` fields visible. +- +### 2020-09-14_1.535.1 + +### 2020-09-14_1.535.0 +- [Breaking for Go] Updated `consumer_report_user_identity` field in `/user/update` to be required to reflect actual API behavior. + +### 2020-09-14_1.534.7 +- Add `stated_account_number_enabled` to `investments_auth` in `LinkTokenCreateRequest` + +### 2020-09-14_1.534.6 +- [Breaking] Updated base report endpoints and objects to include `cra` prefix + +### 2020-09-14_1.534.5 +- Add `enable_multi_item_link` field to `/link/token/create` + +### 2020-09-14_1.534.4 +- Undeprecate `/identity/match`'s `legal_name.is_business_name_detected` + # 30.0.0 - Updating to OAS 2020-09-14_1.534.3 diff --git a/Dockerfile b/Dockerfile index 080190a50..1187c173a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.0.0 +FROM 245200388354.dkr.ecr.us-east-1.amazonaws.com/docker-hub/library/ruby:3.0.0 # Create app directory WORKDIR /usr/src/app diff --git a/Makefile b/Makefile index d3f5d8a3f..a5416d429 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Ruby embeds the version in the generator where as others don't so it's not possible to cat for it. -RUBY_PACKAGE_VERSION=30.0.0 +RUBY_PACKAGE_VERSION=31.0.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index b3e026f2d..a72142b9f 100644 --- a/lib/plaid.rb +++ b/lib/plaid.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -167,14 +167,10 @@ Plaid.autoload :BaseReport, 'plaid/models/base_report' Plaid.autoload :BaseReportAccount, 'plaid/models/base_report_account' Plaid.autoload :BaseReportAccountBalances, 'plaid/models/base_report_account_balances' -Plaid.autoload :BaseReportAccountBalancesAllOf, 'plaid/models/base_report_account_balances_all_of' Plaid.autoload :BaseReportAccountInsights, 'plaid/models/base_report_account_insights' Plaid.autoload :BaseReportAverageFlowInsights, 'plaid/models/base_report_average_flow_insights' Plaid.autoload :BaseReportAverageMonthlyBalances, 'plaid/models/base_report_average_monthly_balances' -Plaid.autoload :BaseReportCreateRequest, 'plaid/models/base_report_create_request' -Plaid.autoload :BaseReportCreateResponse, 'plaid/models/base_report_create_response' -Plaid.autoload :BaseReportGetRequest, 'plaid/models/base_report_get_request' -Plaid.autoload :BaseReportGetResponse, 'plaid/models/base_report_get_response' +Plaid.autoload :BaseReportHistoricalBalance, 'plaid/models/base_report_historical_balance' Plaid.autoload :BaseReportItem, 'plaid/models/base_report_item' Plaid.autoload :BaseReportLongestGapInsights, 'plaid/models/base_report_longest_gap_insights' Plaid.autoload :BaseReportNumberFlowInsights, 'plaid/models/base_report_number_flow_insights' @@ -203,6 +199,7 @@ Plaid.autoload :BeaconReport, 'plaid/models/beacon_report' Plaid.autoload :BeaconReportCreateRequest, 'plaid/models/beacon_report_create_request' Plaid.autoload :BeaconReportCreateResponse, 'plaid/models/beacon_report_create_response' +Plaid.autoload :BeaconReportCreateType, 'plaid/models/beacon_report_create_type' Plaid.autoload :BeaconReportCreatedWebhook, 'plaid/models/beacon_report_created_webhook' Plaid.autoload :BeaconReportGetRequest, 'plaid/models/beacon_report_get_request' Plaid.autoload :BeaconReportGetResponse, 'plaid/models/beacon_report_get_response' @@ -218,6 +215,7 @@ Plaid.autoload :BeaconReportSyndicationOriginalReport, 'plaid/models/beacon_report_syndication_original_report' Plaid.autoload :BeaconReportType, 'plaid/models/beacon_report_type' Plaid.autoload :BeaconReportUpdatedWebhook, 'plaid/models/beacon_report_updated_webhook' +Plaid.autoload :BeaconSyndicatedReportDepositoryAccountMatchAnalysis, 'plaid/models/beacon_syndicated_report_depository_account_match_analysis' Plaid.autoload :BeaconUser, 'plaid/models/beacon_user' Plaid.autoload :BeaconUserAccountInsightsGetRequest, 'plaid/models/beacon_user_account_insights_get_request' Plaid.autoload :BeaconUserAccountInsightsGetResponse, 'plaid/models/beacon_user_account_insights_get_response' @@ -225,6 +223,7 @@ Plaid.autoload :BeaconUserCreateRequest, 'plaid/models/beacon_user_create_request' Plaid.autoload :BeaconUserCreateResponse, 'plaid/models/beacon_user_create_response' Plaid.autoload :BeaconUserData, 'plaid/models/beacon_user_data' +Plaid.autoload :BeaconUserDepositoryAccount, 'plaid/models/beacon_user_depository_account' Plaid.autoload :BeaconUserGetRequest, 'plaid/models/beacon_user_get_request' Plaid.autoload :BeaconUserGetResponse, 'plaid/models/beacon_user_get_response' Plaid.autoload :BeaconUserHistoryListRequest, 'plaid/models/beacon_user_history_list_request' @@ -235,6 +234,7 @@ Plaid.autoload :BeaconUserRequestAddress, 'plaid/models/beacon_user_request_address' Plaid.autoload :BeaconUserRequestAddressNullable, 'plaid/models/beacon_user_request_address_nullable' Plaid.autoload :BeaconUserRequestData, 'plaid/models/beacon_user_request_data' +Plaid.autoload :BeaconUserRequestDepositoryAccount, 'plaid/models/beacon_user_request_depository_account' Plaid.autoload :BeaconUserReviewRequest, 'plaid/models/beacon_user_review_request' Plaid.autoload :BeaconUserRevision, 'plaid/models/beacon_user_revision' Plaid.autoload :BeaconUserStatus, 'plaid/models/beacon_user_status' @@ -243,6 +243,7 @@ Plaid.autoload :BeaconUserUpdateRequestData, 'plaid/models/beacon_user_update_request_data' Plaid.autoload :BeaconUserUpdateResponse, 'plaid/models/beacon_user_update_response' Plaid.autoload :CRALoansRegisterRequest, 'plaid/models/cra_loans_register_request' +Plaid.autoload :CashflowAttributesVersion, 'plaid/models/cashflow_attributes_version' Plaid.autoload :CategoriesGetResponse, 'plaid/models/categories_get_response' Plaid.autoload :Category, 'plaid/models/category' Plaid.autoload :CategoryInsightDetails, 'plaid/models/category_insight_details' @@ -255,6 +256,8 @@ Plaid.autoload :ClientProvidedTransaction, 'plaid/models/client_provided_transaction' Plaid.autoload :ClientProvidedTransactionLocation, 'plaid/models/client_provided_transaction_location' Plaid.autoload :ConnectedApplication, 'plaid/models/connected_application' +Plaid.autoload :ConsumerDispute, 'plaid/models/consumer_dispute' +Plaid.autoload :ConsumerDisputeCategory, 'plaid/models/consumer_dispute_category' Plaid.autoload :ConsumerReportPDFGetRequest, 'plaid/models/consumer_report_pdf_get_request' Plaid.autoload :ConsumerReportPermissiblePurpose, 'plaid/models/consumer_report_permissible_purpose' Plaid.autoload :ConsumerReportUserIdentity, 'plaid/models/consumer_report_user_identity' @@ -281,15 +284,21 @@ Plaid.autoload :CraBankIncomeTransaction, 'plaid/models/cra_bank_income_transaction' Plaid.autoload :CraBankIncomeWarning, 'plaid/models/cra_bank_income_warning' Plaid.autoload :CraBankIncomeWarningCode, 'plaid/models/cra_bank_income_warning_code' +Plaid.autoload :CraBaseReportCreateRequest, 'plaid/models/cra_base_report_create_request' +Plaid.autoload :CraBaseReportCreateResponse, 'plaid/models/cra_base_report_create_response' +Plaid.autoload :CraBaseReportGetRequest, 'plaid/models/cra_base_report_get_request' +Plaid.autoload :CraBaseReportGetResponse, 'plaid/models/cra_base_report_get_response' +Plaid.autoload :CraCashflowInsightsReport, 'plaid/models/cra_cashflow_insights_report' Plaid.autoload :CraCheckReportBaseReportGetRequest, 'plaid/models/cra_check_report_base_report_get_request' Plaid.autoload :CraCheckReportBaseReportGetResponse, 'plaid/models/cra_check_report_base_report_get_response' +Plaid.autoload :CraCheckReportCashflowInsightsGetOptions, 'plaid/models/cra_check_report_cashflow_insights_get_options' Plaid.autoload :CraCheckReportCreateRequest, 'plaid/models/cra_check_report_create_request' Plaid.autoload :CraCheckReportCreateResponse, 'plaid/models/cra_check_report_create_response' Plaid.autoload :CraCheckReportFailedWebhook, 'plaid/models/cra_check_report_failed_webhook' Plaid.autoload :CraCheckReportIncomeInsightsGetRequest, 'plaid/models/cra_check_report_income_insights_get_request' Plaid.autoload :CraCheckReportIncomeInsightsGetResponse, 'plaid/models/cra_check_report_income_insights_get_response' -Plaid.autoload :CraCheckReportNetworkAttributesGetRequest, 'plaid/models/cra_check_report_network_attributes_get_request' -Plaid.autoload :CraCheckReportNetworkAttributesGetResponse, 'plaid/models/cra_check_report_network_attributes_get_response' +Plaid.autoload :CraCheckReportNetworkInsightsGetRequest, 'plaid/models/cra_check_report_network_insights_get_request' +Plaid.autoload :CraCheckReportNetworkInsightsGetResponse, 'plaid/models/cra_check_report_network_insights_get_response' Plaid.autoload :CraCheckReportPDFGetRequest, 'plaid/models/cra_check_report_pdf_get_request' Plaid.autoload :CraCheckReportPartnerInsightsGetOptions, 'plaid/models/cra_check_report_partner_insights_get_options' Plaid.autoload :CraCheckReportPartnerInsightsGetRequest, 'plaid/models/cra_check_report_partner_insights_get_request' @@ -317,8 +326,15 @@ Plaid.autoload :CraLoansUnregisterRequest, 'plaid/models/cra_loans_unregister_request' Plaid.autoload :CraLoansUpdateRequest, 'plaid/models/cra_loans_update_request' Plaid.autoload :CraLoansUpdateResponse, 'plaid/models/cra_loans_update_response' -Plaid.autoload :CraNetworkAttributesItem, 'plaid/models/cra_network_attributes_item' -Plaid.autoload :CraNetworkAttributesReport, 'plaid/models/cra_network_attributes_report' +Plaid.autoload :CraMonitoringInsightsGetRequest, 'plaid/models/cra_monitoring_insights_get_request' +Plaid.autoload :CraMonitoringInsightsGetResponse, 'plaid/models/cra_monitoring_insights_get_response' +Plaid.autoload :CraMonitoringInsightsItem, 'plaid/models/cra_monitoring_insights_item' +Plaid.autoload :CraMonitoringInsightsSubscribeRequest, 'plaid/models/cra_monitoring_insights_subscribe_request' +Plaid.autoload :CraMonitoringInsightsSubscribeResponse, 'plaid/models/cra_monitoring_insights_subscribe_response' +Plaid.autoload :CraMonitoringInsightsUnsubscribeRequest, 'plaid/models/cra_monitoring_insights_unsubscribe_request' +Plaid.autoload :CraMonitoringInsightsUnsubscribeResponse, 'plaid/models/cra_monitoring_insights_unsubscribe_response' +Plaid.autoload :CraNetworkInsightsItem, 'plaid/models/cra_network_insights_item' +Plaid.autoload :CraNetworkInsightsReport, 'plaid/models/cra_network_insights_report' Plaid.autoload :CraPDFAddOns, 'plaid/models/cra_pdf_add_ons' Plaid.autoload :CraPartnerInsights, 'plaid/models/cra_partner_insights' Plaid.autoload :CraPartnerInsightsCompleteWebhook, 'plaid/models/cra_partner_insights_complete_webhook' @@ -541,6 +557,8 @@ Plaid.autoload :EntityWatchlistScreeningSearchTerms, 'plaid/models/entity_watchlist_screening_search_terms' Plaid.autoload :EntityWatchlistSearchTerms, 'plaid/models/entity_watchlist_search_terms' Plaid.autoload :ExpirationDate, 'plaid/models/expiration_date' +Plaid.autoload :ExtendedRecipientMetadata, 'plaid/models/extended_recipient_metadata' +Plaid.autoload :ExtendedRecipientMetadataAllOf, 'plaid/models/extended_recipient_metadata_all_of' Plaid.autoload :ExternalPaymentInitiationConsentOptions, 'plaid/models/external_payment_initiation_consent_options' Plaid.autoload :ExternalPaymentOptions, 'plaid/models/external_payment_options' Plaid.autoload :ExternalPaymentRefundDetails, 'plaid/models/external_payment_refund_details' @@ -562,13 +580,19 @@ Plaid.autoload :FDXParty, 'plaid/models/fdx_party' Plaid.autoload :FDXPartyRegistry, 'plaid/models/fdx_party_registry' Plaid.autoload :FDXPartyType, 'plaid/models/fdx_party_type' +Plaid.autoload :FDXRecipientMetadata, 'plaid/models/fdx_recipient_metadata' Plaid.autoload :FallbackAuthMicrodepositAutoVerifiedWebhook, 'plaid/models/fallback_auth_microdeposit_auto_verified_webhook' Plaid.autoload :FallbackAuthMicrodepositVerificationExpiredWebhook, 'plaid/models/fallback_auth_microdeposit_verification_expired_webhook' Plaid.autoload :FinancialInstitutionInsights, 'plaid/models/financial_institution_insights' +Plaid.autoload :ForecastedMonthlyIncome, 'plaid/models/forecasted_monthly_income' Plaid.autoload :Form1099Type, 'plaid/models/form1099_type' +Plaid.autoload :ForwardedJSONResponse, 'plaid/models/forwarded_json_response' Plaid.autoload :FraudAmount, 'plaid/models/fraud_amount' Plaid.autoload :GenericScreeningHitLocationItems, 'plaid/models/generic_screening_hit_location_items' +Plaid.autoload :GetRecipientResponse, 'plaid/models/get_recipient_response' +Plaid.autoload :GetRecipientsResponse, 'plaid/models/get_recipients_response' Plaid.autoload :HealthIncident, 'plaid/models/health_incident' +Plaid.autoload :HiddenMatchSummaryCode, 'plaid/models/hidden_match_summary_code' Plaid.autoload :HistoricalBalance, 'plaid/models/historical_balance' Plaid.autoload :HistoricalUpdateWebhook, 'plaid/models/historical_update_webhook' Plaid.autoload :Holding, 'plaid/models/holding' @@ -608,6 +632,7 @@ Plaid.autoload :IdentityVerificationCreateRequestUser, 'plaid/models/identity_verification_create_request_user' Plaid.autoload :IdentityVerificationCreateResponse, 'plaid/models/identity_verification_create_response' Plaid.autoload :IdentityVerificationDocumentAddressResponse, 'plaid/models/identity_verification_document_address_response' +Plaid.autoload :IdentityVerificationDocumentNameResponse, 'plaid/models/identity_verification_document_name_response' Plaid.autoload :IdentityVerificationGetRequest, 'plaid/models/identity_verification_get_request' Plaid.autoload :IdentityVerificationGetResponse, 'plaid/models/identity_verification_get_response' Plaid.autoload :IdentityVerificationListRequest, 'plaid/models/identity_verification_list_request' @@ -632,6 +657,7 @@ Plaid.autoload :IncomeBreakdown, 'plaid/models/income_breakdown' Plaid.autoload :IncomeBreakdownType, 'plaid/models/income_breakdown_type' Plaid.autoload :IncomeOverride, 'plaid/models/income_override' +Plaid.autoload :IncomeSourcesCounts, 'plaid/models/income_sources_counts' Plaid.autoload :IncomeSummary, 'plaid/models/income_summary' Plaid.autoload :IncomeSummaryFieldNumber, 'plaid/models/income_summary_field_number' Plaid.autoload :IncomeSummaryFieldString, 'plaid/models/income_summary_field_string' @@ -701,6 +727,7 @@ Plaid.autoload :InvestmentsTransactionsGetRequestOptions, 'plaid/models/investments_transactions_get_request_options' Plaid.autoload :InvestmentsTransactionsGetResponse, 'plaid/models/investments_transactions_get_response' Plaid.autoload :InvestmentsTransactionsOverride, 'plaid/models/investments_transactions_override' +Plaid.autoload :IssueResolvedWebhook, 'plaid/models/issue_resolved_webhook' Plaid.autoload :IssuingCountry, 'plaid/models/issuing_country' Plaid.autoload :Item, 'plaid/models/item' Plaid.autoload :ItemAccessTokenInvalidateRequest, 'plaid/models/item_access_token_invalidate_request' @@ -742,6 +769,7 @@ Plaid.autoload :KYCCheckAddressSummary, 'plaid/models/kyc_check_address_summary' Plaid.autoload :KYCCheckDateOfBirthSummary, 'plaid/models/kyc_check_date_of_birth_summary' Plaid.autoload :KYCCheckDetails, 'plaid/models/kyc_check_details' +Plaid.autoload :KYCCheckDetailsInternationalAddress, 'plaid/models/kyc_check_details_international_address' Plaid.autoload :KYCCheckIDNumberSummary, 'plaid/models/kyc_check_id_number_summary' Plaid.autoload :KYCCheckNameSummary, 'plaid/models/kyc_check_name_summary' Plaid.autoload :KYCCheckPhoneSummary, 'plaid/models/kyc_check_phone_summary' @@ -781,6 +809,7 @@ Plaid.autoload :LinkProfileEligibilityCheckUser, 'plaid/models/link_profile_eligibility_check_user' Plaid.autoload :LinkSessionBankEmploymentResult, 'plaid/models/link_session_bank_employment_result' Plaid.autoload :LinkSessionBankIncomeResult, 'plaid/models/link_session_bank_income_result' +Plaid.autoload :LinkSessionCraItemAddResult, 'plaid/models/link_session_cra_item_add_result' Plaid.autoload :LinkSessionExit, 'plaid/models/link_session_exit' Plaid.autoload :LinkSessionExitDeprecated, 'plaid/models/link_session_exit_deprecated' Plaid.autoload :LinkSessionExitMetadata, 'plaid/models/link_session_exit_metadata' @@ -809,6 +838,7 @@ Plaid.autoload :LinkTokenCreateRequestBaseReport, 'plaid/models/link_token_create_request_base_report' Plaid.autoload :LinkTokenCreateRequestCraOptions, 'plaid/models/link_token_create_request_cra_options' Plaid.autoload :LinkTokenCreateRequestCraOptionsBaseReport, 'plaid/models/link_token_create_request_cra_options_base_report' +Plaid.autoload :LinkTokenCreateRequestCraOptionsCashflowInsights, 'plaid/models/link_token_create_request_cra_options_cashflow_insights' Plaid.autoload :LinkTokenCreateRequestCraOptionsPartnerInsights, 'plaid/models/link_token_create_request_cra_options_partner_insights' Plaid.autoload :LinkTokenCreateRequestCreditPartnerInsights, 'plaid/models/link_token_create_request_credit_partner_insights' Plaid.autoload :LinkTokenCreateRequestDepositSwitch, 'plaid/models/link_token_create_request_deposit_switch' @@ -843,6 +873,8 @@ Plaid.autoload :LoanIdentifier, 'plaid/models/loan_identifier' Plaid.autoload :LoanIdentifierType, 'plaid/models/loan_identifier_type' Plaid.autoload :LoanIdentifiers, 'plaid/models/loan_identifiers' +Plaid.autoload :LoanPaymentsCounts, 'plaid/models/loan_payments_counts' +Plaid.autoload :LoanPaymentsMerchantCounts, 'plaid/models/loan_payments_merchant_counts' Plaid.autoload :Loans, 'plaid/models/loans' Plaid.autoload :Location, 'plaid/models/location' Plaid.autoload :MFA, 'plaid/models/mfa' @@ -850,12 +882,23 @@ Plaid.autoload :MatchSummaryCode, 'plaid/models/match_summary_code' Plaid.autoload :MerchantInsights, 'plaid/models/merchant_insights' Plaid.autoload :Meta, 'plaid/models/meta' +Plaid.autoload :MonitoringIncomeInsights, 'plaid/models/monitoring_income_insights' +Plaid.autoload :MonitoringIncomeSource, 'plaid/models/monitoring_income_source' +Plaid.autoload :MonitoringInsights, 'plaid/models/monitoring_insights' +Plaid.autoload :MonitoringInsightsItemStatus, 'plaid/models/monitoring_insights_item_status' +Plaid.autoload :MonitoringInsightsWebhook, 'plaid/models/monitoring_insights_webhook' +Plaid.autoload :MonitoringItemStatusCode, 'plaid/models/monitoring_item_status_code' +Plaid.autoload :MonitoringLoanInsights, 'plaid/models/monitoring_loan_insights' Plaid.autoload :MortgageInterestRate, 'plaid/models/mortgage_interest_rate' Plaid.autoload :MortgageLiability, 'plaid/models/mortgage_liability' Plaid.autoload :MortgagePropertyAddress, 'plaid/models/mortgage_property_address' Plaid.autoload :MultiDocumentRiskSignal, 'plaid/models/multi_document_risk_signal' Plaid.autoload :NameMatchScore, 'plaid/models/name_match_score' Plaid.autoload :NetPay, 'plaid/models/net_pay' +Plaid.autoload :NetworkInsightsItem, 'plaid/models/network_insights_item' +Plaid.autoload :NetworkInsightsReport, 'plaid/models/network_insights_report' +Plaid.autoload :NetworkInsightsReportGetRequest, 'plaid/models/network_insights_report_get_request' +Plaid.autoload :NetworkInsightsReportGetResponse, 'plaid/models/network_insights_report_get_response' Plaid.autoload :NewAccountsAvailableWebhook, 'plaid/models/new_accounts_available_webhook' Plaid.autoload :Numbers, 'plaid/models/numbers' Plaid.autoload :NumbersACATS, 'plaid/models/numbers_acats' @@ -1014,6 +1057,8 @@ Plaid.autoload :PaystubOverrideTaxpayerID, 'plaid/models/paystub_override_taxpayer_id' Plaid.autoload :PaystubPayFrequency, 'plaid/models/paystub_pay_frequency' Plaid.autoload :PaystubYTDDetails, 'plaid/models/paystub_ytd_details' +Plaid.autoload :PendingDisconnectWebhook, 'plaid/models/pending_disconnect_webhook' +Plaid.autoload :PendingDisconnectWebhookReason, 'plaid/models/pending_disconnect_webhook_reason' Plaid.autoload :PendingExpirationWebhook, 'plaid/models/pending_expiration_webhook' Plaid.autoload :PersonalFinanceCategory, 'plaid/models/personal_finance_category' Plaid.autoload :PhoneNumber, 'plaid/models/phone_number' @@ -1023,14 +1068,19 @@ Plaid.autoload :PhysicalDocumentExtractedData, 'plaid/models/physical_document_extracted_data' Plaid.autoload :PhysicalDocumentExtractedDataAnalysis, 'plaid/models/physical_document_extracted_data_analysis' Plaid.autoload :PhysicalDocumentImages, 'plaid/models/physical_document_images' +Plaid.autoload :PlaidCheckScore, 'plaid/models/plaid_check_score' Plaid.autoload :PlaidError, 'plaid/models/plaid_error' Plaid.autoload :PlaidErrorType, 'plaid/models/plaid_error_type' Plaid.autoload :PlatformIds, 'plaid/models/platform_ids' Plaid.autoload :PrismCashScore, 'plaid/models/prism_cash_score' Plaid.autoload :PrismCashScoreMetadata, 'plaid/models/prism_cash_score_metadata' +Plaid.autoload :PrismCashScoreVersion, 'plaid/models/prism_cash_score_version' Plaid.autoload :PrismFirstDetect, 'plaid/models/prism_first_detect' +Plaid.autoload :PrismFirstDetectVersion, 'plaid/models/prism_first_detect_version' Plaid.autoload :PrismInsights, 'plaid/models/prism_insights' +Plaid.autoload :PrismInsightsVersion, 'plaid/models/prism_insights_version' Plaid.autoload :PrismProduct, 'plaid/models/prism_product' +Plaid.autoload :PrismVersions, 'plaid/models/prism_versions' Plaid.autoload :ProcessorAccountGetRequest, 'plaid/models/processor_account_get_request' Plaid.autoload :ProcessorAccountGetResponse, 'plaid/models/processor_account_get_response' Plaid.autoload :ProcessorApexProcessorTokenCreateRequest, 'plaid/models/processor_apex_processor_token_create_request' @@ -1094,6 +1144,10 @@ Plaid.autoload :ProfileIdentityAddress, 'plaid/models/profile_identity_address' Plaid.autoload :ProfileIdentityName, 'plaid/models/profile_identity_name' Plaid.autoload :ProfileItem, 'plaid/models/profile_item' +Plaid.autoload :ProfileNetworkStatusGetNetworkStatus, 'plaid/models/profile_network_status_get_network_status' +Plaid.autoload :ProfileNetworkStatusGetRequest, 'plaid/models/profile_network_status_get_request' +Plaid.autoload :ProfileNetworkStatusGetResponse, 'plaid/models/profile_network_status_get_response' +Plaid.autoload :ProfileNetworkStatusGetUser, 'plaid/models/profile_network_status_get_user' Plaid.autoload :ProgramNameSensitivity, 'plaid/models/program_name_sensitivity' Plaid.autoload :ProjectedIncomeSummaryFieldNumber, 'plaid/models/projected_income_summary_field_number' Plaid.autoload :ProxyType, 'plaid/models/proxy_type' @@ -1136,6 +1190,7 @@ Plaid.autoload :RiskSignalDocumentReference, 'plaid/models/risk_signal_document_reference' Plaid.autoload :RiskSignalDocumentStatus, 'plaid/models/risk_signal_document_status' Plaid.autoload :RiskSignalDocumentType, 'plaid/models/risk_signal_document_type' +Plaid.autoload :RiskSignalFileType, 'plaid/models/risk_signal_file_type' Plaid.autoload :Role, 'plaid/models/role' Plaid.autoload :RoleDetail, 'plaid/models/role_detail' Plaid.autoload :Roles, 'plaid/models/roles' @@ -1270,6 +1325,7 @@ Plaid.autoload :TaxpayerIdentifiers, 'plaid/models/taxpayer_identifiers' Plaid.autoload :Total, 'plaid/models/total' Plaid.autoload :TotalCanonicalDescription, 'plaid/models/total_canonical_description' +Plaid.autoload :TotalMonthlyIncomeInsights, 'plaid/models/total_monthly_income_insights' Plaid.autoload :Transaction, 'plaid/models/transaction' Plaid.autoload :TransactionAllOf, 'plaid/models/transaction_all_of' Plaid.autoload :TransactionBase, 'plaid/models/transaction_base' @@ -1396,6 +1452,7 @@ Plaid.autoload :TransferLedgerWithdrawResponse, 'plaid/models/transfer_ledger_withdraw_response' Plaid.autoload :TransferListRequest, 'plaid/models/transfer_list_request' Plaid.autoload :TransferListResponse, 'plaid/models/transfer_list_response' +Plaid.autoload :TransferMetricsGetAuthorizationUsage, 'plaid/models/transfer_metrics_get_authorization_usage' Plaid.autoload :TransferMetricsGetRequest, 'plaid/models/transfer_metrics_get_request' Plaid.autoload :TransferMetricsGetResponse, 'plaid/models/transfer_metrics_get_response' Plaid.autoload :TransferMetricsGetReturnRates, 'plaid/models/transfer_metrics_get_return_rates' @@ -1413,6 +1470,9 @@ Plaid.autoload :TransferOriginatorGetResponse, 'plaid/models/transfer_originator_get_response' Plaid.autoload :TransferOriginatorListRequest, 'plaid/models/transfer_originator_list_request' Plaid.autoload :TransferOriginatorListResponse, 'plaid/models/transfer_originator_list_response' +Plaid.autoload :TransferPlatformOriginatorCreateRequest, 'plaid/models/transfer_platform_originator_create_request' +Plaid.autoload :TransferPlatformOriginatorCreateResponse, 'plaid/models/transfer_platform_originator_create_response' +Plaid.autoload :TransferPlatformTOSAcceptanceMetadata, 'plaid/models/transfer_platform_tos_acceptance_metadata' Plaid.autoload :TransferQuestionnaireCreateRequest, 'plaid/models/transfer_questionnaire_create_request' Plaid.autoload :TransferQuestionnaireCreateResponse, 'plaid/models/transfer_questionnaire_create_response' Plaid.autoload :TransferRecurringCancelRequest, 'plaid/models/transfer_recurring_cancel_request' @@ -1521,6 +1581,7 @@ Plaid.autoload :WalletTransactionListRequest, 'plaid/models/wallet_transaction_list_request' Plaid.autoload :WalletTransactionListRequestOptions, 'plaid/models/wallet_transaction_list_request_options' Plaid.autoload :WalletTransactionListResponse, 'plaid/models/wallet_transaction_list_response' +Plaid.autoload :WalletTransactionRelation, 'plaid/models/wallet_transaction_relation' Plaid.autoload :WalletTransactionStatus, 'plaid/models/wallet_transaction_status' Plaid.autoload :WalletTransactionStatusUpdateWebhook, 'plaid/models/wallet_transaction_status_update_webhook' Plaid.autoload :WalletTransactionsListRequest, 'plaid/models/wallet_transactions_list_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 075f1a662..0b2c7271c 100644 --- a/lib/plaid/api/plaid_api.rb +++ b/lib/plaid/api/plaid_api.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -1583,142 +1583,6 @@ def bank_transfer_sweep_list_with_http_info(bank_transfer_sweep_list_request, op return data, status_code, headers end - # Create a Base Report - # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. - # @param base_report_create_request [BaseReportCreateRequest] - # @param [Hash] opts the optional parameters - # @return [BaseReportCreateResponse] - def base_report_create(base_report_create_request, opts = {}) - data, _status_code, _headers = base_report_create_with_http_info(base_report_create_request, opts) - data - end - - # Create a Base Report - # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. - # @param base_report_create_request [BaseReportCreateRequest] - # @param [Hash] opts the optional parameters - # @return [Array<(BaseReportCreateResponse, Integer, Hash)>] BaseReportCreateResponse data, response status code and response headers - def base_report_create_with_http_info(base_report_create_request, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.base_report_create ...' - end - # verify the required parameter 'base_report_create_request' is set - if @api_client.config.client_side_validation && base_report_create_request.nil? - fail ArgumentError, "Missing the required parameter 'base_report_create_request' when calling PlaidApi.base_report_create" - end - # resource path - local_var_path = '/cra/base_report/create' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - content_type = @api_client.select_header_content_type(['application/json']) - if !content_type.nil? - header_params['Content-Type'] = content_type - end - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(base_report_create_request) - - # return_type - return_type = opts[:debug_return_type] || 'BaseReportCreateResponse' - - # auth_names - auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] - - new_options = opts.merge( - :operation => :"PlaidApi.base_report_create", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#base_report_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - - # Retrieve a Base Report - # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/link/token/create`. - # @param base_report_get_request [BaseReportGetRequest] - # @param [Hash] opts the optional parameters - # @return [BaseReportGetResponse] - def base_report_get(base_report_get_request, opts = {}) - data, _status_code, _headers = base_report_get_with_http_info(base_report_get_request, opts) - data - end - - # Retrieve a Base Report - # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/link/token/create`. - # @param base_report_get_request [BaseReportGetRequest] - # @param [Hash] opts the optional parameters - # @return [Array<(BaseReportGetResponse, Integer, Hash)>] BaseReportGetResponse data, response status code and response headers - def base_report_get_with_http_info(base_report_get_request, opts = {}) - if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.base_report_get ...' - end - # verify the required parameter 'base_report_get_request' is set - if @api_client.config.client_side_validation && base_report_get_request.nil? - fail ArgumentError, "Missing the required parameter 'base_report_get_request' when calling PlaidApi.base_report_get" - end - # resource path - local_var_path = '/cra/base_report/get' - - # query parameters - query_params = opts[:query_params] || {} - - # header parameters - header_params = opts[:header_params] || {} - # HTTP header 'Accept' (if needed) - header_params['Accept'] = @api_client.select_header_accept(['application/json']) - # HTTP header 'Content-Type' - content_type = @api_client.select_header_content_type(['application/json']) - if !content_type.nil? - header_params['Content-Type'] = content_type - end - - # form parameters - form_params = opts[:form_params] || {} - - # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(base_report_get_request) - - # return_type - return_type = opts[:debug_return_type] || 'BaseReportGetResponse' - - # auth_names - auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] - - new_options = opts.merge( - :operation => :"PlaidApi.base_report_get", - :header_params => header_params, - :query_params => query_params, - :form_params => form_params, - :body => post_body, - :auth_names => auth_names, - :return_type => return_type - ) - - data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) - if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#base_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" - end - return data, status_code, headers - end - # Evaluate risk of a bank account # Use `/beacon/account_risk/v1/evaluate` to get risk insights for a linked account. # @param beacon_account_risk_evaluate_request [BeaconAccountRiskEvaluateRequest] @@ -2875,6 +2739,142 @@ def cra_bank_income_get_with_http_info(cra_bank_income_get_request, opts = {}) return data, status_code, headers end + # Create a Base Report + # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. + # @param cra_base_report_create_request [CraBaseReportCreateRequest] + # @param [Hash] opts the optional parameters + # @return [CraBaseReportCreateResponse] + def cra_base_report_create(cra_base_report_create_request, opts = {}) + data, _status_code, _headers = cra_base_report_create_with_http_info(cra_base_report_create_request, opts) + data + end + + # Create a Base Report + # This endpoint allows the customer to create a Base Report by passing in a user token. The Base Report will be generated based on the most recently linked item from the user token. + # @param cra_base_report_create_request [CraBaseReportCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraBaseReportCreateResponse, Integer, Hash)>] CraBaseReportCreateResponse data, response status code and response headers + def cra_base_report_create_with_http_info(cra_base_report_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_base_report_create ...' + end + # verify the required parameter 'cra_base_report_create_request' is set + if @api_client.config.client_side_validation && cra_base_report_create_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_base_report_create_request' when calling PlaidApi.cra_base_report_create" + end + # resource path + local_var_path = '/cra/base_report/create' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_base_report_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraBaseReportCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_base_report_create", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_base_report_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Retrieve a Base Report + # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/user/create`. + # @param cra_base_report_get_request [CraBaseReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [CraBaseReportGetResponse] + def cra_base_report_get(cra_base_report_get_request, opts = {}) + data, _status_code, _headers = cra_base_report_get_with_http_info(cra_base_report_get_request, opts) + data + end + + # Retrieve a Base Report + # This endpoint allows the customer to retrieve a Base Report. Customers should pass in the `user_token` created in `/user/create`. + # @param cra_base_report_get_request [CraBaseReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraBaseReportGetResponse, Integer, Hash)>] CraBaseReportGetResponse data, response status code and response headers + def cra_base_report_get_with_http_info(cra_base_report_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_base_report_get ...' + end + # verify the required parameter 'cra_base_report_get_request' is set + if @api_client.config.client_side_validation && cra_base_report_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_base_report_get_request' when calling PlaidApi.cra_base_report_get" + end + # resource path + local_var_path = '/cra/base_report/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_base_report_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraBaseReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_base_report_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_base_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Retrieve a Base Report # This endpoint allows you to retrieve the Base Report for your user, allowing you to receive comprehensive bank account and cash flow data. You should call this endpoint after you've received a `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn't have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. # @param cra_check_report_base_report_get_request [CraCheckReportBaseReportGetRequest] @@ -3080,27 +3080,27 @@ def cra_check_report_income_insights_get_with_http_info(cra_check_report_income_ end # Retrieve network attributes for the user - # This endpoint allows you to retrieve the Network Attributes product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. - # @param cra_check_report_network_attributes_get_request [CraCheckReportNetworkAttributesGetRequest] + # This endpoint allows you to retrieve the Network Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. + # @param cra_check_report_network_insights_get_request [CraCheckReportNetworkInsightsGetRequest] # @param [Hash] opts the optional parameters - # @return [CraCheckReportNetworkAttributesGetResponse] - def cra_check_report_network_attributes_get(cra_check_report_network_attributes_get_request, opts = {}) - data, _status_code, _headers = cra_check_report_network_attributes_get_with_http_info(cra_check_report_network_attributes_get_request, opts) + # @return [CraCheckReportNetworkInsightsGetResponse] + def cra_check_report_network_insights_get(cra_check_report_network_insights_get_request, opts = {}) + data, _status_code, _headers = cra_check_report_network_insights_get_with_http_info(cra_check_report_network_insights_get_request, opts) data end # Retrieve network attributes for the user - # This endpoint allows you to retrieve the Network Attributes product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. - # @param cra_check_report_network_attributes_get_request [CraCheckReportNetworkAttributesGetRequest] + # This endpoint allows you to retrieve the Network Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `cra_network_attributes` product or have generated a report using `/cra/check_report/create`, we will generate the attributes when you call this endpoint. + # @param cra_check_report_network_insights_get_request [CraCheckReportNetworkInsightsGetRequest] # @param [Hash] opts the optional parameters - # @return [Array<(CraCheckReportNetworkAttributesGetResponse, Integer, Hash)>] CraCheckReportNetworkAttributesGetResponse data, response status code and response headers - def cra_check_report_network_attributes_get_with_http_info(cra_check_report_network_attributes_get_request, opts = {}) + # @return [Array<(CraCheckReportNetworkInsightsGetResponse, Integer, Hash)>] CraCheckReportNetworkInsightsGetResponse data, response status code and response headers + def cra_check_report_network_insights_get_with_http_info(cra_check_report_network_insights_get_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_check_report_network_attributes_get ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_check_report_network_insights_get ...' end - # verify the required parameter 'cra_check_report_network_attributes_get_request' is set - if @api_client.config.client_side_validation && cra_check_report_network_attributes_get_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_check_report_network_attributes_get_request' when calling PlaidApi.cra_check_report_network_attributes_get" + # verify the required parameter 'cra_check_report_network_insights_get_request' is set + if @api_client.config.client_side_validation && cra_check_report_network_insights_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_check_report_network_insights_get_request' when calling PlaidApi.cra_check_report_network_insights_get" end # resource path local_var_path = '/cra/check_report/network_insights/get' @@ -3122,16 +3122,16 @@ def cra_check_report_network_attributes_get_with_http_info(cra_check_report_netw form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_check_report_network_attributes_get_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_check_report_network_insights_get_request) # return_type - return_type = opts[:debug_return_type] || 'CraCheckReportNetworkAttributesGetResponse' + return_type = opts[:debug_return_type] || 'CraCheckReportNetworkInsightsGetResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_check_report_network_attributes_get", + :operation => :"PlaidApi.cra_check_report_network_insights_get", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3142,13 +3142,13 @@ def cra_check_report_network_attributes_get_with_http_info(cra_check_report_netw data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_check_report_network_attributes_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_check_report_network_insights_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end # Retrieve cash flow insights from partners - # This endpoint allows you to retrieve the Partner Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. + # This endpoint allows you to retrieve the Partner Insights report for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. # @param cra_check_report_partner_insights_get_request [CraCheckReportPartnerInsightsGetRequest] # @param [Hash] opts the optional parameters # @return [CraCheckReportPartnerInsightsGetResponse] @@ -3158,7 +3158,7 @@ def cra_check_report_partner_insights_get(cra_check_report_partner_insights_get_ end # Retrieve cash flow insights from partners - # This endpoint allows you to retrieve the Partner Insights product for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. + # This endpoint allows you to retrieve the Partner Insights report for your user. You should call this endpoint after you've received the `CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the base report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`. If you did not initialize Link with the `credit_partner_insights` product or have generated a report using `/cra/check_report/create`, we will call our partners to generate the insights when you call this endpoint. In this case, you may optionally provide parameters under `options` to configure which insights you want to receive. # @param cra_check_report_partner_insights_get_request [CraCheckReportPartnerInsightsGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(CraCheckReportPartnerInsightsGetResponse, Integer, Hash)>] CraCheckReportPartnerInsightsGetResponse data, response status code and response headers @@ -3215,8 +3215,8 @@ def cra_check_report_partner_insights_get_with_http_info(cra_check_report_partne return data, status_code, headers end - # Retrieve the most recent Base Report in PDF format. You can also include other reports in the same PDF if you specify `add_ons`. - # `/cra/check_report/pdf/get` retrieve the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format + # Retrieve Consumer Reports as a PDF + # `/cra/check_report/pdf/get` retrieves the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format. # @param cra_check_report_pdf_get_request [CraCheckReportPDFGetRequest] # @param [Hash] opts the optional parameters # @return [File] @@ -3225,8 +3225,8 @@ def cra_check_report_pdf_get(cra_check_report_pdf_get_request, opts = {}) data end - # Retrieve the most recent Base Report in PDF format. You can also include other reports in the same PDF if you specify `add_ons`. - # `/cra/check_report/pdf/get` retrieve the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format + # Retrieve Consumer Reports as a PDF + # `/cra/check_report/pdf/get` retrieves the most recent Bank Income report (if it exists) followed by the most recent Base Report (if it exists) in PDF format. # @param cra_check_report_pdf_get_request [CraCheckReportPDFGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers @@ -3436,14 +3436,218 @@ def cra_loans_unregister(cra_loans_unregister_request, opts = {}) # @return [Array<(CraLoanUnregisterResponse, Integer, Hash)>] CraLoanUnregisterResponse data, response status code and response headers def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_unregister ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_unregister ...' + end + # verify the required parameter 'cra_loans_unregister_request' is set + if @api_client.config.client_side_validation && cra_loans_unregister_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_loans_unregister_request' when calling PlaidApi.cra_loans_unregister" + end + # resource path + local_var_path = '/cra/loans/unregister' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_unregister_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraLoanUnregisterResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_loans_unregister", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_loans_unregister\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Updates loan data. + # `/cra/loans/update` updates loan information such as the status and payment history. + # @param cra_loans_update_request [CraLoansUpdateRequest] + # @param [Hash] opts the optional parameters + # @return [CraLoansUpdateResponse] + def cra_loans_update(cra_loans_update_request, opts = {}) + data, _status_code, _headers = cra_loans_update_with_http_info(cra_loans_update_request, opts) + data + end + + # Updates loan data. + # `/cra/loans/update` updates loan information such as the status and payment history. + # @param cra_loans_update_request [CraLoansUpdateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraLoansUpdateResponse, Integer, Hash)>] CraLoansUpdateResponse data, response status code and response headers + def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_update ...' + end + # verify the required parameter 'cra_loans_update_request' is set + if @api_client.config.client_side_validation && cra_loans_update_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_loans_update_request' when calling PlaidApi.cra_loans_update" + end + # resource path + local_var_path = '/cra/loans/update' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_update_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraLoansUpdateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_loans_update", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_loans_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Retrieve a Monitoring Insights Report + # This endpoint allows you to retrieve a Monitoring Insights report by passing in the `user_token` referred to in the webhook you received. + # @param cra_monitoring_insights_get_request [CraMonitoringInsightsGetRequest] + # @param [Hash] opts the optional parameters + # @return [CraMonitoringInsightsGetResponse] + def cra_monitoring_insights_get(cra_monitoring_insights_get_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_get_with_http_info(cra_monitoring_insights_get_request, opts) + data + end + + # Retrieve a Monitoring Insights Report + # This endpoint allows you to retrieve a Monitoring Insights report by passing in the `user_token` referred to in the webhook you received. + # @param cra_monitoring_insights_get_request [CraMonitoringInsightsGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraMonitoringInsightsGetResponse, Integer, Hash)>] CraMonitoringInsightsGetResponse data, response status code and response headers + def cra_monitoring_insights_get_with_http_info(cra_monitoring_insights_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_get ...' + end + # verify the required parameter 'cra_monitoring_insights_get_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_get_request' when calling PlaidApi.cra_monitoring_insights_get" + end + # resource path + local_var_path = '/cra/monitoring_insights/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_monitoring_insights_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Subscribe to Monitoring Insights + # This endpoint allows you to subscribe to insights for a user's linked CRA items, which are updated every 14 days. + # @param cra_monitoring_insights_subscribe_request [CraMonitoringInsightsSubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [CraMonitoringInsightsSubscribeResponse] + def cra_monitoring_insights_subscribe(cra_monitoring_insights_subscribe_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_subscribe_with_http_info(cra_monitoring_insights_subscribe_request, opts) + data + end + + # Subscribe to Monitoring Insights + # This endpoint allows you to subscribe to insights for a user's linked CRA items, which are updated every 14 days. + # @param cra_monitoring_insights_subscribe_request [CraMonitoringInsightsSubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraMonitoringInsightsSubscribeResponse, Integer, Hash)>] CraMonitoringInsightsSubscribeResponse data, response status code and response headers + def cra_monitoring_insights_subscribe_with_http_info(cra_monitoring_insights_subscribe_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_subscribe ...' end - # verify the required parameter 'cra_loans_unregister_request' is set - if @api_client.config.client_side_validation && cra_loans_unregister_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_loans_unregister_request' when calling PlaidApi.cra_loans_unregister" + # verify the required parameter 'cra_monitoring_insights_subscribe_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_subscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_subscribe_request' when calling PlaidApi.cra_monitoring_insights_subscribe" end # resource path - local_var_path = '/cra/loans/unregister' + local_var_path = '/cra/monitoring_insights/subscribe' # query parameters query_params = opts[:query_params] || {} @@ -3462,16 +3666,16 @@ def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_unregister_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_subscribe_request) # return_type - return_type = opts[:debug_return_type] || 'CraLoanUnregisterResponse' + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsSubscribeResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_loans_unregister", + :operation => :"PlaidApi.cra_monitoring_insights_subscribe", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3482,36 +3686,36 @@ def cra_loans_unregister_with_http_info(cra_loans_unregister_request, opts = {}) data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_loans_unregister\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_subscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Updates loan data. - # `/cra/loans/update` updates loan information such as the status and payment history. - # @param cra_loans_update_request [CraLoansUpdateRequest] + # Unsubscribe from Monitoring Insights + # This endpoint allows you to unsubscribe from previously subscribed Monitoring Insights. + # @param cra_monitoring_insights_unsubscribe_request [CraMonitoringInsightsUnsubscribeRequest] # @param [Hash] opts the optional parameters - # @return [CraLoansUpdateResponse] - def cra_loans_update(cra_loans_update_request, opts = {}) - data, _status_code, _headers = cra_loans_update_with_http_info(cra_loans_update_request, opts) + # @return [CraMonitoringInsightsUnsubscribeResponse] + def cra_monitoring_insights_unsubscribe(cra_monitoring_insights_unsubscribe_request, opts = {}) + data, _status_code, _headers = cra_monitoring_insights_unsubscribe_with_http_info(cra_monitoring_insights_unsubscribe_request, opts) data end - # Updates loan data. - # `/cra/loans/update` updates loan information such as the status and payment history. - # @param cra_loans_update_request [CraLoansUpdateRequest] + # Unsubscribe from Monitoring Insights + # This endpoint allows you to unsubscribe from previously subscribed Monitoring Insights. + # @param cra_monitoring_insights_unsubscribe_request [CraMonitoringInsightsUnsubscribeRequest] # @param [Hash] opts the optional parameters - # @return [Array<(CraLoansUpdateResponse, Integer, Hash)>] CraLoansUpdateResponse data, response status code and response headers - def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) + # @return [Array<(CraMonitoringInsightsUnsubscribeResponse, Integer, Hash)>] CraMonitoringInsightsUnsubscribeResponse data, response status code and response headers + def cra_monitoring_insights_unsubscribe_with_http_info(cra_monitoring_insights_unsubscribe_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_loans_update ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_monitoring_insights_unsubscribe ...' end - # verify the required parameter 'cra_loans_update_request' is set - if @api_client.config.client_side_validation && cra_loans_update_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_loans_update_request' when calling PlaidApi.cra_loans_update" + # verify the required parameter 'cra_monitoring_insights_unsubscribe_request' is set + if @api_client.config.client_side_validation && cra_monitoring_insights_unsubscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_monitoring_insights_unsubscribe_request' when calling PlaidApi.cra_monitoring_insights_unsubscribe" end # resource path - local_var_path = '/cra/loans/update' + local_var_path = '/cra/monitoring_insights/unsubscribe' # query parameters query_params = opts[:query_params] || {} @@ -3530,16 +3734,16 @@ def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_loans_update_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_monitoring_insights_unsubscribe_request) # return_type - return_type = opts[:debug_return_type] || 'CraLoansUpdateResponse' + return_type = opts[:debug_return_type] || 'CraMonitoringInsightsUnsubscribeResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_loans_update", + :operation => :"PlaidApi.cra_monitoring_insights_unsubscribe", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -3550,7 +3754,7 @@ def cra_loans_update_with_http_info(cra_loans_update_request, opts = {}) data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) if @api_client.config.debugging - @api_client.config.logger.debug "API called: PlaidApi#cra_loans_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_monitoring_insights_unsubscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -3964,7 +4168,7 @@ def credit_bank_employment_get_with_http_info(credit_bank_employment_get_request end # Retrieve information from the bank accounts used for income verification - # `/credit/bank_income/get` returns the bank income report(s) for a specified user. + # `/credit/bank_income/get` returns the bank income report(s) for a specified user. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). To return older reports, use the `options.count` field. # @param credit_bank_income_get_request [CreditBankIncomeGetRequest] # @param [Hash] opts the optional parameters # @return [CreditBankIncomeGetResponse] @@ -3974,7 +4178,7 @@ def credit_bank_income_get(credit_bank_income_get_request, opts = {}) end # Retrieve information from the bank accounts used for income verification - # `/credit/bank_income/get` returns the bank income report(s) for a specified user. + # `/credit/bank_income/get` returns the bank income report(s) for a specified user. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). To return older reports, use the `options.count` field. # @param credit_bank_income_get_request [CreditBankIncomeGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditBankIncomeGetResponse, Integer, Hash)>] CreditBankIncomeGetResponse data, response status code and response headers @@ -4032,7 +4236,7 @@ def credit_bank_income_get_with_http_info(credit_bank_income_get_request, opts = end # Retrieve information from the bank accounts used for income verification in PDF format - # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. + # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). # @param credit_bank_income_pdf_get_request [CreditBankIncomePDFGetRequest] # @param [Hash] opts the optional parameters # @return [File] @@ -4042,7 +4246,7 @@ def credit_bank_income_pdf_get(credit_bank_income_pdf_get_request, opts = {}) end # Retrieve information from the bank accounts used for income verification in PDF format - # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. + # `/credit/bank_income/pdf/get` returns the most recent bank income report for a specified user in PDF format. A single report corresponds to all institutions linked in a single Link session. To include multiple institutions in a single report, use [Multi-Item Link](https://plaid.com/docs/link/multi-item-link). # @param credit_bank_income_pdf_get_request [CreditBankIncomePDFGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(File, Integer, Hash)>] File data, response status code and response headers @@ -4100,7 +4304,7 @@ def credit_bank_income_pdf_get_with_http_info(credit_bank_income_pdf_get_request end # Refresh a user's bank income information - # `/credit/bank_income/refresh` refreshes the bank income report data for a specific user. + # `/credit/bank_income/refresh` refreshes the most recent bank income report data for a specific user. If the most recent bank income report is no longer valid (i.e. deleted), the endpoint will refresh the most recent valid report instead. # @param credit_bank_income_refresh_request [CreditBankIncomeRefreshRequest] # @param [Hash] opts the optional parameters # @return [CreditBankIncomeRefreshResponse] @@ -4110,7 +4314,7 @@ def credit_bank_income_refresh(credit_bank_income_refresh_request, opts = {}) end # Refresh a user's bank income information - # `/credit/bank_income/refresh` refreshes the bank income report data for a specific user. + # `/credit/bank_income/refresh` refreshes the most recent bank income report data for a specific user. If the most recent bank income report is no longer valid (i.e. deleted), the endpoint will refresh the most recent valid report instead. # @param credit_bank_income_refresh_request [CreditBankIncomeRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(CreditBankIncomeRefreshResponse, Integer, Hash)>] CreditBankIncomeRefreshResponse data, response status code and response headers @@ -5867,6 +6071,129 @@ def fdx_notifications_with_http_info(fdx_notification, opts = {}) return data, status_code, headers end + # Get Recipient + # Get a specific recipient + # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # @param [Hash] opts the optional parameters + # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @return [GetRecipientResponse] + def get_recipient(recipient_id, opts = {}) + data, _status_code, _headers = get_recipient_with_http_info(recipient_id, opts) + data + end + + # Get Recipient + # Get a specific recipient + # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # @param [Hash] opts the optional parameters + # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @return [Array<(GetRecipientResponse, Integer, Hash)>] GetRecipientResponse data, response status code and response headers + def get_recipient_with_http_info(recipient_id, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.get_recipient ...' + end + # verify the required parameter 'recipient_id' is set + if @api_client.config.client_side_validation && recipient_id.nil? + fail ArgumentError, "Missing the required parameter 'recipient_id' when calling PlaidApi.get_recipient" + end + # resource path + local_var_path = '/fdx/recipient/{recipientId}'.sub('{' + 'recipientId' + '}', CGI.escape(recipient_id.to_s)) + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + header_params[:'OAUTH-STATE-ID'] = opts[:'oauth_state_id'] if !opts[:'oauth_state_id'].nil? + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'GetRecipientResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.get_recipient", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#get_recipient\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get Recipients + # Returns a list of Recipients + # @param [Hash] opts the optional parameters + # @return [GetRecipientsResponse] + def get_recipients(opts = {}) + data, _status_code, _headers = get_recipients_with_http_info(opts) + data + end + + # Get Recipients + # Returns a list of Recipients + # @param [Hash] opts the optional parameters + # @return [Array<(GetRecipientsResponse, Integer, Hash)>] GetRecipientsResponse data, response status code and response headers + def get_recipients_with_http_info(opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.get_recipients ...' + end + # resource path + local_var_path = '/fdx/recipients' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] + + # return_type + return_type = opts[:debug_return_type] || 'GetRecipientsResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.get_recipients", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#get_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Returns uploaded document identity # Use `/identity/documents/uploads/get` to retrieve document uploaded identity. # @param identity_documents_uploads_get_request [IdentityDocumentsUploadsGetRequest] @@ -7160,7 +7487,7 @@ def investments_holdings_get_with_http_info(investments_holdings_get_request, op end # Refresh investment data - # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investments, holdings and investment transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. \"Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. + # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investment holdings and transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [`INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. # @param investments_refresh_request [InvestmentsRefreshRequest] # @param [Hash] opts the optional parameters # @return [InvestmentsRefreshResponse] @@ -7170,7 +7497,7 @@ def investments_refresh(investments_refresh_request, opts = {}) end # Refresh investment data - # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investments, holdings and investment transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. \"Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. + # `/investments/refresh` is an optional endpoint for users of the Investments product. It initiates an on-demand extraction to fetch the newest investment holdings and transactions for an Item. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Investments-enabled Item. If changes to investments are discovered after calling `/investments/refresh`, Plaid will fire webhooks: [`HOLDINGS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#holdings-default_update) if any new holdings are detected, and [`INVESTMENTS_TRANSACTIONS: DEFAULT_UPDATE`](https://plaid.com/docs/api/products/investments/#investments_transactions-default_update) if any new investment transactions are detected. Updated holdings and investment transactions can be fetched by calling `/investments/holdings/get` and `/investments/transactions/get`. Note that the `/investments/refresh` endpoint is not supported by all institutions. If called on an Item from an institution that does not support this functionality, it will return a `PRODUCT_NOT_SUPPORTED` error. As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests. `/investments/refresh` is offered as an add-on to Investments and has a separate [fee model](/docs/account/billing/#per-request-flat-fee). To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. # @param investments_refresh_request [InvestmentsRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(InvestmentsRefreshResponse, Integer, Hash)>] InvestmentsRefreshResponse data, response status code and response headers @@ -8044,7 +8371,7 @@ def item_webhook_update_with_http_info(item_webhook_update_request, opts = {}) end # Retrieve Liabilities data - # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. + # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [LiabilitiesGetResponse] @@ -8054,7 +8381,7 @@ def liabilities_get(liabilities_get_request, opts = {}) end # Retrieve Liabilities data - # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/tokens/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. + # The `/liabilities/get` endpoint returns various details about an Item with loan or credit accounts. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type `credit` with account subtype `credit card` or `paypal`, and account type `loan` with account subtype `student` or `mortgage`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. Note: This request may take some time to complete if `liabilities` was not specified as an initial product when creating the Item. This is because Plaid must communicate directly with the institution to retrieve the additional data. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(LiabilitiesGetResponse, Integer, Hash)>] LiabilitiesGetResponse data, response status code and response headers @@ -8452,7 +8779,7 @@ def link_token_create_with_http_info(link_token_create_request, opts = {}) end # Get Link Token - # The `/link/token/get` endpoint gets information about a previously-created `link_token` using the `/link/token/create` endpoint. It can be useful for debugging purposes. + # The `/link/token/get` endpoint gets information about a Link session, including all callbacks fired during the session along with their metadata, including the public token. This endpoint is used with Link flows that don't provide a public token via frontend callbacks, such as the [Hosted Link flow](https://plaid.com/docs/link/hosted-link/) and the [Multi-Item Link flow](https://plaid.com/docs/link/multi-item-link/). It also can be useful for debugging purposes. # @param link_token_get_request [LinkTokenGetRequest] # @param [Hash] opts the optional parameters # @return [LinkTokenGetResponse] @@ -8462,7 +8789,7 @@ def link_token_get(link_token_get_request, opts = {}) end # Get Link Token - # The `/link/token/get` endpoint gets information about a previously-created `link_token` using the `/link/token/create` endpoint. It can be useful for debugging purposes. + # The `/link/token/get` endpoint gets information about a Link session, including all callbacks fired during the session along with their metadata, including the public token. This endpoint is used with Link flows that don't provide a public token via frontend callbacks, such as the [Hosted Link flow](https://plaid.com/docs/link/hosted-link/) and the [Multi-Item Link flow](https://plaid.com/docs/link/multi-item-link/). It also can be useful for debugging purposes. # @param link_token_get_request [LinkTokenGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(LinkTokenGetResponse, Integer, Hash)>] LinkTokenGetResponse data, response status code and response headers @@ -8519,6 +8846,74 @@ def link_token_get_with_http_info(link_token_get_request, opts = {}) return data, status_code, headers end + # Retrieve network insights for the provided `access_tokens` + # This endpoint allows you to retrieve the Network Insights from a list of `access_tokens`. + # @param network_insights_report_get_request [NetworkInsightsReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [NetworkInsightsReportGetResponse] + def network_insights_report_get(network_insights_report_get_request, opts = {}) + data, _status_code, _headers = network_insights_report_get_with_http_info(network_insights_report_get_request, opts) + data + end + + # Retrieve network insights for the provided `access_tokens` + # This endpoint allows you to retrieve the Network Insights from a list of `access_tokens`. + # @param network_insights_report_get_request [NetworkInsightsReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(NetworkInsightsReportGetResponse, Integer, Hash)>] NetworkInsightsReportGetResponse data, response status code and response headers + def network_insights_report_get_with_http_info(network_insights_report_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.network_insights_report_get ...' + end + # verify the required parameter 'network_insights_report_get_request' is set + if @api_client.config.client_side_validation && network_insights_report_get_request.nil? + fail ArgumentError, "Missing the required parameter 'network_insights_report_get_request' when calling PlaidApi.network_insights_report_get" + end + # resource path + local_var_path = '/network_insights/report/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(network_insights_report_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'NetworkInsightsReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.network_insights_report_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#network_insights_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Creates a new end customer for a Plaid reseller. # The `/partner/customer/create` endpoint is used by reseller partners to create end customers. # @param partner_customer_create_request [PartnerCustomerCreateRequest] @@ -11307,6 +11702,74 @@ def profile_get_with_http_info(profile_get_request, opts = {}) return data, status_code, headers end + # Check a user's Plaid Network status + # The `/profile/network_status/get` endpoint can be used to check whether Plaid has a matching profile for the user. + # @param profile_network_status_get_request [ProfileNetworkStatusGetRequest] + # @param [Hash] opts the optional parameters + # @return [ProfileNetworkStatusGetResponse] + def profile_network_status_get(profile_network_status_get_request, opts = {}) + data, _status_code, _headers = profile_network_status_get_with_http_info(profile_network_status_get_request, opts) + data + end + + # Check a user's Plaid Network status + # The `/profile/network_status/get` endpoint can be used to check whether Plaid has a matching profile for the user. + # @param profile_network_status_get_request [ProfileNetworkStatusGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(ProfileNetworkStatusGetResponse, Integer, Hash)>] ProfileNetworkStatusGetResponse data, response status code and response headers + def profile_network_status_get_with_http_info(profile_network_status_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.profile_network_status_get ...' + end + # verify the required parameter 'profile_network_status_get_request' is set + if @api_client.config.client_side_validation && profile_network_status_get_request.nil? + fail ArgumentError, "Missing the required parameter 'profile_network_status_get_request' when calling PlaidApi.profile_network_status_get" + end + # resource path + local_var_path = '/profile/network_status/get' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(profile_network_status_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'ProfileNetworkStatusGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.profile_network_status_get", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#profile_network_status_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Manually fire a bank income webhook in sandbox # Use the `/sandbox/bank_income/fire_webhook` endpoint to manually trigger a Bank Income webhook in the Sandbox environment. # @param sandbox_bank_income_fire_webhook_request [SandboxBankIncomeFireWebhookRequest] @@ -11580,7 +12043,7 @@ def sandbox_income_fire_webhook_with_http_info(sandbox_income_fire_webhook_reque end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Webhook to be fired for a given Sandbox Item created with Account Select v2. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Fired to indicate that a new account is available on the Item and you can launch update mode to request access to it. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [SandboxItemFireWebhookResponse] @@ -11590,7 +12053,7 @@ def sandbox_item_fire_webhook(sandbox_item_fire_webhook_request, opts = {}) end # Fire a test webhook - # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Webhook to be fired for a given Sandbox Item created with Account Select v2. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). + # The `/sandbox/item/fire_webhook` endpoint is used to test that code correctly handles webhooks. This endpoint can trigger the following webhooks: `DEFAULT_UPDATE`: Webhook to be fired for a given Sandbox Item simulating a default update event for the respective product as specified with the `webhook_type` in the request body. Valid sandbox `DEFAULT_UPDATE` responses include: `AUTH`, `IDENTITY`, `TRANSACTIONS`, `INVESTMENTS_TRANSACTIONS`, `LIABILITIES`, `HOLDINGS`. If the Item does not support the product, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `NEW_ACCOUNTS_AVAILABLE`: Fired to indicate that a new account is available on the Item and you can launch update mode to request access to it. `SMS_MICRODEPOSITS_VERIFICATION`: Fired when a given same day micro-deposit item is verified via SMS verification. `LOGIN_REPAIRED`: Fired when an Item recovers from the `ITEM_LOGIN_REQUIRED` without the user going through update mode in your app. `RECURRING_TRANSACTIONS_UPDATE`: Recurring Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Recurring Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `SYNC_UPDATES_AVAILABLE`: Transactions webhook to be fired for a given Sandbox Item. If the Item does not support Transactions, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `PRODUCT_READY`: Assets webhook to be fired when a given asset report has been successfully generated. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. `ERROR`: Assets webhook to be fired when asset report generation has failed. If the Item does not support Assets, a `SANDBOX_PRODUCT_NOT_ENABLED` error will result. Note that this endpoint is provided for developer ease-of-use and is not required for testing webhooks; webhooks will also fire in Sandbox under the same conditions that they would in Production (except for webhooks of type `TRANSFER`). # @param sandbox_item_fire_webhook_request [SandboxItemFireWebhookRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxItemFireWebhookResponse, Integer, Hash)>] SandboxItemFireWebhookResponse data, response status code and response headers @@ -11988,7 +12451,7 @@ def sandbox_processor_token_create_with_http_info(sandbox_processor_token_create end # Create a test Item - # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data. `/sandbox/public_token/create` cannot be used with OAuth institutions. + # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data, or with Plaid's [pre-populated Sandbox test accounts](https://plaid.com/docs/sandbox/test-credentials/). # @param sandbox_public_token_create_request [SandboxPublicTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [SandboxPublicTokenCreateResponse] @@ -11998,7 +12461,7 @@ def sandbox_public_token_create(sandbox_public_token_create_request, opts = {}) end # Create a test Item - # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data. `/sandbox/public_token/create` cannot be used with OAuth institutions. + # Use the `/sandbox/public_token/create` endpoint to create a valid `public_token` for an arbitrary institution ID, initial products, and test credentials. The created `public_token` maps to a new Sandbox Item. You can then call `/item/public_token/exchange` to exchange the `public_token` for an `access_token` and perform all API actions. `/sandbox/public_token/create` can also be used with the [`user_custom` test username](https://plaid.com/docs/sandbox/user-custom) to generate a test account with custom data, or with Plaid's [pre-populated Sandbox test accounts](https://plaid.com/docs/sandbox/test-credentials/). # @param sandbox_public_token_create_request [SandboxPublicTokenCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(SandboxPublicTokenCreateResponse, Integer, Hash)>] SandboxPublicTokenCreateResponse data, response status code and response headers @@ -13620,7 +14083,7 @@ def transactions_get_with_http_info(transactions_get_request, opts = {}) end # Fetch recurring transaction streams - # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). For optimal results, we strongly recommend customers using Recurring Transactions to request at least 180 days of history when initializing items with Transactions (using the [`days_requested`](https://plaid.com/docs/api/tokens/#link-token-create-request-transactions-days-requested) option). Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. + # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). When using Recurring Transactions, for best results, make sure to use the [`days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) parameter to request at least 180 days of history when initializing Items with Transactions. Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. # @param transactions_recurring_get_request [TransactionsRecurringGetRequest] # @param [Hash] opts the optional parameters # @return [TransactionsRecurringGetResponse] @@ -13630,7 +14093,7 @@ def transactions_recurring_get(transactions_recurring_get_request, opts = {}) end # Fetch recurring transaction streams - # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). For optimal results, we strongly recommend customers using Recurring Transactions to request at least 180 days of history when initializing items with Transactions (using the [`days_requested`](https://plaid.com/docs/api/tokens/#link-token-create-request-transactions-days-requested) option). Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. + # The `/transactions/recurring/get` endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments. This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a [product access request](https://dashboard.plaid.com/team/products) or contact your Plaid account manager. This endpoint can only be called on an Item that has already been initialized with Transactions (either during Link, by specifying it in `/link/token/create`; or after Link, by calling `/transactions/get` or `/transactions/sync`). When using Recurring Transactions, for best results, make sure to use the [`days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) parameter to request at least 180 days of history when initializing Items with Transactions. Once all historical transactions have been fetched, call `/transactions/recurring/get` to receive the Recurring Transactions streams and subscribe to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook. To know when historical transactions have been fetched, if you are using `/transactions/sync` listen for the [`SYNC_UPDATES_AVAILABLE`](https://plaid.com/docs/api/products/transactions/#SyncUpdatesAvailableWebhook-historical-update-complete) webhook and check that the `historical_update_complete` field in the payload is `true`. If using `/transactions/get`, listen for the [`HISTORICAL_UPDATE`](https://plaid.com/docs/api/products/transactions/#historical_update) webhook. After the initial call, you can call `/transactions/recurring/get` endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the [`RECURRING_TRANSACTIONS_UPDATE`](https://plaid.com/docs/api/products/transactions/#recurring_transactions_update) webhook to be notified when new updates are available. # @param transactions_recurring_get_request [TransactionsRecurringGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransactionsRecurringGetResponse, Integer, Hash)>] TransactionsRecurringGetResponse data, response status code and response headers @@ -14164,7 +14627,7 @@ def transfer_authorization_cancel_with_http_info(transfer_authorization_cancel_r end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. The transfer authorization will expire if not used after one hour. (You can contact your account manager to change the default authorization lifetime.) There are four possible outcomes to calling this endpoint: - If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. - If the `authorization.decision` is `user_action_required`, additional user input is needed, usually to fix a broken bank connection, before Plaid can properly assess the risk. You need to launch Link in update mode to complete the required user action. When calling `/link/token/create` to get a new Link token, instead of providing `access_token` in the request, you should set [`transfer.authorization_id`](https://plaid.com/docs/api/link/#link-token-create-request-transfer-authorization-id) as the `authorization.id`. After the Link flow is completed, you may re-attempt the authorization. - If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. - If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To get an authorization decision of `user_action_required`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferAuthorizationCreateResponse] @@ -14174,7 +14637,7 @@ def transfer_authorization_create(transfer_authorization_create_request, opts = end # Create a transfer authorization - # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. There are three possible outcomes to calling this endpoint: If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To approve a transfer with the rationale code `ITEM_LOGIN_REQUIRED`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. + # Use the `/transfer/authorization/create` endpoint to authorize a transfer. This endpoint must be called prior to calling `/transfer/create`. The transfer authorization will expire if not used after one hour. (You can contact your account manager to change the default authorization lifetime.) There are four possible outcomes to calling this endpoint: - If the `authorization.decision` in the response is `declined`, the proposed transfer has failed the risk check and you cannot proceed with the transfer. - If the `authorization.decision` is `user_action_required`, additional user input is needed, usually to fix a broken bank connection, before Plaid can properly assess the risk. You need to launch Link in update mode to complete the required user action. When calling `/link/token/create` to get a new Link token, instead of providing `access_token` in the request, you should set [`transfer.authorization_id`](https://plaid.com/docs/api/link/#link-token-create-request-transfer-authorization-id) as the `authorization.id`. After the Link flow is completed, you may re-attempt the authorization. - If the `authorization.decision` is `approved`, and the `authorization.rationale_code` is `null`, the transfer has passed the risk check and you can proceed to call `/transfer/create`. - If the `authorization.decision` is `approved` and the `authorization.rationale_code` is non-`null`, the risk check could not be run: you may proceed with the transfer, but should perform your own risk evaluation. For more details, see the response schema. In Plaid's Sandbox environment the decisions will be returned as follows: - To approve a transfer with `null` rationale code, make an authorization request with an `amount` less than the available balance in the account. - To approve a transfer with the rationale code `MANUALLY_VERIFIED_ITEM`, create an Item in Link through the [Same Day Micro-deposits flow](https://plaid.com/docs/auth/coverage/testing/#testing-same-day-micro-deposits). - To get an authorization decision of `user_action_required`, [reset the login for an Item](https://plaid.com/docs/sandbox/#item_login_required). - To decline a transfer with the rationale code `NSF`, the available balance on the account must be less than the authorization `amount`. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. - To decline a transfer with the rationale code `RISK`, the available balance on the account must be exactly $0. See [Create Sandbox test data](https://plaid.com/docs/sandbox/user-custom/) for details on how to customize data in Sandbox. # @param transfer_authorization_create_request [TransferAuthorizationCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferAuthorizationCreateResponse, Integer, Hash)>] TransferAuthorizationCreateResponse data, response status code and response headers @@ -14504,7 +14967,7 @@ def transfer_configuration_get_with_http_info(transfer_configuration_get_request end # Create a transfer - # Use the `/transfer/create` endpoint to initiate a new transfer. + # Use the `/transfer/create` endpoint to initiate a new transfer. This endpoint is retryable and idempotent; if a transfer with the provided `transfer_id` has already been created, it will return the transfer details without creating a new transfer. A transfer may still be created if a 500 error is returned; to detect this scenario, use [Transfer events](https://plaid.com/docs/transfer/reconciling-transfers/). # @param transfer_create_request [TransferCreateRequest] # @param [Hash] opts the optional parameters # @return [TransferCreateResponse] @@ -14514,7 +14977,7 @@ def transfer_create(transfer_create_request, opts = {}) end # Create a transfer - # Use the `/transfer/create` endpoint to initiate a new transfer. + # Use the `/transfer/create` endpoint to initiate a new transfer. This endpoint is retryable and idempotent; if a transfer with the provided `transfer_id` has already been created, it will return the transfer details without creating a new transfer. A transfer may still be created if a 500 error is returned; to detect this scenario, use [Transfer events](https://plaid.com/docs/transfer/reconciling-transfers/). # @param transfer_create_request [TransferCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferCreateResponse, Integer, Hash)>] TransferCreateResponse data, response status code and response headers @@ -15456,7 +15919,7 @@ def transfer_metrics_get_with_http_info(transfer_metrics_get_request, opts = {}) end # Migrate account into Transfers - # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. If you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. + # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. # @param transfer_migrate_account_request [TransferMigrateAccountRequest] # @param [Hash] opts the optional parameters # @return [TransferMigrateAccountResponse] @@ -15466,7 +15929,7 @@ def transfer_migrate_account(transfer_migrate_account_request, opts = {}) end # Migrate account into Transfers - # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. If you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. + # As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. # @param transfer_migrate_account_request [TransferMigrateAccountRequest] # @param [Hash] opts the optional parameters # @return [Array<(TransferMigrateAccountResponse, Integer, Hash)>] TransferMigrateAccountResponse data, response status code and response headers @@ -15795,6 +16258,74 @@ def transfer_originator_list_with_http_info(transfer_originator_list_request, op return data, status_code, headers end + # Create an originator for scaled platform customers + # The `/transfer/platform/originator/create` endpoint allows gathering information about the originator specific to the Scaled Platform Transfer offering, including the originator's agreement to legal terms required before accepting any further information related to the originator. + # @param transfer_platform_originator_create_request [TransferPlatformOriginatorCreateRequest] + # @param [Hash] opts the optional parameters + # @return [TransferPlatformOriginatorCreateResponse] + def transfer_platform_originator_create(transfer_platform_originator_create_request, opts = {}) + data, _status_code, _headers = transfer_platform_originator_create_with_http_info(transfer_platform_originator_create_request, opts) + data + end + + # Create an originator for scaled platform customers + # The `/transfer/platform/originator/create` endpoint allows gathering information about the originator specific to the Scaled Platform Transfer offering, including the originator's agreement to legal terms required before accepting any further information related to the originator. + # @param transfer_platform_originator_create_request [TransferPlatformOriginatorCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(TransferPlatformOriginatorCreateResponse, Integer, Hash)>] TransferPlatformOriginatorCreateResponse data, response status code and response headers + def transfer_platform_originator_create_with_http_info(transfer_platform_originator_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.transfer_platform_originator_create ...' + end + # verify the required parameter 'transfer_platform_originator_create_request' is set + if @api_client.config.client_side_validation && transfer_platform_originator_create_request.nil? + fail ArgumentError, "Missing the required parameter 'transfer_platform_originator_create_request' when calling PlaidApi.transfer_platform_originator_create" + end + # resource path + local_var_path = '/transfer/platform/originator/create' + + # query parameters + query_params = opts[:query_params] || {} + + # header parameters + header_params = opts[:header_params] || {} + # HTTP header 'Accept' (if needed) + header_params['Accept'] = @api_client.select_header_accept(['application/json']) + # HTTP header 'Content-Type' + content_type = @api_client.select_header_content_type(['application/json']) + if !content_type.nil? + header_params['Content-Type'] = content_type + end + + # form parameters + form_params = opts[:form_params] || {} + + # http body (model) + post_body = opts[:debug_body] || @api_client.object_to_http_body(transfer_platform_originator_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'TransferPlatformOriginatorCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.transfer_platform_originator_create", + :header_params => header_params, + :query_params => query_params, + :form_params => form_params, + :body => post_body, + :auth_names => auth_names, + :return_type => return_type + ) + + data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options) + if @api_client.config.debugging + @api_client.config.logger.debug "API called: PlaidApi#transfer_platform_originator_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Generate a Plaid-hosted onboarding UI URL. # The `/transfer/questionnaire/create` endpoint generates a Plaid-hosted onboarding UI URL. Redirect the originator to this URL to provide their due diligence information and agree to Plaid’s terms for ACH money movement. # @param transfer_questionnaire_create_request [TransferQuestionnaireCreateRequest] @@ -16680,7 +17211,7 @@ def user_account_session_get_with_http_info(user_account_session_get_request, op end # Create user - # This endpoint should be called for each of your end users before they begin a Plaid income flow. This provides you a single token to access all income data associated with the user. You should only create one per end user. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. + # This endpoint should be called for each of your end users before they begin a Plaid Check or Income flow, or a Multi-Item Link flow. This provides you a single token to access all data associated with the user. You should only create one per end user. The `consumer_report_user_identity` object must be present in order to create a Plaid Check Consumer Report for a user. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @return [UserCreateResponse] @@ -16690,7 +17221,7 @@ def user_create(user_create_request, opts = {}) end # Create user - # This endpoint should be called for each of your end users before they begin a Plaid income flow. This provides you a single token to access all income data associated with the user. You should only create one per end user. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. + # This endpoint should be called for each of your end users before they begin a Plaid Check or Income flow, or a Multi-Item Link flow. This provides you a single token to access all data associated with the user. You should only create one per end user. The `consumer_report_user_identity` object must be present in order to create a Plaid Check Consumer Report for a user. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. If you call the endpoint multiple times with the same `client_user_id`, the first creation call will succeed and the rest will fail with an error message indicating that the user has been created for the given `client_user_id`. Ensure that you store the `user_token` along with your user's identifier in your database, as it is not possible to retrieve a previously created `user_token`. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserCreateResponse, Integer, Hash)>] UserCreateResponse data, response status code and response headers @@ -16816,7 +17347,7 @@ def user_items_get_with_http_info(user_items_get_request, opts = {}) end # Remove user - # This endpoint is used to remove a user and any relevant data related to the user based on the provided user token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. + # `/user/remove` deletes a user token and and associated information, including any Items associated with the token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. # @param user_remove_request [UserRemoveRequest] # @param [Hash] opts the optional parameters # @return [UserRemoveResponse] @@ -16826,7 +17357,7 @@ def user_remove(user_remove_request, opts = {}) end # Remove user - # This endpoint is used to remove a user and any relevant data related to the user based on the provided user token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. + # `/user/remove` deletes a user token and and associated information, including any Items associated with the token. Any subsequent calls to retrieve information using the same user token will result in an error stating the user does not exist. # @param user_remove_request [UserRemoveRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserRemoveResponse, Integer, Hash)>] UserRemoveResponse data, response status code and response headers @@ -16884,7 +17415,7 @@ def user_remove_with_http_info(user_remove_request, opts = {}) end # Update user information - # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found. + # This endpoint is used to update user information associated with an existing `user_token`. It can also be used to enable an existing `user_token` for use with Consumer Reports by Plaid Check, by adding a `consumer_report_user_identity` object to the user. # @param user_update_request [UserUpdateRequest] # @param [Hash] opts the optional parameters # @return [UserUpdateResponse] @@ -16894,7 +17425,7 @@ def user_update(user_update_request, opts = {}) end # Update user information - # This endpoint is used to update user information associated with an existing `user_token`. The `user_token` should be in the response of `/user/create` call If you call the endpoint with a non-exist `user_token`, the call will fail with an error message indicating that the user token is not found. + # This endpoint is used to update user information associated with an existing `user_token`. It can also be used to enable an existing `user_token` for use with Consumer Reports by Plaid Check, by adding a `consumer_report_user_identity` object to the user. # @param user_update_request [UserUpdateRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserUpdateResponse, Integer, Hash)>] UserUpdateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index f99f11b73..ee4ffe0e2 100644 --- a/lib/plaid/api_client.rb +++ b/lib/plaid/api_client.rb @@ -7,7 +7,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,7 +41,7 @@ class ApiConnectionFailedError < ApiError; end # @option config [Configuration] Configuration for initializing the object, default to Configuration.default def initialize(config = Configuration.default) @config = config - @user_agent = "Plaid Ruby v30.0.0" + @user_agent = "Plaid Ruby v31.0.0" @default_headers = { 'Content-Type' => 'application/json', 'User-Agent' => @user_agent, diff --git a/lib/plaid/api_error.rb b/lib/plaid/api_error.rb index a29b370ec..a6c095178 100644 --- a/lib/plaid/api_error.rb +++ b/lib/plaid/api_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/configuration.rb b/lib/plaid/configuration.rb index e437b3613..a660a3b27 100644 --- a/lib/plaid/configuration.rb +++ b/lib/plaid/configuration.rb @@ -7,7 +7,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_access.rb b/lib/plaid/models/account_access.rb index 66e82d021..b0cfd0ef5 100644 --- a/lib/plaid/models/account_access.rb +++ b/lib/plaid/models/account_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_assets.rb b/lib/plaid/models/account_assets.rb index 8c24ca288..7b4302193 100644 --- a/lib/plaid/models/account_assets.rb +++ b/lib/plaid/models/account_assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_balance.rb b/lib/plaid/models/account_balance.rb index 2b375a2ec..e588aa868 100644 --- a/lib/plaid/models/account_balance.rb +++ b/lib/plaid/models/account_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_base.rb b/lib/plaid/models/account_base.rb index 070984b4d..8897c5574 100644 --- a/lib/plaid/models/account_base.rb +++ b/lib/plaid/models/account_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 944e3097c..81a65096f 100644 --- a/lib/plaid/models/account_filter.rb +++ b/lib/plaid/models/account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_filters_response.rb b/lib/plaid/models/account_filters_response.rb index 66c7150dc..bd7faf715 100644 --- a/lib/plaid/models/account_filters_response.rb +++ b/lib/plaid/models/account_filters_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_holder_category.rb b/lib/plaid/models/account_holder_category.rb index fd7361f4c..021363cc1 100644 --- a/lib/plaid/models/account_holder_category.rb +++ b/lib/plaid/models/account_holder_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity.rb b/lib/plaid/models/account_identity.rb index 1fcd1c120..f5b29285f 100644 --- a/lib/plaid/models/account_identity.rb +++ b/lib/plaid/models/account_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 292808032..1db254677 100644 --- a/lib/plaid/models/account_identity_all_of.rb +++ b/lib/plaid/models/account_identity_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_document_upload.rb b/lib/plaid/models/account_identity_document_upload.rb index 69e7bcd0a..5c55ef20a 100644 --- a/lib/plaid/models/account_identity_document_upload.rb +++ b/lib/plaid/models/account_identity_document_upload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_document_upload_all_of.rb b/lib/plaid/models/account_identity_document_upload_all_of.rb index f92e22986..b97927894 100644 --- a/lib/plaid/models/account_identity_document_upload_all_of.rb +++ b/lib/plaid/models/account_identity_document_upload_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_match_score.rb b/lib/plaid/models/account_identity_match_score.rb index 5446e4ddb..ae023b39a 100644 --- a/lib/plaid/models/account_identity_match_score.rb +++ b/lib/plaid/models/account_identity_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_identity_match_score_all_of.rb b/lib/plaid/models/account_identity_match_score_all_of.rb index e0dd5582a..a95a716f9 100644 --- a/lib/plaid/models/account_identity_match_score_all_of.rb +++ b/lib/plaid/models/account_identity_match_score_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_product_access.rb b/lib/plaid/models/account_product_access.rb index 92580d853..e404c0f59 100644 --- a/lib/plaid/models/account_product_access.rb +++ b/lib/plaid/models/account_product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_product_access_nullable.rb b/lib/plaid/models/account_product_access_nullable.rb index 10cf10b23..49165cfc2 100644 --- a/lib/plaid/models/account_product_access_nullable.rb +++ b/lib/plaid/models/account_product_access_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_selection_cardinality.rb b/lib/plaid/models/account_selection_cardinality.rb index 54decd62b..f2595c228 100644 --- a/lib/plaid/models/account_selection_cardinality.rb +++ b/lib/plaid/models/account_selection_cardinality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_subtype.rb b/lib/plaid/models/account_subtype.rb index 40763ac1b..65ef7f3e7 100644 --- a/lib/plaid/models/account_subtype.rb +++ b/lib/plaid/models/account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -20,75 +20,71 @@ class AccountSubtype N403_B = "403B".freeze N457B = "457b".freeze N529 = "529".freeze + AUTO = "auto".freeze BROKERAGE = "brokerage".freeze + BUSINESS = "business".freeze CASH_ISA = "cash isa".freeze + CASH_MANAGEMENT = "cash management".freeze + CD = "cd".freeze + CHECKING = "checking".freeze + COMMERCIAL = "commercial".freeze + CONSTRUCTION = "construction".freeze + CONSUMER = "consumer".freeze + CREDIT_CARD = "credit card".freeze CRYPTO_EXCHANGE = "crypto exchange".freeze - EDUCATION_SAVINGS_ACCOUNT = "education savings account".freeze EBT = "ebt".freeze + EDUCATION_SAVINGS_ACCOUNT = "education savings account".freeze FIXED_ANNUITY = "fixed annuity".freeze GIC = "gic".freeze HEALTH_REIMBURSEMENT_ARRANGEMENT = "health reimbursement arrangement".freeze + HOME_EQUITY = "home equity".freeze HSA = "hsa".freeze ISA = "isa".freeze IRA = "ira".freeze + KEOGH = "keogh".freeze LIF = "lif".freeze LIFE_INSURANCE = "life insurance".freeze + LINE_OF_CREDIT = "line of credit".freeze LIRA = "lira".freeze + LOAN = "loan".freeze LRIF = "lrif".freeze LRSP = "lrsp".freeze + MONEY_MARKET = "money market".freeze + MORTGAGE = "mortgage".freeze + MUTUAL_FUND = "mutual fund".freeze NON_CUSTODIAL_WALLET = "non-custodial wallet".freeze NON_TAXABLE_BROKERAGE_ACCOUNT = "non-taxable brokerage account".freeze OTHER = "other".freeze OTHER_INSURANCE = "other insurance".freeze OTHER_ANNUITY = "other annuity".freeze + OVERDRAFT = "overdraft".freeze + PAYPAL = "paypal".freeze + PAYROLL = "payroll".freeze + PENSION = "pension".freeze + PREPAID = "prepaid".freeze PRIF = "prif".freeze + PROFIT_SHARING_PLAN = "profit sharing plan".freeze RDSP = "rdsp".freeze RESP = "resp".freeze - RLIF = "rlif".freeze - RRIF = "rrif".freeze - PENSION = "pension".freeze - PROFIT_SHARING_PLAN = "profit sharing plan".freeze RETIREMENT = "retirement".freeze + RLIF = "rlif".freeze ROTH = "roth".freeze ROTH_401K = "roth 401k".freeze + RRIF = "rrif".freeze RRSP = "rrsp".freeze + SARSEP = "sarsep".freeze + SAVINGS = "savings".freeze SEP_IRA = "sep ira".freeze SIMPLE_IRA = "simple ira".freeze SIPP = "sipp".freeze STOCK_PLAN = "stock plan".freeze + STUDENT = "student".freeze THRIFT_SAVINGS_PLAN = "thrift savings plan".freeze TFSA = "tfsa".freeze TRUST = "trust".freeze UGMA = "ugma".freeze UTMA = "utma".freeze VARIABLE_ANNUITY = "variable annuity".freeze - CREDIT_CARD = "credit card".freeze - PAYPAL = "paypal".freeze - CD = "cd".freeze - CHECKING = "checking".freeze - SAVINGS = "savings".freeze - MONEY_MARKET = "money market".freeze - PREPAID = "prepaid".freeze - AUTO = "auto".freeze - BUSINESS = "business".freeze - COMMERCIAL = "commercial".freeze - CONSTRUCTION = "construction".freeze - CONSUMER = "consumer".freeze - HOME_EQUITY = "home equity".freeze - LOAN = "loan".freeze - MORTGAGE = "mortgage".freeze - OVERDRAFT = "overdraft".freeze - LINE_OF_CREDIT = "line of credit".freeze - STUDENT = "student".freeze - CASH_MANAGEMENT = "cash management".freeze - KEOGH = "keogh".freeze - MUTUAL_FUND = "mutual fund".freeze - RECURRING = "recurring".freeze - REWARDS = "rewards".freeze - SAFE_DEPOSIT = "safe deposit".freeze - SARSEP = "sarsep".freeze - PAYROLL = "payroll".freeze - NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index a9d7e02a8..80890705c 100644 --- a/lib/plaid/models/account_type.rb +++ b/lib/plaid/models/account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights.rb b/lib/plaid/models/account_verification_insights.rb index fecaaf761..253d63c99 100644 --- a/lib/plaid/models/account_verification_insights.rb +++ b/lib/plaid/models/account_verification_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_account_number_format.rb b/lib/plaid/models/account_verification_insights_account_number_format.rb index 9c371e596..36b12d01c 100644 --- a/lib/plaid/models/account_verification_insights_account_number_format.rb +++ b/lib/plaid/models/account_verification_insights_account_number_format.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_network_status.rb b/lib/plaid/models/account_verification_insights_network_status.rb index 014c51e1e..3db603088 100644 --- a/lib/plaid/models/account_verification_insights_network_status.rb +++ b/lib/plaid/models/account_verification_insights_network_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/account_verification_insights_previous_returns.rb b/lib/plaid/models/account_verification_insights_previous_returns.rb index c636e3dd1..6d42630dc 100644 --- a/lib/plaid/models/account_verification_insights_previous_returns.rb +++ b/lib/plaid/models/account_verification_insights_previous_returns.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request.rb b/lib/plaid/models/accounts_balance_get_request.rb index 3026ca787..f322ac4d1 100644 --- a/lib/plaid/models/accounts_balance_get_request.rb +++ b/lib/plaid/models/accounts_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request_options.rb b/lib/plaid/models/accounts_balance_get_request_options.rb index 8848dbe05..d2578b65a 100644 --- a/lib/plaid/models/accounts_balance_get_request_options.rb +++ b/lib/plaid/models/accounts_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_request_payment_details.rb b/lib/plaid/models/accounts_balance_get_request_payment_details.rb index 1b3097a3e..b21511538 100644 --- a/lib/plaid/models/accounts_balance_get_request_payment_details.rb +++ b/lib/plaid/models/accounts_balance_get_request_payment_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb b/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb index 8e7956115..b2cc14474 100644 --- a/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb +++ b/lib/plaid/models/accounts_balance_get_response_payment_risk_assessment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_request.rb b/lib/plaid/models/accounts_get_request.rb index a449c29ec..2f6d1df0f 100644 --- a/lib/plaid/models/accounts_get_request.rb +++ b/lib/plaid/models/accounts_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_request_options.rb b/lib/plaid/models/accounts_get_request_options.rb index 2c0493bc8..6f2fcd3e2 100644 --- a/lib/plaid/models/accounts_get_request_options.rb +++ b/lib/plaid/models/accounts_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/accounts_get_response.rb b/lib/plaid/models/accounts_get_response.rb index bab462091..f38bac49b 100644 --- a/lib/plaid/models/accounts_get_response.rb +++ b/lib/plaid/models/accounts_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ach_class.rb b/lib/plaid/models/ach_class.rb index 41b75eb1b..b564622ab 100644 --- a/lib/plaid/models/ach_class.rb +++ b/lib/plaid/models/ach_class.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/action_state.rb b/lib/plaid/models/action_state.rb index 91e9ebfff..682d33d06 100644 --- a/lib/plaid/models/action_state.rb +++ b/lib/plaid/models/action_state.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/activity.rb b/lib/plaid/models/activity.rb index 8724630bd..2904d2c1a 100644 --- a/lib/plaid/models/activity.rb +++ b/lib/plaid/models/activity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/activity_type.rb b/lib/plaid/models/activity_type.rb index bc51e90e4..7b6683dfc 100644 --- a/lib/plaid/models/activity_type.rb +++ b/lib/plaid/models/activity_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address.rb b/lib/plaid/models/address.rb index ee4073215..6eb83756e 100644 --- a/lib/plaid/models/address.rb +++ b/lib/plaid/models/address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data.rb b/lib/plaid/models/address_data.rb index b2f233fe7..0a24900f0 100644 --- a/lib/plaid/models/address_data.rb +++ b/lib/plaid/models/address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_not_required.rb b/lib/plaid/models/address_data_not_required.rb index c609400f3..de1981e47 100644 --- a/lib/plaid/models/address_data_not_required.rb +++ b/lib/plaid/models/address_data_not_required.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_nullable.rb b/lib/plaid/models/address_data_nullable.rb index ff43cbd93..b9ec0a268 100644 --- a/lib/plaid/models/address_data_nullable.rb +++ b/lib/plaid/models/address_data_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_data_nullable_no_required_fields.rb b/lib/plaid/models/address_data_nullable_no_required_fields.rb index 59aa8b0df..a758e2b60 100644 --- a/lib/plaid/models/address_data_nullable_no_required_fields.rb +++ b/lib/plaid/models/address_data_nullable_no_required_fields.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_match_score.rb b/lib/plaid/models/address_match_score.rb index 66c748d90..ab1f6d1b2 100644 --- a/lib/plaid/models/address_match_score.rb +++ b/lib/plaid/models/address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_nullable.rb b/lib/plaid/models/address_nullable.rb index f39adb530..663a66f24 100644 --- a/lib/plaid/models/address_nullable.rb +++ b/lib/plaid/models/address_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/address_purpose_label.rb b/lib/plaid/models/address_purpose_label.rb index f3e61aa4b..be2063147 100644 --- a/lib/plaid/models/address_purpose_label.rb +++ b/lib/plaid/models/address_purpose_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application.rb b/lib/plaid/models/application.rb index 39903fe12..d7f3cd2c1 100644 --- a/lib/plaid/models/application.rb +++ b/lib/plaid/models/application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application_get_request.rb b/lib/plaid/models/application_get_request.rb index ce3e8dd5b..098bdf275 100644 --- a/lib/plaid/models/application_get_request.rb +++ b/lib/plaid/models/application_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/application_get_response.rb b/lib/plaid/models/application_get_response.rb index 0adb43014..d3f713384 100644 --- a/lib/plaid/models/application_get_response.rb +++ b/lib/plaid/models/application_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index 62642c79c..c8878bb93 100644 --- a/lib/plaid/models/apr.rb +++ b/lib/plaid/models/apr.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset.rb b/lib/plaid/models/asset.rb index 316aa12bf..6b9d9e03e 100644 --- a/lib/plaid/models/asset.rb +++ b/lib/plaid/models/asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_detail.rb b/lib/plaid/models/asset_detail.rb index 24bc0858c..58fbc8531 100644 --- a/lib/plaid/models/asset_detail.rb +++ b/lib/plaid/models/asset_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holder.rb b/lib/plaid/models/asset_holder.rb index 2b1fd91f9..c09f8bb81 100644 --- a/lib/plaid/models/asset_holder.rb +++ b/lib/plaid/models/asset_holder.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holder_name.rb b/lib/plaid/models/asset_holder_name.rb index 0383e3a10..905a52e8b 100644 --- a/lib/plaid/models/asset_holder_name.rb +++ b/lib/plaid/models/asset_holder_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_owner.rb b/lib/plaid/models/asset_owner.rb index 431d80b23..dde4e0479 100644 --- a/lib/plaid/models/asset_owner.rb +++ b/lib/plaid/models/asset_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_owners.rb b/lib/plaid/models/asset_owners.rb index b31fd0825..fbfc32676 100644 --- a/lib/plaid/models/asset_owners.rb +++ b/lib/plaid/models/asset_owners.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report.rb b/lib/plaid/models/asset_report.rb index bfa8f3df4..2b5b2006e 100644 --- a/lib/plaid/models/asset_report.rb +++ b/lib/plaid/models/asset_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_account_balance.rb b/lib/plaid/models/asset_report_account_balance.rb index 6bdfb96fb..a89b47fc3 100644 --- a/lib/plaid/models/asset_report_account_balance.rb +++ b/lib/plaid/models/asset_report_account_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_add_ons.rb b/lib/plaid/models/asset_report_add_ons.rb index e12d28d14..1b8dc2521 100644 --- a/lib/plaid/models/asset_report_add_ons.rb +++ b/lib/plaid/models/asset_report_add_ons.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_request.rb b/lib/plaid/models/asset_report_audit_copy_create_request.rb index 543853a84..e5b7d91f8 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_create_response.rb b/lib/plaid/models/asset_report_audit_copy_create_response.rb index 83a2296d8..6d3c19a19 100644 --- a/lib/plaid/models/asset_report_audit_copy_create_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_get_request.rb b/lib/plaid/models/asset_report_audit_copy_get_request.rb index 42b4182c3..6e9ae3fd8 100644 --- a/lib/plaid/models/asset_report_audit_copy_get_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_request.rb b/lib/plaid/models/asset_report_audit_copy_remove_request.rb index 318012e4b..956805134 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_remove_response.rb b/lib/plaid/models/asset_report_audit_copy_remove_response.rb index eea06a029..4ae6dc73d 100644 --- a/lib/plaid/models/asset_report_audit_copy_remove_response.rb +++ b/lib/plaid/models/asset_report_audit_copy_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_create_request.rb b/lib/plaid/models/asset_report_create_request.rb index cada9928e..baedb84a5 100644 --- a/lib/plaid/models/asset_report_create_request.rb +++ b/lib/plaid/models/asset_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_create_request_options.rb b/lib/plaid/models/asset_report_create_request_options.rb index 963d6606b..a6079c804 100644 --- a/lib/plaid/models/asset_report_create_request_options.rb +++ b/lib/plaid/models/asset_report_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -33,6 +33,9 @@ class AssetReportCreateRequestOptions attr_accessor :user + # If set to false, only 1 item must be healthy at the time of report creation. The default value is true, which would require all items to be healthy at the time of report creation. + attr_accessor :require_all_items + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -41,7 +44,8 @@ def self.attribute_map :'include_fast_report' => :'include_fast_report', :'products' => :'products', :'add_ons' => :'add_ons', - :'user' => :'user' + :'user' => :'user', + :'require_all_items' => :'require_all_items' } end @@ -58,7 +62,8 @@ def self.openapi_types :'include_fast_report' => :'Boolean', :'products' => :'Array', :'add_ons' => :'Array', - :'user' => :'AssetReportUser' + :'user' => :'AssetReportUser', + :'require_all_items' => :'Boolean' } end @@ -68,6 +73,7 @@ def self.openapi_nullable :'client_report_id', :'webhook', :'include_fast_report', + :'require_all_items' ]) end @@ -113,6 +119,12 @@ def initialize(attributes = {}) if attributes.key?(:'user') self.user = attributes[:'user'] end + + if attributes.key?(:'require_all_items') + self.require_all_items = attributes[:'require_all_items'] + else + self.require_all_items = true + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -138,7 +150,8 @@ def ==(o) include_fast_report == o.include_fast_report && products == o.products && add_ons == o.add_ons && - user == o.user + user == o.user && + require_all_items == o.require_all_items end # @see the `==` method @@ -150,7 +163,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_report_id, webhook, include_fast_report, products, add_ons, user].hash + [client_report_id, webhook, include_fast_report, products, add_ons, user, require_all_items].hash end # Builds the object from hash diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index 76232369b..605fc20eb 100644 --- a/lib/plaid/models/asset_report_create_response.rb +++ b/lib/plaid/models/asset_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_filter_request.rb b/lib/plaid/models/asset_report_filter_request.rb index ae7142e92..35bb8f0d8 100644 --- a/lib/plaid/models/asset_report_filter_request.rb +++ b/lib/plaid/models/asset_report_filter_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_filter_response.rb b/lib/plaid/models/asset_report_filter_response.rb index 7d56109b1..f1d691894 100644 --- a/lib/plaid/models/asset_report_filter_response.rb +++ b/lib/plaid/models/asset_report_filter_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie.rb b/lib/plaid/models/asset_report_freddie.rb index ebcf6db46..94a61a1c2 100644 --- a/lib/plaid/models/asset_report_freddie.rb +++ b/lib/plaid/models/asset_report_freddie.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie_get_request.rb b/lib/plaid/models/asset_report_freddie_get_request.rb index 39f0bc233..7008f77b4 100644 --- a/lib/plaid/models/asset_report_freddie_get_request.rb +++ b/lib/plaid/models/asset_report_freddie_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_freddie_get_response.rb b/lib/plaid/models/asset_report_freddie_get_response.rb index 5801e518e..9ced71491 100644 --- a/lib/plaid/models/asset_report_freddie_get_response.rb +++ b/lib/plaid/models/asset_report_freddie_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_request.rb b/lib/plaid/models/asset_report_get_request.rb index 47071a788..edd24dce4 100644 --- a/lib/plaid/models/asset_report_get_request.rb +++ b/lib/plaid/models/asset_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_request_options.rb b/lib/plaid/models/asset_report_get_request_options.rb index 02a25d969..e8601ef03 100644 --- a/lib/plaid/models/asset_report_get_request_options.rb +++ b/lib/plaid/models/asset_report_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_get_response.rb b/lib/plaid/models/asset_report_get_response.rb index b6ed97097..232d04074 100644 --- a/lib/plaid/models/asset_report_get_response.rb +++ b/lib/plaid/models/asset_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investment_holding.rb b/lib/plaid/models/asset_report_investment_holding.rb index 71a2576f7..d70015fa6 100644 --- a/lib/plaid/models/asset_report_investment_holding.rb +++ b/lib/plaid/models/asset_report_investment_holding.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investment_security.rb b/lib/plaid/models/asset_report_investment_security.rb index e398f9095..993a31723 100644 --- a/lib/plaid/models/asset_report_investment_security.rb +++ b/lib/plaid/models/asset_report_investment_security.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investments.rb b/lib/plaid/models/asset_report_investments.rb index 553a86a2e..baea7570e 100644 --- a/lib/plaid/models/asset_report_investments.rb +++ b/lib/plaid/models/asset_report_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_item.rb b/lib/plaid/models/asset_report_item.rb index 0d7f1198e..82c9a52f8 100644 --- a/lib/plaid/models/asset_report_item.rb +++ b/lib/plaid/models/asset_report_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_pdf_get_request.rb b/lib/plaid/models/asset_report_pdf_get_request.rb index dec788cdc..c183b9806 100644 --- a/lib/plaid/models/asset_report_pdf_get_request.rb +++ b/lib/plaid/models/asset_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_pdf_get_request_options.rb b/lib/plaid/models/asset_report_pdf_get_request_options.rb index 274b8a6fd..c152566a0 100644 --- a/lib/plaid/models/asset_report_pdf_get_request_options.rb +++ b/lib/plaid/models/asset_report_pdf_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_request.rb b/lib/plaid/models/asset_report_refresh_request.rb index dd01ad425..47dd04c3b 100644 --- a/lib/plaid/models/asset_report_refresh_request.rb +++ b/lib/plaid/models/asset_report_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_request_options.rb b/lib/plaid/models/asset_report_refresh_request_options.rb index fdffdb830..64f2e7cc4 100644 --- a/lib/plaid/models/asset_report_refresh_request_options.rb +++ b/lib/plaid/models/asset_report_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_refresh_response.rb b/lib/plaid/models/asset_report_refresh_response.rb index b4d3ddd57..535c7cb51 100644 --- a/lib/plaid/models/asset_report_refresh_response.rb +++ b/lib/plaid/models/asset_report_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_remove_request.rb b/lib/plaid/models/asset_report_remove_request.rb index 64b728c28..99ae1e22d 100644 --- a/lib/plaid/models/asset_report_remove_request.rb +++ b/lib/plaid/models/asset_report_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_remove_response.rb b/lib/plaid/models/asset_report_remove_response.rb index 1291da7ef..d708d275d 100644 --- a/lib/plaid/models/asset_report_remove_response.rb +++ b/lib/plaid/models/asset_report_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_transaction.rb b/lib/plaid/models/asset_report_transaction.rb index 306070af8..071ccb4c6 100644 --- a/lib/plaid/models/asset_report_transaction.rb +++ b/lib/plaid/models/asset_report_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_transaction_type.rb b/lib/plaid/models/asset_report_transaction_type.rb index d6e5f187d..52b564b6a 100644 --- a/lib/plaid/models/asset_report_transaction_type.rb +++ b/lib/plaid/models/asset_report_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_type.rb b/lib/plaid/models/asset_report_type.rb index c53f87a15..f537f9151 100644 --- a/lib/plaid/models/asset_report_type.rb +++ b/lib/plaid/models/asset_report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_user.rb b/lib/plaid/models/asset_report_user.rb index 2c7380c5a..a7a6cf2af 100644 --- a/lib/plaid/models/asset_report_user.rb +++ b/lib/plaid/models/asset_report_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction.rb b/lib/plaid/models/asset_transaction.rb index 38c5ee3bc..c4a9efdc5 100644 --- a/lib/plaid/models/asset_transaction.rb +++ b/lib/plaid/models/asset_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_category_type.rb b/lib/plaid/models/asset_transaction_category_type.rb index 567c2b390..6b5e220bd 100644 --- a/lib/plaid/models/asset_transaction_category_type.rb +++ b/lib/plaid/models/asset_transaction_category_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_description.rb b/lib/plaid/models/asset_transaction_description.rb index 2316fbf77..3e519c8d3 100644 --- a/lib/plaid/models/asset_transaction_description.rb +++ b/lib/plaid/models/asset_transaction_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_detail.rb b/lib/plaid/models/asset_transaction_detail.rb index 33352aab1..f0edc49bd 100644 --- a/lib/plaid/models/asset_transaction_detail.rb +++ b/lib/plaid/models/asset_transaction_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transaction_type.rb b/lib/plaid/models/asset_transaction_type.rb index 09cb80500..601868583 100644 --- a/lib/plaid/models/asset_transaction_type.rb +++ b/lib/plaid/models/asset_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_transactions.rb b/lib/plaid/models/asset_transactions.rb index bde6aaefe..a2eb02f15 100644 --- a/lib/plaid/models/asset_transactions.rb +++ b/lib/plaid/models/asset_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_type.rb b/lib/plaid/models/asset_type.rb index 94e1fd6ff..f9cd8e88e 100644 --- a/lib/plaid/models/asset_type.rb +++ b/lib/plaid/models/asset_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets.rb b/lib/plaid/models/assets.rb index a2aec62f1..62e9e7952 100644 --- a/lib/plaid/models/assets.rb +++ b/lib/plaid/models/assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets_error_webhook.rb b/lib/plaid/models/assets_error_webhook.rb index bc2a85414..e2ec7b34a 100644 --- a/lib/plaid/models/assets_error_webhook.rb +++ b/lib/plaid/models/assets_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/assets_product_ready_webhook.rb b/lib/plaid/models/assets_product_ready_webhook.rb index 65edb5bdd..c9ca08b23 100644 --- a/lib/plaid/models/assets_product_ready_webhook.rb +++ b/lib/plaid/models/assets_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_default_update_webhook.rb b/lib/plaid/models/auth_default_update_webhook.rb index c606e3c4e..da32dc599 100644 --- a/lib/plaid/models/auth_default_update_webhook.rb +++ b/lib/plaid/models/auth_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,10 +25,10 @@ class AuthDefaultUpdateWebhook # The `item_id` of the Item associated with this webhook, warning, or error attr_accessor :item_id - # An array of `account_id`'s for accounts that contain new auth.' + # An array of `account_id`'s for accounts that contain new auth. attr_accessor :account_ids_with_new_auth - # An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }` + # An object with keys of `account_id`'s that are mapped to their respective auth attributes that changed. `ACCOUNT_NUMBER` and `ROUTING_NUMBER` are the two potential values that can be flagged as updated. Example: `{ \"XMBvvyMGQ1UoLbKByoMqH3nXMj84ALSdE5B58\": [\"ACCOUNT_NUMBER\"] }` attr_accessor :account_ids_with_updated_auth attr_accessor :error diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index 41af28e99..165dbc8ba 100644 --- a/lib/plaid/models/auth_get_numbers.rb +++ b/lib/plaid/models/auth_get_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_request.rb b/lib/plaid/models/auth_get_request.rb index ee2cba852..d36cf768d 100644 --- a/lib/plaid/models/auth_get_request.rb +++ b/lib/plaid/models/auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_request_options.rb b/lib/plaid/models/auth_get_request_options.rb index d94c97c58..e7e24366f 100644 --- a/lib/plaid/models/auth_get_request_options.rb +++ b/lib/plaid/models/auth_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_response.rb b/lib/plaid/models/auth_get_response.rb index 3f45af69b..6f4665358 100644 --- a/lib/plaid/models/auth_get_response.rb +++ b/lib/plaid/models/auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_metadata.rb b/lib/plaid/models/auth_metadata.rb index 39eacc843..ce1424482 100644 --- a/lib/plaid/models/auth_metadata.rb +++ b/lib/plaid/models/auth_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_supported_methods.rb b/lib/plaid/models/auth_supported_methods.rb index db6249bea..2633f2df9 100644 --- a/lib/plaid/models/auth_supported_methods.rb +++ b/lib/plaid/models/auth_supported_methods.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_update_types.rb b/lib/plaid/models/auth_update_types.rb index e6526cf16..1c9f43030 100644 --- a/lib/plaid/models/auth_update_types.rb +++ b/lib/plaid/models/auth_update_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/automatically_verified_webhook.rb b/lib/plaid/models/automatically_verified_webhook.rb index e0af5ada9..a6c4c8909 100644 --- a/lib/plaid/models/automatically_verified_webhook.rb +++ b/lib/plaid/models/automatically_verified_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/balance_plus_attributes.rb b/lib/plaid/models/balance_plus_attributes.rb index 4c4287b40..b29bfeac7 100644 --- a/lib/plaid/models/balance_plus_attributes.rb +++ b/lib/plaid/models/balance_plus_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/balance_plus_risk_level.rb b/lib/plaid/models/balance_plus_risk_level.rb index 1a645c76d..a2a94d6e7 100644 --- a/lib/plaid/models/balance_plus_risk_level.rb +++ b/lib/plaid/models/balance_plus_risk_level.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_complete_result.rb b/lib/plaid/models/bank_income_complete_result.rb index 7251f104e..cfc346b69 100644 --- a/lib/plaid/models/bank_income_complete_result.rb +++ b/lib/plaid/models/bank_income_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_complete_webhook.rb b/lib/plaid/models/bank_income_complete_webhook.rb index 0c8f59d9f..e096592e8 100644 --- a/lib/plaid/models/bank_income_complete_webhook.rb +++ b/lib/plaid/models/bank_income_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_complete_result.rb b/lib/plaid/models/bank_income_refresh_complete_result.rb index 464f3a4dd..39b505de6 100644 --- a/lib/plaid/models/bank_income_refresh_complete_result.rb +++ b/lib/plaid/models/bank_income_refresh_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_complete_webhook.rb b/lib/plaid/models/bank_income_refresh_complete_webhook.rb index 50b876915..18549cadc 100644 --- a/lib/plaid/models/bank_income_refresh_complete_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_income_refresh_update_webhook.rb b/lib/plaid/models/bank_income_refresh_update_webhook.rb index 828b821ca..462c2e32b 100644 --- a/lib/plaid/models/bank_income_refresh_update_webhook.rb +++ b/lib/plaid/models/bank_income_refresh_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_initiated_return_risk.rb b/lib/plaid/models/bank_initiated_return_risk.rb index 20d4277e4..f5c16472a 100644 --- a/lib/plaid/models/bank_initiated_return_risk.rb +++ b/lib/plaid/models/bank_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer.rb b/lib/plaid/models/bank_transfer.rb index 882186399..a7f1c9bd0 100644 --- a/lib/plaid/models/bank_transfer.rb +++ b/lib/plaid/models/bank_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance.rb b/lib/plaid/models/bank_transfer_balance.rb index 3dce3993f..b9b37cc0e 100644 --- a/lib/plaid/models/bank_transfer_balance.rb +++ b/lib/plaid/models/bank_transfer_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_request.rb b/lib/plaid/models/bank_transfer_balance_get_request.rb index 02addcc35..c8b974f2b 100644 --- a/lib/plaid/models/bank_transfer_balance_get_request.rb +++ b/lib/plaid/models/bank_transfer_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_balance_get_response.rb b/lib/plaid/models/bank_transfer_balance_get_response.rb index 85c727a3c..1e7bdde08 100644 --- a/lib/plaid/models/bank_transfer_balance_get_response.rb +++ b/lib/plaid/models/bank_transfer_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_cancel_request.rb b/lib/plaid/models/bank_transfer_cancel_request.rb index f6be31f53..f72c569f6 100644 --- a/lib/plaid/models/bank_transfer_cancel_request.rb +++ b/lib/plaid/models/bank_transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_cancel_response.rb b/lib/plaid/models/bank_transfer_cancel_response.rb index 1cc72f6f7..0a2f2ecd4 100644 --- a/lib/plaid/models/bank_transfer_cancel_response.rb +++ b/lib/plaid/models/bank_transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_create_request.rb b/lib/plaid/models/bank_transfer_create_request.rb index 8c020366f..31ffcfd67 100644 --- a/lib/plaid/models/bank_transfer_create_request.rb +++ b/lib/plaid/models/bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_create_response.rb b/lib/plaid/models/bank_transfer_create_response.rb index cf21bf925..fa684e6ae 100644 --- a/lib/plaid/models/bank_transfer_create_response.rb +++ b/lib/plaid/models/bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_direction.rb b/lib/plaid/models/bank_transfer_direction.rb index 9c2cdb236..41b5e6060 100644 --- a/lib/plaid/models/bank_transfer_direction.rb +++ b/lib/plaid/models/bank_transfer_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event.rb b/lib/plaid/models/bank_transfer_event.rb index 5bf904da9..b7e760773 100644 --- a/lib/plaid/models/bank_transfer_event.rb +++ b/lib/plaid/models/bank_transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb index 92cccc72e..c43cf393e 100644 --- a/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_event_list_bank_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_direction.rb b/lib/plaid/models/bank_transfer_event_list_direction.rb index 060b0d4a9..ea51693f9 100644 --- a/lib/plaid/models/bank_transfer_event_list_direction.rb +++ b/lib/plaid/models/bank_transfer_event_list_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_request.rb b/lib/plaid/models/bank_transfer_event_list_request.rb index ccdd7556c..48eb9cfe7 100644 --- a/lib/plaid/models/bank_transfer_event_list_request.rb +++ b/lib/plaid/models/bank_transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_list_response.rb b/lib/plaid/models/bank_transfer_event_list_response.rb index ad59b9c92..591154392 100644 --- a/lib/plaid/models/bank_transfer_event_list_response.rb +++ b/lib/plaid/models/bank_transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_request.rb b/lib/plaid/models/bank_transfer_event_sync_request.rb index 445f19a78..7a0ab61cc 100644 --- a/lib/plaid/models/bank_transfer_event_sync_request.rb +++ b/lib/plaid/models/bank_transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_sync_response.rb b/lib/plaid/models/bank_transfer_event_sync_response.rb index 143836fb8..1354f3d3f 100644 --- a/lib/plaid/models/bank_transfer_event_sync_response.rb +++ b/lib/plaid/models/bank_transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_event_type.rb b/lib/plaid/models/bank_transfer_event_type.rb index 4e8bdc1b9..24989854d 100644 --- a/lib/plaid/models/bank_transfer_event_type.rb +++ b/lib/plaid/models/bank_transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_failure.rb b/lib/plaid/models/bank_transfer_failure.rb index 63894ab34..99f1c6d58 100644 --- a/lib/plaid/models/bank_transfer_failure.rb +++ b/lib/plaid/models/bank_transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_get_request.rb b/lib/plaid/models/bank_transfer_get_request.rb index 0fe8daf35..be8aba122 100644 --- a/lib/plaid/models/bank_transfer_get_request.rb +++ b/lib/plaid/models/bank_transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_get_response.rb b/lib/plaid/models/bank_transfer_get_response.rb index 9f47a3d53..d3e48a30c 100644 --- a/lib/plaid/models/bank_transfer_get_response.rb +++ b/lib/plaid/models/bank_transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_list_request.rb b/lib/plaid/models/bank_transfer_list_request.rb index 4cf77c82f..2c9555358 100644 --- a/lib/plaid/models/bank_transfer_list_request.rb +++ b/lib/plaid/models/bank_transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_list_response.rb b/lib/plaid/models/bank_transfer_list_response.rb index 073e96d8c..820af3780 100644 --- a/lib/plaid/models/bank_transfer_list_response.rb +++ b/lib/plaid/models/bank_transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_request.rb b/lib/plaid/models/bank_transfer_migrate_account_request.rb index 380abf87c..b022598cc 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_request.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_migrate_account_response.rb b/lib/plaid/models/bank_transfer_migrate_account_response.rb index b69e28d78..8f150c8c1 100644 --- a/lib/plaid/models/bank_transfer_migrate_account_response.rb +++ b/lib/plaid/models/bank_transfer_migrate_account_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_network.rb b/lib/plaid/models/bank_transfer_network.rb index e987ee16a..9f2e66ac1 100644 --- a/lib/plaid/models/bank_transfer_network.rb +++ b/lib/plaid/models/bank_transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_status.rb b/lib/plaid/models/bank_transfer_status.rb index d81610ade..960fa3591 100644 --- a/lib/plaid/models/bank_transfer_status.rb +++ b/lib/plaid/models/bank_transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep.rb b/lib/plaid/models/bank_transfer_sweep.rb index ee9b680d7..bd55dcfd4 100644 --- a/lib/plaid/models/bank_transfer_sweep.rb +++ b/lib/plaid/models/bank_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_request.rb b/lib/plaid/models/bank_transfer_sweep_get_request.rb index 189242fd0..171428bc0 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_get_response.rb b/lib/plaid/models/bank_transfer_sweep_get_response.rb index 29b858a00..c76d018f2 100644 --- a/lib/plaid/models/bank_transfer_sweep_get_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_request.rb b/lib/plaid/models/bank_transfer_sweep_list_request.rb index 18f35b149..7b1230089 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_request.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_sweep_list_response.rb b/lib/plaid/models/bank_transfer_sweep_list_response.rb index 8f91f5e58..6206d0990 100644 --- a/lib/plaid/models/bank_transfer_sweep_list_response.rb +++ b/lib/plaid/models/bank_transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_type.rb b/lib/plaid/models/bank_transfer_type.rb index c254529b7..b99f482cd 100644 --- a/lib/plaid/models/bank_transfer_type.rb +++ b/lib/plaid/models/bank_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfer_user.rb b/lib/plaid/models/bank_transfer_user.rb index 88d9443df..4ba9bf96e 100644 --- a/lib/plaid/models/bank_transfer_user.rb +++ b/lib/plaid/models/bank_transfer_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook.rb b/lib/plaid/models/bank_transfers_events_update_webhook.rb index f8df7064e..31aa272e1 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb index 67628531e..34c8f4e0b 100644 --- a/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb +++ b/lib/plaid/models/bank_transfers_events_update_webhook_for_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report.rb b/lib/plaid/models/base_report.rb index 5fb2308d2..426d483bb 100644 --- a/lib/plaid/models/base_report.rb +++ b/lib/plaid/models/base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_account.rb b/lib/plaid/models/base_report_account.rb index 720413c6e..f3f6fb550 100644 --- a/lib/plaid/models/base_report_account.rb +++ b/lib/plaid/models/base_report_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class BaseReportAccount attr_accessor :balances + # The information about previously submitted valid dispute statements by the consumer + attr_accessor :consumer_disputes + # The last 2-4 alphanumeric characters of an account's official account number. Note that the mask may be non-unique between an Item's accounts, and it may also not match the mask that the bank displays to the user. attr_accessor :mask @@ -77,6 +80,7 @@ def self.attribute_map { :'account_id' => :'account_id', :'balances' => :'balances', + :'consumer_disputes' => :'consumer_disputes', :'mask' => :'mask', :'name' => :'name', :'official_name' => :'official_name', @@ -101,6 +105,7 @@ def self.openapi_types { :'account_id' => :'String', :'balances' => :'BaseReportAccountBalances', + :'consumer_disputes' => :'Array', :'mask' => :'String', :'name' => :'String', :'official_name' => :'String', @@ -110,7 +115,7 @@ def self.openapi_types :'transactions' => :'Array', :'owners' => :'Array', :'ownership_type' => :'OwnershipType', - :'historical_balances' => :'Array', + :'historical_balances' => :'Array', :'account_insights' => :'BaseReportAccountInsights' } end @@ -148,6 +153,12 @@ def initialize(attributes = {}) self.balances = attributes[:'balances'] end + if attributes.key?(:'consumer_disputes') + if (value = attributes[:'consumer_disputes']).is_a?(Array) + self.consumer_disputes = value + end + end + if attributes.key?(:'mask') self.mask = attributes[:'mask'] end @@ -211,6 +222,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "balances", balances cannot be nil.') end + if @consumer_disputes.nil? + invalid_properties.push('invalid value for "consumer_disputes", consumer_disputes cannot be nil.') + end + if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end @@ -239,6 +254,7 @@ def list_invalid_properties def valid? return false if @account_id.nil? return false if @balances.nil? + return false if @consumer_disputes.nil? return false if @name.nil? return false if @type.nil? return false if @days_available.nil? @@ -254,6 +270,7 @@ def ==(o) self.class == o.class && account_id == o.account_id && balances == o.balances && + consumer_disputes == o.consumer_disputes && mask == o.mask && name == o.name && official_name == o.official_name && @@ -276,7 +293,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, balances, mask, name, official_name, type, subtype, days_available, transactions, owners, ownership_type, historical_balances, account_insights].hash + [account_id, balances, consumer_disputes, mask, name, official_name, type, subtype, days_available, transactions, owners, ownership_type, historical_balances, account_insights].hash end # Builds the object from hash diff --git a/lib/plaid/models/base_report_account_balances.rb b/lib/plaid/models/base_report_account_balances.rb index fb064afff..851d49954 100644 --- a/lib/plaid/models/base_report_account_balances.rb +++ b/lib/plaid/models/base_report_account_balances.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -92,14 +92,6 @@ def self.openapi_nullable ]) end - # List of class defined in allOf (OpenAPI v3) - def self.openapi_all_of - [ - :'AccountBalance', - :'BaseReportAccountBalancesAllOf' - ] - end - # Initializes the object # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) diff --git a/lib/plaid/models/base_report_account_insights.rb b/lib/plaid/models/base_report_account_insights.rb index caf22894f..4de96e388 100644 --- a/lib/plaid/models/base_report_account_insights.rb +++ b/lib/plaid/models/base_report_account_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -31,16 +31,16 @@ class BaseReportAccountInsights # Longest gap between sequential transactions attr_accessor :longest_gap_between_transactions - # The number of debits into the account. This field will be null for non-depository accounts. + # The number of debits into the account. This array will be empty for non-depository accounts. attr_accessor :number_of_inflows - # Average amount of debit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account. + # Average amount of debit transactions into the account. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. attr_accessor :average_inflow_amount - # The number of credit into the account. This field will be null for non-depository accounts. + # The number of outflows from the account. This array will be empty for non-depository accounts. attr_accessor :number_of_outflows - # Average amount of credit transactions into account. This field will be null for non-depository accounts. This field only takes into account USD transactions from the account. + # Average amount of transactions out of the account. This array will be empty for non-depository accounts. This field only takes into account USD transactions from the account. attr_accessor :average_outflow_amount # Number of days with no transactions @@ -88,10 +88,6 @@ def self.openapi_nullable Set.new([ :'oldest_transaction_date', :'most_recent_transaction_date', - :'number_of_inflows', - :'average_inflow_amount', - :'number_of_outflows', - :'average_outflow_amount', ]) end diff --git a/lib/plaid/models/base_report_average_flow_insights.rb b/lib/plaid/models/base_report_average_flow_insights.rb index 44c1fd682..4d4855932 100644 --- a/lib/plaid/models/base_report_average_flow_insights.rb +++ b/lib/plaid/models/base_report_average_flow_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Average dollar amount of credit or debit transactions out of the account. This field will only added for depository accounts + # Average dollar amount of credit or debit transactions out of the account. This field will only be included for depository accounts. class BaseReportAverageFlowInsights # The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD). attr_accessor :start_date @@ -85,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @total_amount.nil? + invalid_properties.push('invalid value for "total_amount", total_amount cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @total_amount.nil? true end diff --git a/lib/plaid/models/base_report_average_monthly_balances.rb b/lib/plaid/models/base_report_average_monthly_balances.rb index a746059c0..413549431 100644 --- a/lib/plaid/models/base_report_average_monthly_balances.rb +++ b/lib/plaid/models/base_report_average_monthly_balances.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -85,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @average_balance.nil? + invalid_properties.push('invalid value for "average_balance", average_balance cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @average_balance.nil? true end diff --git a/lib/plaid/models/base_report_historical_balance.rb b/lib/plaid/models/base_report_historical_balance.rb new file mode 100644 index 000000000..9c1d0ba90 --- /dev/null +++ b/lib/plaid/models/base_report_historical_balance.rb @@ -0,0 +1,263 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a balance held by an account in the past + class BaseReportHistoricalBalance + # The date of the calculated historical balance, in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD) + attr_accessor :date + + # The total amount of funds in the account, calculated from the `current` balance in the `balance` object by subtracting inflows and adding back outflows according to the posted date of each transaction. If the account has any pending transactions, historical balance amounts on or after the date of the earliest pending transaction may differ if retrieved in subsequent Asset Reports as a result of those pending transactions posting. + attr_accessor :current + + # The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`. + attr_accessor :iso_currency_code + + # The unofficial currency code associated with the balance. Always `null` if `iso_currency_code` is non-`null`. See the [currency code schema](https://plaid.com/docs/api/accounts#currency-code-schema) for a full listing of supported `unofficial_currency_code`s. + attr_accessor :unofficial_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'date' => :'date', + :'current' => :'current', + :'iso_currency_code' => :'iso_currency_code', + :'unofficial_currency_code' => :'unofficial_currency_code' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'date' => :'Date', + :'current' => :'Float', + :'iso_currency_code' => :'String', + :'unofficial_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'iso_currency_code', + :'unofficial_currency_code' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportHistoricalBalance` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportHistoricalBalance`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'date') + self.date = attributes[:'date'] + end + + if attributes.key?(:'current') + self.current = attributes[:'current'] + end + + if attributes.key?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + end + + if attributes.key?(:'unofficial_currency_code') + self.unofficial_currency_code = attributes[:'unofficial_currency_code'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @date.nil? + invalid_properties.push('invalid value for "date", date cannot be nil.') + end + + if @current.nil? + invalid_properties.push('invalid value for "current", current cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @date.nil? + return false if @current.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + date == o.date && + current == o.current && + iso_currency_code == o.iso_currency_code && + unofficial_currency_code == o.unofficial_currency_code + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [date, current, iso_currency_code, unofficial_currency_code].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_item.rb b/lib/plaid/models/base_report_item.rb index 8ad72adfa..5cbb6fc50 100644 --- a/lib/plaid/models/base_report_item.rb +++ b/lib/plaid/models/base_report_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_longest_gap_insights.rb b/lib/plaid/models/base_report_longest_gap_insights.rb index 9947deea5..7d22a13d5 100644 --- a/lib/plaid/models/base_report_longest_gap_insights.rb +++ b/lib/plaid/models/base_report_longest_gap_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -51,6 +51,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'days' ]) end diff --git a/lib/plaid/models/base_report_number_flow_insights.rb b/lib/plaid/models/base_report_number_flow_insights.rb index 5a0533b53..19ffceb58 100644 --- a/lib/plaid/models/base_report_number_flow_insights.rb +++ b/lib/plaid/models/base_report_number_flow_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The number of credits or debits out of the account. This field will only added for depository accounts + # The number of credits or debits out of the account. This field will only be included for depository accounts. class BaseReportNumberFlowInsights # The start date of this time period. The date will be returned in an ISO 8601 format (YYYY-MM-DD). attr_accessor :start_date @@ -86,12 +86,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @start_date.nil? + invalid_properties.push('invalid value for "start_date", start_date cannot be nil.') + end + + if @end_date.nil? + invalid_properties.push('invalid value for "end_date", end_date cannot be nil.') + end + + if @count.nil? + invalid_properties.push('invalid value for "count", count cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @start_date.nil? + return false if @end_date.nil? + return false if @count.nil? true end diff --git a/lib/plaid/models/base_report_transaction.rb b/lib/plaid/models/base_report_transaction.rb index 4bf0d8f60..8aa5e9a86 100644 --- a/lib/plaid/models/base_report_transaction.rb +++ b/lib/plaid/models/base_report_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -133,7 +133,7 @@ def self.openapi_types :'transaction_id' => :'String', :'transaction_type' => :'BaseReportTransactionType', :'category' => :'Array', - :'category_id' => :'Object' + :'category_id' => :'String' } end @@ -150,7 +150,6 @@ def self.openapi_nullable :'account_owner', :'transaction_type', :'category', - :'category_id' ]) end diff --git a/lib/plaid/models/base_report_transaction_type.rb b/lib/plaid/models/base_report_transaction_type.rb index 5333e3052..7754a58c1 100644 --- a/lib/plaid/models/base_report_transaction_type.rb +++ b/lib/plaid/models/base_report_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_warning.rb b/lib/plaid/models/base_report_warning.rb index 9c75e98b1..f8f5bdd9b 100644 --- a/lib/plaid/models/base_report_warning.rb +++ b/lib/plaid/models/base_report_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_warning_code.rb b/lib/plaid/models/base_report_warning_code.rb index 6dc73b016..5232ff7a5 100644 --- a/lib/plaid/models/base_report_warning_code.rb +++ b/lib/plaid/models/base_report_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_reports_error_webhook.rb b/lib/plaid/models/base_reports_error_webhook.rb index 45d4ff12d..e104d4848 100644 --- a/lib/plaid/models/base_reports_error_webhook.rb +++ b/lib/plaid/models/base_reports_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_reports_product_ready_webhook.rb b/lib/plaid/models/base_reports_product_ready_webhook.rb index cb742ab51..119e7eff2 100644 --- a/lib/plaid/models/base_reports_product_ready_webhook.rb +++ b/lib/plaid/models/base_reports_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_attributes.rb b/lib/plaid/models/beacon_account_risk_attributes.rb index 9fe1e51bc..0ddcd8c8a 100644 --- a/lib/plaid/models/beacon_account_risk_attributes.rb +++ b/lib/plaid/models/beacon_account_risk_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_account.rb b/lib/plaid/models/beacon_account_risk_evaluate_account.rb index aff5b6b90..fd760550d 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_account.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb b/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb index 15aeec070..d0af33249 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_account_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb b/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb index b20f7e1d8..690e75902 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_evaluation_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_request.rb b/lib/plaid/models/beacon_account_risk_evaluate_request.rb index 4f858dbf6..42d5aa177 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_request.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb b/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb index cd02de54f..95c5d443c 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_account_risk_evaluate_response.rb b/lib/plaid/models/beacon_account_risk_evaluate_response.rb index 539abdafe..eb3296dfb 100644 --- a/lib/plaid/models/beacon_account_risk_evaluate_response.rb +++ b/lib/plaid/models/beacon_account_risk_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_audit_trail.rb b/lib/plaid/models/beacon_audit_trail.rb index c5a9155a9..be0dd2415 100644 --- a/lib/plaid/models/beacon_audit_trail.rb +++ b/lib/plaid/models/beacon_audit_trail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_audit_trail_source.rb b/lib/plaid/models/beacon_audit_trail_source.rb index 3c605fe41..35734f50b 100644 --- a/lib/plaid/models/beacon_audit_trail_source.rb +++ b/lib/plaid/models/beacon_audit_trail_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_bank_account_insights.rb b/lib/plaid/models/beacon_bank_account_insights.rb index 5495fcfdb..f638ed60a 100644 --- a/lib/plaid/models/beacon_bank_account_insights.rb +++ b/lib/plaid/models/beacon_bank_account_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_bank_accounts.rb b/lib/plaid/models/beacon_bank_accounts.rb index 1e7fbd67c..10c319bde 100644 --- a/lib/plaid/models/beacon_bank_accounts.rb +++ b/lib/plaid/models/beacon_bank_accounts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_detected_webhook.rb b/lib/plaid/models/beacon_duplicate_detected_webhook.rb index 4942329a5..23029d44d 100644 --- a/lib/plaid/models/beacon_duplicate_detected_webhook.rb +++ b/lib/plaid/models/beacon_duplicate_detected_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_get_request.rb b/lib/plaid/models/beacon_duplicate_get_request.rb index b08b2a982..35ea3639e 100644 --- a/lib/plaid/models/beacon_duplicate_get_request.rb +++ b/lib/plaid/models/beacon_duplicate_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_duplicate_get_response.rb b/lib/plaid/models/beacon_duplicate_get_response.rb index b68438fd0..d77d71af9 100644 --- a/lib/plaid/models/beacon_duplicate_get_response.rb +++ b/lib/plaid/models/beacon_duplicate_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_match_summary_analysis.rb b/lib/plaid/models/beacon_match_summary_analysis.rb index a43e80d81..a3e0b3cf3 100644 --- a/lib/plaid/models/beacon_match_summary_analysis.rb +++ b/lib/plaid/models/beacon_match_summary_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_match_summary_code.rb b/lib/plaid/models/beacon_match_summary_code.rb index bb26d1ba2..4e2be375c 100644 --- a/lib/plaid/models/beacon_match_summary_code.rb +++ b/lib/plaid/models/beacon_match_summary_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report.rb b/lib/plaid/models/beacon_report.rb index cc13adbf7..51a17e4f6 100644 --- a/lib/plaid/models/beacon_report.rb +++ b/lib/plaid/models/beacon_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReport # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -64,6 +67,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail' } @@ -82,6 +86,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail' } @@ -90,6 +95,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -129,6 +135,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -158,8 +168,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -176,7 +186,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? true end @@ -191,6 +201,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail end @@ -204,7 +215,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_create_request.rb b/lib/plaid/models/beacon_report_create_request.rb index 4d5132833..9d4e9712d 100644 --- a/lib/plaid/models/beacon_report_create_request.rb +++ b/lib/plaid/models/beacon_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -75,7 +75,7 @@ def self.acceptable_attributes def self.openapi_types { :'beacon_user_id' => :'String', - :'type' => :'BeaconReportType', + :'type' => :'BeaconReportCreateType', :'fraud_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'client_id' => :'String', diff --git a/lib/plaid/models/beacon_report_create_response.rb b/lib/plaid/models/beacon_report_create_response.rb index 30f21a8aa..7f7e4d61f 100644 --- a/lib/plaid/models/beacon_report_create_response.rb +++ b/lib/plaid/models/beacon_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReportCreateResponse # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -67,6 +70,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail', :'request_id' => :'request_id' @@ -86,6 +90,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail', :'request_id' => :'String' @@ -95,6 +100,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -167,8 +177,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -189,7 +199,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? return false if @request_id.nil? true @@ -205,6 +215,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail && request_id == o.request_id @@ -219,7 +230,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail, request_id].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_create_type.rb b/lib/plaid/models/beacon_report_create_type.rb new file mode 100644 index 000000000..b40110363 --- /dev/null +++ b/lib/plaid/models/beacon_report_create_type.rb @@ -0,0 +1,43 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BeaconReportCreateType + FIRST_PARTY = "first_party".freeze + STOLEN = "stolen".freeze + SYNTHETIC = "synthetic".freeze + ACCOUNT_TAKEOVER = "account_takeover".freeze + DATA_BREACH = "data_breach".freeze + UNKNOWN = "unknown".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/beacon_report_created_webhook.rb b/lib/plaid/models/beacon_report_created_webhook.rb index f32d45660..bd120b8f6 100644 --- a/lib/plaid/models/beacon_report_created_webhook.rb +++ b/lib/plaid/models/beacon_report_created_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_get_request.rb b/lib/plaid/models/beacon_report_get_request.rb index e3a7c992e..fff16bea2 100644 --- a/lib/plaid/models/beacon_report_get_request.rb +++ b/lib/plaid/models/beacon_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_get_response.rb b/lib/plaid/models/beacon_report_get_response.rb index b4b7c21ed..e8ea9a9a7 100644 --- a/lib/plaid/models/beacon_report_get_response.rb +++ b/lib/plaid/models/beacon_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class BeaconReportGetResponse # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + attr_accessor :fraud_amount attr_accessor :audit_trail @@ -67,6 +70,7 @@ def self.attribute_map :'created_at' => :'created_at', :'type' => :'type', :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date', :'fraud_amount' => :'fraud_amount', :'audit_trail' => :'audit_trail', :'request_id' => :'request_id' @@ -86,6 +90,7 @@ def self.openapi_types :'created_at' => :'Time', :'type' => :'BeaconReportType', :'fraud_date' => :'Date', + :'event_date' => :'Date', :'fraud_amount' => :'FraudAmount', :'audit_trail' => :'BeaconAuditTrail', :'request_id' => :'String' @@ -95,6 +100,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'fraud_date', :'fraud_amount', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.fraud_date = attributes[:'fraud_date'] end + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end + if attributes.key?(:'fraud_amount') self.fraud_amount = attributes[:'fraud_amount'] end @@ -167,8 +177,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end if @audit_trail.nil? @@ -189,7 +199,7 @@ def valid? return false if @beacon_user_id.nil? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? return false if @audit_trail.nil? return false if @request_id.nil? true @@ -205,6 +215,7 @@ def ==(o) created_at == o.created_at && type == o.type && fraud_date == o.fraud_date && + event_date == o.event_date && fraud_amount == o.fraud_amount && audit_trail == o.audit_trail && request_id == o.request_id @@ -219,7 +230,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, beacon_user_id, created_at, type, fraud_date, fraud_amount, audit_trail, request_id].hash + [id, beacon_user_id, created_at, type, fraud_date, event_date, fraud_amount, audit_trail, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_list_request.rb b/lib/plaid/models/beacon_report_list_request.rb index 09a5eaf2c..d3f126217 100644 --- a/lib/plaid/models/beacon_report_list_request.rb +++ b/lib/plaid/models/beacon_report_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_list_response.rb b/lib/plaid/models/beacon_report_list_response.rb index a42ef7844..cc3454442 100644 --- a/lib/plaid/models/beacon_report_list_response.rb +++ b/lib/plaid/models/beacon_report_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication.rb b/lib/plaid/models/beacon_report_syndication.rb index 32439fa0f..3bf8fcaa6 100644 --- a/lib/plaid/models/beacon_report_syndication.rb +++ b/lib/plaid/models/beacon_report_syndication.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_analysis.rb b/lib/plaid/models/beacon_report_syndication_analysis.rb index cf190ca75..0823c7c2b 100644 --- a/lib/plaid/models/beacon_report_syndication_analysis.rb +++ b/lib/plaid/models/beacon_report_syndication_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,8 @@ class BeaconReportSyndicationAnalysis attr_accessor :phone_number + attr_accessor :depository_accounts + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -61,7 +63,8 @@ def self.attribute_map :'name' => :'name', :'id_number' => :'id_number', :'ip_address' => :'ip_address', - :'phone_number' => :'phone_number' + :'phone_number' => :'phone_number', + :'depository_accounts' => :'depository_accounts' } end @@ -79,7 +82,8 @@ def self.openapi_types :'name' => :'BeaconMatchSummaryCode', :'id_number' => :'BeaconMatchSummaryCode', :'ip_address' => :'BeaconMatchSummaryCode', - :'phone_number' => :'BeaconMatchSummaryCode' + :'phone_number' => :'BeaconMatchSummaryCode', + :'depository_accounts' => :'Array' } end @@ -131,6 +135,12 @@ def initialize(attributes = {}) if attributes.key?(:'phone_number') self.phone_number = attributes[:'phone_number'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -165,6 +175,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') end + if @depository_accounts.nil? + invalid_properties.push('invalid value for "depository_accounts", depository_accounts cannot be nil.') + end + invalid_properties end @@ -178,6 +192,7 @@ def valid? return false if @id_number.nil? return false if @ip_address.nil? return false if @phone_number.nil? + return false if @depository_accounts.nil? true end @@ -192,7 +207,8 @@ def ==(o) name == o.name && id_number == o.id_number && ip_address == o.ip_address && - phone_number == o.phone_number + phone_number == o.phone_number && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -204,7 +220,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [address, date_of_birth, email_address, name, id_number, ip_address, phone_number].hash + [address, date_of_birth, email_address, name, id_number, ip_address, phone_number, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_syndication_created_webhook.rb b/lib/plaid/models/beacon_report_syndication_created_webhook.rb index 315378d66..b3f19d7b1 100644 --- a/lib/plaid/models/beacon_report_syndication_created_webhook.rb +++ b/lib/plaid/models/beacon_report_syndication_created_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_get_request.rb b/lib/plaid/models/beacon_report_syndication_get_request.rb index 986696be5..0967764a7 100644 --- a/lib/plaid/models/beacon_report_syndication_get_request.rb +++ b/lib/plaid/models/beacon_report_syndication_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_get_response.rb b/lib/plaid/models/beacon_report_syndication_get_response.rb index 4f37aa6c1..0166e917d 100644 --- a/lib/plaid/models/beacon_report_syndication_get_response.rb +++ b/lib/plaid/models/beacon_report_syndication_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_list_request.rb b/lib/plaid/models/beacon_report_syndication_list_request.rb index f4647de53..138d57094 100644 --- a/lib/plaid/models/beacon_report_syndication_list_request.rb +++ b/lib/plaid/models/beacon_report_syndication_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_list_response.rb b/lib/plaid/models/beacon_report_syndication_list_response.rb index 56c33404f..885f47978 100644 --- a/lib/plaid/models/beacon_report_syndication_list_response.rb +++ b/lib/plaid/models/beacon_report_syndication_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_original_report.rb b/lib/plaid/models/beacon_report_syndication_original_report.rb index fa18788ab..86e54afb1 100644 --- a/lib/plaid/models/beacon_report_syndication_original_report.rb +++ b/lib/plaid/models/beacon_report_syndication_original_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -27,6 +27,9 @@ class BeaconReportSyndicationOriginalReport # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :fraud_date + # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). + attr_accessor :event_date + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -55,7 +58,8 @@ def self.attribute_map :'id' => :'id', :'created_at' => :'created_at', :'type' => :'type', - :'fraud_date' => :'fraud_date' + :'fraud_date' => :'fraud_date', + :'event_date' => :'event_date' } end @@ -70,7 +74,8 @@ def self.openapi_types :'id' => :'String', :'created_at' => :'Time', :'type' => :'BeaconReportType', - :'fraud_date' => :'Date' + :'fraud_date' => :'Date', + :'event_date' => :'Date' } end @@ -78,6 +83,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'id', + :'fraud_date', ]) end @@ -111,6 +117,10 @@ def initialize(attributes = {}) if attributes.key?(:'fraud_date') self.fraud_date = attributes[:'fraud_date'] end + + if attributes.key?(:'event_date') + self.event_date = attributes[:'event_date'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -125,8 +135,8 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end - if @fraud_date.nil? - invalid_properties.push('invalid value for "fraud_date", fraud_date cannot be nil.') + if @event_date.nil? + invalid_properties.push('invalid value for "event_date", event_date cannot be nil.') end invalid_properties @@ -137,7 +147,7 @@ def list_invalid_properties def valid? return false if @created_at.nil? return false if @type.nil? - return false if @fraud_date.nil? + return false if @event_date.nil? true end @@ -149,7 +159,8 @@ def ==(o) id == o.id && created_at == o.created_at && type == o.type && - fraud_date == o.fraud_date + fraud_date == o.fraud_date && + event_date == o.event_date end # @see the `==` method @@ -161,7 +172,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, created_at, type, fraud_date].hash + [id, created_at, type, fraud_date, event_date].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_report_type.rb b/lib/plaid/models/beacon_report_type.rb index cedb7e601..c0dadf1f0 100644 --- a/lib/plaid/models/beacon_report_type.rb +++ b/lib/plaid/models/beacon_report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,6 +19,7 @@ class BeaconReportType STOLEN = "stolen".freeze SYNTHETIC = "synthetic".freeze ACCOUNT_TAKEOVER = "account_takeover".freeze + DATA_BREACH = "data_breach".freeze UNKNOWN = "unknown".freeze # Builds the enum from string diff --git a/lib/plaid/models/beacon_report_updated_webhook.rb b/lib/plaid/models/beacon_report_updated_webhook.rb index 44ff513db..a6056c581 100644 --- a/lib/plaid/models/beacon_report_updated_webhook.rb +++ b/lib/plaid/models/beacon_report_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb b/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb new file mode 100644 index 000000000..da6c1deb6 --- /dev/null +++ b/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb @@ -0,0 +1,277 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Analysis of whether this account matched between the originally reported Beacon User and the Beacon User that the report syndicated to. + class BeaconSyndicatedReportDepositoryAccountMatchAnalysis + # The last 2-4 numeric characters of this account’s account number. + attr_accessor :account_mask + + # The routing number of the account. + attr_accessor :routing_number + + attr_accessor :match_status + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_mask' => :'account_mask', + :'routing_number' => :'routing_number', + :'match_status' => :'match_status' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_mask' => :'String', + :'routing_number' => :'String', + :'match_status' => :'BeaconMatchSummaryCode' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconSyndicatedReportDepositoryAccountMatchAnalysis` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconSyndicatedReportDepositoryAccountMatchAnalysis`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_mask') + self.account_mask = attributes[:'account_mask'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + + if attributes.key?(:'match_status') + self.match_status = attributes[:'match_status'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_mask.nil? + invalid_properties.push('invalid value for "account_mask", account_mask cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + if @match_status.nil? + invalid_properties.push('invalid value for "match_status", match_status cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_mask.nil? + return false if @routing_number.nil? + return false if @match_status.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_mask == o.account_mask && + routing_number == o.routing_number && + match_status == o.match_status + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_mask, routing_number, match_status].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user.rb b/lib/plaid/models/beacon_user.rb index cc41ad221..5204ada55 100644 --- a/lib/plaid/models/beacon_user.rb +++ b/lib/plaid/models/beacon_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_account_insights_get_request.rb b/lib/plaid/models/beacon_user_account_insights_get_request.rb index 4ab79a64f..f37dd6ca3 100644 --- a/lib/plaid/models/beacon_user_account_insights_get_request.rb +++ b/lib/plaid/models/beacon_user_account_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_account_insights_get_response.rb b/lib/plaid/models/beacon_user_account_insights_get_response.rb index 8e715fea3..65abf4375 100644 --- a/lib/plaid/models/beacon_user_account_insights_get_response.rb +++ b/lib/plaid/models/beacon_user_account_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_address.rb b/lib/plaid/models/beacon_user_address.rb index 065710418..18d60ae47 100644 --- a/lib/plaid/models/beacon_user_address.rb +++ b/lib/plaid/models/beacon_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_create_request.rb b/lib/plaid/models/beacon_user_create_request.rb index b1c8bdaa1..f87f8f18a 100644 --- a/lib/plaid/models/beacon_user_create_request.rb +++ b/lib/plaid/models/beacon_user_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -24,7 +24,7 @@ class BeaconUserCreateRequest attr_accessor :user - # Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User. + # Send this array of access tokens to link accounts to the Beacon User and have them evaluated for Account Insights. A maximum of 50 accounts total can be added to a single Beacon User. attr_accessor :access_tokens # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. diff --git a/lib/plaid/models/beacon_user_create_response.rb b/lib/plaid/models/beacon_user_create_response.rb index 140f9eeaa..050c26751 100644 --- a/lib/plaid/models/beacon_user_create_response.rb +++ b/lib/plaid/models/beacon_user_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_data.rb b/lib/plaid/models/beacon_user_data.rb index 5d787459e..79600ad9a 100644 --- a/lib/plaid/models/beacon_user_data.rb +++ b/lib/plaid/models/beacon_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class BeaconUserData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,8 @@ class BeaconUserData # An IPv4 or IPV6 address. attr_accessor :ip_address + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +45,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +64,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -71,7 +75,7 @@ def self.openapi_nullable :'email_address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -117,6 +121,12 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -135,6 +145,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "address", address cannot be nil.') end + if @depository_accounts.nil? + invalid_properties.push('invalid value for "depository_accounts", depository_accounts cannot be nil.') + end + invalid_properties end @@ -144,6 +158,7 @@ def valid? return false if @date_of_birth.nil? return false if @name.nil? return false if @address.nil? + return false if @depository_accounts.nil? true end @@ -158,7 +173,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -170,7 +186,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_depository_account.rb b/lib/plaid/models/beacon_user_depository_account.rb new file mode 100644 index 000000000..afc7c4775 --- /dev/null +++ b/lib/plaid/models/beacon_user_depository_account.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Depository account information for the associated user. + class BeaconUserDepositoryAccount + # The last 2-4 numeric characters of this account’s account number. + attr_accessor :account_mask + + # The routing number of the account. + attr_accessor :routing_number + + # An ISO8601 formatted timestamp. + attr_accessor :added_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_mask' => :'account_mask', + :'routing_number' => :'routing_number', + :'added_at' => :'added_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_mask' => :'String', + :'routing_number' => :'String', + :'added_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconUserDepositoryAccount` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconUserDepositoryAccount`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_mask') + self.account_mask = attributes[:'account_mask'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + + if attributes.key?(:'added_at') + self.added_at = attributes[:'added_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_mask.nil? + invalid_properties.push('invalid value for "account_mask", account_mask cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + if @added_at.nil? + invalid_properties.push('invalid value for "added_at", added_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_mask.nil? + return false if @routing_number.nil? + return false if @added_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_mask == o.account_mask && + routing_number == o.routing_number && + added_at == o.added_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_mask, routing_number, added_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user_get_request.rb b/lib/plaid/models/beacon_user_get_request.rb index b64af8288..22af0e4bd 100644 --- a/lib/plaid/models/beacon_user_get_request.rb +++ b/lib/plaid/models/beacon_user_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_get_response.rb b/lib/plaid/models/beacon_user_get_response.rb index 67bc5f907..3d1b531cd 100644 --- a/lib/plaid/models/beacon_user_get_response.rb +++ b/lib/plaid/models/beacon_user_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_history_list_request.rb b/lib/plaid/models/beacon_user_history_list_request.rb index dedcae4d3..c2aa8beb2 100644 --- a/lib/plaid/models/beacon_user_history_list_request.rb +++ b/lib/plaid/models/beacon_user_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_history_list_response.rb b/lib/plaid/models/beacon_user_history_list_response.rb index cae25dd51..e95358e5e 100644 --- a/lib/plaid/models/beacon_user_history_list_response.rb +++ b/lib/plaid/models/beacon_user_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_id_number.rb b/lib/plaid/models/beacon_user_id_number.rb index 651a4a726..8bcdac74f 100644 --- a/lib/plaid/models/beacon_user_id_number.rb +++ b/lib/plaid/models/beacon_user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_name.rb b/lib/plaid/models/beacon_user_name.rb index 7aaf33b2e..1ead95e5b 100644 --- a/lib/plaid/models/beacon_user_name.rb +++ b/lib/plaid/models/beacon_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_name_nullable.rb b/lib/plaid/models/beacon_user_name_nullable.rb index 987486cb5..63eeae1db 100644 --- a/lib/plaid/models/beacon_user_name_nullable.rb +++ b/lib/plaid/models/beacon_user_name_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_request_address.rb b/lib/plaid/models/beacon_user_request_address.rb index 480f4d2ad..c4553e5bd 100644 --- a/lib/plaid/models/beacon_user_request_address.rb +++ b/lib/plaid/models/beacon_user_request_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserRequestAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_request_address_nullable.rb b/lib/plaid/models/beacon_user_request_address_nullable.rb index 4a61b216b..191c0d428 100644 --- a/lib/plaid/models/beacon_user_request_address_nullable.rb +++ b/lib/plaid/models/beacon_user_request_address_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class BeaconUserRequestAddressNullable # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/beacon_user_request_data.rb b/lib/plaid/models/beacon_user_request_data.rb index 350f45523..04fc92a2c 100644 --- a/lib/plaid/models/beacon_user_request_data.rb +++ b/lib/plaid/models/beacon_user_request_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # A Beacon User's data which is used to check against duplicate records and the Beacon Fraud Network. + # A Beacon User's data which is used to check against duplicate records and the Beacon Fraud Network. In order to create a Beacon User, in addition to the `name`, _either_ the `date_of_birth` _or_ the `depository_accounts` field must be provided. class BeaconUserRequestData # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth @@ -23,7 +23,7 @@ class BeaconUserRequestData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,9 @@ class BeaconUserRequestData # An IPv4 or IPV6 address. attr_accessor :ip_address + # Provide a list of bank accounts that are associated with this Beacon User. These accounts will be scanned across the Beacon Network and used to find duplicate records. Note: These accounts will not have Bank Account Insights. To receive Bank Account Insights please supply `access_tokens`. + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +46,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +65,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -71,7 +76,7 @@ def self.openapi_nullable :'address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -117,16 +122,18 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @date_of_birth.nil? - invalid_properties.push('invalid value for "date_of_birth", date_of_birth cannot be nil.') - end - if @name.nil? invalid_properties.push('invalid value for "name", name cannot be nil.') end @@ -137,7 +144,6 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if @date_of_birth.nil? return false if @name.nil? true end @@ -153,7 +159,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -165,7 +172,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_request_depository_account.rb b/lib/plaid/models/beacon_user_request_depository_account.rb new file mode 100644 index 000000000..bd4fb3ea8 --- /dev/null +++ b/lib/plaid/models/beacon_user_request_depository_account.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Depository account information for the associated user. + class BeaconUserRequestDepositoryAccount + # Must be a valid US Bank Account Number + attr_accessor :account_number + + # The routing number of the account. + attr_accessor :routing_number + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_number' => :'account_number', + :'routing_number' => :'routing_number' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_number' => :'String', + :'routing_number' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BeaconUserRequestDepositoryAccount` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BeaconUserRequestDepositoryAccount`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'account_number') + self.account_number = attributes[:'account_number'] + end + + if attributes.key?(:'routing_number') + self.routing_number = attributes[:'routing_number'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_number.nil? + invalid_properties.push('invalid value for "account_number", account_number cannot be nil.') + end + + if @routing_number.nil? + invalid_properties.push('invalid value for "routing_number", routing_number cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @account_number.nil? + return false if @routing_number.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + account_number == o.account_number && + routing_number == o.routing_number + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_number, routing_number].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/beacon_user_review_request.rb b/lib/plaid/models/beacon_user_review_request.rb index 03ed05f9d..8b243088a 100644 --- a/lib/plaid/models/beacon_user_review_request.rb +++ b/lib/plaid/models/beacon_user_review_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_revision.rb b/lib/plaid/models/beacon_user_revision.rb index 557993fe0..ceecd615a 100644 --- a/lib/plaid/models/beacon_user_revision.rb +++ b/lib/plaid/models/beacon_user_revision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_status.rb b/lib/plaid/models/beacon_user_status.rb index 06eaf9704..6b315f2ba 100644 --- a/lib/plaid/models/beacon_user_status.rb +++ b/lib/plaid/models/beacon_user_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_status_updated_webhook.rb b/lib/plaid/models/beacon_user_status_updated_webhook.rb index 9afebe363..16de1788c 100644 --- a/lib/plaid/models/beacon_user_status_updated_webhook.rb +++ b/lib/plaid/models/beacon_user_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_update_request.rb b/lib/plaid/models/beacon_user_update_request.rb index 57df07484..a1db3b06f 100644 --- a/lib/plaid/models/beacon_user_update_request.rb +++ b/lib/plaid/models/beacon_user_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_update_request_data.rb b/lib/plaid/models/beacon_user_update_request_data.rb index c4fc4ca60..749e34759 100644 --- a/lib/plaid/models/beacon_user_update_request_data.rb +++ b/lib/plaid/models/beacon_user_update_request_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class BeaconUserUpdateRequestData attr_accessor :address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # A phone number in E.164 format. @@ -34,6 +34,8 @@ class BeaconUserUpdateRequestData # An IPv4 or IPV6 address. attr_accessor :ip_address + attr_accessor :depository_accounts + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -43,7 +45,8 @@ def self.attribute_map :'email_address' => :'email_address', :'phone_number' => :'phone_number', :'id_number' => :'id_number', - :'ip_address' => :'ip_address' + :'ip_address' => :'ip_address', + :'depository_accounts' => :'depository_accounts' } end @@ -61,7 +64,8 @@ def self.openapi_types :'email_address' => :'String', :'phone_number' => :'String', :'id_number' => :'BeaconUserIDNumber', - :'ip_address' => :'String' + :'ip_address' => :'String', + :'depository_accounts' => :'Array' } end @@ -72,7 +76,7 @@ def self.openapi_nullable :'address', :'phone_number', :'id_number', - :'ip_address' + :'ip_address', ]) end @@ -118,6 +122,12 @@ def initialize(attributes = {}) if attributes.key?(:'ip_address') self.ip_address = attributes[:'ip_address'] end + + if attributes.key?(:'depository_accounts') + if (value = attributes[:'depository_accounts']).is_a?(Array) + self.depository_accounts = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -144,7 +154,8 @@ def ==(o) email_address == o.email_address && phone_number == o.phone_number && id_number == o.id_number && - ip_address == o.ip_address + ip_address == o.ip_address && + depository_accounts == o.depository_accounts end # @see the `==` method @@ -156,7 +167,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [date_of_birth, name, address, email_address, phone_number, id_number, ip_address].hash + [date_of_birth, name, address, email_address, phone_number, id_number, ip_address, depository_accounts].hash end # Builds the object from hash diff --git a/lib/plaid/models/beacon_user_update_response.rb b/lib/plaid/models/beacon_user_update_response.rb index 8581c9d71..bbc93558b 100644 --- a/lib/plaid/models/beacon_user_update_response.rb +++ b/lib/plaid/models/beacon_user_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_attributes_version.rb b/lib/plaid/models/cashflow_attributes_version.rb new file mode 100644 index 000000000..2e27e1151 --- /dev/null +++ b/lib/plaid/models/cashflow_attributes_version.rb @@ -0,0 +1,38 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CashflowAttributesVersion + V1_0 = "v1.0".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 40253c1fb..a5dfcca85 100644 --- a/lib/plaid/models/categories_get_response.rb +++ b/lib/plaid/models/categories_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category.rb b/lib/plaid/models/category.rb index f4e6b6a2c..7e9a68bc0 100644 --- a/lib/plaid/models/category.rb +++ b/lib/plaid/models/category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category_insight_details.rb b/lib/plaid/models/category_insight_details.rb index 1e9a774b1..07f33406f 100644 --- a/lib/plaid/models/category_insight_details.rb +++ b/lib/plaid/models/category_insight_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category_insights.rb b/lib/plaid/models/category_insights.rb index 04ed81585..6e06af895 100644 --- a/lib/plaid/models/category_insights.rb +++ b/lib/plaid/models/category_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cause.rb b/lib/plaid/models/cause.rb index 45bd65561..277c05853 100644 --- a/lib/plaid/models/cause.rb +++ b/lib/plaid/models/cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class Cause # The particular error code. Safe for programmatic use. attr_accessor :error_code + # The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_REVOKED_TOKEN`: The user’s OAuth connection to this institution is invalid because the user revoked their connection. + attr_accessor :error_code_reason + # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. attr_accessor :error_message @@ -30,7 +33,7 @@ class Cause # A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks. attr_accessor :request_id - # In the Assets product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. + # In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. attr_accessor :causes # The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook. @@ -72,6 +75,7 @@ def self.attribute_map { :'error_type' => :'error_type', :'error_code' => :'error_code', + :'error_code_reason' => :'error_code_reason', :'error_message' => :'error_message', :'display_message' => :'display_message', :'request_id' => :'request_id', @@ -93,6 +97,7 @@ def self.openapi_types { :'error_type' => :'PlaidErrorType', :'error_code' => :'String', + :'error_code_reason' => :'String', :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', @@ -107,6 +112,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error_code_reason', :'display_message', :'status', :'suggested_action', @@ -144,6 +150,10 @@ def initialize(attributes = {}) self.error_code = attributes[:'error_code'] end + if attributes.key?(:'error_code_reason') + self.error_code_reason = attributes[:'error_code_reason'] + end + if attributes.key?(:'error_message') self.error_message = attributes[:'error_message'] end @@ -219,6 +229,7 @@ def ==(o) self.class == o.class && error_type == o.error_type && error_code == o.error_code && + error_code_reason == o.error_code_reason && error_message == o.error_message && display_message == o.display_message && request_id == o.request_id && @@ -238,7 +249,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [error_type, error_code, error_message, display_message, request_id, causes, status, documentation_url, suggested_action, item_id].hash + [error_type, error_code, error_code_reason, error_message, display_message, request_id, causes, status, documentation_url, suggested_action, item_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index 548a87a93..521e51f95 100644 --- a/lib/plaid/models/cause_all_of.rb +++ b/lib/plaid/models/cause_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_enhanced_transaction.rb b/lib/plaid/models/client_provided_enhanced_transaction.rb index 7cccb9e50..55d32c3b6 100644 --- a/lib/plaid/models/client_provided_enhanced_transaction.rb +++ b/lib/plaid/models/client_provided_enhanced_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_enriched_transaction.rb b/lib/plaid/models/client_provided_enriched_transaction.rb index 7d6f111b3..994c6b427 100644 --- a/lib/plaid/models/client_provided_enriched_transaction.rb +++ b/lib/plaid/models/client_provided_enriched_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_raw_transaction.rb b/lib/plaid/models/client_provided_raw_transaction.rb index 3fb14676c..1ebfee39e 100644 --- a/lib/plaid/models/client_provided_raw_transaction.rb +++ b/lib/plaid/models/client_provided_raw_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_transaction.rb b/lib/plaid/models/client_provided_transaction.rb index b9f6e27b2..53b433738 100644 --- a/lib/plaid/models/client_provided_transaction.rb +++ b/lib/plaid/models/client_provided_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_provided_transaction_location.rb b/lib/plaid/models/client_provided_transaction_location.rb index 3f8ca591c..9e01df81c 100644 --- a/lib/plaid/models/client_provided_transaction_location.rb +++ b/lib/plaid/models/client_provided_transaction_location.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/connected_application.rb b/lib/plaid/models/connected_application.rb index 624ecf5a6..4772da44a 100644 --- a/lib/plaid/models/connected_application.rb +++ b/lib/plaid/models/connected_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_dispute.rb b/lib/plaid/models/consumer_dispute.rb new file mode 100644 index 000000000..7422e991a --- /dev/null +++ b/lib/plaid/models/consumer_dispute.rb @@ -0,0 +1,292 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The information about a previously submitted valid dispute statement by the consumer + class ConsumerDispute + # A unique identifier (UUID) of the consumer dispute that can be used for troubleshooting + attr_accessor :consumer_dispute_id + + # Date of the disputed field (e.g. transaction date), in an ISO 8601 format (YYYY-MM-DD) + attr_accessor :dispute_field_create_date + + attr_accessor :category + + # Text content of dispute + attr_accessor :statement + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'consumer_dispute_id' => :'consumer_dispute_id', + :'dispute_field_create_date' => :'dispute_field_create_date', + :'category' => :'category', + :'statement' => :'statement' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'consumer_dispute_id' => :'String', + :'dispute_field_create_date' => :'Date', + :'category' => :'ConsumerDisputeCategory', + :'statement' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ConsumerDispute` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ConsumerDispute`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'consumer_dispute_id') + self.consumer_dispute_id = attributes[:'consumer_dispute_id'] + end + + if attributes.key?(:'dispute_field_create_date') + self.dispute_field_create_date = attributes[:'dispute_field_create_date'] + end + + if attributes.key?(:'category') + self.category = attributes[:'category'] + end + + if attributes.key?(:'statement') + self.statement = attributes[:'statement'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @consumer_dispute_id.nil? + invalid_properties.push('invalid value for "consumer_dispute_id", consumer_dispute_id cannot be nil.') + end + + if @dispute_field_create_date.nil? + invalid_properties.push('invalid value for "dispute_field_create_date", dispute_field_create_date cannot be nil.') + end + + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @statement.nil? + invalid_properties.push('invalid value for "statement", statement cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @consumer_dispute_id.nil? + return false if @dispute_field_create_date.nil? + return false if @category.nil? + return false if @statement.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + consumer_dispute_id == o.consumer_dispute_id && + dispute_field_create_date == o.dispute_field_create_date && + category == o.category && + statement == o.statement + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [consumer_dispute_id, dispute_field_create_date, category, statement].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/consumer_dispute_category.rb b/lib/plaid/models/consumer_dispute_category.rb new file mode 100644 index 000000000..721cb7c8f --- /dev/null +++ b/lib/plaid/models/consumer_dispute_category.rb @@ -0,0 +1,41 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class ConsumerDisputeCategory + TRANSACTION = "TRANSACTION".freeze + BALANCE = "BALANCE".freeze + IDENTITY = "IDENTITY".freeze + OTHER = "OTHER".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/consumer_report_pdf_get_request.rb b/lib/plaid/models/consumer_report_pdf_get_request.rb index 0bc27c3b4..0a6e8fba5 100644 --- a/lib/plaid/models/consumer_report_pdf_get_request.rb +++ b/lib/plaid/models/consumer_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_report_permissible_purpose.rb b/lib/plaid/models/consumer_report_permissible_purpose.rb index ffc808033..cf4828d36 100644 --- a/lib/plaid/models/consumer_report_permissible_purpose.rb +++ b/lib/plaid/models/consumer_report_permissible_purpose.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_report_user_identity.rb b/lib/plaid/models/consumer_report_user_identity.rb index 2bf6f07d2..5944f62ce 100644 --- a/lib/plaid/models/consumer_report_user_identity.rb +++ b/lib/plaid/models/consumer_report_user_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This object defines the user identity data collected for consumer report purposes. This field is required if you are planning on using the user token with Plaid Check products. + # To create a Plaid Check Consumer Report for a user, this field must be present on the user token. If this field is not provided during user token creation, you can add it to the user later by calling `/user/update`. Once the field has been added to the user, you will be able to call `/link/token/create` with a non-empty `consumer_report_permissible_purpose` (which will automatically create a Plaid Check Consumer Report), or call `/cra/check_report/create` for that user. class ConsumerReportUserIdentity # The user's first name attr_accessor :first_name @@ -22,7 +22,7 @@ class ConsumerReportUserIdentity # The user's last name attr_accessor :last_name - # The user's phone numbers. The format of phone number will be validated and for better normalization, it is expected to be in E.164 format +{countrycode}{number}, for example `+14151234567`. + # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment. attr_accessor :phone_numbers # The user's emails diff --git a/lib/plaid/models/counterparty.rb b/lib/plaid/models/counterparty.rb index 1c145e80f..e66a131f1 100644 --- a/lib/plaid/models/counterparty.rb +++ b/lib/plaid/models/counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_insights.rb b/lib/plaid/models/counterparty_insights.rb index d3109b3f8..99b5ea2b8 100644 --- a/lib/plaid/models/counterparty_insights.rb +++ b/lib/plaid/models/counterparty_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_type.rb b/lib/plaid/models/counterparty_type.rb index f87a1e2d0..dc04e8562 100644 --- a/lib/plaid/models/counterparty_type.rb +++ b/lib/plaid/models/counterparty_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/country_code.rb b/lib/plaid/models/country_code.rb index 763baec12..a4c7a5cd1 100644 --- a/lib/plaid/models/country_code.rb +++ b/lib/plaid/models/country_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income.rb b/lib/plaid/models/cra_bank_income.rb index f5d12fad7..d5ae83914 100644 --- a/lib/plaid/models/cra_bank_income.rb +++ b/lib/plaid/models/cra_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,15 +14,15 @@ require 'time' module Plaid - # The report of the Bank Income data for an end user. + # The report of the Plaid Check Income Insights data for an end user. class CraBankIncome - # The unique identifier associated with the Bank Income Report. + # The unique identifier associated with the report. attr_accessor :bank_income_id - # The time when the Bank Income Report was generated. + # The time when the report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CraBankIncome attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings object will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/cra_bank_income_account.rb b/lib/plaid/models/cra_bank_income_account.rb index 0991a0314..2f5579ede 100644 --- a/lib/plaid/models/cra_bank_income_account.rb +++ b/lib/plaid/models/cra_bank_income_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_bonus_type.rb b/lib/plaid/models/cra_bank_income_bonus_type.rb index b9fa12e13..a6f788485 100644 --- a/lib/plaid/models/cra_bank_income_bonus_type.rb +++ b/lib/plaid/models/cra_bank_income_bonus_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,8 +15,9 @@ module Plaid class CraBankIncomeBonusType - INCLUDED = "BONUS_INCLUDED".freeze - ONLY = "BONUS_ONLY".freeze + BONUS_INCLUDED = "BONUS_INCLUDED".freeze + BONUS_ONLY = "BONUS_ONLY".freeze + NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/cra_bank_income_cause.rb b/lib/plaid/models/cra_bank_income_cause.rb index 37d427811..bfe3833f7 100644 --- a/lib/plaid/models/cra_bank_income_cause.rb +++ b/lib/plaid/models/cra_bank_income_cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_complete_result.rb b/lib/plaid/models/cra_bank_income_complete_result.rb index c5999ba41..e49390298 100644 --- a/lib/plaid/models/cra_bank_income_complete_result.rb +++ b/lib/plaid/models/cra_bank_income_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_complete_webhook.rb b/lib/plaid/models/cra_bank_income_complete_webhook.rb index e419df9b8..b6ef852fc 100644 --- a/lib/plaid/models/cra_bank_income_complete_webhook.rb +++ b/lib/plaid/models/cra_bank_income_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_create_request.rb b/lib/plaid/models/cra_bank_income_create_request.rb index 54ef227c2..601d92ca1 100644 --- a/lib/plaid/models/cra_bank_income_create_request.rb +++ b/lib/plaid/models/cra_bank_income_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,7 +28,7 @@ class CraBankIncomeCreateRequest # The destination URL to which webhooks will be sent attr_accessor :webhook - # The number of days of data to request for the Bank Income product + # The number of days of data to request attr_accessor :days_requested attr_accessor :consumer_report_permissible_purpose diff --git a/lib/plaid/models/cra_bank_income_create_response.rb b/lib/plaid/models/cra_bank_income_create_response.rb index d3cda88e3..a84da82ef 100644 --- a/lib/plaid/models/cra_bank_income_create_response.rb +++ b/lib/plaid/models/cra_bank_income_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_employer.rb b/lib/plaid/models/cra_bank_income_employer.rb index 91357c5bd..33bed5929 100644 --- a/lib/plaid/models/cra_bank_income_employer.rb +++ b/lib/plaid/models/cra_bank_income_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_error_webhook.rb b/lib/plaid/models/cra_bank_income_error_webhook.rb index a5cbdde87..224a6bb18 100644 --- a/lib/plaid/models/cra_bank_income_error_webhook.rb +++ b/lib/plaid/models/cra_bank_income_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_get_request.rb b/lib/plaid/models/cra_bank_income_get_request.rb index 4b8c1d33c..3a4d50623 100644 --- a/lib/plaid/models/cra_bank_income_get_request.rb +++ b/lib/plaid/models/cra_bank_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_get_response.rb b/lib/plaid/models/cra_bank_income_get_response.rb index 0846542ea..dfaed9371 100644 --- a/lib/plaid/models/cra_bank_income_get_response.rb +++ b/lib/plaid/models/cra_bank_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_historical_summary.rb b/lib/plaid/models/cra_bank_income_historical_summary.rb index 6830e88f6..afd8ec115 100644 --- a/lib/plaid/models/cra_bank_income_historical_summary.rb +++ b/lib/plaid/models/cra_bank_income_historical_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_item.rb b/lib/plaid/models/cra_bank_income_item.rb index b98ec94b4..d87d4d981 100644 --- a/lib/plaid/models/cra_bank_income_item.rb +++ b/lib/plaid/models/cra_bank_income_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class CraBankIncomeItem # The `item_id` of the Item associated with this webhook, warning, or error attr_accessor :item_id - # The Item's accounts that have Bank Income data. + # The Item's accounts that have bank income data. attr_accessor :bank_income_accounts # The income sources for this Item. Each entry in the array is a single income source. diff --git a/lib/plaid/models/cra_bank_income_source.rb b/lib/plaid/models/cra_bank_income_source.rb index 9c2701f09..4de3265db 100644 --- a/lib/plaid/models/cra_bank_income_source.rb +++ b/lib/plaid/models/cra_bank_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_summary.rb b/lib/plaid/models/cra_bank_income_summary.rb index 74dda9d83..fbea2166f 100644 --- a/lib/plaid/models/cra_bank_income_summary.rb +++ b/lib/plaid/models/cra_bank_income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Summary for bank income across all income sources and items (max history of 730 days). + # Summary for income across all income sources and items (max history of 730 days). class CraBankIncomeSummary # Total amount of earnings across all the income sources in the end user's Items for the days requested by the client. This can contain multiple amounts, with each amount denominated in one unique currency. attr_accessor :total_amounts diff --git a/lib/plaid/models/cra_bank_income_transaction.rb b/lib/plaid/models/cra_bank_income_transaction.rb index 7fe52ed48..0a975bc94 100644 --- a/lib/plaid/models/cra_bank_income_transaction.rb +++ b/lib/plaid/models/cra_bank_income_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -175,12 +175,32 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @transaction_id.nil? + invalid_properties.push('invalid value for "transaction_id", transaction_id cannot be nil.') + end + + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + + if @date.nil? + invalid_properties.push('invalid value for "date", date cannot be nil.') + end + + if @pending.nil? + invalid_properties.push('invalid value for "pending", pending cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @transaction_id.nil? + return false if @amount.nil? + return false if @date.nil? + return false if @pending.nil? true end diff --git a/lib/plaid/models/cra_bank_income_warning.rb b/lib/plaid/models/cra_bank_income_warning.rb index e76984ee7..62ec3d40e 100644 --- a/lib/plaid/models/cra_bank_income_warning.rb +++ b/lib/plaid/models/cra_bank_income_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The warning associated with the data that was unavailable for the Bank Income Report. + # The warning associated with the data that was unavailable. class CraBankIncomeWarning attr_accessor :warning_type diff --git a/lib/plaid/models/cra_bank_income_warning_code.rb b/lib/plaid/models/cra_bank_income_warning_code.rb index 6e01e53d9..444c6ed17 100644 --- a/lib/plaid/models/cra_bank_income_warning_code.rb +++ b/lib/plaid/models/cra_bank_income_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_create_request.rb b/lib/plaid/models/cra_base_report_create_request.rb similarity index 96% rename from lib/plaid/models/base_report_create_request.rb rename to lib/plaid/models/cra_base_report_create_request.rb index 3dd553bf2..d774bf6dd 100644 --- a/lib/plaid/models/base_report_create_request.rb +++ b/lib/plaid/models/cra_base_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportCreateRequest defines the request schema for `/cra/base_report/create` - class BaseReportCreateRequest + # CraBaseReportCreateRequest defines the request schema for `/cra/base_report/create` + class CraBaseReportCreateRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -95,13 +95,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportCreateRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportCreateRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_base_report_create_response.rb b/lib/plaid/models/cra_base_report_create_response.rb new file mode 100644 index 000000000..45dddeb22 --- /dev/null +++ b/lib/plaid/models/cra_base_report_create_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraBaseReportCreateResponse defines the response schema for `cra/base_report/create` + class CraBaseReportCreateResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportCreateResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_get_request.rb b/lib/plaid/models/cra_base_report_get_request.rb similarity index 94% rename from lib/plaid/models/base_report_get_request.rb rename to lib/plaid/models/cra_base_report_get_request.rb index c60b51dcb..f07b573c0 100644 --- a/lib/plaid/models/base_report_get_request.rb +++ b/lib/plaid/models/cra_base_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportGetRequest defines the request schema for `/cra/base_report/get` - class BaseReportGetRequest + # CraBaseReportGetRequest defines the request schema for `/cra/base_report/get` + class CraBaseReportGetRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportGetRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportGetRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/base_report_get_response.rb b/lib/plaid/models/cra_base_report_get_response.rb similarity index 93% rename from lib/plaid/models/base_report_get_response.rb rename to lib/plaid/models/cra_base_report_get_response.rb index 48fd0d03c..d343119be 100644 --- a/lib/plaid/models/base_report_get_response.rb +++ b/lib/plaid/models/cra_base_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportGetResponse defines the response schema for `/cra/base_report/get` - class BaseReportGetResponse + # CraBaseReportGetResponse defines the response schema for `/cra/base_report/get` + class CraBaseReportGetResponse attr_accessor :report # If the Base Report generation was successful but identity information cannot be returned, this array will contain information about the errors causing identity information to be missing @@ -57,13 +57,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportGetResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraBaseReportGetResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraBaseReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } @@ -91,6 +91,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "report", report cannot be nil.') end + if @warnings.nil? + invalid_properties.push('invalid value for "warnings", warnings cannot be nil.') + end + if @request_id.nil? invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end @@ -102,6 +106,7 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @report.nil? + return false if @warnings.nil? return false if @request_id.nil? true end diff --git a/lib/plaid/models/cra_cashflow_insights_report.rb b/lib/plaid/models/cra_cashflow_insights_report.rb new file mode 100644 index 000000000..02f43168f --- /dev/null +++ b/lib/plaid/models/cra_cashflow_insights_report.rb @@ -0,0 +1,261 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data for the CRA Cashflow Insights Report. + class CraCashflowInsightsReport + # The unique identifier associated with the Network Attributes report object. + attr_accessor :report_id + + # The time when the Network Attributes Report was generated. + attr_accessor :generated_time + + attr_accessor :plaid_check_score + + # A map of cashflow attributes, where the key is a string, and the value is a float, int, or boolean. + attr_accessor :attributes + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report_id' => :'report_id', + :'generated_time' => :'generated_time', + :'plaid_check_score' => :'plaid_check_score', + :'attributes' => :'attributes' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report_id' => :'String', + :'generated_time' => :'Time', + :'plaid_check_score' => :'PlaidCheckScore', + :'attributes' => :'Object' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCashflowInsightsReport` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCashflowInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report_id') + self.report_id = attributes[:'report_id'] + end + + if attributes.key?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'plaid_check_score') + self.plaid_check_score = attributes[:'plaid_check_score'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report_id.nil? + invalid_properties.push('invalid value for "report_id", report_id cannot be nil.') + end + + if @generated_time.nil? + invalid_properties.push('invalid value for "generated_time", generated_time cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report_id.nil? + return false if @generated_time.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report_id == o.report_id && + generated_time == o.generated_time && + plaid_check_score == o.plaid_check_score && + attributes == o.attributes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report_id, generated_time, plaid_check_score, attributes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_check_report_base_report_get_request.rb b/lib/plaid/models/cra_check_report_base_report_get_request.rb index e19cc3b4c..b23ad3dbb 100644 --- a/lib/plaid/models/cra_check_report_base_report_get_request.rb +++ b/lib/plaid/models/cra_check_report_base_report_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_base_report_get_response.rb b/lib/plaid/models/cra_check_report_base_report_get_response.rb index 42ef20008..e743a3a64 100644 --- a/lib/plaid/models/cra_check_report_base_report_get_response.rb +++ b/lib/plaid/models/cra_check_report_base_report_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -91,6 +91,10 @@ def list_invalid_properties invalid_properties.push('invalid value for "report", report cannot be nil.') end + if @warnings.nil? + invalid_properties.push('invalid value for "warnings", warnings cannot be nil.') + end + if @request_id.nil? invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') end @@ -102,6 +106,7 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @report.nil? + return false if @warnings.nil? return false if @request_id.nil? true end diff --git a/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb b/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb new file mode 100644 index 000000000..d94c71699 --- /dev/null +++ b/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines configuration options to generate Cashflow Insights + class CraCheckReportCashflowInsightsGetOptions + # The version of the Plaid Check score to return + attr_accessor :plaid_check_score_version + + attr_accessor :attributes_version + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'plaid_check_score_version' => :'plaid_check_score_version', + :'attributes_version' => :'attributes_version' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'plaid_check_score_version' => :'String', + :'attributes_version' => :'CashflowAttributesVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score_version', + :'attributes_version' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportCashflowInsightsGetOptions` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportCashflowInsightsGetOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'plaid_check_score_version') + self.plaid_check_score_version = attributes[:'plaid_check_score_version'] + end + + if attributes.key?(:'attributes_version') + self.attributes_version = attributes[:'attributes_version'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + plaid_check_score_version == o.plaid_check_score_version && + attributes_version == o.attributes_version + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [plaid_check_score_version, attributes_version].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_check_report_create_request.rb b/lib/plaid/models/cra_check_report_create_request.rb index b000ef55a..d7c1f1833 100644 --- a/lib/plaid/models/cra_check_report_create_request.rb +++ b/lib/plaid/models/cra_check_report_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,7 +28,7 @@ class CraCheckReportCreateRequest # The destination URL to which webhooks will be sent attr_accessor :webhook - # The number of days of data to request for the report + # The number of days of data to request for the report. If requesting Income Insights, a minimum of 90 days is recommended in order to receive both historical and forecasted income. attr_accessor :days_requested # Products that will be retrieved in this report. This configuration will determine what data types to fetch from the user's financial institution. If omitted, the data types needed to support all products will be fetched. @@ -153,11 +153,15 @@ def list_invalid_properties invalid_properties.push('invalid value for "webhook", webhook cannot be nil.') end - if !@days_requested.nil? && @days_requested > 731 + if @days_requested.nil? + invalid_properties.push('invalid value for "days_requested", days_requested cannot be nil.') + end + + if @days_requested > 731 invalid_properties.push('invalid value for "days_requested", must be smaller than or equal to 731.') end - if !@days_requested.nil? && @days_requested < 1 + if @days_requested < 1 invalid_properties.push('invalid value for "days_requested", must be greater than or equal to 1.') end @@ -174,8 +178,9 @@ def list_invalid_properties def valid? return false if @user_token.nil? return false if @webhook.nil? - return false if !@days_requested.nil? && @days_requested > 731 - return false if !@days_requested.nil? && @days_requested < 1 + return false if @days_requested.nil? + return false if @days_requested > 731 + return false if @days_requested < 1 return false if @consumer_report_permissible_purpose.nil? true end @@ -183,11 +188,15 @@ def valid? # Custom attribute writer method with validation # @param [Object] days_requested Value to be assigned def days_requested=(days_requested) - if !days_requested.nil? && days_requested > 731 + if days_requested.nil? + fail ArgumentError, 'days_requested cannot be nil' + end + + if days_requested > 731 fail ArgumentError, 'invalid value for "days_requested", must be smaller than or equal to 731.' end - if !days_requested.nil? && days_requested < 1 + if days_requested < 1 fail ArgumentError, 'invalid value for "days_requested", must be greater than or equal to 1.' end diff --git a/lib/plaid/models/cra_check_report_create_response.rb b/lib/plaid/models/cra_check_report_create_response.rb index c2ebe484c..b9c5ec1f3 100644 --- a/lib/plaid/models/cra_check_report_create_response.rb +++ b/lib/plaid/models/cra_check_report_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_failed_webhook.rb b/lib/plaid/models/cra_check_report_failed_webhook.rb index 22cfdcc5f..d43ca4c6c 100644 --- a/lib/plaid/models/cra_check_report_failed_webhook.rb +++ b/lib/plaid/models/cra_check_report_failed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_income_insights_get_request.rb b/lib/plaid/models/cra_check_report_income_insights_get_request.rb index ef9b2dc94..aee0e6e9e 100644 --- a/lib/plaid/models/cra_check_report_income_insights_get_request.rb +++ b/lib/plaid/models/cra_check_report_income_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_income_insights_get_response.rb b/lib/plaid/models/cra_check_report_income_insights_get_response.rb index af519c392..d5bcdbbf9 100644 --- a/lib/plaid/models/cra_check_report_income_insights_get_response.rb +++ b/lib/plaid/models/cra_check_report_income_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_network_attributes_get_request.rb b/lib/plaid/models/cra_check_report_network_insights_get_request.rb similarity index 93% rename from lib/plaid/models/cra_check_report_network_attributes_get_request.rb rename to lib/plaid/models/cra_check_report_network_insights_get_request.rb index 082ad34e4..a3e3e436e 100644 --- a/lib/plaid/models/cra_check_report_network_attributes_get_request.rb +++ b/lib/plaid/models/cra_check_report_network_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # CraCheckReportNetworkAttributesGetRequest defines the request schema for `/cra/check_report/network_attributes/get`. - class CraCheckReportNetworkAttributesGetRequest + # CraCheckReportNetworkInsightsGetRequest defines the request schema for `/cra/check_report/network_attributes/get`. + class CraCheckReportNetworkInsightsGetRequest # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkAttributesGetRequest` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkInsightsGetRequest` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkAttributesGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkInsightsGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_check_report_network_attributes_get_response.rb b/lib/plaid/models/cra_check_report_network_insights_get_response.rb similarity index 92% rename from lib/plaid/models/cra_check_report_network_attributes_get_response.rb rename to lib/plaid/models/cra_check_report_network_insights_get_response.rb index c1c7a46cd..53272e085 100644 --- a/lib/plaid/models/cra_check_report_network_attributes_get_response.rb +++ b/lib/plaid/models/cra_check_report_network_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # CraCheckReportNetworkAttributesGetResponse defines the response schema for `/cra/check_report/network_attributes/get`. - class CraCheckReportNetworkAttributesGetResponse + # CraCheckReportNetworkInsightsGetResponse defines the response schema for `/cra/check_report/network_attributes/get`. + class CraCheckReportNetworkInsightsGetResponse attr_accessor :report # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. @@ -37,7 +37,7 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'report' => :'CraNetworkAttributesReport', + :'report' => :'CraNetworkInsightsReport', :'request_id' => :'String' } end @@ -52,13 +52,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkAttributesGetResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraCheckReportNetworkInsightsGetResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkAttributesGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraCheckReportNetworkInsightsGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_options.rb b/lib/plaid/models/cra_check_report_partner_insights_get_options.rb index 791514de0..491fb9c80 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_options.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,13 @@ class CraCheckReportPartnerInsightsGetOptions # The specific Prism Data products to return. If none are passed in, then all products will be returned. attr_accessor :prism_products + attr_accessor :prism_versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'prism_products' => :'prism_products' + :'prism_products' => :'prism_products', + :'prism_versions' => :'prism_versions' } end @@ -34,13 +37,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'prism_products' => :'Array' + :'prism_products' => :'Array', + :'prism_versions' => :'PrismVersions' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'prism_versions' ]) end @@ -64,6 +69,10 @@ def initialize(attributes = {}) self.prism_products = value end end + + if attributes.key?(:'prism_versions') + self.prism_versions = attributes[:'prism_versions'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -84,7 +93,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - prism_products == o.prism_products + prism_products == o.prism_products && + prism_versions == o.prism_versions end # @see the `==` method @@ -96,7 +106,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [prism_products].hash + [prism_products, prism_versions].hash end # Builds the object from hash diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_request.rb b/lib/plaid/models/cra_check_report_partner_insights_get_request.rb index 37aba5d95..ee6aea4fd 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_request.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_response.rb b/lib/plaid/models/cra_check_report_partner_insights_get_response.rb index 2a72779cb..79b16c3a1 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_response.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_pdf_get_request.rb b/lib/plaid/models/cra_check_report_pdf_get_request.rb index 5820e3897..7600d464a 100644 --- a/lib/plaid/models/cra_check_report_pdf_get_request.rb +++ b/lib/plaid/models/cra_check_report_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_product.rb b/lib/plaid/models/cra_check_report_product.rb index 298e978b2..395c9bf76 100644 --- a/lib/plaid/models/cra_check_report_product.rb +++ b/lib/plaid/models/cra_check_report_product.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_ready_webhook.rb b/lib/plaid/models/cra_check_report_ready_webhook.rb index 05b074fef..7d528b4cb 100644 --- a/lib/plaid/models/cra_check_report_ready_webhook.rb +++ b/lib/plaid/models/cra_check_report_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_insights.rb b/lib/plaid/models/cra_income_insights.rb index f8f25f30f..18812b880 100644 --- a/lib/plaid/models/cra_income_insights.rb +++ b/lib/plaid/models/cra_income_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,15 +14,15 @@ require 'time' module Plaid - # The report of the Bank Income data for an end user. + # The Check Income Insights Report for an end user. class CraIncomeInsights - # The unique identifier associated with the Bank Income Report. + # The unique identifier associated with the Check Income Insights Report. attr_accessor :report_id - # The time when the Bank Income Report was generated. + # The time when the Check Income Insights Report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the Check Income Insights Report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CraIncomeInsights attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings object will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/cra_loan_application.rb b/lib/plaid/models/cra_loan_application.rb index d57bb1891..13ad3d799 100644 --- a/lib/plaid/models/cra_loan_application.rb +++ b/lib/plaid/models/cra_loan_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_application_decision.rb b/lib/plaid/models/cra_loan_application_decision.rb index b89fc2493..1b83cf9f7 100644 --- a/lib/plaid/models/cra_loan_application_decision.rb +++ b/lib/plaid/models/cra_loan_application_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_closed_status.rb b/lib/plaid/models/cra_loan_closed_status.rb index c68c530ac..8b834c152 100644 --- a/lib/plaid/models/cra_loan_closed_status.rb +++ b/lib/plaid/models/cra_loan_closed_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_opened_status.rb b/lib/plaid/models/cra_loan_opened_status.rb index d048eb778..effbc262d 100644 --- a/lib/plaid/models/cra_loan_opened_status.rb +++ b/lib/plaid/models/cra_loan_opened_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_payment_history.rb b/lib/plaid/models/cra_loan_payment_history.rb index fefaa0137..1ef1e1950 100644 --- a/lib/plaid/models/cra_loan_payment_history.rb +++ b/lib/plaid/models/cra_loan_payment_history.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_payment_schedule.rb b/lib/plaid/models/cra_loan_payment_schedule.rb index f1958e726..834a7796f 100644 --- a/lib/plaid/models/cra_loan_payment_schedule.rb +++ b/lib/plaid/models/cra_loan_payment_schedule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_register.rb b/lib/plaid/models/cra_loan_register.rb index 38ceb36cf..f452f14a9 100644 --- a/lib/plaid/models/cra_loan_register.rb +++ b/lib/plaid/models/cra_loan_register.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_register_application.rb b/lib/plaid/models/cra_loan_register_application.rb index 58e0faabf..496888895 100644 --- a/lib/plaid/models/cra_loan_register_application.rb +++ b/lib/plaid/models/cra_loan_register_application.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_status.rb b/lib/plaid/models/cra_loan_status.rb index 1baf8be73..39d75efb5 100644 --- a/lib/plaid/models/cra_loan_status.rb +++ b/lib/plaid/models/cra_loan_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_status_history_update.rb b/lib/plaid/models/cra_loan_status_history_update.rb index 218bf0b5a..0bc0c297d 100644 --- a/lib/plaid/models/cra_loan_status_history_update.rb +++ b/lib/plaid/models/cra_loan_status_history_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_type.rb b/lib/plaid/models/cra_loan_type.rb index 00aca580b..d8bf7bc35 100644 --- a/lib/plaid/models/cra_loan_type.rb +++ b/lib/plaid/models/cra_loan_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_unregister.rb b/lib/plaid/models/cra_loan_unregister.rb index 62b344381..f15d7e8ee 100644 --- a/lib/plaid/models/cra_loan_unregister.rb +++ b/lib/plaid/models/cra_loan_unregister.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_unregister_response.rb b/lib/plaid/models/cra_loan_unregister_response.rb index 04e0a86da..e50f44afb 100644 --- a/lib/plaid/models/cra_loan_unregister_response.rb +++ b/lib/plaid/models/cra_loan_unregister_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_update.rb b/lib/plaid/models/cra_loan_update.rb index de14268cd..83b1dc98b 100644 --- a/lib/plaid/models/cra_loan_update.rb +++ b/lib/plaid/models/cra_loan_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_applications_register_request.rb b/lib/plaid/models/cra_loans_applications_register_request.rb index 9a9dbfc12..1e824b8d6 100644 --- a/lib/plaid/models/cra_loans_applications_register_request.rb +++ b/lib/plaid/models/cra_loans_applications_register_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_applications_register_response.rb b/lib/plaid/models/cra_loans_applications_register_response.rb index 243cf503f..472b53d1c 100644 --- a/lib/plaid/models/cra_loans_applications_register_response.rb +++ b/lib/plaid/models/cra_loans_applications_register_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_register_request.rb b/lib/plaid/models/cra_loans_register_request.rb index 81fde88fc..08e97f1ca 100644 --- a/lib/plaid/models/cra_loans_register_request.rb +++ b/lib/plaid/models/cra_loans_register_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_register_response.rb b/lib/plaid/models/cra_loans_register_response.rb index 949a7d199..ec946dfbb 100644 --- a/lib/plaid/models/cra_loans_register_response.rb +++ b/lib/plaid/models/cra_loans_register_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_unregister_request.rb b/lib/plaid/models/cra_loans_unregister_request.rb index 260a45d96..2cda22b02 100644 --- a/lib/plaid/models/cra_loans_unregister_request.rb +++ b/lib/plaid/models/cra_loans_unregister_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_update_request.rb b/lib/plaid/models/cra_loans_update_request.rb index f4e3a4c01..c8f33fbe2 100644 --- a/lib/plaid/models/cra_loans_update_request.rb +++ b/lib/plaid/models/cra_loans_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loans_update_response.rb b/lib/plaid/models/cra_loans_update_response.rb index d6570e2fb..ad56ba2c6 100644 --- a/lib/plaid/models/cra_loans_update_response.rb +++ b/lib/plaid/models/cra_loans_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_get_request.rb b/lib/plaid/models/cra_monitoring_insights_get_request.rb new file mode 100644 index 000000000..b5dd594a8 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_get_request.rb @@ -0,0 +1,246 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsGetRequest defines the request schema for `/cra/monitoring_insights/get` + class CraMonitoringInsightsGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The user token associated with the User data is being requested for. + attr_accessor :user_token + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_token' => :'user_token' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user_token' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user_token.nil? + invalid_properties.push('invalid value for "user_token", user_token cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user_token.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user_token == o.user_token + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user_token].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_get_response.rb b/lib/plaid/models/cra_monitoring_insights_get_response.rb new file mode 100644 index 000000000..7b9fa0aa8 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_get_response.rb @@ -0,0 +1,243 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsGetResponse defines the response schema for `cra/monitoring_insights/get` + class CraMonitoringInsightsGetResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # An array of the Monitoring Insights Item + attr_accessor :items + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id', + :'items' => :'items' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String', + :'items' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + + if attributes.key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + if @items.nil? + invalid_properties.push('invalid value for "items", items cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + return false if @items.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id && + items == o.items + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id, items].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_item.rb b/lib/plaid/models/cra_monitoring_insights_item.rb new file mode 100644 index 000000000..5e8c19659 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_item.rb @@ -0,0 +1,269 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing a Monitoring Insights Item + class CraMonitoringInsightsItem + # The date and time when the specific insights were generated (per-item), in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (e.g. \"2018-04-12T03:32:11Z\"). + attr_accessor :date_generated + + # The `item_id` of the Item associated with the insights + attr_accessor :item_id + + attr_accessor :status + + attr_accessor :insights + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'date_generated' => :'date_generated', + :'item_id' => :'item_id', + :'status' => :'status', + :'insights' => :'insights' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'date_generated' => :'Time', + :'item_id' => :'String', + :'status' => :'MonitoringInsightsItemStatus', + :'insights' => :'MonitoringInsights' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsItem` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'date_generated') + self.date_generated = attributes[:'date_generated'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'insights') + self.insights = attributes[:'insights'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @date_generated.nil? + invalid_properties.push('invalid value for "date_generated", date_generated cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @status.nil? + invalid_properties.push('invalid value for "status", status cannot be nil.') + end + + if @insights.nil? + invalid_properties.push('invalid value for "insights", insights cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @date_generated.nil? + return false if @item_id.nil? + return false if @status.nil? + return false if @insights.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + date_generated == o.date_generated && + item_id == o.item_id && + status == o.status && + insights == o.insights + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [date_generated, item_id, status, insights].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb new file mode 100644 index 000000000..f83a810ae --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb @@ -0,0 +1,261 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsSubscribeRequest defines the request schema for `/cra/monitoring_insights/subscribe` + class CraMonitoringInsightsSubscribeRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The user token associated with the User data is being requested for. + attr_accessor :user_token + + # URL to which Plaid will send Monitoring Insights webhooks, for example when the requested Monitoring Insights is ready. + attr_accessor :webhook + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_token' => :'user_token', + :'webhook' => :'webhook' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user_token' => :'String', + :'webhook' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsSubscribeRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsSubscribeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + + if attributes.key?(:'webhook') + self.webhook = attributes[:'webhook'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user_token.nil? + invalid_properties.push('invalid value for "user_token", user_token cannot be nil.') + end + + if @webhook.nil? + invalid_properties.push('invalid value for "webhook", webhook cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user_token.nil? + return false if @webhook.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user_token == o.user_token && + webhook == o.webhook + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user_token, webhook].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb new file mode 100644 index 000000000..a57ec6a5f --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsSubscribeResponse defines the response schema for `cra/monitoring_insights/subscribe` + class CraMonitoringInsightsSubscribeResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # A unique identifier for the subscription, which can be used for troubleshooting + attr_accessor :subscription_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id', + :'subscription_id' => :'subscription_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String', + :'subscription_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsSubscribeResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsSubscribeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + + if attributes.key?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + return false if @subscription_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id && + subscription_id == o.subscription_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id, subscription_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb new file mode 100644 index 000000000..6a005d5c6 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb @@ -0,0 +1,246 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsUnsubscribeRequest defines the request schema for `/cra/monitoring_insights/unsubscribe` + class CraMonitoringInsightsUnsubscribeRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A unique identifier for the subscription, which can be used for troubleshooting + attr_accessor :subscription_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'subscription_id' => :'subscription_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'subscription_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsUnsubscribeRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsUnsubscribeRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @subscription_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + subscription_id == o.subscription_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, subscription_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb new file mode 100644 index 000000000..48a013ca7 --- /dev/null +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraMonitoringInsightsUnsubscribeResponse defines the response schema for `cra/monitoring_insights/unsubscribe` + class CraMonitoringInsightsUnsubscribeResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraMonitoringInsightsUnsubscribeResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraMonitoringInsightsUnsubscribeResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/cra_network_attributes_item.rb b/lib/plaid/models/cra_network_insights_item.rb similarity index 96% rename from lib/plaid/models/cra_network_attributes_item.rb rename to lib/plaid/models/cra_network_insights_item.rb index 1a01ccc6a..928f41aac 100644 --- a/lib/plaid/models/cra_network_attributes_item.rb +++ b/lib/plaid/models/cra_network_insights_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid # Contains data about the connected Item. - class CraNetworkAttributesItem + class CraNetworkInsightsItem # The ID for the institution the user linked. attr_accessor :institution_id @@ -58,13 +58,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkAttributesItem` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkInsightsItem` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkAttributesItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_network_attributes_report.rb b/lib/plaid/models/cra_network_insights_report.rb similarity index 95% rename from lib/plaid/models/cra_network_attributes_report.rb rename to lib/plaid/models/cra_network_insights_report.rb index e7eb60bcc..954c44b97 100644 --- a/lib/plaid/models/cra_network_attributes_report.rb +++ b/lib/plaid/models/cra_network_insights_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid # Contains data for the CRA Network Attributes Report. - class CraNetworkAttributesReport + class CraNetworkInsightsReport # The unique identifier associated with the Network Attributes report object. attr_accessor :report_id @@ -49,7 +49,7 @@ def self.openapi_types :'report_id' => :'String', :'generated_time' => :'Time', :'network_attributes' => :'Object', - :'items' => :'Array' + :'items' => :'Array' } end @@ -63,13 +63,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkAttributesReport` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraNetworkInsightsReport` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkAttributesReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::CraNetworkInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/cra_partner_insights.rb b/lib/plaid/models/cra_partner_insights.rb index 42bd5bdf5..47595c87e 100644 --- a/lib/plaid/models/cra_partner_insights.rb +++ b/lib/plaid/models/cra_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_complete_webhook.rb b/lib/plaid/models/cra_partner_insights_complete_webhook.rb index 99ec2615f..3f9bbf002 100644 --- a/lib/plaid/models/cra_partner_insights_complete_webhook.rb +++ b/lib/plaid/models/cra_partner_insights_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_error_webhook.rb b/lib/plaid/models/cra_partner_insights_error_webhook.rb index 86ce2dcfb..20f8f81e3 100644 --- a/lib/plaid/models/cra_partner_insights_error_webhook.rb +++ b/lib/plaid/models/cra_partner_insights_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_get_request.rb b/lib/plaid/models/cra_partner_insights_get_request.rb index 16bb837d5..19fcb8407 100644 --- a/lib/plaid/models/cra_partner_insights_get_request.rb +++ b/lib/plaid/models/cra_partner_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_get_response.rb b/lib/plaid/models/cra_partner_insights_get_response.rb index 3a6cdf256..075aeb260 100644 --- a/lib/plaid/models/cra_partner_insights_get_response.rb +++ b/lib/plaid/models/cra_partner_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_item.rb b/lib/plaid/models/cra_partner_insights_item.rb index a9e66b56b..0d6792233 100644 --- a/lib/plaid/models/cra_partner_insights_item.rb +++ b/lib/plaid/models/cra_partner_insights_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_item_account.rb b/lib/plaid/models/cra_partner_insights_item_account.rb index 01f48fe4c..284a871f4 100644 --- a/lib/plaid/models/cra_partner_insights_item_account.rb +++ b/lib/plaid/models/cra_partner_insights_item_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_prism.rb b/lib/plaid/models/cra_partner_insights_prism.rb index 4830b6bf7..d1a1191f9 100644 --- a/lib/plaid/models/cra_partner_insights_prism.rb +++ b/lib/plaid/models/cra_partner_insights_prism.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_pdf_add_ons.rb b/lib/plaid/models/cra_pdf_add_ons.rb index 2163e8169..f79084976 100644 --- a/lib/plaid/models/cra_pdf_add_ons.rb +++ b/lib/plaid/models/cra_pdf_add_ons.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_prediction_interval.rb b/lib/plaid/models/cra_prediction_interval.rb index 526c849d3..74cb40271 100644 --- a/lib/plaid/models/cra_prediction_interval.rb +++ b/lib/plaid/models/cra_prediction_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099.rb b/lib/plaid/models/credit1099.rb index 19b11a509..0e8bb889c 100644 --- a/lib/plaid/models/credit1099.rb +++ b/lib/plaid/models/credit1099.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_filer.rb b/lib/plaid/models/credit1099_filer.rb index e56d671b9..3b0029c8d 100644 --- a/lib/plaid/models/credit1099_filer.rb +++ b/lib/plaid/models/credit1099_filer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_payer.rb b/lib/plaid/models/credit1099_payer.rb index 4e73c7c43..ecee713b6 100644 --- a/lib/plaid/models/credit1099_payer.rb +++ b/lib/plaid/models/credit1099_payer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit1099_recipient.rb b/lib/plaid/models/credit1099_recipient.rb index 184719d10..e03ca73bb 100644 --- a/lib/plaid/models/credit1099_recipient.rb +++ b/lib/plaid/models/credit1099_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_account_subtype.rb b/lib/plaid/models/credit_account_subtype.rb index a4f8475e3..ce0dc5b20 100644 --- a/lib/plaid/models/credit_account_subtype.rb +++ b/lib/plaid/models/credit_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_ach_class.rb b/lib/plaid/models/credit_ach_class.rb index f20904f36..f045ad674 100644 --- a/lib/plaid/models/credit_ach_class.rb +++ b/lib/plaid/models/credit_ach_class.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_amount_with_currency.rb b/lib/plaid/models/credit_amount_with_currency.rb index ba2916b27..3de52dc92 100644 --- a/lib/plaid/models/credit_amount_with_currency.rb +++ b/lib/plaid/models/credit_amount_with_currency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -88,12 +88,17 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @amount.nil? + invalid_properties.push('invalid value for "amount", amount cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @amount.nil? true end diff --git a/lib/plaid/models/credit_audit_copy_token_create_request.rb b/lib/plaid/models/credit_audit_copy_token_create_request.rb index 690299b55..d7c5f6b16 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_create_response.rb b/lib/plaid/models/credit_audit_copy_token_create_response.rb index c4ab78eb4..19f37fae7 100644 --- a/lib/plaid/models/credit_audit_copy_token_create_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_request.rb b/lib/plaid/models/credit_audit_copy_token_remove_request.rb index 2ab45535d..714071c7a 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_remove_response.rb b/lib/plaid/models/credit_audit_copy_token_remove_response.rb index 49814316b..9513b2d83 100644 --- a/lib/plaid/models/credit_audit_copy_token_remove_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_update_request.rb b/lib/plaid/models/credit_audit_copy_token_update_request.rb index 33212c577..10e2f4787 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_request.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_audit_copy_token_update_response.rb b/lib/plaid/models/credit_audit_copy_token_update_response.rb index 5648c0c6f..9e44e43c0 100644 --- a/lib/plaid/models/credit_audit_copy_token_update_response.rb +++ b/lib/plaid/models/credit_audit_copy_token_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employer.rb b/lib/plaid/models/credit_bank_employer.rb index 89f0ebf5e..88c20f6d8 100644 --- a/lib/plaid/models/credit_bank_employer.rb +++ b/lib/plaid/models/credit_bank_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment.rb b/lib/plaid/models/credit_bank_employment.rb index 805b74934..9789aed06 100644 --- a/lib/plaid/models/credit_bank_employment.rb +++ b/lib/plaid/models/credit_bank_employment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_get_request.rb b/lib/plaid/models/credit_bank_employment_get_request.rb index 48e800833..dad4253b2 100644 --- a/lib/plaid/models/credit_bank_employment_get_request.rb +++ b/lib/plaid/models/credit_bank_employment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_get_response.rb b/lib/plaid/models/credit_bank_employment_get_response.rb index b4b8988fd..3ec6fb269 100644 --- a/lib/plaid/models/credit_bank_employment_get_response.rb +++ b/lib/plaid/models/credit_bank_employment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_item.rb b/lib/plaid/models/credit_bank_employment_item.rb index 01a47195f..5574c0212 100644 --- a/lib/plaid/models/credit_bank_employment_item.rb +++ b/lib/plaid/models/credit_bank_employment_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_report.rb b/lib/plaid/models/credit_bank_employment_report.rb index 9ef32483a..ad1565126 100644 --- a/lib/plaid/models/credit_bank_employment_report.rb +++ b/lib/plaid/models/credit_bank_employment_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_warning.rb b/lib/plaid/models/credit_bank_employment_warning.rb index 2b37f123b..0887d9ea4 100644 --- a/lib/plaid/models/credit_bank_employment_warning.rb +++ b/lib/plaid/models/credit_bank_employment_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_employment_warning_type.rb b/lib/plaid/models/credit_bank_employment_warning_type.rb index b55463fa1..131523de0 100644 --- a/lib/plaid/models/credit_bank_employment_warning_type.rb +++ b/lib/plaid/models/credit_bank_employment_warning_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income.rb b/lib/plaid/models/credit_bank_income.rb index 6637bb03b..3b4bc9cef 100644 --- a/lib/plaid/models/credit_bank_income.rb +++ b/lib/plaid/models/credit_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,10 @@ class CreditBankIncome # The unique identifier associated with the Bank Income Report. attr_accessor :bank_income_id - # The time when the Bank Income Report was generated. + # The time when the report was generated. attr_accessor :generated_time - # The number of days requested by the customer for the Bank Income Report. + # The number of days requested by the customer for the report. attr_accessor :days_requested # The list of Items in the report along with the associated metadata about the Item. @@ -30,7 +30,7 @@ class CreditBankIncome attr_accessor :bank_income_summary - # If data from the Bank Income report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. + # If data from the report was unable to be retrieved, the warnings will contain information about the error that caused the data to be incomplete. attr_accessor :warnings # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index 313b6666b..5b2a84678 100644 --- a/lib/plaid/models/credit_bank_income_account.rb +++ b/lib/plaid/models/credit_bank_income_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_account_type.rb b/lib/plaid/models/credit_bank_income_account_type.rb index e4c7f9ead..bfb75e5fc 100644 --- a/lib/plaid/models/credit_bank_income_account_type.rb +++ b/lib/plaid/models/credit_bank_income_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_category.rb b/lib/plaid/models/credit_bank_income_category.rb index 6868801eb..2f17a7c98 100644 --- a/lib/plaid/models/credit_bank_income_category.rb +++ b/lib/plaid/models/credit_bank_income_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_cause.rb b/lib/plaid/models/credit_bank_income_cause.rb index a64609a9d..0c89327b3 100644 --- a/lib/plaid/models/credit_bank_income_cause.rb +++ b/lib/plaid/models/credit_bank_income_cause.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_error_type.rb b/lib/plaid/models/credit_bank_income_error_type.rb index f78a5cac8..37d0f5820 100644 --- a/lib/plaid/models/credit_bank_income_error_type.rb +++ b/lib/plaid/models/credit_bank_income_error_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_request.rb b/lib/plaid/models/credit_bank_income_get_request.rb index 7d9abaa1b..396702d23 100644 --- a/lib/plaid/models/credit_bank_income_get_request.rb +++ b/lib/plaid/models/credit_bank_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_request_options.rb b/lib/plaid/models/credit_bank_income_get_request_options.rb index 71cc894bc..0f2250959 100644 --- a/lib/plaid/models/credit_bank_income_get_request_options.rb +++ b/lib/plaid/models/credit_bank_income_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_get_response.rb b/lib/plaid/models/credit_bank_income_get_response.rb index 4f9c9313a..e3cc39106 100644 --- a/lib/plaid/models/credit_bank_income_get_response.rb +++ b/lib/plaid/models/credit_bank_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_historical_summary.rb b/lib/plaid/models/credit_bank_income_historical_summary.rb index 21f296cbb..b06385bbe 100644 --- a/lib/plaid/models/credit_bank_income_historical_summary.rb +++ b/lib/plaid/models/credit_bank_income_historical_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_item.rb b/lib/plaid/models/credit_bank_income_item.rb index 176267f5f..670e39353 100644 --- a/lib/plaid/models/credit_bank_income_item.rb +++ b/lib/plaid/models/credit_bank_income_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_pay_frequency.rb b/lib/plaid/models/credit_bank_income_pay_frequency.rb index aec07a72c..1581dcd93 100644 --- a/lib/plaid/models/credit_bank_income_pay_frequency.rb +++ b/lib/plaid/models/credit_bank_income_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_pdf_get_request.rb b/lib/plaid/models/credit_bank_income_pdf_get_request.rb index 6ea3a2872..c340d6fa8 100644 --- a/lib/plaid/models/credit_bank_income_pdf_get_request.rb +++ b/lib/plaid/models/credit_bank_income_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index da18f4915..9d2001c0e 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_request_options.rb b/lib/plaid/models/credit_bank_income_refresh_request_options.rb index 52fcafb83..77d9435cb 100644 --- a/lib/plaid/models/credit_bank_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_bank_income_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_refresh_response.rb b/lib/plaid/models/credit_bank_income_refresh_response.rb index 287a265b2..1ec0f874b 100644 --- a/lib/plaid/models/credit_bank_income_refresh_response.rb +++ b/lib/plaid/models/credit_bank_income_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_source.rb b/lib/plaid/models/credit_bank_income_source.rb index 3ebeb0bab..ff4384c3a 100644 --- a/lib/plaid/models/credit_bank_income_source.rb +++ b/lib/plaid/models/credit_bank_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_summary.rb b/lib/plaid/models/credit_bank_income_summary.rb index 9d6b464d1..0f899e12a 100644 --- a/lib/plaid/models/credit_bank_income_summary.rb +++ b/lib/plaid/models/credit_bank_income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_transaction.rb b/lib/plaid/models/credit_bank_income_transaction.rb index e8c82dcae..aea9336c8 100644 --- a/lib/plaid/models/credit_bank_income_transaction.rb +++ b/lib/plaid/models/credit_bank_income_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning.rb b/lib/plaid/models/credit_bank_income_warning.rb index b581c6642..efd672688 100644 --- a/lib/plaid/models/credit_bank_income_warning.rb +++ b/lib/plaid/models/credit_bank_income_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning_code.rb b/lib/plaid/models/credit_bank_income_warning_code.rb index 2946655d6..c30cbb3c0 100644 --- a/lib/plaid/models/credit_bank_income_warning_code.rb +++ b/lib/plaid/models/credit_bank_income_warning_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_warning_type.rb b/lib/plaid/models/credit_bank_income_warning_type.rb index 027ac35d6..aa79045b7 100644 --- a/lib/plaid/models/credit_bank_income_warning_type.rb +++ b/lib/plaid/models/credit_bank_income_warning_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_webhook_update_request.rb b/lib/plaid/models/credit_bank_income_webhook_update_request.rb index 4c8b4be3b..20a43b670 100644 --- a/lib/plaid/models/credit_bank_income_webhook_update_request.rb +++ b/lib/plaid/models/credit_bank_income_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_webhook_update_response.rb b/lib/plaid/models/credit_bank_income_webhook_update_response.rb index 65cfc1c42..780346e4d 100644 --- a/lib/plaid/models/credit_bank_income_webhook_update_response.rb +++ b/lib/plaid/models/credit_bank_income_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb index e61444512..7aabaed35 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb index 067e239dc..32970b745 100644 --- a/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb +++ b/lib/plaid/models/credit_bank_statement_upload_account_owner_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb index 9943992f2..c7979fa93 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb index cc2c4794b..9a42555c8 100644 --- a/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb +++ b/lib/plaid/models/credit_bank_statement_upload_bank_account_period.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_item.rb b/lib/plaid/models/credit_bank_statement_upload_item.rb index cf8ef4ca1..e030bbdd3 100644 --- a/lib/plaid/models/credit_bank_statement_upload_item.rb +++ b/lib/plaid/models/credit_bank_statement_upload_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_object.rb b/lib/plaid/models/credit_bank_statement_upload_object.rb index d402e5d2a..ea7d6365e 100644 --- a/lib/plaid/models/credit_bank_statement_upload_object.rb +++ b/lib/plaid/models/credit_bank_statement_upload_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statement_upload_transaction.rb b/lib/plaid/models/credit_bank_statement_upload_transaction.rb index 728601448..d9d3309fd 100644 --- a/lib/plaid/models/credit_bank_statement_upload_transaction.rb +++ b/lib/plaid/models/credit_bank_statement_upload_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb index ee58a5faa..a248d0174 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_request.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb b/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb index 85b49f4c3..06b93e695 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb index 8d27cb57b..d240cb406 100644 --- a/lib/plaid/models/credit_bank_statements_uploads_get_response.rb +++ b/lib/plaid/models/credit_bank_statements_uploads_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_card_liability.rb b/lib/plaid/models/credit_card_liability.rb index 2835350cb..acbad7f7a 100644 --- a/lib/plaid/models/credit_card_liability.rb +++ b/lib/plaid/models/credit_card_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_category.rb b/lib/plaid/models/credit_category.rb index 440b78e82..08eda7036 100644 --- a/lib/plaid/models/credit_category.rb +++ b/lib/plaid/models/credit_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_document_metadata.rb b/lib/plaid/models/credit_document_metadata.rb index c7f5d1737..3dabd2a9c 100644 --- a/lib/plaid/models/credit_document_metadata.rb +++ b/lib/plaid/models/credit_document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employer_verification.rb b/lib/plaid/models/credit_employer_verification.rb index b7fa8bdca..a202b75c0 100644 --- a/lib/plaid/models/credit_employer_verification.rb +++ b/lib/plaid/models/credit_employer_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_get_request.rb b/lib/plaid/models/credit_employment_get_request.rb index f12efcd54..cef0bfc5f 100644 --- a/lib/plaid/models/credit_employment_get_request.rb +++ b/lib/plaid/models/credit_employment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index c1ed087da..7426040e9 100644 --- a/lib/plaid/models/credit_employment_get_response.rb +++ b/lib/plaid/models/credit_employment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_item.rb b/lib/plaid/models/credit_employment_item.rb index 95e734a81..f1af5497d 100644 --- a/lib/plaid/models/credit_employment_item.rb +++ b/lib/plaid/models/credit_employment_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_employment_verification.rb b/lib/plaid/models/credit_employment_verification.rb index 124a14c9b..4aa1198c3 100644 --- a/lib/plaid/models/credit_employment_verification.rb +++ b/lib/plaid/models/credit_employment_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_filter.rb b/lib/plaid/models/credit_filter.rb index fca653f67..aafea2d2d 100644 --- a/lib/plaid/models/credit_filter.rb +++ b/lib/plaid/models/credit_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset.rb b/lib/plaid/models/credit_freddie_mac_asset.rb index d2262b5b5..1a1cee530 100644 --- a/lib/plaid/models/credit_freddie_mac_asset.rb +++ b/lib/plaid/models/credit_freddie_mac_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset_transaction.rb b/lib/plaid/models/credit_freddie_mac_asset_transaction.rb index 28f1259a4..4a7a5ea5a 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transaction.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_asset_transactions.rb b/lib/plaid/models/credit_freddie_mac_asset_transactions.rb index f30b83db4..255867961 100644 --- a/lib/plaid/models/credit_freddie_mac_asset_transactions.rb +++ b/lib/plaid/models/credit_freddie_mac_asset_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_assets.rb b/lib/plaid/models/credit_freddie_mac_assets.rb index bc6aaf2e0..86382ccbe 100644 --- a/lib/plaid/models/credit_freddie_mac_assets.rb +++ b/lib/plaid/models/credit_freddie_mac_assets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_individual_name.rb b/lib/plaid/models/credit_freddie_mac_individual_name.rb index d235494a3..d3b7f8db3 100644 --- a/lib/plaid/models/credit_freddie_mac_individual_name.rb +++ b/lib/plaid/models/credit_freddie_mac_individual_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loan.rb b/lib/plaid/models/credit_freddie_mac_loan.rb index ac8c660e6..357afd841 100644 --- a/lib/plaid/models/credit_freddie_mac_loan.rb +++ b/lib/plaid/models/credit_freddie_mac_loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb b/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb index 728e2ed6e..1b1a91304 100644 --- a/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb +++ b/lib/plaid/models/credit_freddie_mac_loan_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_loans.rb b/lib/plaid/models/credit_freddie_mac_loans.rb index 4e2a7bc3a..a68d878bf 100644 --- a/lib/plaid/models/credit_freddie_mac_loans.rb +++ b/lib/plaid/models/credit_freddie_mac_loans.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_parties.rb b/lib/plaid/models/credit_freddie_mac_parties.rb index e7c87cd5c..de142dbc0 100644 --- a/lib/plaid/models/credit_freddie_mac_parties.rb +++ b/lib/plaid/models/credit_freddie_mac_parties.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_party.rb b/lib/plaid/models/credit_freddie_mac_party.rb index 1d196a87e..deca4b7d6 100644 --- a/lib/plaid/models/credit_freddie_mac_party.rb +++ b/lib/plaid/models/credit_freddie_mac_party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_party_individual.rb b/lib/plaid/models/credit_freddie_mac_party_individual.rb index 04babd3c4..d465212af 100644 --- a/lib/plaid/models/credit_freddie_mac_party_individual.rb +++ b/lib/plaid/models/credit_freddie_mac_party_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reporting_information.rb b/lib/plaid/models/credit_freddie_mac_reporting_information.rb index b92581c7f..5673ccbf4 100644 --- a/lib/plaid/models/credit_freddie_mac_reporting_information.rb +++ b/lib/plaid/models/credit_freddie_mac_reporting_information.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb index e05d7bc46..4165bfd05 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_request.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb index 72a45139f..582810bd4 100644 --- a/lib/plaid/models/credit_freddie_mac_reports_get_response.rb +++ b/lib/plaid/models/credit_freddie_mac_reports_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_service.rb b/lib/plaid/models/credit_freddie_mac_service.rb index 82463b507..d9f7b9aee 100644 --- a/lib/plaid/models/credit_freddie_mac_service.rb +++ b/lib/plaid/models/credit_freddie_mac_service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_services.rb b/lib/plaid/models/credit_freddie_mac_services.rb index 16484ed5d..cfda41fd1 100644 --- a/lib/plaid/models/credit_freddie_mac_services.rb +++ b/lib/plaid/models/credit_freddie_mac_services.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb index 299d6acc0..f8f77f11f 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb index 8f60727a8..f61d3f7d7 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_asset_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb index 065a530b7..0a5e989ea 100644 --- a/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb +++ b/lib/plaid/models/credit_freddie_mac_verification_of_assets_deal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub.rb b/lib/plaid/models/credit_pay_stub.rb index c1c557367..3a5b0bb50 100644 --- a/lib/plaid/models/credit_pay_stub.rb +++ b/lib/plaid/models/credit_pay_stub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_address.rb b/lib/plaid/models/credit_pay_stub_address.rb index bf3c775e7..b5e5cec65 100644 --- a/lib/plaid/models/credit_pay_stub_address.rb +++ b/lib/plaid/models/credit_pay_stub_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_deductions.rb b/lib/plaid/models/credit_pay_stub_deductions.rb index 51d415fd4..3583eccf9 100644 --- a/lib/plaid/models/credit_pay_stub_deductions.rb +++ b/lib/plaid/models/credit_pay_stub_deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_earnings.rb b/lib/plaid/models/credit_pay_stub_earnings.rb index 2b8187636..303b3569c 100644 --- a/lib/plaid/models/credit_pay_stub_earnings.rb +++ b/lib/plaid/models/credit_pay_stub_earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_employee.rb b/lib/plaid/models/credit_pay_stub_employee.rb index efdae6011..a0dbdf71e 100644 --- a/lib/plaid/models/credit_pay_stub_employee.rb +++ b/lib/plaid/models/credit_pay_stub_employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_employer.rb b/lib/plaid/models/credit_pay_stub_employer.rb index ca3684fac..e8630939e 100644 --- a/lib/plaid/models/credit_pay_stub_employer.rb +++ b/lib/plaid/models/credit_pay_stub_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_net_pay.rb b/lib/plaid/models/credit_pay_stub_net_pay.rb index a85ac8688..34301728a 100644 --- a/lib/plaid/models/credit_pay_stub_net_pay.rb +++ b/lib/plaid/models/credit_pay_stub_net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb index 6685cc96b..b5ef0d8bc 100644 --- a/lib/plaid/models/credit_pay_stub_pay_basis_type.rb +++ b/lib/plaid/models/credit_pay_stub_pay_basis_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_request.rb b/lib/plaid/models/credit_payroll_income_get_request.rb index ab50206b2..1decca61e 100644 --- a/lib/plaid/models/credit_payroll_income_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_request_options.rb b/lib/plaid/models/credit_payroll_income_get_request_options.rb index 9e20b7dd0..ff7753d09 100644 --- a/lib/plaid/models/credit_payroll_income_get_request_options.rb +++ b/lib/plaid/models/credit_payroll_income_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index 1f6e09e38..4d78ad5d6 100644 --- a/lib/plaid/models/credit_payroll_income_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb b/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb index e7e16dd0e..4e0f1d011 100644 --- a/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb +++ b/lib/plaid/models/credit_payroll_income_parsing_config_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb b/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb index 9d49a05ef..a65b1c672 100644 --- a/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb +++ b/lib/plaid/models/credit_payroll_income_parsing_config_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_precheck_request.rb b/lib/plaid/models/credit_payroll_income_precheck_request.rb index 251abd685..7e345d464 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_request.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_precheck_response.rb b/lib/plaid/models/credit_payroll_income_precheck_response.rb index 04c86ef2f..eaf630a2c 100644 --- a/lib/plaid/models/credit_payroll_income_precheck_response.rb +++ b/lib/plaid/models/credit_payroll_income_precheck_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request.rb b/lib/plaid/models/credit_payroll_income_refresh_request.rb index 5a55ed5eb..7ff9c19ea 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb index a6fee6a40..b5ed6e252 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_request_options.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index 4c8f090d9..ce7f88613 100644 --- a/lib/plaid/models/credit_payroll_income_refresh_response.rb +++ b/lib/plaid/models/credit_payroll_income_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb index b575f544b..0814a92d8 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb index e32f647fc..8aedf16e2 100644 --- a/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb +++ b/lib/plaid/models/credit_payroll_income_risk_signals_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_platform_ids.rb b/lib/plaid/models/credit_platform_ids.rb index e4a2e0289..f4d3cc6a8 100644 --- a/lib/plaid/models/credit_platform_ids.rb +++ b/lib/plaid/models/credit_platform_ids.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_create_request.rb b/lib/plaid/models/credit_relay_create_request.rb index df0680f64..b87422860 100644 --- a/lib/plaid/models/credit_relay_create_request.rb +++ b/lib/plaid/models/credit_relay_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_create_response.rb b/lib/plaid/models/credit_relay_create_response.rb index 8631a7cbb..d629608bb 100644 --- a/lib/plaid/models/credit_relay_create_response.rb +++ b/lib/plaid/models/credit_relay_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_get_request.rb b/lib/plaid/models/credit_relay_get_request.rb index abf5efda8..99e56c0b8 100644 --- a/lib/plaid/models/credit_relay_get_request.rb +++ b/lib/plaid/models/credit_relay_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_pdf_get_request.rb b/lib/plaid/models/credit_relay_pdf_get_request.rb index a2d2b329e..68b7c0c24 100644 --- a/lib/plaid/models/credit_relay_pdf_get_request.rb +++ b/lib/plaid/models/credit_relay_pdf_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_refresh_request.rb b/lib/plaid/models/credit_relay_refresh_request.rb index 556bef217..e4671d358 100644 --- a/lib/plaid/models/credit_relay_refresh_request.rb +++ b/lib/plaid/models/credit_relay_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_refresh_response.rb b/lib/plaid/models/credit_relay_refresh_response.rb index bb8a70312..7f35ef846 100644 --- a/lib/plaid/models/credit_relay_refresh_response.rb +++ b/lib/plaid/models/credit_relay_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_remove_request.rb b/lib/plaid/models/credit_relay_remove_request.rb index 306ed7368..dcc423ab9 100644 --- a/lib/plaid/models/credit_relay_remove_request.rb +++ b/lib/plaid/models/credit_relay_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_relay_remove_response.rb b/lib/plaid/models/credit_relay_remove_response.rb index 3b3d23508..0422da67e 100644 --- a/lib/plaid/models/credit_relay_remove_response.rb +++ b/lib/plaid/models/credit_relay_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session.rb b/lib/plaid/models/credit_session.rb index 2cf48220f..9eca27a1d 100644 --- a/lib/plaid/models/credit_session.rb +++ b/lib/plaid/models/credit_session.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_employment_result.rb b/lib/plaid/models/credit_session_bank_employment_result.rb index 32f6c7c7e..9d7dcda14 100644 --- a/lib/plaid/models/credit_session_bank_employment_result.rb +++ b/lib/plaid/models/credit_session_bank_employment_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_employment_status.rb b/lib/plaid/models/credit_session_bank_employment_status.rb index 68a5b492b..98ca638b7 100644 --- a/lib/plaid/models/credit_session_bank_employment_status.rb +++ b/lib/plaid/models/credit_session_bank_employment_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_income_result.rb b/lib/plaid/models/credit_session_bank_income_result.rb index d43db2ccf..4f6062ba6 100644 --- a/lib/plaid/models/credit_session_bank_income_result.rb +++ b/lib/plaid/models/credit_session_bank_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_bank_income_status.rb b/lib/plaid/models/credit_session_bank_income_status.rb index 418fc2f5b..ca5c7b801 100644 --- a/lib/plaid/models/credit_session_bank_income_status.rb +++ b/lib/plaid/models/credit_session_bank_income_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_document_income_result.rb b/lib/plaid/models/credit_session_document_income_result.rb index deeb63f3c..a83ba9f45 100644 --- a/lib/plaid/models/credit_session_document_income_result.rb +++ b/lib/plaid/models/credit_session_document_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_error.rb b/lib/plaid/models/credit_session_error.rb index ab85e5471..6cc499625 100644 --- a/lib/plaid/models/credit_session_error.rb +++ b/lib/plaid/models/credit_session_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_item_add_result.rb b/lib/plaid/models/credit_session_item_add_result.rb index 1eaa8d4e4..b7c6da203 100644 --- a/lib/plaid/models/credit_session_item_add_result.rb +++ b/lib/plaid/models/credit_session_item_add_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_payroll_income_result.rb b/lib/plaid/models/credit_session_payroll_income_result.rb index 08af2cf99..fd6e448dd 100644 --- a/lib/plaid/models/credit_session_payroll_income_result.rb +++ b/lib/plaid/models/credit_session_payroll_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_session_results.rb b/lib/plaid/models/credit_session_results.rb index 23109ca6d..dfcbbc797 100644 --- a/lib/plaid/models/credit_session_results.rb +++ b/lib/plaid/models/credit_session_results.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_sessions_get_request.rb b/lib/plaid/models/credit_sessions_get_request.rb index cb764a5f2..430f3652d 100644 --- a/lib/plaid/models/credit_sessions_get_request.rb +++ b/lib/plaid/models/credit_sessions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_sessions_get_response.rb b/lib/plaid/models/credit_sessions_get_response.rb index 37f1215d0..5090afe0d 100644 --- a/lib/plaid/models/credit_sessions_get_response.rb +++ b/lib/plaid/models/credit_sessions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_w2.rb b/lib/plaid/models/credit_w2.rb index ffbbfe027..59d6350b6 100644 --- a/lib/plaid/models/credit_w2.rb +++ b/lib/plaid/models/credit_w2.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/customer_initiated_return_risk.rb b/lib/plaid/models/customer_initiated_return_risk.rb index 2a8d6935a..c882af703 100644 --- a/lib/plaid/models/customer_initiated_return_risk.rb +++ b/lib/plaid/models/customer_initiated_return_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user.rb b/lib/plaid/models/dashboard_user.rb index f88490b31..1e0912941 100644 --- a/lib/plaid/models/dashboard_user.rb +++ b/lib/plaid/models/dashboard_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class DashboardUser # An ISO8601 formatted timestamp. attr_accessor :created_at - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :status diff --git a/lib/plaid/models/dashboard_user_get_request.rb b/lib/plaid/models/dashboard_user_get_request.rb index 1dfa33611..a332d9901 100644 --- a/lib/plaid/models/dashboard_user_get_request.rb +++ b/lib/plaid/models/dashboard_user_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_get_response.rb b/lib/plaid/models/dashboard_user_get_response.rb index 93465a454..dee7d06a9 100644 --- a/lib/plaid/models/dashboard_user_get_response.rb +++ b/lib/plaid/models/dashboard_user_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class DashboardUserGetResponse # An ISO8601 formatted timestamp. attr_accessor :created_at - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :status diff --git a/lib/plaid/models/dashboard_user_list_request.rb b/lib/plaid/models/dashboard_user_list_request.rb index c592cdec7..516bc0c9c 100644 --- a/lib/plaid/models/dashboard_user_list_request.rb +++ b/lib/plaid/models/dashboard_user_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_list_response.rb b/lib/plaid/models/dashboard_user_list_response.rb index 9594a45d7..ad30b5573 100644 --- a/lib/plaid/models/dashboard_user_list_response.rb +++ b/lib/plaid/models/dashboard_user_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_status.rb b/lib/plaid/models/dashboard_user_status.rb index fae7354bb..335f03ee7 100644 --- a/lib/plaid/models/dashboard_user_status.rb +++ b/lib/plaid/models/dashboard_user_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/date_range.rb b/lib/plaid/models/date_range.rb index 35437b8ba..cc550a9ba 100644 --- a/lib/plaid/models/date_range.rb +++ b/lib/plaid/models/date_range.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions.rb b/lib/plaid/models/deductions.rb index eed9f98fc..60433c640 100644 --- a/lib/plaid/models/deductions.rb +++ b/lib/plaid/models/deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions_breakdown.rb b/lib/plaid/models/deductions_breakdown.rb index 9e76e6dfa..a3b477f74 100644 --- a/lib/plaid/models/deductions_breakdown.rb +++ b/lib/plaid/models/deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deductions_total.rb b/lib/plaid/models/deductions_total.rb index bd0ec70de..d4847fc27 100644 --- a/lib/plaid/models/deductions_total.rb +++ b/lib/plaid/models/deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/default_update_webhook.rb b/lib/plaid/models/default_update_webhook.rb index b4496ccf6..ee70ffbf1 100644 --- a/lib/plaid/models/default_update_webhook.rb +++ b/lib/plaid/models/default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_address_data.rb b/lib/plaid/models/deposit_switch_address_data.rb index 39e8cac4e..b79be15df 100644 --- a/lib/plaid/models/deposit_switch_address_data.rb +++ b/lib/plaid/models/deposit_switch_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_request.rb b/lib/plaid/models/deposit_switch_alt_create_request.rb index d41068b26..93b0043e9 100644 --- a/lib/plaid/models/deposit_switch_alt_create_request.rb +++ b/lib/plaid/models/deposit_switch_alt_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_alt_create_response.rb b/lib/plaid/models/deposit_switch_alt_create_response.rb index c3671fcd5..3d5e99e74 100644 --- a/lib/plaid/models/deposit_switch_alt_create_response.rb +++ b/lib/plaid/models/deposit_switch_alt_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_request.rb b/lib/plaid/models/deposit_switch_create_request.rb index edf92a646..6f3ac258d 100644 --- a/lib/plaid/models/deposit_switch_create_request.rb +++ b/lib/plaid/models/deposit_switch_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_request_options.rb b/lib/plaid/models/deposit_switch_create_request_options.rb index fa8c2b89c..76e81188f 100644 --- a/lib/plaid/models/deposit_switch_create_request_options.rb +++ b/lib/plaid/models/deposit_switch_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_create_response.rb b/lib/plaid/models/deposit_switch_create_response.rb index b149ef880..dd55a79d1 100644 --- a/lib/plaid/models/deposit_switch_create_response.rb +++ b/lib/plaid/models/deposit_switch_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_get_request.rb b/lib/plaid/models/deposit_switch_get_request.rb index 7560e7b74..233400732 100644 --- a/lib/plaid/models/deposit_switch_get_request.rb +++ b/lib/plaid/models/deposit_switch_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_get_response.rb b/lib/plaid/models/deposit_switch_get_response.rb index b10c5e4a7..2e475bed8 100644 --- a/lib/plaid/models/deposit_switch_get_response.rb +++ b/lib/plaid/models/deposit_switch_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_state_update_webhook.rb b/lib/plaid/models/deposit_switch_state_update_webhook.rb index f90505c0d..39cac4fee 100644 --- a/lib/plaid/models/deposit_switch_state_update_webhook.rb +++ b/lib/plaid/models/deposit_switch_state_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_target_account.rb b/lib/plaid/models/deposit_switch_target_account.rb index c34802d82..64880ae81 100644 --- a/lib/plaid/models/deposit_switch_target_account.rb +++ b/lib/plaid/models/deposit_switch_target_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_target_user.rb b/lib/plaid/models/deposit_switch_target_user.rb index 109a1355f..d2d850610 100644 --- a/lib/plaid/models/deposit_switch_target_user.rb +++ b/lib/plaid/models/deposit_switch_target_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_token_create_request.rb b/lib/plaid/models/deposit_switch_token_create_request.rb index df85bee03..8196bf16f 100644 --- a/lib/plaid/models/deposit_switch_token_create_request.rb +++ b/lib/plaid/models/deposit_switch_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/deposit_switch_token_create_response.rb b/lib/plaid/models/deposit_switch_token_create_response.rb index 9b30766fa..a459a9ab0 100644 --- a/lib/plaid/models/deposit_switch_token_create_response.rb +++ b/lib/plaid/models/deposit_switch_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/depository_account_subtype.rb b/lib/plaid/models/depository_account_subtype.rb index 33a0ee292..9f3a2d375 100644 --- a/lib/plaid/models/depository_account_subtype.rb +++ b/lib/plaid/models/depository_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/depository_filter.rb b/lib/plaid/models/depository_filter.rb index 091718120..146b13a2d 100644 --- a/lib/plaid/models/depository_filter.rb +++ b/lib/plaid/models/depository_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/detailed_originator.rb b/lib/plaid/models/detailed_originator.rb index 865bf42c6..8096de081 100644 --- a/lib/plaid/models/detailed_originator.rb +++ b/lib/plaid/models/detailed_originator.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/detected_account.rb b/lib/plaid/models/detected_account.rb index 7c1a4d8be..211506432 100644 --- a/lib/plaid/models/detected_account.rb +++ b/lib/plaid/models/detected_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index cd8645561..d8dd51c6f 100644 --- a/lib/plaid/models/distribution_breakdown.rb +++ b/lib/plaid/models/distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/doc_type.rb b/lib/plaid/models/doc_type.rb index d275b0be0..e07194cb0 100644 --- a/lib/plaid/models/doc_type.rb +++ b/lib/plaid/models/doc_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_analysis.rb b/lib/plaid/models/document_analysis.rb index 33b2be2de..e56a3f8cb 100644 --- a/lib/plaid/models/document_analysis.rb +++ b/lib/plaid/models/document_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_authenticity_match_code.rb b/lib/plaid/models/document_authenticity_match_code.rb index 6380dadde..47216bd58 100644 --- a/lib/plaid/models/document_authenticity_match_code.rb +++ b/lib/plaid/models/document_authenticity_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_date_of_birth_match_code.rb b/lib/plaid/models/document_date_of_birth_match_code.rb index 43df61fda..7204c3904 100644 --- a/lib/plaid/models/document_date_of_birth_match_code.rb +++ b/lib/plaid/models/document_date_of_birth_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_metadata.rb b/lib/plaid/models/document_metadata.rb index bc2e0217b..b361cb938 100644 --- a/lib/plaid/models/document_metadata.rb +++ b/lib/plaid/models/document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_name_match_code.rb b/lib/plaid/models/document_name_match_code.rb index a6052aae0..f1fb51cf2 100644 --- a/lib/plaid/models/document_name_match_code.rb +++ b/lib/plaid/models/document_name_match_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signal.rb b/lib/plaid/models/document_risk_signal.rb index 364ce5303..4db5f48b4 100644 --- a/lib/plaid/models/document_risk_signal.rb +++ b/lib/plaid/models/document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signal_institution_metadata.rb b/lib/plaid/models/document_risk_signal_institution_metadata.rb index 78ed56c5a..23e2448c1 100644 --- a/lib/plaid/models/document_risk_signal_institution_metadata.rb +++ b/lib/plaid/models/document_risk_signal_institution_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_signals_object.rb b/lib/plaid/models/document_risk_signals_object.rb index 875a5320f..eda12f067 100644 --- a/lib/plaid/models/document_risk_signals_object.rb +++ b/lib/plaid/models/document_risk_signals_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_risk_summary.rb b/lib/plaid/models/document_risk_summary.rb index a7c4cb142..aadd49fd2 100644 --- a/lib/plaid/models/document_risk_summary.rb +++ b/lib/plaid/models/document_risk_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/document_status.rb b/lib/plaid/models/document_status.rb index 3fea0e96f..543771433 100644 --- a/lib/plaid/models/document_status.rb +++ b/lib/plaid/models/document_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/documentary_verification.rb b/lib/plaid/models/documentary_verification.rb index e2cd91d9f..928c809f3 100644 --- a/lib/plaid/models/documentary_verification.rb +++ b/lib/plaid/models/documentary_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/documentary_verification_document.rb b/lib/plaid/models/documentary_verification_document.rb index 7260de63d..b74d0a40c 100644 --- a/lib/plaid/models/documentary_verification_document.rb +++ b/lib/plaid/models/documentary_verification_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings.rb b/lib/plaid/models/earnings.rb index beafdf65e..328a56d4a 100644 --- a/lib/plaid/models/earnings.rb +++ b/lib/plaid/models/earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_breakdown.rb b/lib/plaid/models/earnings_breakdown.rb index f74e4f35d..caead60b3 100644 --- a/lib/plaid/models/earnings_breakdown.rb +++ b/lib/plaid/models/earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_breakdown_canonical_description.rb b/lib/plaid/models/earnings_breakdown_canonical_description.rb index da683a997..0becc90a0 100644 --- a/lib/plaid/models/earnings_breakdown_canonical_description.rb +++ b/lib/plaid/models/earnings_breakdown_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/earnings_total.rb b/lib/plaid/models/earnings_total.rb index b7f541473..83cae07cb 100644 --- a/lib/plaid/models/earnings_total.rb +++ b/lib/plaid/models/earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/email.rb b/lib/plaid/models/email.rb index 3af25ac58..ed30c080d 100644 --- a/lib/plaid/models/email.rb +++ b/lib/plaid/models/email.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/email_address_match_score.rb b/lib/plaid/models/email_address_match_score.rb index 6b89892d2..a2bd4b603 100644 --- a/lib/plaid/models/email_address_match_score.rb +++ b/lib/plaid/models/email_address_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employee.rb b/lib/plaid/models/employee.rb index 48e626c1c..3c8e5373e 100644 --- a/lib/plaid/models/employee.rb +++ b/lib/plaid/models/employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employee_income_summary_field_string.rb b/lib/plaid/models/employee_income_summary_field_string.rb index cf9c58248..b0f874778 100644 --- a/lib/plaid/models/employee_income_summary_field_string.rb +++ b/lib/plaid/models/employee_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer.rb b/lib/plaid/models/employer.rb index a6907f0d0..570eb0efc 100644 --- a/lib/plaid/models/employer.rb +++ b/lib/plaid/models/employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer_income_summary_field_string.rb b/lib/plaid/models/employer_income_summary_field_string.rb index 648ac47b1..fe4203302 100644 --- a/lib/plaid/models/employer_income_summary_field_string.rb +++ b/lib/plaid/models/employer_income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employer_verification.rb b/lib/plaid/models/employer_verification.rb index f58d1de37..124b5f205 100644 --- a/lib/plaid/models/employer_verification.rb +++ b/lib/plaid/models/employer_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employers_search_request.rb b/lib/plaid/models/employers_search_request.rb index 97dc85d23..b04bc2be3 100644 --- a/lib/plaid/models/employers_search_request.rb +++ b/lib/plaid/models/employers_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employers_search_response.rb b/lib/plaid/models/employers_search_response.rb index cf89d4caf..538397f0d 100644 --- a/lib/plaid/models/employers_search_response.rb +++ b/lib/plaid/models/employers_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_details.rb b/lib/plaid/models/employment_details.rb index c082055c2..d4af58b89 100644 --- a/lib/plaid/models/employment_details.rb +++ b/lib/plaid/models/employment_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_source_type.rb b/lib/plaid/models/employment_source_type.rb index 472bf4a43..08102de90 100644 --- a/lib/plaid/models/employment_source_type.rb +++ b/lib/plaid/models/employment_source_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification.rb b/lib/plaid/models/employment_verification.rb index 7778f265e..78fe3cab8 100644 --- a/lib/plaid/models/employment_verification.rb +++ b/lib/plaid/models/employment_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_get_request.rb b/lib/plaid/models/employment_verification_get_request.rb index e69388dfe..f0b444d25 100644 --- a/lib/plaid/models/employment_verification_get_request.rb +++ b/lib/plaid/models/employment_verification_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_get_response.rb b/lib/plaid/models/employment_verification_get_response.rb index daabccf15..dc35b43df 100644 --- a/lib/plaid/models/employment_verification_get_response.rb +++ b/lib/plaid/models/employment_verification_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/employment_verification_status.rb b/lib/plaid/models/employment_verification_status.rb index a1596f634..64ee4b727 100644 --- a/lib/plaid/models/employment_verification_status.rb +++ b/lib/plaid/models/employment_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enhancements.rb b/lib/plaid/models/enhancements.rb index 0c289212b..dcec61832 100644 --- a/lib/plaid/models/enhancements.rb +++ b/lib/plaid/models/enhancements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enrich_transaction_direction.rb b/lib/plaid/models/enrich_transaction_direction.rb index 9c47100a1..b9f928ab6 100644 --- a/lib/plaid/models/enrich_transaction_direction.rb +++ b/lib/plaid/models/enrich_transaction_direction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/enrichments.rb b/lib/plaid/models/enrichments.rb index 49d369a23..b3da9b312 100644 --- a/lib/plaid/models/enrichments.rb +++ b/lib/plaid/models/enrichments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_document.rb b/lib/plaid/models/entity_document.rb index 78edfd13a..09dc8e591 100644 --- a/lib/plaid/models/entity_document.rb +++ b/lib/plaid/models/entity_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ module Plaid class EntityDocument attr_accessor :type - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :number class EnumAttributeValidator diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index 6040eeb97..d718bd764 100644 --- a/lib/plaid/models/entity_document_type.rb +++ b/lib/plaid/models/entity_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_analysis.rb b/lib/plaid/models/entity_screening_hit_analysis.rb index 2c65e996f..96ba46370 100644 --- a/lib/plaid/models/entity_screening_hit_analysis.rb +++ b/lib/plaid/models/entity_screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_data.rb b/lib/plaid/models/entity_screening_hit_data.rb index 3d7b79820..098f07e4f 100644 --- a/lib/plaid/models/entity_screening_hit_data.rb +++ b/lib/plaid/models/entity_screening_hit_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_documents_items.rb b/lib/plaid/models/entity_screening_hit_documents_items.rb index e84a173a5..cb4d36221 100644 --- a/lib/plaid/models/entity_screening_hit_documents_items.rb +++ b/lib/plaid/models/entity_screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_emails.rb b/lib/plaid/models/entity_screening_hit_emails.rb index 025dcce75..19b26b2bb 100644 --- a/lib/plaid/models/entity_screening_hit_emails.rb +++ b/lib/plaid/models/entity_screening_hit_emails.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Email address information for the associated entity watchlist hit class EntityScreeningHitEmails - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index 668717dae..a91179452 100644 --- a/lib/plaid/models/entity_screening_hit_emails_items.rb +++ b/lib/plaid/models/entity_screening_hit_emails_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_names.rb b/lib/plaid/models/entity_screening_hit_names.rb index 05472daab..15d2d059a 100644 --- a/lib/plaid/models/entity_screening_hit_names.rb +++ b/lib/plaid/models/entity_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_names_items.rb b/lib/plaid/models/entity_screening_hit_names_items.rb index 7d4644d4b..e406cab44 100644 --- a/lib/plaid/models/entity_screening_hit_names_items.rb +++ b/lib/plaid/models/entity_screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_phone_numbers.rb b/lib/plaid/models/entity_screening_hit_phone_numbers.rb index 10a38aebd..3949002ed 100644 --- a/lib/plaid/models/entity_screening_hit_phone_numbers.rb +++ b/lib/plaid/models/entity_screening_hit_phone_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_urls.rb b/lib/plaid/models/entity_screening_hit_urls.rb index e59ff8a4e..2d360f43b 100644 --- a/lib/plaid/models/entity_screening_hit_urls.rb +++ b/lib/plaid/models/entity_screening_hit_urls.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_urls_items.rb b/lib/plaid/models/entity_screening_hit_urls_items.rb index 0fb9a3d76..21f0ecab7 100644 --- a/lib/plaid/models/entity_screening_hit_urls_items.rb +++ b/lib/plaid/models/entity_screening_hit_urls_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hits_phone_number_items.rb b/lib/plaid/models/entity_screening_hits_phone_number_items.rb index b3d5024b1..2525f877b 100644 --- a/lib/plaid/models/entity_screening_hits_phone_number_items.rb +++ b/lib/plaid/models/entity_screening_hits_phone_number_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_status_updated_webhook.rb b/lib/plaid/models/entity_screening_status_updated_webhook.rb index 5292c52d8..a7a5632eb 100644 --- a/lib/plaid/models/entity_screening_status_updated_webhook.rb +++ b/lib/plaid/models/entity_screening_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_code.rb b/lib/plaid/models/entity_watchlist_code.rb index ffcf60eea..9268b8b2c 100644 --- a/lib/plaid/models/entity_watchlist_code.rb +++ b/lib/plaid/models/entity_watchlist_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_program.rb b/lib/plaid/models/entity_watchlist_program.rb index 5090f069b..b96a7db13 100644 --- a/lib/plaid/models/entity_watchlist_program.rb +++ b/lib/plaid/models/entity_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening.rb b/lib/plaid/models/entity_watchlist_screening.rb index fb3b0fe5a..a6b8f2e88 100644 --- a/lib/plaid/models/entity_watchlist_screening.rb +++ b/lib/plaid/models/entity_watchlist_screening.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_hit.rb b/lib/plaid/models/entity_watchlist_screening_hit.rb index f20af2cac..8df9d3832 100644 --- a/lib/plaid/models/entity_watchlist_screening_hit.rb +++ b/lib/plaid/models/entity_watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_review.rb b/lib/plaid/models/entity_watchlist_screening_review.rb index 45514f74b..f94ac5c98 100644 --- a/lib/plaid/models/entity_watchlist_screening_review.rb +++ b/lib/plaid/models/entity_watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_screening_search_terms.rb b/lib/plaid/models/entity_watchlist_screening_search_terms.rb index 643e373ac..9a5cea846 100644 --- a/lib/plaid/models/entity_watchlist_screening_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class EntityWatchlistScreeningSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index 5c6936251..9043f3169 100644 --- a/lib/plaid/models/entity_watchlist_search_terms.rb +++ b/lib/plaid/models/entity_watchlist_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class EntityWatchlistSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index a4980d58c..4e0ef453f 100644 --- a/lib/plaid/models/expiration_date.rb +++ b/lib/plaid/models/expiration_date.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/extended_recipient_metadata.rb b/lib/plaid/models/extended_recipient_metadata.rb new file mode 100644 index 000000000..6286103de --- /dev/null +++ b/lib/plaid/models/extended_recipient_metadata.rb @@ -0,0 +1,383 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Plaid and FDX-defined recipient metadata fields + class ExtendedRecipientMetadata + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # The category that the recipient falls under + attr_accessor :category + + # The date at which the recipient gained production access to Plaid + attr_accessor :joined_date + + # The number of Data Partner consumers that are connected to the recipient for the specific Data Partner + attr_accessor :connection_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name', + :'category' => :'category', + :'joined_date' => :'joined_date', + :'connection_count' => :'connection_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String', + :'category' => :'String', + :'joined_date' => :'Date', + :'connection_count' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'ExtendedRecipientMetadataAllOf', + :'FDXRecipientMetadata' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ExtendedRecipientMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ExtendedRecipientMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + + if attributes.key?(:'category') + self.category = attributes[:'category'] + end + + if attributes.key?(:'joined_date') + self.joined_date = attributes[:'joined_date'] + end + + if attributes.key?(:'connection_count') + self.connection_count = attributes[:'connection_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @joined_date.nil? + invalid_properties.push('invalid value for "joined_date", joined_date cannot be nil.') + end + + if @connection_count.nil? + invalid_properties.push('invalid value for "connection_count", connection_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + return false if @category.nil? + return false if @joined_date.nil? + return false if @connection_count.nil? + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name && + category == o.category && + joined_date == o.joined_date && + connection_count == o.connection_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name, category, joined_date, connection_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/base_report_account_balances_all_of.rb b/lib/plaid/models/extended_recipient_metadata_all_of.rb similarity index 77% rename from lib/plaid/models/base_report_account_balances_all_of.rb rename to lib/plaid/models/extended_recipient_metadata_all_of.rb index 3dff8c345..9d8a66964 100644 --- a/lib/plaid/models/base_report_account_balances_all_of.rb +++ b/lib/plaid/models/extended_recipient_metadata_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,22 +14,22 @@ require 'time' module Plaid - class BaseReportAccountBalancesAllOf - # The average historical balance for the entire report - attr_accessor :average_balance + class ExtendedRecipientMetadataAllOf + # The category that the recipient falls under + attr_accessor :category - # The average historical balance of each calendar month - attr_accessor :average_monthly_balances + # The date at which the recipient gained production access to Plaid + attr_accessor :joined_date - # The average historical balance from the most recent 30 days - attr_accessor :most_recent_thirty_day_average_balance + # The number of Data Partner consumers that are connected to the recipient for the specific Data Partner + attr_accessor :connection_count # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'average_balance' => :'average_balance', - :'average_monthly_balances' => :'average_monthly_balances', - :'most_recent_thirty_day_average_balance' => :'most_recent_thirty_day_average_balance' + :'category' => :'category', + :'joined_date' => :'joined_date', + :'connection_count' => :'connection_count' } end @@ -41,17 +41,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'average_balance' => :'Float', - :'average_monthly_balances' => :'Array', - :'most_recent_thirty_day_average_balance' => :'Float' + :'category' => :'String', + :'joined_date' => :'Date', + :'connection_count' => :'Integer' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'average_balance', - :'most_recent_thirty_day_average_balance' ]) end @@ -59,29 +57,27 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportAccountBalancesAllOf` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ExtendedRecipientMetadataAllOf` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportAccountBalancesAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ExtendedRecipientMetadataAllOf`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } - if attributes.key?(:'average_balance') - self.average_balance = attributes[:'average_balance'] + if attributes.key?(:'category') + self.category = attributes[:'category'] end - if attributes.key?(:'average_monthly_balances') - if (value = attributes[:'average_monthly_balances']).is_a?(Array) - self.average_monthly_balances = value - end + if attributes.key?(:'joined_date') + self.joined_date = attributes[:'joined_date'] end - if attributes.key?(:'most_recent_thirty_day_average_balance') - self.most_recent_thirty_day_average_balance = attributes[:'most_recent_thirty_day_average_balance'] + if attributes.key?(:'connection_count') + self.connection_count = attributes[:'connection_count'] end end @@ -89,12 +85,27 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @category.nil? + invalid_properties.push('invalid value for "category", category cannot be nil.') + end + + if @joined_date.nil? + invalid_properties.push('invalid value for "joined_date", joined_date cannot be nil.') + end + + if @connection_count.nil? + invalid_properties.push('invalid value for "connection_count", connection_count cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @category.nil? + return false if @joined_date.nil? + return false if @connection_count.nil? true end @@ -103,9 +114,9 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - average_balance == o.average_balance && - average_monthly_balances == o.average_monthly_balances && - most_recent_thirty_day_average_balance == o.most_recent_thirty_day_average_balance + category == o.category && + joined_date == o.joined_date && + connection_count == o.connection_count end # @see the `==` method @@ -117,7 +128,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [average_balance, average_monthly_balances, most_recent_thirty_day_average_balance].hash + [category, joined_date, connection_count].hash end # Builds the object from hash diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index 69ec183a1..43e2ca47d 100644 --- a/lib/plaid/models/external_payment_initiation_consent_options.rb +++ b/lib/plaid/models/external_payment_initiation_consent_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_options.rb b/lib/plaid/models/external_payment_options.rb index 8b5c7143a..e3ac82c3e 100644 --- a/lib/plaid/models/external_payment_options.rb +++ b/lib/plaid/models/external_payment_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_refund_details.rb b/lib/plaid/models/external_payment_refund_details.rb index 8ff6ec934..735383d24 100644 --- a/lib/plaid/models/external_payment_refund_details.rb +++ b/lib/plaid/models/external_payment_refund_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_base.rb b/lib/plaid/models/external_payment_schedule_base.rb index 50ab9fc1d..2e6e54d92 100644 --- a/lib/plaid/models/external_payment_schedule_base.rb +++ b/lib/plaid/models/external_payment_schedule_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_get.rb b/lib/plaid/models/external_payment_schedule_get.rb index 4ce9cc42f..5fc914d81 100644 --- a/lib/plaid/models/external_payment_schedule_get.rb +++ b/lib/plaid/models/external_payment_schedule_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/external_payment_schedule_request.rb b/lib/plaid/models/external_payment_schedule_request.rb index 8815ece2a..477eda47e 100644 --- a/lib/plaid/models/external_payment_schedule_request.rb +++ b/lib/plaid/models/external_payment_schedule_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb index fa5db08bc..6ae667b5d 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_auto_verified_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb index fe2b367e9..ac4146009 100644 --- a/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb +++ b/lib/plaid/models/fallback_auth_microdeposit_verification_expired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_content_types.rb b/lib/plaid/models/fdx_content_types.rb index bd7cc33fe..28bb95d76 100644 --- a/lib/plaid/models/fdx_content_types.rb +++ b/lib/plaid/models/fdx_content_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_hateoas_link.rb b/lib/plaid/models/fdx_hateoas_link.rb index de34602bf..9205fd0b8 100644 --- a/lib/plaid/models/fdx_hateoas_link.rb +++ b/lib/plaid/models/fdx_hateoas_link.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_hateoas_link_action.rb b/lib/plaid/models/fdx_hateoas_link_action.rb index a97ab2953..f40382bdf 100644 --- a/lib/plaid/models/fdx_hateoas_link_action.rb +++ b/lib/plaid/models/fdx_hateoas_link_action.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_initiator_fi_attribute.rb b/lib/plaid/models/fdx_initiator_fi_attribute.rb index 62c4df5ea..fc6f68ea6 100644 --- a/lib/plaid/models/fdx_initiator_fi_attribute.rb +++ b/lib/plaid/models/fdx_initiator_fi_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification.rb b/lib/plaid/models/fdx_notification.rb index 9f8c716b9..c77072354 100644 --- a/lib/plaid/models/fdx_notification.rb +++ b/lib/plaid/models/fdx_notification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_category.rb b/lib/plaid/models/fdx_notification_category.rb index fed8b2fa9..905697c6d 100644 --- a/lib/plaid/models/fdx_notification_category.rb +++ b/lib/plaid/models/fdx_notification_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_payload.rb b/lib/plaid/models/fdx_notification_payload.rb index 1d5c49b84..f36737d91 100644 --- a/lib/plaid/models/fdx_notification_payload.rb +++ b/lib/plaid/models/fdx_notification_payload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_payload_id_type.rb b/lib/plaid/models/fdx_notification_payload_id_type.rb index 7c27dc05f..5997c2af2 100644 --- a/lib/plaid/models/fdx_notification_payload_id_type.rb +++ b/lib/plaid/models/fdx_notification_payload_id_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_priority.rb b/lib/plaid/models/fdx_notification_priority.rb index c7c6f9478..0d45535d5 100644 --- a/lib/plaid/models/fdx_notification_priority.rb +++ b/lib/plaid/models/fdx_notification_priority.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_severity.rb b/lib/plaid/models/fdx_notification_severity.rb index c58f7509f..8c2dd980d 100644 --- a/lib/plaid/models/fdx_notification_severity.rb +++ b/lib/plaid/models/fdx_notification_severity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_notification_type.rb b/lib/plaid/models/fdx_notification_type.rb index 4caf0750c..f51bc9da1 100644 --- a/lib/plaid/models/fdx_notification_type.rb +++ b/lib/plaid/models/fdx_notification_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party.rb b/lib/plaid/models/fdx_party.rb index 189182a87..4455dc2ae 100644 --- a/lib/plaid/models/fdx_party.rb +++ b/lib/plaid/models/fdx_party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party_registry.rb b/lib/plaid/models/fdx_party_registry.rb index 2400078e1..6ee9df164 100644 --- a/lib/plaid/models/fdx_party_registry.rb +++ b/lib/plaid/models/fdx_party_registry.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_party_type.rb b/lib/plaid/models/fdx_party_type.rb index d71bf4863..080a0a4eb 100644 --- a/lib/plaid/models/fdx_party_type.rb +++ b/lib/plaid/models/fdx_party_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_recipient_metadata.rb b/lib/plaid/models/fdx_recipient_metadata.rb new file mode 100644 index 000000000..add907c69 --- /dev/null +++ b/lib/plaid/models/fdx_recipient_metadata.rb @@ -0,0 +1,330 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Recipient metadata fields that are defined by FDX + class FDXRecipientMetadata + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::FDXRecipientMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::FDXRecipientMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/fdxfi_attribute.rb b/lib/plaid/models/fdxfi_attribute.rb index 318ffee6c..253dcee86 100644 --- a/lib/plaid/models/fdxfi_attribute.rb +++ b/lib/plaid/models/fdxfi_attribute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/financial_institution_insights.rb b/lib/plaid/models/financial_institution_insights.rb index 040b5fb94..44a79d43d 100644 --- a/lib/plaid/models/financial_institution_insights.rb +++ b/lib/plaid/models/financial_institution_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/forecasted_monthly_income.rb b/lib/plaid/models/forecasted_monthly_income.rb new file mode 100644 index 000000000..5c0c4a6e5 --- /dev/null +++ b/lib/plaid/models/forecasted_monthly_income.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the predicted average monthly net income amount. This amount reflects the funds deposited into the account and may not include any withheld income such as taxes or other payroll deductions + class ForecastedMonthlyIncome + # The forecasted monthly income at the time of subscription + attr_accessor :baseline_amount + + # The current forecasted monthly income + attr_accessor :current_amount + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_amount' => :'baseline_amount', + :'current_amount' => :'current_amount' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_amount' => :'Float', + :'current_amount' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ForecastedMonthlyIncome` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ForecastedMonthlyIncome`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_amount') + self.baseline_amount = attributes[:'baseline_amount'] + end + + if attributes.key?(:'current_amount') + self.current_amount = attributes[:'current_amount'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_amount.nil? + invalid_properties.push('invalid value for "baseline_amount", baseline_amount cannot be nil.') + end + + if @current_amount.nil? + invalid_properties.push('invalid value for "current_amount", current_amount cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_amount.nil? + return false if @current_amount.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_amount == o.baseline_amount && + current_amount == o.current_amount + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_amount, current_amount].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb index 6c333ecd1..af766ad03 100644 --- a/lib/plaid/models/form1099_type.rb +++ b/lib/plaid/models/form1099_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_create_response.rb b/lib/plaid/models/forwarded_json_response.rb similarity index 94% rename from lib/plaid/models/base_report_create_response.rb rename to lib/plaid/models/forwarded_json_response.rb index eb80affe5..09feee63d 100644 --- a/lib/plaid/models/base_report_create_response.rb +++ b/lib/plaid/models/forwarded_json_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,8 +14,8 @@ require 'time' module Plaid - # BaseReportCreateResponse defines the response schema for `cra/base_report/create` - class BaseReportCreateResponse + # An arbitrary JSON payload sent to or received from the Plaid server. Internal use only. + class ForwardedJSONResponse # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. attr_accessor :request_id @@ -48,13 +48,13 @@ def self.openapi_nullable # @param [Hash] attributes Model attributes in the form of hash def initialize(attributes = {}) if (!attributes.is_a?(Hash)) - fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BaseReportCreateResponse` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ForwardedJSONResponse` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) - fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::BaseReportCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ForwardedJSONResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } diff --git a/lib/plaid/models/fraud_amount.rb b/lib/plaid/models/fraud_amount.rb index 7cbd39dd0..a879ae4bc 100644 --- a/lib/plaid/models/fraud_amount.rb +++ b/lib/plaid/models/fraud_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/generic_screening_hit_location_items.rb b/lib/plaid/models/generic_screening_hit_location_items.rb index 9b4a8c6f1..56a1be57f 100644 --- a/lib/plaid/models/generic_screening_hit_location_items.rb +++ b/lib/plaid/models/generic_screening_hit_location_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/get_recipient_response.rb b/lib/plaid/models/get_recipient_response.rb new file mode 100644 index 000000000..d560d22c6 --- /dev/null +++ b/lib/plaid/models/get_recipient_response.rb @@ -0,0 +1,337 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # GetRecipientResponse defines the response schema for `/fdx/recipient/{recipientId}` + class GetRecipientResponse + # The recipient identifier + attr_accessor :recipient_id + + # The recipient name displayed by the Data Provider during the consent flow + attr_accessor :client_name + + # Data Recipient Logo URL location + attr_accessor :logo_uri + + # The legal name of the recipient + attr_accessor :third_party_legal_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipient_id' => :'recipient_id', + :'client_name' => :'client_name', + :'logo_uri' => :'logo_uri', + :'third_party_legal_name' => :'third_party_legal_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipient_id' => :'String', + :'client_name' => :'String', + :'logo_uri' => :'String', + :'third_party_legal_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'logo_uri', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'FDXRecipientMetadata' + ] + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::GetRecipientResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::GetRecipientResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipient_id') + self.recipient_id = attributes[:'recipient_id'] + end + + if attributes.key?(:'client_name') + self.client_name = attributes[:'client_name'] + end + + if attributes.key?(:'logo_uri') + self.logo_uri = attributes[:'logo_uri'] + end + + if attributes.key?(:'third_party_legal_name') + self.third_party_legal_name = attributes[:'third_party_legal_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipient_id.nil? + invalid_properties.push('invalid value for "recipient_id", recipient_id cannot be nil.') + end + + if @recipient_id.to_s.length > 256 + invalid_properties.push('invalid value for "recipient_id", the character length must be smaller than or equal to 256.') + end + + + if @client_name.nil? + invalid_properties.push('invalid value for "client_name", client_name cannot be nil.') + end + + if @client_name.to_s.length > 256 + invalid_properties.push('invalid value for "client_name", the character length must be smaller than or equal to 256.') + end + + + if @third_party_legal_name.nil? + invalid_properties.push('invalid value for "third_party_legal_name", third_party_legal_name cannot be nil.') + end + + if @third_party_legal_name.to_s.length > 256 + invalid_properties.push('invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.') + end + + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipient_id.nil? + return false if @recipient_id.to_s.length > 256 + return false if @client_name.nil? + return false if @client_name.to_s.length > 256 + return false if @third_party_legal_name.nil? + return false if @third_party_legal_name.to_s.length > 256 + true + end + + # Custom attribute writer method with validation + # @param [Object] recipient_id Value to be assigned + def recipient_id=(recipient_id) + if recipient_id.nil? + fail ArgumentError, 'recipient_id cannot be nil' + end + + if recipient_id.to_s.length > 256 + fail ArgumentError, 'invalid value for "recipient_id", the character length must be smaller than or equal to 256.' + end + + + @recipient_id = recipient_id + end + + # Custom attribute writer method with validation + # @param [Object] client_name Value to be assigned + def client_name=(client_name) + if client_name.nil? + fail ArgumentError, 'client_name cannot be nil' + end + + if client_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "client_name", the character length must be smaller than or equal to 256.' + end + + + @client_name = client_name + end + + # Custom attribute writer method with validation + # @param [Object] third_party_legal_name Value to be assigned + def third_party_legal_name=(third_party_legal_name) + if third_party_legal_name.nil? + fail ArgumentError, 'third_party_legal_name cannot be nil' + end + + if third_party_legal_name.to_s.length > 256 + fail ArgumentError, 'invalid value for "third_party_legal_name", the character length must be smaller than or equal to 256.' + end + + + @third_party_legal_name = third_party_legal_name + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipient_id == o.recipient_id && + client_name == o.client_name && + logo_uri == o.logo_uri && + third_party_legal_name == o.third_party_legal_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipient_id, client_name, logo_uri, third_party_legal_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/get_recipients_response.rb b/lib/plaid/models/get_recipients_response.rb new file mode 100644 index 000000000..24b5640d4 --- /dev/null +++ b/lib/plaid/models/get_recipients_response.rb @@ -0,0 +1,227 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # GetRecipientsResponse defines the response schema for `/fdx/recipients` + class GetRecipientsResponse + attr_accessor :recipients + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'recipients' => :'recipients' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'recipients' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::GetRecipientsResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::GetRecipientsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'recipients') + if (value = attributes[:'recipients']).is_a?(Array) + self.recipients = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @recipients.nil? + invalid_properties.push('invalid value for "recipients", recipients cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @recipients.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + recipients == o.recipients + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [recipients].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index d1888f394..088d1825e 100644 --- a/lib/plaid/models/health_incident.rb +++ b/lib/plaid/models/health_incident.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hidden_match_summary_code.rb b/lib/plaid/models/hidden_match_summary_code.rb new file mode 100644 index 000000000..e7d3b8cb2 --- /dev/null +++ b/lib/plaid/models/hidden_match_summary_code.rb @@ -0,0 +1,42 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class HiddenMatchSummaryCode + MATCH = "match".freeze + PARTIAL_MATCH = "partial_match".freeze + NO_MATCH = "no_match".freeze + NO_DATA = "no_data".freeze + NO_INPUT = "no_input".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index a237861bf..a06169aae 100644 --- a/lib/plaid/models/historical_balance.rb +++ b/lib/plaid/models/historical_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 0e9945d9a..96a7fbddf 100644 --- a/lib/plaid/models/historical_update_webhook.rb +++ b/lib/plaid/models/historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class HistoricalUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -24,7 +24,7 @@ class HistoricalUpdateWebhook attr_accessor :error - # The number of new, unfetched transactions available + # The number of new transactions available attr_accessor :new_transactions # The `item_id` of the Item associated with this webhook, warning, or error diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 398435958..7e449ac8f 100644 --- a/lib/plaid/models/holding.rb +++ b/lib/plaid/models/holding.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holdings_default_update_webhook.rb b/lib/plaid/models/holdings_default_update_webhook.rb index c7fc1599a..730d3689a 100644 --- a/lib/plaid/models/holdings_default_update_webhook.rb +++ b/lib/plaid/models/holdings_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holdings_override.rb b/lib/plaid/models/holdings_override.rb index 7efce8ad9..03c65e9da 100644 --- a/lib/plaid/models/holdings_override.rb +++ b/lib/plaid/models/holdings_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hosted_link_delivery_method.rb b/lib/plaid/models/hosted_link_delivery_method.rb index 53e77e1ce..576ec90f6 100644 --- a/lib/plaid/models/hosted_link_delivery_method.rb +++ b/lib/plaid/models/hosted_link_delivery_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/hosted_mmd_verification_webhook.rb b/lib/plaid/models/hosted_mmd_verification_webhook.rb index 92b422f14..b6d9aa7b2 100644 --- a/lib/plaid/models/hosted_mmd_verification_webhook.rb +++ b/lib/plaid/models/hosted_mmd_verification_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/id_number_type.rb b/lib/plaid/models/id_number_type.rb index 13f54f026..8d42f0d54 100644 --- a/lib/plaid/models/id_number_type.rb +++ b/lib/plaid/models/id_number_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_default_update_webhook.rb b/lib/plaid/models/identity_default_update_webhook.rb index 9c278f814..a162498d7 100644 --- a/lib/plaid/models/identity_default_update_webhook.rb +++ b/lib/plaid/models/identity_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_metadata.rb b/lib/plaid/models/identity_document_metadata.rb index 3358c3b49..4b8d6cd5f 100644 --- a/lib/plaid/models/identity_document_metadata.rb +++ b/lib/plaid/models/identity_document_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload.rb b/lib/plaid/models/identity_document_upload.rb index 7e294f0c2..019ebe9b6 100644 --- a/lib/plaid/models/identity_document_upload.rb +++ b/lib/plaid/models/identity_document_upload.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_metadata.rb b/lib/plaid/models/identity_document_upload_metadata.rb index e89c113da..eb61f6508 100644 --- a/lib/plaid/models/identity_document_upload_metadata.rb +++ b/lib/plaid/models/identity_document_upload_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_insights.rb b/lib/plaid/models/identity_document_upload_risk_insights.rb index f5647e0ea..f44eb9e25 100644 --- a/lib/plaid/models/identity_document_upload_risk_insights.rb +++ b/lib/plaid/models/identity_document_upload_risk_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_signal.rb b/lib/plaid/models/identity_document_upload_risk_signal.rb index 34a87f4c0..00e92e9d7 100644 --- a/lib/plaid/models/identity_document_upload_risk_signal.rb +++ b/lib/plaid/models/identity_document_upload_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_document_upload_risk_summary.rb b/lib/plaid/models/identity_document_upload_risk_summary.rb index 82232b31e..1ef85c0ce 100644 --- a/lib/plaid/models/identity_document_upload_risk_summary.rb +++ b/lib/plaid/models/identity_document_upload_risk_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_request.rb b/lib/plaid/models/identity_documents_uploads_get_request.rb index 4cb62376c..57704c1a2 100644 --- a/lib/plaid/models/identity_documents_uploads_get_request.rb +++ b/lib/plaid/models/identity_documents_uploads_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_request_options.rb b/lib/plaid/models/identity_documents_uploads_get_request_options.rb index 16fa913de..b669a02d6 100644 --- a/lib/plaid/models/identity_documents_uploads_get_request_options.rb +++ b/lib/plaid/models/identity_documents_uploads_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_documents_uploads_get_response.rb b/lib/plaid/models/identity_documents_uploads_get_response.rb index 505e6add8..6fd307f2b 100644 --- a/lib/plaid/models/identity_documents_uploads_get_response.rb +++ b/lib/plaid/models/identity_documents_uploads_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_request.rb b/lib/plaid/models/identity_get_request.rb index 0bd9ebbb0..9b6d7dc4f 100644 --- a/lib/plaid/models/identity_get_request.rb +++ b/lib/plaid/models/identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_request_options.rb b/lib/plaid/models/identity_get_request_options.rb index 4fbbe84ed..675574470 100644 --- a/lib/plaid/models/identity_get_request_options.rb +++ b/lib/plaid/models/identity_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_get_response.rb b/lib/plaid/models/identity_get_response.rb index fe8b45be0..2d4b97b00 100644 --- a/lib/plaid/models/identity_get_response.rb +++ b/lib/plaid/models/identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index d68f3711d..382abe2b7 100644 --- a/lib/plaid/models/identity_match_request.rb +++ b/lib/plaid/models/identity_match_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_request_options.rb b/lib/plaid/models/identity_match_request_options.rb index ef7045e26..5d99bfb87 100644 --- a/lib/plaid/models/identity_match_request_options.rb +++ b/lib/plaid/models/identity_match_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_response.rb b/lib/plaid/models/identity_match_response.rb index 37f3ed885..743461ae4 100644 --- a/lib/plaid/models/identity_match_response.rb +++ b/lib/plaid/models/identity_match_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_user.rb b/lib/plaid/models/identity_match_user.rb index 8553b64ee..9d9f5182a 100644 --- a/lib/plaid/models/identity_match_user.rb +++ b/lib/plaid/models/identity_match_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityMatchUser # The user's full legal name. attr_accessor :legal_name - # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14151234567\". Phone numbers provided in other formats will be parsed on a best-effort basis. + # The user's phone number, in E.164 format: +{countrycode}{number}. For example: \"+14157452130\". Phone numbers provided in other formats will be parsed on a best-effort basis. Phone number input is validated against valid number ranges; number strings that do not match a real-world phone numbering scheme may cause the request to fail, even in the Sandbox test environment. attr_accessor :phone_number # The user's email address. diff --git a/lib/plaid/models/identity_refresh_request.rb b/lib/plaid/models/identity_refresh_request.rb index 6b8ef5b99..5d30fae86 100644 --- a/lib/plaid/models/identity_refresh_request.rb +++ b/lib/plaid/models/identity_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_refresh_response.rb b/lib/plaid/models/identity_refresh_response.rb index 4e4050159..0806d4149 100644 --- a/lib/plaid/models/identity_refresh_response.rb +++ b/lib/plaid/models/identity_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_update_types.rb b/lib/plaid/models/identity_update_types.rb index 1a4ca364d..751b58da3 100644 --- a/lib/plaid/models/identity_update_types.rb +++ b/lib/plaid/models/identity_update_types.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification.rb b/lib/plaid/models/identity_verification.rb index f0e6f84f8..55e4b4c29 100644 --- a/lib/plaid/models/identity_verification.rb +++ b/lib/plaid/models/identity_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_address.rb b/lib/plaid/models/identity_verification_autofill_address.rb index d01c358d4..aed6cd18b 100644 --- a/lib/plaid/models/identity_verification_autofill_address.rb +++ b/lib/plaid/models/identity_verification_autofill_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityVerificationAutofillAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/identity_verification_autofill_create_request.rb b/lib/plaid/models/identity_verification_autofill_create_request.rb index 3b0b44952..c797b7a61 100644 --- a/lib/plaid/models/identity_verification_autofill_create_request.rb +++ b/lib/plaid/models/identity_verification_autofill_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_create_response.rb b/lib/plaid/models/identity_verification_autofill_create_response.rb index 340fbd712..5036462a8 100644 --- a/lib/plaid/models/identity_verification_autofill_create_response.rb +++ b/lib/plaid/models/identity_verification_autofill_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_status.rb b/lib/plaid/models/identity_verification_autofill_status.rb index a353ed6c7..742cb2525 100644 --- a/lib/plaid/models/identity_verification_autofill_status.rb +++ b/lib/plaid/models/identity_verification_autofill_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_user_data.rb b/lib/plaid/models/identity_verification_autofill_user_data.rb index 53b982527..4bca35279 100644 --- a/lib/plaid/models/identity_verification_autofill_user_data.rb +++ b/lib/plaid/models/identity_verification_autofill_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_create_request.rb b/lib/plaid/models/identity_verification_create_request.rb index 3a6e68f19..3285d38cd 100644 --- a/lib/plaid/models/identity_verification_create_request.rb +++ b/lib/plaid/models/identity_verification_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_create_request_user.rb b/lib/plaid/models/identity_verification_create_request_user.rb index 938c140cc..791b278fd 100644 --- a/lib/plaid/models/identity_verification_create_request_user.rb +++ b/lib/plaid/models/identity_verification_create_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. If you are not using the shareable URL feature, you can optionally provide these fields via `/link/token/create` instead; both `/identity_verification/create` and `/link/token/create` are valid ways to provide this information. Note that if you provide a non-`null` user data object via `/identity_verification/create`, any user data fields entered via `/link/token/create` for the same `client_user_id` will be ignored when prefilling Link. class IdentityVerificationCreateRequestUser - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). diff --git a/lib/plaid/models/identity_verification_create_response.rb b/lib/plaid/models/identity_verification_create_response.rb index deb41425a..702291b77 100644 --- a/lib/plaid/models/identity_verification_create_response.rb +++ b/lib/plaid/models/identity_verification_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_document_address_response.rb b/lib/plaid/models/identity_verification_document_address_response.rb index a7c073bc9..1e6211c08 100644 --- a/lib/plaid/models/identity_verification_document_address_response.rb +++ b/lib/plaid/models/identity_verification_document_address_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_document_name_response.rb b/lib/plaid/models/identity_verification_document_name_response.rb new file mode 100644 index 000000000..3d59587c7 --- /dev/null +++ b/lib/plaid/models/identity_verification_document_name_response.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The individual's name extracted from the document. + class IdentityVerificationDocumentNameResponse + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :given_name + + # A string with at least one non-whitespace character, with a max length of 100 characters. + attr_accessor :family_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'given_name' => :'given_name', + :'family_name' => :'family_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'given_name' => :'String', + :'family_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IdentityVerificationDocumentNameResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IdentityVerificationDocumentNameResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'given_name') + self.given_name = attributes[:'given_name'] + end + + if attributes.key?(:'family_name') + self.family_name = attributes[:'family_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @given_name.nil? + invalid_properties.push('invalid value for "given_name", given_name cannot be nil.') + end + + if @family_name.nil? + invalid_properties.push('invalid value for "family_name", family_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @given_name.nil? + return false if @family_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + given_name == o.given_name && + family_name == o.family_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [given_name, family_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/identity_verification_get_request.rb b/lib/plaid/models/identity_verification_get_request.rb index adec1bbf0..9680510c7 100644 --- a/lib/plaid/models/identity_verification_get_request.rb +++ b/lib/plaid/models/identity_verification_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_get_response.rb b/lib/plaid/models/identity_verification_get_response.rb index 1639c4bbb..84fed358b 100644 --- a/lib/plaid/models/identity_verification_get_response.rb +++ b/lib/plaid/models/identity_verification_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_list_request.rb b/lib/plaid/models/identity_verification_list_request.rb index 476bf6af4..ff5bc921c 100644 --- a/lib/plaid/models/identity_verification_list_request.rb +++ b/lib/plaid/models/identity_verification_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_list_response.rb b/lib/plaid/models/identity_verification_list_response.rb index ef87f1017..ed74a9f98 100644 --- a/lib/plaid/models/identity_verification_list_response.rb +++ b/lib/plaid/models/identity_verification_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_request_user.rb b/lib/plaid/models/identity_verification_request_user.rb index ac142c4f9..219379c99 100644 --- a/lib/plaid/models/identity_verification_request_user.rb +++ b/lib/plaid/models/identity_verification_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # User information collected outside of Link, most likely via your own onboarding process. Each of the following identity fields are optional: `email_address` `phone_number` `date_of_birth` `name` `address` `id_number` Specifically, these fields are optional in that they can either be fully provided (satisfying every required field in their subschema) or omitted from the request entirely by not providing the key or value. Providing these fields via the API will result in Link skipping the data collection process for the associated user. All verification steps enabled in the associated Identity Verification Template will still be run. Verification steps will either be run immediately, or once the user completes the `accept_tos` step, depending on the value provided to the `gave_consent` field. class IdentityVerificationRequestUser - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). diff --git a/lib/plaid/models/identity_verification_request_user_name.rb b/lib/plaid/models/identity_verification_request_user_name.rb index 126831e2f..6e698894b 100644 --- a/lib/plaid/models/identity_verification_request_user_name.rb +++ b/lib/plaid/models/identity_verification_request_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_response_user_name.rb b/lib/plaid/models/identity_verification_response_user_name.rb index c5b6da81d..19db7a8a0 100644 --- a/lib/plaid/models/identity_verification_response_user_name.rb +++ b/lib/plaid/models/identity_verification_response_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retried_webhook.rb b/lib/plaid/models/identity_verification_retried_webhook.rb index 61805a8c7..ed22fecb9 100644 --- a/lib/plaid/models/identity_verification_retried_webhook.rb +++ b/lib/plaid/models/identity_verification_retried_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retry_request.rb b/lib/plaid/models/identity_verification_retry_request.rb index fa91ae247..aceb30c44 100644 --- a/lib/plaid/models/identity_verification_retry_request.rb +++ b/lib/plaid/models/identity_verification_retry_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class IdentityVerificationRetryRequest attr_accessor :steps + # A flag specifying whether you would like Plaid to expose a shareable URL for the verification being retried. + attr_accessor :is_shareable + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. attr_accessor :client_id @@ -64,6 +67,7 @@ def self.attribute_map :'strategy' => :'strategy', :'user' => :'user', :'steps' => :'steps', + :'is_shareable' => :'is_shareable', :'client_id' => :'client_id', :'secret' => :'secret' } @@ -82,6 +86,7 @@ def self.openapi_types :'strategy' => :'Strategy', :'user' => :'IdentityVerificationRequestUser', :'steps' => :'IdentityVerificationRetryRequestStepsObject', + :'is_shareable' => :'Boolean', :'client_id' => :'String', :'secret' => :'String' } @@ -92,6 +97,7 @@ def self.openapi_nullable Set.new([ :'user', :'steps', + :'is_shareable', ]) end @@ -130,6 +136,10 @@ def initialize(attributes = {}) self.steps = attributes[:'steps'] end + if attributes.key?(:'is_shareable') + self.is_shareable = attributes[:'is_shareable'] + end + if attributes.key?(:'client_id') self.client_id = attributes[:'client_id'] end @@ -177,6 +187,7 @@ def ==(o) strategy == o.strategy && user == o.user && steps == o.steps && + is_shareable == o.is_shareable && client_id == o.client_id && secret == o.secret end @@ -190,7 +201,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_user_id, template_id, strategy, user, steps, client_id, secret].hash + [client_user_id, template_id, strategy, user, steps, is_shareable, client_id, secret].hash end # Builds the object from hash diff --git a/lib/plaid/models/identity_verification_retry_request_steps_object.rb b/lib/plaid/models/identity_verification_retry_request_steps_object.rb index 74aca68cc..8f5ab552b 100644 --- a/lib/plaid/models/identity_verification_retry_request_steps_object.rb +++ b/lib/plaid/models/identity_verification_retry_request_steps_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_retry_response.rb b/lib/plaid/models/identity_verification_retry_response.rb index 82afdde63..8c056eb86 100644 --- a/lib/plaid/models/identity_verification_retry_response.rb +++ b/lib/plaid/models/identity_verification_retry_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_status.rb b/lib/plaid/models/identity_verification_status.rb index 03359824a..4326e9860 100644 --- a/lib/plaid/models/identity_verification_status.rb +++ b/lib/plaid/models/identity_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_status_updated_webhook.rb b/lib/plaid/models/identity_verification_status_updated_webhook.rb index 6c73ea1d4..445c69409 100644 --- a/lib/plaid/models/identity_verification_status_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_status.rb b/lib/plaid/models/identity_verification_step_status.rb index 25ec49970..e6289afca 100644 --- a/lib/plaid/models/identity_verification_step_status.rb +++ b/lib/plaid/models/identity_verification_step_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_summary.rb b/lib/plaid/models/identity_verification_step_summary.rb index 1fb8628ac..6a1170677 100644 --- a/lib/plaid/models/identity_verification_step_summary.rb +++ b/lib/plaid/models/identity_verification_step_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_step_updated_webhook.rb b/lib/plaid/models/identity_verification_step_updated_webhook.rb index e43def467..742f59211 100644 --- a/lib/plaid/models/identity_verification_step_updated_webhook.rb +++ b/lib/plaid/models/identity_verification_step_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_template_reference.rb b/lib/plaid/models/identity_verification_template_reference.rb index a1aebaaf6..20014b22e 100644 --- a/lib/plaid/models/identity_verification_template_reference.rb +++ b/lib/plaid/models/identity_verification_template_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_user_address.rb b/lib/plaid/models/identity_verification_user_address.rb index 2d11b6408..ba5f29d8e 100644 --- a/lib/plaid/models/identity_verification_user_address.rb +++ b/lib/plaid/models/identity_verification_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class IdentityVerificationUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index 6878c3b79..8c46ec3f3 100644 --- a/lib/plaid/models/identity_verification_user_data.rb +++ b/lib/plaid/models/identity_verification_user_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # The identity data that was either collected from the user or provided via API in order to perform an Identity Verification. class IdentityVerificationUserData - # A phone number in E.164 format. + # A valid phone number in E.164 format. attr_accessor :phone_number # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). @@ -25,7 +25,7 @@ class IdentityVerificationUserData # An IPv4 or IPV6 address. attr_accessor :ip_address - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address attr_accessor :name diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index 31cd26646..7a6ffacaf 100644 --- a/lib/plaid/models/image_quality.rb +++ b/lib/plaid/models/image_quality.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/incident_update.rb b/lib/plaid/models/incident_update.rb index 7dc654529..87d08f051 100644 --- a/lib/plaid/models/incident_update.rb +++ b/lib/plaid/models/incident_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_breakdown.rb b/lib/plaid/models/income_breakdown.rb index 988cf8d7d..0ecd4ce7a 100644 --- a/lib/plaid/models/income_breakdown.rb +++ b/lib/plaid/models/income_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_breakdown_type.rb b/lib/plaid/models/income_breakdown_type.rb index bd34305a8..07f3dfe71 100644 --- a/lib/plaid/models/income_breakdown_type.rb +++ b/lib/plaid/models/income_breakdown_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_override.rb b/lib/plaid/models/income_override.rb index 8910c55eb..1ba15f06d 100644 --- a/lib/plaid/models/income_override.rb +++ b/lib/plaid/models/income_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_sources_counts.rb b/lib/plaid/models/income_sources_counts.rb new file mode 100644 index 000000000..5cfe8336c --- /dev/null +++ b/lib/plaid/models/income_sources_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing insights about the number of income sources + class IncomeSourcesCounts + # The number of income sources detected at the subscription date + attr_accessor :baseline_count + + # The number of income sources currently detected + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IncomeSourcesCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IncomeSourcesCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index e353948c8..4137ef75d 100644 --- a/lib/plaid/models/income_summary.rb +++ b/lib/plaid/models/income_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_summary_field_number.rb b/lib/plaid/models/income_summary_field_number.rb index 21f4d0eef..5e047fed5 100644 --- a/lib/plaid/models/income_summary_field_number.rb +++ b/lib/plaid/models/income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_summary_field_string.rb b/lib/plaid/models/income_summary_field_string.rb index 8629ffd1a..afb1fbc84 100644 --- a/lib/plaid/models/income_summary_field_string.rb +++ b/lib/plaid/models/income_summary_field_string.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_request.rb b/lib/plaid/models/income_verification_create_request.rb index 29cef1ee3..f8d0972f9 100644 --- a/lib/plaid/models/income_verification_create_request.rb +++ b/lib/plaid/models/income_verification_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_request_options.rb b/lib/plaid/models/income_verification_create_request_options.rb index a4e0aad42..452fea7eb 100644 --- a/lib/plaid/models/income_verification_create_request_options.rb +++ b/lib/plaid/models/income_verification_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_create_response.rb b/lib/plaid/models/income_verification_create_response.rb index 8647fad64..36b81fe05 100644 --- a/lib/plaid/models/income_verification_create_response.rb +++ b/lib/plaid/models/income_verification_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_doc_parsing_config.rb b/lib/plaid/models/income_verification_doc_parsing_config.rb index e7c2b9d7a..92278de60 100644 --- a/lib/plaid/models/income_verification_doc_parsing_config.rb +++ b/lib/plaid/models/income_verification_doc_parsing_config.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_documents_download_request.rb b/lib/plaid/models/income_verification_documents_download_request.rb index 94b6516c0..6377eb3d7 100644 --- a/lib/plaid/models/income_verification_documents_download_request.rb +++ b/lib/plaid/models/income_verification_documents_download_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_payroll_flow_type.rb b/lib/plaid/models/income_verification_payroll_flow_type.rb index 5a728cc86..6dfaf3893 100644 --- a/lib/plaid/models/income_verification_payroll_flow_type.rb +++ b/lib/plaid/models/income_verification_payroll_flow_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_request.rb b/lib/plaid/models/income_verification_paystubs_get_request.rb index 16b2c585f..06974eaab 100644 --- a/lib/plaid/models/income_verification_paystubs_get_request.rb +++ b/lib/plaid/models/income_verification_paystubs_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_paystubs_get_response.rb b/lib/plaid/models/income_verification_paystubs_get_response.rb index 4f8ffc5c5..327a30a6f 100644 --- a/lib/plaid/models/income_verification_paystubs_get_response.rb +++ b/lib/plaid/models/income_verification_paystubs_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_confidence.rb b/lib/plaid/models/income_verification_precheck_confidence.rb index 5d734bb0d..86f027514 100644 --- a/lib/plaid/models/income_verification_precheck_confidence.rb +++ b/lib/plaid/models/income_verification_precheck_confidence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer.rb b/lib/plaid/models/income_verification_precheck_employer.rb index 10684f0d6..f64d5e020 100644 --- a/lib/plaid/models/income_verification_precheck_employer.rb +++ b/lib/plaid/models/income_verification_precheck_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address.rb b/lib/plaid/models/income_verification_precheck_employer_address.rb index ea53f486e..258e7c83b 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_employer_address_data.rb b/lib/plaid/models/income_verification_precheck_employer_address_data.rb index d2695d800..e510ef263 100644 --- a/lib/plaid/models/income_verification_precheck_employer_address_data.rb +++ b/lib/plaid/models/income_verification_precheck_employer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_military_info.rb b/lib/plaid/models/income_verification_precheck_military_info.rb index b17c79ab4..244a369c6 100644 --- a/lib/plaid/models/income_verification_precheck_military_info.rb +++ b/lib/plaid/models/income_verification_precheck_military_info.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_payroll_institution.rb b/lib/plaid/models/income_verification_precheck_payroll_institution.rb index f4f752d39..17e2350c5 100644 --- a/lib/plaid/models/income_verification_precheck_payroll_institution.rb +++ b/lib/plaid/models/income_verification_precheck_payroll_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_request.rb b/lib/plaid/models/income_verification_precheck_request.rb index d1e57fffd..747c6f2e0 100644 --- a/lib/plaid/models/income_verification_precheck_request.rb +++ b/lib/plaid/models/income_verification_precheck_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_response.rb b/lib/plaid/models/income_verification_precheck_response.rb index 95992339d..b87bb6d7f 100644 --- a/lib/plaid/models/income_verification_precheck_response.rb +++ b/lib/plaid/models/income_verification_precheck_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_precheck_user.rb b/lib/plaid/models/income_verification_precheck_user.rb index aac581106..69bbb99d4 100644 --- a/lib/plaid/models/income_verification_precheck_user.rb +++ b/lib/plaid/models/income_verification_precheck_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb b/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb index 8d889580e..c813bb065 100644 --- a/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb +++ b/lib/plaid/models/income_verification_refresh_reconnect_needed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb index 41677ad70..4c1ba4577 100644 --- a/lib/plaid/models/income_verification_risk_signals_status_webhook.rb +++ b/lib/plaid/models/income_verification_risk_signals_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_source_type.rb b/lib/plaid/models/income_verification_source_type.rb index 93c0911f8..007f6d515 100644 --- a/lib/plaid/models/income_verification_source_type.rb +++ b/lib/plaid/models/income_verification_source_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_status_webhook.rb b/lib/plaid/models/income_verification_status_webhook.rb index 87487ec7a..5ce02bf52 100644 --- a/lib/plaid/models/income_verification_status_webhook.rb +++ b/lib/plaid/models/income_verification_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_request.rb b/lib/plaid/models/income_verification_taxforms_get_request.rb index d53792e3f..f1b120e4a 100644 --- a/lib/plaid/models/income_verification_taxforms_get_request.rb +++ b/lib/plaid/models/income_verification_taxforms_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_taxforms_get_response.rb b/lib/plaid/models/income_verification_taxforms_get_response.rb index 56d915a5a..2d2adf44f 100644 --- a/lib/plaid/models/income_verification_taxforms_get_response.rb +++ b/lib/plaid/models/income_verification_taxforms_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_verification_webhook_status.rb b/lib/plaid/models/income_verification_webhook_status.rb index 94107aae4..ada4de676 100644 --- a/lib/plaid/models/income_verification_webhook_status.rb +++ b/lib/plaid/models/income_verification_webhook_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_name.rb b/lib/plaid/models/individual_name.rb index 2a82a20e0..d6f057bb1 100644 --- a/lib/plaid/models/individual_name.rb +++ b/lib/plaid/models/individual_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_screening_hit_names.rb b/lib/plaid/models/individual_screening_hit_names.rb index cc81f8ad4..0e4b981b3 100644 --- a/lib/plaid/models/individual_screening_hit_names.rb +++ b/lib/plaid/models/individual_screening_hit_names.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_watchlist_code.rb b/lib/plaid/models/individual_watchlist_code.rb index 5dcaf2920..7f1b2e806 100644 --- a/lib/plaid/models/individual_watchlist_code.rb +++ b/lib/plaid/models/individual_watchlist_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/individual_watchlist_program.rb b/lib/plaid/models/individual_watchlist_program.rb index 6e3bd56a8..9a96b5f8c 100644 --- a/lib/plaid/models/individual_watchlist_program.rb +++ b/lib/plaid/models/individual_watchlist_program.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/inflow_model.rb b/lib/plaid/models/inflow_model.rb index 365bc0e28..382bafc32 100644 --- a/lib/plaid/models/inflow_model.rb +++ b/lib/plaid/models/inflow_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/initial_update_webhook.rb b/lib/plaid/models/initial_update_webhook.rb index 986765946..c9ee26e3e 100644 --- a/lib/plaid/models/initial_update_webhook.rb +++ b/lib/plaid/models/initial_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/transactions/get`; if you are using the newer `/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class InitialUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -25,7 +25,7 @@ class InitialUpdateWebhook # The error code associated with the webhook. attr_accessor :error - # The number of new, unfetched transactions available. + # The number of new transactions available. attr_accessor :new_transactions # The `item_id` of the Item associated with this webhook, warning, or error diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index 770951636..92da0cb86 100644 --- a/lib/plaid/models/institution.rb +++ b/lib/plaid/models/institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_status.rb b/lib/plaid/models/institution_status.rb index 9e950a3d8..f7efa27f9 100644 --- a/lib/plaid/models/institution_status.rb +++ b/lib/plaid/models/institution_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_status_alert_webhook.rb b/lib/plaid/models/institution_status_alert_webhook.rb index d8dff59bd..48f1c158f 100644 --- a/lib/plaid/models/institution_status_alert_webhook.rb +++ b/lib/plaid/models/institution_status_alert_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution_supported_networks.rb b/lib/plaid/models/institution_supported_networks.rb index e23925784..801609bb1 100644 --- a/lib/plaid/models/institution_supported_networks.rb +++ b/lib/plaid/models/institution_supported_networks.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_request.rb b/lib/plaid/models/institutions_get_by_id_request.rb index b2cf24390..80923706c 100644 --- a/lib/plaid/models/institutions_get_by_id_request.rb +++ b/lib/plaid/models/institutions_get_by_id_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_request_options.rb b/lib/plaid/models/institutions_get_by_id_request_options.rb index cd7059900..b10785a31 100644 --- a/lib/plaid/models/institutions_get_by_id_request_options.rb +++ b/lib/plaid/models/institutions_get_by_id_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_by_id_response.rb b/lib/plaid/models/institutions_get_by_id_response.rb index f2e317f5a..b51f08fb1 100644 --- a/lib/plaid/models/institutions_get_by_id_response.rb +++ b/lib/plaid/models/institutions_get_by_id_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_request.rb b/lib/plaid/models/institutions_get_request.rb index d7173b629..ae683e9b1 100644 --- a/lib/plaid/models/institutions_get_request.rb +++ b/lib/plaid/models/institutions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_request_options.rb b/lib/plaid/models/institutions_get_request_options.rb index b8c07cf7d..777309de9 100644 --- a/lib/plaid/models/institutions_get_request_options.rb +++ b/lib/plaid/models/institutions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_get_response.rb b/lib/plaid/models/institutions_get_response.rb index 2b97efb5a..27f97fb34 100644 --- a/lib/plaid/models/institutions_get_response.rb +++ b/lib/plaid/models/institutions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_account_filter.rb b/lib/plaid/models/institutions_search_account_filter.rb index 15680d0f4..59aad886c 100644 --- a/lib/plaid/models/institutions_search_account_filter.rb +++ b/lib/plaid/models/institutions_search_account_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_payment_initiation_options.rb b/lib/plaid/models/institutions_search_payment_initiation_options.rb index 7a24c8cf5..de904e5dd 100644 --- a/lib/plaid/models/institutions_search_payment_initiation_options.rb +++ b/lib/plaid/models/institutions_search_payment_initiation_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_request.rb b/lib/plaid/models/institutions_search_request.rb index addd58eae..8f30a8f0c 100644 --- a/lib/plaid/models/institutions_search_request.rb +++ b/lib/plaid/models/institutions_search_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_request_options.rb b/lib/plaid/models/institutions_search_request_options.rb index c40dfd8c5..38935b9f4 100644 --- a/lib/plaid/models/institutions_search_request_options.rb +++ b/lib/plaid/models/institutions_search_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institutions_search_response.rb b/lib/plaid/models/institutions_search_response.rb index 73667be88..0266909c6 100644 --- a/lib/plaid/models/institutions_search_response.rb +++ b/lib/plaid/models/institutions_search_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_account_subtype.rb b/lib/plaid/models/investment_account_subtype.rb index e976ce41a..e1d05708f 100644 --- a/lib/plaid/models/investment_account_subtype.rb +++ b/lib/plaid/models/investment_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 93d460bee..1502745dc 100644 --- a/lib/plaid/models/investment_filter.rb +++ b/lib/plaid/models/investment_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_holdings_get_request_options.rb b/lib/plaid/models/investment_holdings_get_request_options.rb index 99eb28aea..4817559b4 100644 --- a/lib/plaid/models/investment_holdings_get_request_options.rb +++ b/lib/plaid/models/investment_holdings_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction.rb b/lib/plaid/models/investment_transaction.rb index 404fb39f4..f06fab59b 100644 --- a/lib/plaid/models/investment_transaction.rb +++ b/lib/plaid/models/investment_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index 4cbe4895b..5bd37cfde 100644 --- a/lib/plaid/models/investment_transaction_subtype.rb +++ b/lib/plaid/models/investment_transaction_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_transaction_type.rb b/lib/plaid/models/investment_transaction_type.rb index 263bbb69f..c0f56b0fe 100644 --- a/lib/plaid/models/investment_transaction_type.rb +++ b/lib/plaid/models/investment_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_numbers.rb b/lib/plaid/models/investments_auth_get_numbers.rb index b76779119..30ab50504 100644 --- a/lib/plaid/models/investments_auth_get_numbers.rb +++ b/lib/plaid/models/investments_auth_get_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_request.rb b/lib/plaid/models/investments_auth_get_request.rb index 1bf9d0663..8d2f94401 100644 --- a/lib/plaid/models/investments_auth_get_request.rb +++ b/lib/plaid/models/investments_auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_request_options.rb b/lib/plaid/models/investments_auth_get_request_options.rb index 5774b98fa..830adb428 100644 --- a/lib/plaid/models/investments_auth_get_request_options.rb +++ b/lib/plaid/models/investments_auth_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_get_response.rb b/lib/plaid/models/investments_auth_get_response.rb index e528a1bbc..c67121ca0 100644 --- a/lib/plaid/models/investments_auth_get_response.rb +++ b/lib/plaid/models/investments_auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_owner.rb b/lib/plaid/models/investments_auth_owner.rb index 87cfdbb0f..956bfd4b9 100644 --- a/lib/plaid/models/investments_auth_owner.rb +++ b/lib/plaid/models/investments_auth_owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_default_update_webhook.rb b/lib/plaid/models/investments_default_update_webhook.rb index 5a4571318..c5bcb5889 100644 --- a/lib/plaid/models/investments_default_update_webhook.rb +++ b/lib/plaid/models/investments_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_historical_update_webhook.rb b/lib/plaid/models/investments_historical_update_webhook.rb index 324db5028..40afa9e49 100644 --- a/lib/plaid/models/investments_historical_update_webhook.rb +++ b/lib/plaid/models/investments_historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_holdings_get_request.rb b/lib/plaid/models/investments_holdings_get_request.rb index c91382425..b5841ee59 100644 --- a/lib/plaid/models/investments_holdings_get_request.rb +++ b/lib/plaid/models/investments_holdings_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_holdings_get_response.rb b/lib/plaid/models/investments_holdings_get_response.rb index 01126955a..53dc6bd90 100644 --- a/lib/plaid/models/investments_holdings_get_response.rb +++ b/lib/plaid/models/investments_holdings_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_refresh_request.rb b/lib/plaid/models/investments_refresh_request.rb index ce57fd540..14ef6d4b1 100644 --- a/lib/plaid/models/investments_refresh_request.rb +++ b/lib/plaid/models/investments_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_refresh_response.rb b/lib/plaid/models/investments_refresh_response.rb index 20a362a5c..e71d95872 100644 --- a/lib/plaid/models/investments_refresh_response.rb +++ b/lib/plaid/models/investments_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_get_request.rb b/lib/plaid/models/investments_transactions_get_request.rb index 65cbf8b17..0f70f053d 100644 --- a/lib/plaid/models/investments_transactions_get_request.rb +++ b/lib/plaid/models/investments_transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_get_request_options.rb b/lib/plaid/models/investments_transactions_get_request_options.rb index b3f3dc0d2..a697c18d3 100644 --- a/lib/plaid/models/investments_transactions_get_request_options.rb +++ b/lib/plaid/models/investments_transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_get_response.rb b/lib/plaid/models/investments_transactions_get_response.rb index dbdd252c1..9e28e6ea0 100644 --- a/lib/plaid/models/investments_transactions_get_response.rb +++ b/lib/plaid/models/investments_transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_transactions_override.rb b/lib/plaid/models/investments_transactions_override.rb index d28c06cb2..c5860dd48 100644 --- a/lib/plaid/models/investments_transactions_override.rb +++ b/lib/plaid/models/investments_transactions_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/iso_currency_code.rb b/lib/plaid/models/iso_currency_code.rb index f22327a67..e20e9f518 100644 --- a/lib/plaid/models/iso_currency_code.rb +++ b/lib/plaid/models/iso_currency_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issue_resolved_webhook.rb b/lib/plaid/models/issue_resolved_webhook.rb new file mode 100644 index 000000000..11136fc7c --- /dev/null +++ b/lib/plaid/models/issue_resolved_webhook.rb @@ -0,0 +1,316 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Webhook notifications are sent only when a subscribed issue is marked as resolved. The payload contains details about the issue at the time of its resolution, focusing on the most essential information. + class IssueResolvedWebhook + # `ISSUES` + attr_accessor :webhook_type + + # `ISSUE_RESOLVED` + attr_accessor :webhook_code + + # The unique identifier of the connectivity issue. + attr_accessor :issue_id + + # A simple description of the error for the end user. + attr_accessor :issue_description + + # The time when the issue was marked as resolved. + attr_accessor :issue_resolved_at + + # The unique identifier of the financial institution involved. + attr_accessor :institution_id + + # The name of the financial institution involved. + attr_accessor :institution_name + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'issue_id' => :'issue_id', + :'issue_description' => :'issue_description', + :'issue_resolved_at' => :'issue_resolved_at', + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'issue_id' => :'String', + :'issue_description' => :'String', + :'issue_resolved_at' => :'Time', + :'institution_id' => :'String', + :'institution_name' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::IssueResolvedWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::IssueResolvedWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'issue_id') + self.issue_id = attributes[:'issue_id'] + end + + if attributes.key?(:'issue_description') + self.issue_description = attributes[:'issue_description'] + end + + if attributes.key?(:'issue_resolved_at') + self.issue_resolved_at = attributes[:'issue_resolved_at'] + end + + if attributes.key?(:'institution_id') + self.institution_id = attributes[:'institution_id'] + end + + if attributes.key?(:'institution_name') + self.institution_name = attributes[:'institution_name'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_id cannot be nil.') + end + + if @issue_description.nil? + invalid_properties.push('invalid value for "issue_description", issue_description cannot be nil.') + end + + if @issue_resolved_at.nil? + invalid_properties.push('invalid value for "issue_resolved_at", issue_resolved_at cannot be nil.') + end + + if @institution_id.nil? + invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.') + end + + if @institution_name.nil? + invalid_properties.push('invalid value for "institution_name", institution_name cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @issue_id.nil? + return false if @issue_description.nil? + return false if @issue_resolved_at.nil? + return false if @institution_id.nil? + return false if @institution_name.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + issue_id == o.issue_id && + issue_description == o.issue_description && + issue_resolved_at == o.issue_resolved_at && + institution_id == o.institution_id && + institution_name == o.institution_name + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, issue_id, issue_description, issue_resolved_at, institution_id, institution_name].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index ec6e95f66..4845f0739 100644 --- a/lib/plaid/models/issuing_country.rb +++ b/lib/plaid/models/issuing_country.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item.rb b/lib/plaid/models/item.rb index 71c9e9093..9dbce3333 100644 --- a/lib/plaid/models/item.rb +++ b/lib/plaid/models/item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_access_token_invalidate_request.rb b/lib/plaid/models/item_access_token_invalidate_request.rb index f3d1cf321..3c46ccc17 100644 --- a/lib/plaid/models/item_access_token_invalidate_request.rb +++ b/lib/plaid/models/item_access_token_invalidate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_access_token_invalidate_response.rb b/lib/plaid/models/item_access_token_invalidate_response.rb index 98d3bd319..ad00866df 100644 --- a/lib/plaid/models/item_access_token_invalidate_response.rb +++ b/lib/plaid/models/item_access_token_invalidate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_activity_list_request.rb b/lib/plaid/models/item_activity_list_request.rb index 6c83098d2..31372fcfe 100644 --- a/lib/plaid/models/item_activity_list_request.rb +++ b/lib/plaid/models/item_activity_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_activity_list_response.rb b/lib/plaid/models/item_activity_list_response.rb index cf84d2f69..e8624f75f 100644 --- a/lib/plaid/models/item_activity_list_response.rb +++ b/lib/plaid/models/item_activity_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_add_result_webhook.rb b/lib/plaid/models/item_add_result_webhook.rb index c9fd8e3b2..8af03d3e2 100644 --- a/lib/plaid/models/item_add_result_webhook.rb +++ b/lib/plaid/models/item_add_result_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when a user successfully adds a Plaid item during a Link session. Contains the public token for the item. + # Fired when a user successfully adds a Plaid Item during a Link session when using Hosted Link or Multi-Item Link sessions. Contains the public token for the Item. class ItemAddResultWebhook # `LINK` attr_accessor :webhook_type diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index b2cd799bc..582c7c6fd 100644 --- a/lib/plaid/models/item_application_list_request.rb +++ b/lib/plaid/models/item_application_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_list_response.rb b/lib/plaid/models/item_application_list_response.rb index 1307d8f6d..01379362c 100644 --- a/lib/plaid/models/item_application_list_response.rb +++ b/lib/plaid/models/item_application_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 983948a3f..768e12517 100644 --- a/lib/plaid/models/item_application_list_user_auth.rb +++ b/lib/plaid/models/item_application_list_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_scopes_update_request.rb b/lib/plaid/models/item_application_scopes_update_request.rb index 5cb4f9104..6a1384f59 100644 --- a/lib/plaid/models/item_application_scopes_update_request.rb +++ b/lib/plaid/models/item_application_scopes_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_scopes_update_response.rb b/lib/plaid/models/item_application_scopes_update_response.rb index 49a852576..53b2e48f6 100644 --- a/lib/plaid/models/item_application_scopes_update_response.rb +++ b/lib/plaid/models/item_application_scopes_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_unlink_request.rb b/lib/plaid/models/item_application_unlink_request.rb index c23bee1bb..f617f02df 100644 --- a/lib/plaid/models/item_application_unlink_request.rb +++ b/lib/plaid/models/item_application_unlink_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_unlink_response.rb b/lib/plaid/models/item_application_unlink_response.rb index c08c62173..bb56e0849 100644 --- a/lib/plaid/models/item_application_unlink_response.rb +++ b/lib/plaid/models/item_application_unlink_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_error_webhook.rb b/lib/plaid/models/item_error_webhook.rb index 771650219..013707c0b 100644 --- a/lib/plaid/models/item_error_webhook.rb +++ b/lib/plaid/models/item_error_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_get_request.rb b/lib/plaid/models/item_get_request.rb index bb315bff5..3f7884533 100644 --- a/lib/plaid/models/item_get_request.rb +++ b/lib/plaid/models/item_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_get_response.rb b/lib/plaid/models/item_get_response.rb index 2b6a16d97..8bd6a0fe2 100644 --- a/lib/plaid/models/item_get_response.rb +++ b/lib/plaid/models/item_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request.rb b/lib/plaid/models/item_import_request.rb index f818944ef..0f47e83db 100644 --- a/lib/plaid/models/item_import_request.rb +++ b/lib/plaid/models/item_import_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index b67de386d..a03ab23a5 100644 --- a/lib/plaid/models/item_import_request_options.rb +++ b/lib/plaid/models/item_import_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index 0cf76d315..71454bd99 100644 --- a/lib/plaid/models/item_import_request_user_auth.rb +++ b/lib/plaid/models/item_import_request_user_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index 1afca2674..4e720f5cd 100644 --- a/lib/plaid/models/item_import_response.rb +++ b/lib/plaid/models/item_import_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_login_repaired_webhook.rb b/lib/plaid/models/item_login_repaired_webhook.rb index f1a57e79f..58531db18 100644 --- a/lib/plaid/models/item_login_repaired_webhook.rb +++ b/lib/plaid/models/item_login_repaired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_product_ready_webhook.rb b/lib/plaid/models/item_product_ready_webhook.rb index d81fff592..66b84a834 100644 --- a/lib/plaid/models/item_product_ready_webhook.rb +++ b/lib/plaid/models/item_product_ready_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_create_request.rb b/lib/plaid/models/item_public_token_create_request.rb index 6bc572171..ddfc12d87 100644 --- a/lib/plaid/models/item_public_token_create_request.rb +++ b/lib/plaid/models/item_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_create_response.rb b/lib/plaid/models/item_public_token_create_response.rb index d62e3cc7f..f1139b6b3 100644 --- a/lib/plaid/models/item_public_token_create_response.rb +++ b/lib/plaid/models/item_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_exchange_request.rb b/lib/plaid/models/item_public_token_exchange_request.rb index b426c1b84..e4690c882 100644 --- a/lib/plaid/models/item_public_token_exchange_request.rb +++ b/lib/plaid/models/item_public_token_exchange_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_public_token_exchange_response.rb b/lib/plaid/models/item_public_token_exchange_response.rb index 59031fd63..73c39f55f 100644 --- a/lib/plaid/models/item_public_token_exchange_response.rb +++ b/lib/plaid/models/item_public_token_exchange_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_remove_request.rb b/lib/plaid/models/item_remove_request.rb index 448f84ed3..4bf7182a5 100644 --- a/lib/plaid/models/item_remove_request.rb +++ b/lib/plaid/models/item_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_remove_response.rb b/lib/plaid/models/item_remove_response.rb index 05157da05..58aa8b698 100644 --- a/lib/plaid/models/item_remove_response.rb +++ b/lib/plaid/models/item_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status.rb b/lib/plaid/models/item_status.rb index a6e9a1f48..b97c43397 100644 --- a/lib/plaid/models/item_status.rb +++ b/lib/plaid/models/item_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_investments.rb b/lib/plaid/models/item_status_investments.rb index edb3734a5..5d0074791 100644 --- a/lib/plaid/models/item_status_investments.rb +++ b/lib/plaid/models/item_status_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_last_webhook.rb b/lib/plaid/models/item_status_last_webhook.rb index 27f07276e..939ff8047 100644 --- a/lib/plaid/models/item_status_last_webhook.rb +++ b/lib/plaid/models/item_status_last_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_nullable.rb b/lib/plaid/models/item_status_nullable.rb index 3a77e8bf8..7b16d7f20 100644 --- a/lib/plaid/models/item_status_nullable.rb +++ b/lib/plaid/models/item_status_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_status_transactions.rb b/lib/plaid/models/item_status_transactions.rb index b44b4229d..72fd09adf 100644 --- a/lib/plaid/models/item_status_transactions.rb +++ b/lib/plaid/models/item_status_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_webhook_update_request.rb b/lib/plaid/models/item_webhook_update_request.rb index f0cb379c3..965408919 100644 --- a/lib/plaid/models/item_webhook_update_request.rb +++ b/lib/plaid/models/item_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_webhook_update_response.rb b/lib/plaid/models/item_webhook_update_response.rb index c52d3b2f0..a31c783c6 100644 --- a/lib/plaid/models/item_webhook_update_response.rb +++ b/lib/plaid/models/item_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/jwk_public_key.rb b/lib/plaid/models/jwk_public_key.rb index 15c2ff08b..5dd736a28 100644 --- a/lib/plaid/models/jwk_public_key.rb +++ b/lib/plaid/models/jwk_public_key.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/jwt_header.rb b/lib/plaid/models/jwt_header.rb index 53b70e9ab..aeb10f071 100644 --- a/lib/plaid/models/jwt_header.rb +++ b/lib/plaid/models/jwt_header.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_address_summary.rb b/lib/plaid/models/kyc_check_address_summary.rb index f27008c46..7616e7ac6 100644 --- a/lib/plaid/models/kyc_check_address_summary.rb +++ b/lib/plaid/models/kyc_check_address_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,16 @@ class KYCCheckAddressSummary attr_accessor :type + attr_accessor :street + + attr_accessor :city + + attr_accessor :region + + attr_accessor :postal_code + + attr_accessor :international_details + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -49,7 +59,12 @@ def self.attribute_map { :'summary' => :'summary', :'po_box' => :'po_box', - :'type' => :'type' + :'type' => :'type', + :'street' => :'street', + :'city' => :'city', + :'region' => :'region', + :'postal_code' => :'postal_code', + :'international_details' => :'international_details' } end @@ -63,13 +78,19 @@ def self.openapi_types { :'summary' => :'MatchSummaryCode', :'po_box' => :'POBoxStatus', - :'type' => :'AddressPurposeLabel' + :'type' => :'AddressPurposeLabel', + :'street' => :'HiddenMatchSummaryCode', + :'city' => :'HiddenMatchSummaryCode', + :'region' => :'HiddenMatchSummaryCode', + :'postal_code' => :'HiddenMatchSummaryCode', + :'international_details' => :'KYCCheckDetailsInternationalAddress' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'international_details' ]) end @@ -99,6 +120,26 @@ def initialize(attributes = {}) if attributes.key?(:'type') self.type = attributes[:'type'] end + + if attributes.key?(:'street') + self.street = attributes[:'street'] + end + + if attributes.key?(:'city') + self.city = attributes[:'city'] + end + + if attributes.key?(:'region') + self.region = attributes[:'region'] + end + + if attributes.key?(:'postal_code') + self.postal_code = attributes[:'postal_code'] + end + + if attributes.key?(:'international_details') + self.international_details = attributes[:'international_details'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -136,7 +177,12 @@ def ==(o) self.class == o.class && summary == o.summary && po_box == o.po_box && - type == o.type + type == o.type && + street == o.street && + city == o.city && + region == o.region && + postal_code == o.postal_code && + international_details == o.international_details end # @see the `==` method @@ -148,7 +194,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary, po_box, type].hash + [summary, po_box, type, street, city, region, postal_code, international_details].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_date_of_birth_summary.rb b/lib/plaid/models/kyc_check_date_of_birth_summary.rb index affbdf640..da3bb661b 100644 --- a/lib/plaid/models/kyc_check_date_of_birth_summary.rb +++ b/lib/plaid/models/kyc_check_date_of_birth_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,6 +18,12 @@ module Plaid class KYCCheckDateOfBirthSummary attr_accessor :summary + attr_accessor :day + + attr_accessor :month + + attr_accessor :year + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -43,7 +49,10 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'summary' => :'summary' + :'summary' => :'summary', + :'day' => :'day', + :'month' => :'month', + :'year' => :'year' } end @@ -55,7 +64,10 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'summary' => :'MatchSummaryCode' + :'summary' => :'MatchSummaryCode', + :'day' => :'HiddenMatchSummaryCode', + :'month' => :'HiddenMatchSummaryCode', + :'year' => :'HiddenMatchSummaryCode' } end @@ -83,6 +95,18 @@ def initialize(attributes = {}) if attributes.key?(:'summary') self.summary = attributes[:'summary'] end + + if attributes.key?(:'day') + self.day = attributes[:'day'] + end + + if attributes.key?(:'month') + self.month = attributes[:'month'] + end + + if attributes.key?(:'year') + self.year = attributes[:'year'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -108,7 +132,10 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - summary == o.summary + summary == o.summary && + day == o.day && + month == o.month && + year == o.year end # @see the `==` method @@ -120,7 +147,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary].hash + [summary, day, month, year].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index f0b2093e0..4599b5862 100644 --- a/lib/plaid/models/kyc_check_details.rb +++ b/lib/plaid/models/kyc_check_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_details_international_address.rb b/lib/plaid/models/kyc_check_details_international_address.rb new file mode 100644 index 000000000..c0bb539de --- /dev/null +++ b/lib/plaid/models/kyc_check_details_international_address.rb @@ -0,0 +1,317 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Result summary object specifying how the `address` field matched for fields that are only present on an international KYC check. + class KYCCheckDetailsInternationalAddress + attr_accessor :building + + attr_accessor :county + + attr_accessor :district + + attr_accessor :house_number + + attr_accessor :subpremise + + attr_accessor :thoroughfare + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'building' => :'building', + :'county' => :'county', + :'district' => :'district', + :'house_number' => :'house_number', + :'subpremise' => :'subpremise', + :'thoroughfare' => :'thoroughfare' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'building' => :'HiddenMatchSummaryCode', + :'county' => :'HiddenMatchSummaryCode', + :'district' => :'HiddenMatchSummaryCode', + :'house_number' => :'HiddenMatchSummaryCode', + :'subpremise' => :'HiddenMatchSummaryCode', + :'thoroughfare' => :'HiddenMatchSummaryCode' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::KYCCheckDetailsInternationalAddress` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::KYCCheckDetailsInternationalAddress`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'building') + self.building = attributes[:'building'] + end + + if attributes.key?(:'county') + self.county = attributes[:'county'] + end + + if attributes.key?(:'district') + self.district = attributes[:'district'] + end + + if attributes.key?(:'house_number') + self.house_number = attributes[:'house_number'] + end + + if attributes.key?(:'subpremise') + self.subpremise = attributes[:'subpremise'] + end + + if attributes.key?(:'thoroughfare') + self.thoroughfare = attributes[:'thoroughfare'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @building.nil? + invalid_properties.push('invalid value for "building", building cannot be nil.') + end + + if @county.nil? + invalid_properties.push('invalid value for "county", county cannot be nil.') + end + + if @district.nil? + invalid_properties.push('invalid value for "district", district cannot be nil.') + end + + if @house_number.nil? + invalid_properties.push('invalid value for "house_number", house_number cannot be nil.') + end + + if @subpremise.nil? + invalid_properties.push('invalid value for "subpremise", subpremise cannot be nil.') + end + + if @thoroughfare.nil? + invalid_properties.push('invalid value for "thoroughfare", thoroughfare cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @building.nil? + return false if @county.nil? + return false if @district.nil? + return false if @house_number.nil? + return false if @subpremise.nil? + return false if @thoroughfare.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + building == o.building && + county == o.county && + district == o.district && + house_number == o.house_number && + subpremise == o.subpremise && + thoroughfare == o.thoroughfare + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [building, county, district, house_number, subpremise, thoroughfare].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index 34394f3fe..4e8318923 100644 --- a/lib/plaid/models/kyc_check_id_number_summary.rb +++ b/lib/plaid/models/kyc_check_id_number_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_name_summary.rb b/lib/plaid/models/kyc_check_name_summary.rb index 9eccccde8..b782bb38a 100644 --- a/lib/plaid/models/kyc_check_name_summary.rb +++ b/lib/plaid/models/kyc_check_name_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,6 +18,10 @@ module Plaid class KYCCheckNameSummary attr_accessor :summary + attr_accessor :given_name + + attr_accessor :family_name + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -43,7 +47,9 @@ def valid?(value) # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'summary' => :'summary' + :'summary' => :'summary', + :'given_name' => :'given_name', + :'family_name' => :'family_name' } end @@ -55,7 +61,9 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'summary' => :'MatchSummaryCode' + :'summary' => :'MatchSummaryCode', + :'given_name' => :'HiddenMatchSummaryCode', + :'family_name' => :'HiddenMatchSummaryCode' } end @@ -83,6 +91,14 @@ def initialize(attributes = {}) if attributes.key?(:'summary') self.summary = attributes[:'summary'] end + + if attributes.key?(:'given_name') + self.given_name = attributes[:'given_name'] + end + + if attributes.key?(:'family_name') + self.family_name = attributes[:'family_name'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -108,7 +124,9 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - summary == o.summary + summary == o.summary && + given_name == o.given_name && + family_name == o.family_name end # @see the `==` method @@ -120,7 +138,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [summary].hash + [summary, given_name, family_name].hash end # Builds the object from hash diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index f0f5e6126..d26c17221 100644 --- a/lib/plaid/models/kyc_check_phone_summary.rb +++ b/lib/plaid/models/kyc_check_phone_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/last_data_access_times.rb b/lib/plaid/models/last_data_access_times.rb index 5971af6af..579d5e37d 100644 --- a/lib/plaid/models/last_data_access_times.rb +++ b/lib/plaid/models/last_data_access_times.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_default_update_webhook.rb b/lib/plaid/models/liabilities_default_update_webhook.rb index 8ea8a64f8..9a901930d 100644 --- a/lib/plaid/models/liabilities_default_update_webhook.rb +++ b/lib/plaid/models/liabilities_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_request.rb b/lib/plaid/models/liabilities_get_request.rb index 62bb98c9a..24faddac2 100644 --- a/lib/plaid/models/liabilities_get_request.rb +++ b/lib/plaid/models/liabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_request_options.rb b/lib/plaid/models/liabilities_get_request_options.rb index e9953ca7a..3590ad13c 100644 --- a/lib/plaid/models/liabilities_get_request_options.rb +++ b/lib/plaid/models/liabilities_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_get_response.rb b/lib/plaid/models/liabilities_get_response.rb index 8864689c0..d0bd4d09a 100644 --- a/lib/plaid/models/liabilities_get_response.rb +++ b/lib/plaid/models/liabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liabilities_object.rb b/lib/plaid/models/liabilities_object.rb index 91e7ae5fd..74bc4031e 100644 --- a/lib/plaid/models/liabilities_object.rb +++ b/lib/plaid/models/liabilities_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index c0c159a2d..db6b24242 100644 --- a/lib/plaid/models/liability_override.rb +++ b/lib/plaid/models/liability_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_callback_metadata.rb b/lib/plaid/models/link_callback_metadata.rb index fceab1e10..11954e791 100644 --- a/lib/plaid/models/link_callback_metadata.rb +++ b/lib/plaid/models/link_callback_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_account.rb b/lib/plaid/models/link_delivery_account.rb index 29a37139a..46a61ba4c 100644 --- a/lib/plaid/models/link_delivery_account.rb +++ b/lib/plaid/models/link_delivery_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_callback_webhook.rb b/lib/plaid/models/link_delivery_callback_webhook.rb index cde9cd182..736cb470b 100644 --- a/lib/plaid/models/link_delivery_callback_webhook.rb +++ b/lib/plaid/models/link_delivery_callback_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_communication_method.rb b/lib/plaid/models/link_delivery_communication_method.rb index a89be6674..bfb3b2b59 100644 --- a/lib/plaid/models/link_delivery_communication_method.rb +++ b/lib/plaid/models/link_delivery_communication_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_create_request.rb b/lib/plaid/models/link_delivery_create_request.rb index cbac4dc55..14e31924b 100644 --- a/lib/plaid/models/link_delivery_create_request.rb +++ b/lib/plaid/models/link_delivery_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_create_response.rb b/lib/plaid/models/link_delivery_create_response.rb index b503ca9d4..2a52ab5ad 100644 --- a/lib/plaid/models/link_delivery_create_response.rb +++ b/lib/plaid/models/link_delivery_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_delivery_method.rb b/lib/plaid/models/link_delivery_delivery_method.rb index ff8948c0f..50a28678b 100644 --- a/lib/plaid/models/link_delivery_delivery_method.rb +++ b/lib/plaid/models/link_delivery_delivery_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_get_request.rb b/lib/plaid/models/link_delivery_get_request.rb index bb03fc981..af324f1d9 100644 --- a/lib/plaid/models/link_delivery_get_request.rb +++ b/lib/plaid/models/link_delivery_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_get_response.rb b/lib/plaid/models/link_delivery_get_response.rb index e21ff2620..d8fbd3b5d 100644 --- a/lib/plaid/models/link_delivery_get_response.rb +++ b/lib/plaid/models/link_delivery_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_institution.rb b/lib/plaid/models/link_delivery_institution.rb index 6434f6fb8..3dd90fdd8 100644 --- a/lib/plaid/models/link_delivery_institution.rb +++ b/lib/plaid/models/link_delivery_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_metadata.rb b/lib/plaid/models/link_delivery_metadata.rb index e26cfc934..34e9735c0 100644 --- a/lib/plaid/models/link_delivery_metadata.rb +++ b/lib/plaid/models/link_delivery_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_options.rb b/lib/plaid/models/link_delivery_options.rb index 75d4ebbf7..b485a5422 100644 --- a/lib/plaid/models/link_delivery_options.rb +++ b/lib/plaid/models/link_delivery_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_recipient.rb b/lib/plaid/models/link_delivery_recipient.rb index b8e410d15..7e069ed54 100644 --- a/lib/plaid/models/link_delivery_recipient.rb +++ b/lib/plaid/models/link_delivery_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_session_status.rb b/lib/plaid/models/link_delivery_session_status.rb index 2ed8e2d58..2cfd5f51b 100644 --- a/lib/plaid/models/link_delivery_session_status.rb +++ b/lib/plaid/models/link_delivery_session_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_verification_status.rb b/lib/plaid/models/link_delivery_verification_status.rb index b2d503332..0a5dc16f7 100644 --- a/lib/plaid/models/link_delivery_verification_status.rb +++ b/lib/plaid/models/link_delivery_verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_callback_type.rb b/lib/plaid/models/link_delivery_webhook_callback_type.rb index f44260709..29fbb2962 100644 --- a/lib/plaid/models/link_delivery_webhook_callback_type.rb +++ b/lib/plaid/models/link_delivery_webhook_callback_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_communication_method.rb b/lib/plaid/models/link_delivery_webhook_communication_method.rb index 842a6ad8e..2ca627f65 100644 --- a/lib/plaid/models/link_delivery_webhook_communication_method.rb +++ b/lib/plaid/models/link_delivery_webhook_communication_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_delivery_webhook_delivery_status.rb b/lib/plaid/models/link_delivery_webhook_delivery_status.rb index 3ff9e4fc2..d8e287805 100644 --- a/lib/plaid/models/link_delivery_webhook_delivery_status.rb +++ b/lib/plaid/models/link_delivery_webhook_delivery_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event.rb b/lib/plaid/models/link_event.rb index 6bc054cf5..ff641d1fa 100644 --- a/lib/plaid/models/link_event.rb +++ b/lib/plaid/models/link_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event_metadata.rb b/lib/plaid/models/link_event_metadata.rb index eeb006026..2545f30df 100644 --- a/lib/plaid/models/link_event_metadata.rb +++ b/lib/plaid/models/link_event_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_event_name.rb b/lib/plaid/models/link_event_name.rb index 5ea93f1da..e4f6e2fce 100644 --- a/lib/plaid/models/link_event_name.rb +++ b/lib/plaid/models/link_event_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,7 @@ class LinkEventName EXIT = "EXIT".freeze FAIL_OAUTH = "FAIL_OAUTH".freeze HANDOFF = "HANDOFF".freeze + ISSUE_FOLLOWED = "ISSUE_FOLLOWED".freeze OPEN = "OPEN".freeze OPEN_MY_PLAID = "OPEN_MY_PLAID".freeze OPEN_OAUTH = "OPEN_OAUTH".freeze diff --git a/lib/plaid/models/link_events_webhook.rb b/lib/plaid/models/link_events_webhook.rb index 3f8fb5151..f218c91be 100644 --- a/lib/plaid/models/link_events_webhook.rb +++ b/lib/plaid/models/link_events_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb index 224d694b8..71041b9fe 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb index f1c8e3ff1..6b3bdbf28 100644 --- a/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb +++ b/lib/plaid/models/link_o_auth_correlation_id_exchange_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_request.rb b/lib/plaid/models/link_profile_eligibility_check_request.rb index d33696e60..44591edac 100644 --- a/lib/plaid/models/link_profile_eligibility_check_request.rb +++ b/lib/plaid/models/link_profile_eligibility_check_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_response.rb b/lib/plaid/models/link_profile_eligibility_check_response.rb index 17b76a03e..576b002e9 100644 --- a/lib/plaid/models/link_profile_eligibility_check_response.rb +++ b/lib/plaid/models/link_profile_eligibility_check_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_profile_eligibility_check_user.rb b/lib/plaid/models/link_profile_eligibility_check_user.rb index 98c1b7504..a9467c8f6 100644 --- a/lib/plaid/models/link_profile_eligibility_check_user.rb +++ b/lib/plaid/models/link_profile_eligibility_check_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_bank_employment_result.rb b/lib/plaid/models/link_session_bank_employment_result.rb index d7a595f45..62c5744b6 100644 --- a/lib/plaid/models/link_session_bank_employment_result.rb +++ b/lib/plaid/models/link_session_bank_employment_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_bank_income_result.rb b/lib/plaid/models/link_session_bank_income_result.rb index e43f95f5e..f957c4b53 100644 --- a/lib/plaid/models/link_session_bank_income_result.rb +++ b/lib/plaid/models/link_session_bank_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_cra_item_add_result.rb b/lib/plaid/models/link_session_cra_item_add_result.rb new file mode 100644 index 000000000..2c926c53e --- /dev/null +++ b/lib/plaid/models/link_session_cra_item_add_result.rb @@ -0,0 +1,253 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The details of a Plaid Check Item add in Link. + class LinkSessionCraItemAddResult + # The Plaid Check Item ID. The `item_id` is always unique; linking the same account at the same institution twice will result in two Items with different `item_id` values. The `item_id` is case-sensitive. + attr_accessor :item_id + + # A list of accounts attached to the connected Item. If Account Select is enabled via the developer dashboard, `accounts` will only include selected accounts. + attr_accessor :accounts + + attr_accessor :institution + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'item_id' => :'item_id', + :'accounts' => :'accounts', + :'institution' => :'institution' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'item_id' => :'String', + :'accounts' => :'Array', + :'institution' => :'LinkSessionSuccessMetadataInstitution' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'institution' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkSessionCraItemAddResult` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkSessionCraItemAddResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'accounts') + if (value = attributes[:'accounts']).is_a?(Array) + self.accounts = value + end + end + + if attributes.key?(:'institution') + self.institution = attributes[:'institution'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @accounts.nil? + invalid_properties.push('invalid value for "accounts", accounts cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @item_id.nil? + return false if @accounts.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + item_id == o.item_id && + accounts == o.accounts && + institution == o.institution + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [item_id, accounts, institution].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_session_exit.rb b/lib/plaid/models/link_session_exit.rb index a824713e4..55ebba70e 100644 --- a/lib/plaid/models/link_session_exit.rb +++ b/lib/plaid/models/link_session_exit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit_deprecated.rb b/lib/plaid/models/link_session_exit_deprecated.rb index 1f363d13c..06f62c8e3 100644 --- a/lib/plaid/models/link_session_exit_deprecated.rb +++ b/lib/plaid/models/link_session_exit_deprecated.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object representing an [onExit](https://plaid.com/docs/link/web/#onexit) callback from Link. + # An object representing an [onExit](https://plaid.com/docs/link/web/#onexit) callback from Link. This field has been deprecated in favor of [`exit`](https://plaid.com/docs/api/link/#link-token-get-response-link-sessions-exit), for improved naming consistency. class LinkSessionExitDeprecated attr_accessor :error diff --git a/lib/plaid/models/link_session_exit_metadata.rb b/lib/plaid/models/link_session_exit_metadata.rb index 53fc1be09..136dcb07b 100644 --- a/lib/plaid/models/link_session_exit_metadata.rb +++ b/lib/plaid/models/link_session_exit_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit_metadata_institution.rb b/lib/plaid/models/link_session_exit_metadata_institution.rb index f6e151c0a..25af359c5 100644 --- a/lib/plaid/models/link_session_exit_metadata_institution.rb +++ b/lib/plaid/models/link_session_exit_metadata_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_finished_webhook.rb b/lib/plaid/models/link_session_finished_webhook.rb index 4724ce68f..dff7dde6f 100644 --- a/lib/plaid/models/link_session_finished_webhook.rb +++ b/lib/plaid/models/link_session_finished_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Contains the state of a completed Link session, along with the public token if available. By default, the `SESSION_FINISHED` webhook is enabled only for clients that are enabled for Hosted Link. If you would like to receive this webhook and are not using Hosted Link, contact your Account Manager. + # Contains the state of a completed Link session, along with the public token(s) if available. By default, the `SESSION_FINISHED` webhook is enabled only for clients that are enabled for Hosted Link, or in sessions that are enabled for Multi-Item Link. If you would like to receive this webhook and are not using Hosted Link or Multi-Item Link, contact your Account Manager. class LinkSessionFinishedWebhook # `LINK` attr_accessor :webhook_type diff --git a/lib/plaid/models/link_session_item_add_result.rb b/lib/plaid/models/link_session_item_add_result.rb index b09dd33f7..1e14cf210 100644 --- a/lib/plaid/models/link_session_item_add_result.rb +++ b/lib/plaid/models/link_session_item_add_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_payroll_income_result.rb b/lib/plaid/models/link_session_payroll_income_result.rb index a8b701cf2..8188b5dc7 100644 --- a/lib/plaid/models/link_session_payroll_income_result.rb +++ b/lib/plaid/models/link_session_payroll_income_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_results.rb b/lib/plaid/models/link_session_results.rb index 2dda19f4b..32f2a5a6c 100644 --- a/lib/plaid/models/link_session_results.rb +++ b/lib/plaid/models/link_session_results.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,6 +19,9 @@ class LinkSessionResults # The set of Item adds for the Link session. attr_accessor :item_add_results + # The set of Plaid Check Item adds for the Link session. + attr_accessor :cra_item_add_results + # The set of bank income verifications for the Link session. attr_accessor :bank_income_results @@ -31,6 +34,7 @@ class LinkSessionResults def self.attribute_map { :'item_add_results' => :'item_add_results', + :'cra_item_add_results' => :'cra_item_add_results', :'bank_income_results' => :'bank_income_results', :'payroll_income_results' => :'payroll_income_results', :'document_income_results' => :'document_income_results' @@ -46,6 +50,7 @@ def self.acceptable_attributes def self.openapi_types { :'item_add_results' => :'Array', + :'cra_item_add_results' => :'Array', :'bank_income_results' => :'Array', :'payroll_income_results' => :'Array', :'document_income_results' => :'CreditSessionDocumentIncomeResult' @@ -80,6 +85,12 @@ def initialize(attributes = {}) end end + if attributes.key?(:'cra_item_add_results') + if (value = attributes[:'cra_item_add_results']).is_a?(Array) + self.cra_item_add_results = value + end + end + if attributes.key?(:'bank_income_results') if (value = attributes[:'bank_income_results']).is_a?(Array) self.bank_income_results = value @@ -116,6 +127,7 @@ def ==(o) return true if self.equal?(o) self.class == o.class && item_add_results == o.item_add_results && + cra_item_add_results == o.cra_item_add_results && bank_income_results == o.bank_income_results && payroll_income_results == o.payroll_income_results && document_income_results == o.document_income_results @@ -130,7 +142,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [item_add_results, bank_income_results, payroll_income_results, document_income_results].hash + [item_add_results, cra_item_add_results, bank_income_results, payroll_income_results, document_income_results].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_session_success.rb b/lib/plaid/models/link_session_success.rb index 2cd16df7e..0aa3db197 100644 --- a/lib/plaid/models/link_session_success.rb +++ b/lib/plaid/models/link_session_success.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An object representing an [onSuccess](https://plaid.com/docs/link/web/#onsuccess) callback from Link. + # An object representing an [onSuccess](https://plaid.com/docs/link/web/#onsuccess) callback from Link. This object has been deprecated in favor of the newer [`results.item_add_result`](https://plaid.com/docs/api/link/#link-token-get-response-link-sessions-results-item-add-results), which can support multiple public tokens in a single Link session. class LinkSessionSuccess # Displayed once a user has successfully linked their Item. attr_accessor :public_token diff --git a/lib/plaid/models/link_session_success_metadata.rb b/lib/plaid/models/link_session_success_metadata.rb index 064b40ad9..7d7458ba6 100644 --- a/lib/plaid/models/link_session_success_metadata.rb +++ b/lib/plaid/models/link_session_success_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_account.rb b/lib/plaid/models/link_session_success_metadata_account.rb index f3039163b..79785d4f1 100644 --- a/lib/plaid/models/link_session_success_metadata_account.rb +++ b/lib/plaid/models/link_session_success_metadata_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_institution.rb b/lib/plaid/models/link_session_success_metadata_institution.rb index 61d1f4324..9a6734d0e 100644 --- a/lib/plaid/models/link_session_success_metadata_institution.rb +++ b/lib/plaid/models/link_session_success_metadata_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata_transfer_status.rb b/lib/plaid/models/link_session_success_metadata_transfer_status.rb index bc0b85a0f..1d6169f41 100644 --- a/lib/plaid/models/link_session_success_metadata_transfer_status.rb +++ b/lib/plaid/models/link_session_success_metadata_transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -17,6 +17,7 @@ module Plaid class LinkSessionSuccessMetadataTransferStatus COMPLETE = "COMPLETE".freeze INCOMPLETE = "INCOMPLETE".freeze + NULL = "null".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index e1830dff3..91635275b 100644 --- a/lib/plaid/models/link_token_account_filters.rb +++ b/lib/plaid/models/link_token_account_filters.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_card_switch.rb b/lib/plaid/models/link_token_create_card_switch.rb index 1bd975c64..9bc933ca8 100644 --- a/lib/plaid/models/link_token_create_card_switch.rb +++ b/lib/plaid/models/link_token_create_card_switch.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_credit_filter.rb b/lib/plaid/models/link_token_create_credit_filter.rb index 3e73a96a5..b5dc756e6 100644 --- a/lib/plaid/models/link_token_create_credit_filter.rb +++ b/lib/plaid/models/link_token_create_credit_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_depository_filter.rb b/lib/plaid/models/link_token_create_depository_filter.rb index f8be0d691..e541df33d 100644 --- a/lib/plaid/models/link_token_create_depository_filter.rb +++ b/lib/plaid/models/link_token_create_depository_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_hosted_link.rb b/lib/plaid/models/link_token_create_hosted_link.rb index 1dd6ff3de..55b20f7dd 100644 --- a/lib/plaid/models/link_token_create_hosted_link.rb +++ b/lib/plaid/models/link_token_create_hosted_link.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,7 +21,7 @@ class LinkTokenCreateHostedLink # URI that Hosted Link will redirect to upon completion of the Link flow. This will only occur in Hosted Link sessions, not in other implementation methods. attr_accessor :completion_redirect_uri - # How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 4 hours. + # How many seconds the link will be valid for. Must be positive. Cannot be longer than 21 days. The default lifetime is 7 days for links delivered by email, 1 day for links delivered via SMS, and 30 minutes for links not sent via Plaid Link delivery. This parameter will override the value of all three link types. attr_accessor :url_lifetime_seconds # This indicates whether the client is opening hosted Link in a mobile app in an out of process web view (OOPWV) (i.e., an `AsWebAuthenticationSession` / `SFSafariViewController` or Android Custom Tab). diff --git a/lib/plaid/models/link_token_create_identity.rb b/lib/plaid/models/link_token_create_identity.rb index c511b0afe..4acf2fca5 100644 --- a/lib/plaid/models/link_token_create_identity.rb +++ b/lib/plaid/models/link_token_create_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_institution_data.rb b/lib/plaid/models/link_token_create_institution_data.rb index c6f84bff6..28b2677d9 100644 --- a/lib/plaid/models/link_token_create_institution_data.rb +++ b/lib/plaid/models/link_token_create_institution_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_investment_filter.rb b/lib/plaid/models/link_token_create_investment_filter.rb index 94dc7662c..ab9a9aca9 100644 --- a/lib/plaid/models/link_token_create_investment_filter.rb +++ b/lib/plaid/models/link_token_create_investment_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_loan_filter.rb b/lib/plaid/models/link_token_create_loan_filter.rb index 2cc56aec5..684619bae 100644 --- a/lib/plaid/models/link_token_create_loan_filter.rb +++ b/lib/plaid/models/link_token_create_loan_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request.rb b/lib/plaid/models/link_token_create_request.rb index 3f9cc99bc..e9c5de156 100644 --- a/lib/plaid/models/link_token_create_request.rb +++ b/lib/plaid/models/link_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -33,7 +33,7 @@ class LinkTokenCreateRequest attr_accessor :user - # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted (unless you are using update mode to add Income or Assets to an Item); required otherwise. `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. The products specified here will determine which institutions will be available to your users in Link. Only institutions that support *all* requested products can be selected; a if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. To maximize the number of institutions available, initialize Link with the minimal product set required for your use case. Additional products can be included via the [`optional_products`](https://plaid.com/docs/api/tokens/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/tokens/#link-token-create-request-required-if-supported-products) fields, or can be initialized by calling the endpoint after obtaining an access token. For details and exceptions, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. + # List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted (unless you are using update mode to add Income or Assets to an Item); required otherwise. `balance` is *not* a valid value, the Balance product does not require explicit initialization and will automatically be initialized when any other product is initialized. The products specified here will determine which institutions will be available to your users in Link. Only institutions that support *all* requested products can be selected; a if a user attempts to select an institution that does not support a listed product, a \"Connectivity not supported\" error message will appear in Link. To maximize the number of institutions available, initialize Link with the minimal product set required for your use case. Additional products can be included via the [`optional_products`](https://plaid.com/docs/api/link/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/link/#link-token-create-request-required-if-supported-products) fields, or can be initialized by calling the endpoint after obtaining an access token. For details and exceptions, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). Note that, unless you have opted to disable Instant Match support, institutions that support Instant Match will also be shown in Link if `auth` is specified as a product, even though these institutions do not contain `auth` in their product array. In Production, you will be billed for each product that you specify when initializing Link. Note that a product cannot be removed from an Item once the Item has been initialized with that product. To stop billing on an Item for subscription-based products, such as Liabilities, Investments, and Transactions, remove the Item via `/item/remove`. attr_accessor :products # List of Plaid product(s) you wish to use only if the institution and account(s) selected by the user support the product. Institutions that do not support these products will still be shown in Link. The products will only be extracted and billed if the user selects an institution and account type that supports them. There should be no overlap between this array and the `products`, `optional_products`, or `additional_consented_products` arrays. The `products` array must have at least one product. For more details on using this feature, see [Required if Supported Products](https://www.plaid.com/docs/link/initializing-products/#required-if-supported-products). @@ -57,7 +57,7 @@ class LinkTokenCreateRequest # The name of the Link customization from the Plaid Dashboard to be applied to Link. If not specified, the `default` customization will be used. When using a Link customization, the language in the customization must match the language selected via the `language` parameter, and the countries in the customization should match the country codes selected via `country_codes`. attr_accessor :link_customization_name - # A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank. If using Hosted Link, the `redirect_uri` must be set to `https://secure.plaid.com/oauth/redirect`. + # A URI indicating the destination where a user should be forwarded after completing the Link flow; used to support OAuth authentication flows when launching Link in the browser or another app. The `redirect_uri` should not contain any query parameters. When used in Production, must be an https URI. To specify any subdomain, use `*` as a wildcard character, e.g. `https://*.example.com/oauth.html`. Note that any redirect URI must also be added to the Allowed redirect URIs list in the [developer dashboard](https://dashboard.plaid.com/team/api). If initializing on Android, `android_package_name` must be specified instead and `redirect_uri` should be left blank. attr_accessor :redirect_uri # The name of your app's Android package. Required if using the `link_token` to initialize Link on Android. Any package name specified here must also be added to the Allowed Android package names setting on the [developer dashboard](https://dashboard.plaid.com/team/api). When creating a `link_token` for initializing Link on other platforms, `android_package_name` must be left blank and `redirect_uri` should be used instead. diff --git a/lib/plaid/models/link_token_create_request_account_subtypes.rb b/lib/plaid/models/link_token_create_request_account_subtypes.rb index 3503511dd..2bb20aa3c 100644 --- a/lib/plaid/models/link_token_create_request_account_subtypes.rb +++ b/lib/plaid/models/link_token_create_request_account_subtypes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_auth.rb b/lib/plaid/models/link_token_create_request_auth.rb index 7eb3e1584..dd32cbf85 100644 --- a/lib/plaid/models/link_token_create_request_auth.rb +++ b/lib/plaid/models/link_token_create_request_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_base_report.rb b/lib/plaid/models/link_token_create_request_base_report.rb index 4f98e917b..0bf44069b 100644 --- a/lib/plaid/models/link_token_create_request_base_report.rb +++ b/lib/plaid/models/link_token_create_request_base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options.rb b/lib/plaid/models/link_token_create_request_cra_options.rb index dba929c5a..601d4895f 100644 --- a/lib/plaid/models/link_token_create_request_cra_options.rb +++ b/lib/plaid/models/link_token_create_request_cra_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,19 +16,22 @@ module Plaid # Specifies options for initializing Link for use with Plaid Check products class LinkTokenCreateRequestCraOptions - # The maximum integer number of days of history to include in Plaid Check products + # The number of days of history to include in Plaid Check products. If requesting Income Insights, a minimum of 90 days is recommended in order to receive both historical and forecasted income. attr_accessor :days_requested attr_accessor :partner_insights attr_accessor :base_report + attr_accessor :cashflow_insights + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'days_requested' => :'days_requested', :'partner_insights' => :'partner_insights', - :'base_report' => :'base_report' + :'base_report' => :'base_report', + :'cashflow_insights' => :'cashflow_insights' } end @@ -42,7 +45,8 @@ def self.openapi_types { :'days_requested' => :'Integer', :'partner_insights' => :'LinkTokenCreateRequestCraOptionsPartnerInsights', - :'base_report' => :'LinkTokenCreateRequestCraOptionsBaseReport' + :'base_report' => :'LinkTokenCreateRequestCraOptionsBaseReport', + :'cashflow_insights' => :'LinkTokenCreateRequestCraOptionsCashflowInsights' } end @@ -78,6 +82,10 @@ def initialize(attributes = {}) if attributes.key?(:'base_report') self.base_report = attributes[:'base_report'] end + + if attributes.key?(:'cashflow_insights') + self.cashflow_insights = attributes[:'cashflow_insights'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -135,7 +143,8 @@ def ==(o) self.class == o.class && days_requested == o.days_requested && partner_insights == o.partner_insights && - base_report == o.base_report + base_report == o.base_report && + cashflow_insights == o.cashflow_insights end # @see the `==` method @@ -147,7 +156,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [days_requested, partner_insights, base_report].hash + [days_requested, partner_insights, base_report, cashflow_insights].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_cra_options_base_report.rb b/lib/plaid/models/link_token_create_request_cra_options_base_report.rb index 35e1816f7..31e8dfd2c 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_base_report.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_base_report.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb new file mode 100644 index 000000000..f38085589 --- /dev/null +++ b/lib/plaid/models/link_token_create_request_cra_options_cashflow_insights.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Specifies options for initializing Link for use with the Cashflow Insights product. + class LinkTokenCreateRequestCraOptionsCashflowInsights + # The version of the Plaid Check score to return + attr_accessor :plaid_check_score_version + + attr_accessor :attributes_version + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'plaid_check_score_version' => :'plaid_check_score_version', + :'attributes_version' => :'attributes_version' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'plaid_check_score_version' => :'String', + :'attributes_version' => :'CashflowAttributesVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'plaid_check_score_version', + :'attributes_version' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LinkTokenCreateRequestCraOptionsCashflowInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LinkTokenCreateRequestCraOptionsCashflowInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'plaid_check_score_version') + self.plaid_check_score_version = attributes[:'plaid_check_score_version'] + end + + if attributes.key?(:'attributes_version') + self.attributes_version = attributes[:'attributes_version'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + plaid_check_score_version == o.plaid_check_score_version && + attributes_version == o.attributes_version + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [plaid_check_score_version, attributes_version].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb index e76da6862..af6d00b55 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,10 +19,13 @@ class LinkTokenCreateRequestCraOptionsPartnerInsights # The specific Prism products to return. If none are passed in, then all products will be returned. attr_accessor :prism_products + attr_accessor :prism_versions + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { - :'prism_products' => :'prism_products' + :'prism_products' => :'prism_products', + :'prism_versions' => :'prism_versions' } end @@ -34,13 +37,15 @@ def self.acceptable_attributes # Attribute type mapping. def self.openapi_types { - :'prism_products' => :'Array' + :'prism_products' => :'Array', + :'prism_versions' => :'PrismVersions' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'prism_versions' ]) end @@ -64,6 +69,10 @@ def initialize(attributes = {}) self.prism_products = value end end + + if attributes.key?(:'prism_versions') + self.prism_versions = attributes[:'prism_versions'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -84,7 +93,8 @@ def valid? def ==(o) return true if self.equal?(o) self.class == o.class && - prism_products == o.prism_products + prism_products == o.prism_products && + prism_versions == o.prism_versions end # @see the `==` method @@ -96,7 +106,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [prism_products].hash + [prism_products, prism_versions].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_credit_partner_insights.rb b/lib/plaid/models/link_token_create_request_credit_partner_insights.rb index 0763f28f8..742cee973 100644 --- a/lib/plaid/models/link_token_create_request_credit_partner_insights.rb +++ b/lib/plaid/models/link_token_create_request_credit_partner_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Specifies options for initializing Link for use with the Credit Partner Insights product. class LinkTokenCreateRequestCreditPartnerInsights - # The maximum integer number of days of history to compute Crdit Partner Insights. Defaults to 180 if not specified + # The maximum integer number of days of history to compute Credit Partner Insights. Defaults to 180 if not specified attr_accessor :days_requested # The specific Prism products to return. If none are passed in, then all products will be returned. diff --git a/lib/plaid/models/link_token_create_request_deposit_switch.rb b/lib/plaid/models/link_token_create_request_deposit_switch.rb index 47fc38398..98253ec76 100644 --- a/lib/plaid/models/link_token_create_request_deposit_switch.rb +++ b/lib/plaid/models/link_token_create_request_deposit_switch.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_employment.rb b/lib/plaid/models/link_token_create_request_employment.rb index 50b626f18..0cf9a38e7 100644 --- a/lib/plaid/models/link_token_create_request_employment.rb +++ b/lib/plaid/models/link_token_create_request_employment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_employment_bank_income.rb b/lib/plaid/models/link_token_create_request_employment_bank_income.rb index 27d59523e..510aaf71f 100644 --- a/lib/plaid/models/link_token_create_request_employment_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_employment_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_identity_verification.rb b/lib/plaid/models/link_token_create_request_identity_verification.rb index a2d1beb5d..4bfc93b4c 100644 --- a/lib/plaid/models/link_token_create_request_identity_verification.rb +++ b/lib/plaid/models/link_token_create_request_identity_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_income_verification.rb b/lib/plaid/models/link_token_create_request_income_verification.rb index eb70aa5cb..f0374e4ff 100644 --- a/lib/plaid/models/link_token_create_request_income_verification.rb +++ b/lib/plaid/models/link_token_create_request_income_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Specifies options for initializing Link for use with the Income product. This field is required if `income_verification` is included in the `products` array. class LinkTokenCreateRequestIncomeVerification - # The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. + # The `income_verification_id` of the verification instance, as provided by `/income/verification/create`. Replaced by the user token. attr_accessor :income_verification_id # The `asset_report_id` of an asset report associated with the user, as provided by `/asset_report/create`. Providing an `asset_report_id` is optional and can be used to verify the user through a streamlined flow. If provided, the bank linking flow will be skipped. diff --git a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb index 4d9a81e1b..bca5ef2bd 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class LinkTokenCreateRequestIncomeVerificationBankIncome # The number of days of data to request for the Bank Income product attr_accessor :days_requested - # Whether to enable multiple Items to be added in the Link session + # Whether to enable multiple Items to be added in the Link session. This setting is deprecated and has been replaced by the more general `enable_multi_item_link` setting, which supports all products. attr_accessor :enable_multiple_items # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb index 56f0a0828..8f769d7e5 100644 --- a/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb +++ b/lib/plaid/models/link_token_create_request_income_verification_payroll_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_payment_initiation.rb b/lib/plaid/models/link_token_create_request_payment_initiation.rb index 4c232ce32..2ec6cdb3f 100644 --- a/lib/plaid/models/link_token_create_request_payment_initiation.rb +++ b/lib/plaid/models/link_token_create_request_payment_initiation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_statements.rb b/lib/plaid/models/link_token_create_request_statements.rb index e3d29fb90..8047eb463 100644 --- a/lib/plaid/models/link_token_create_request_statements.rb +++ b/lib/plaid/models/link_token_create_request_statements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # Specifies options for initializing Link for use with the Statements product. This field is required for the statements product. class LinkTokenCreateRequestStatements - # The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) “YYYY-MM-DD” format, e.g. \"2020-10-30\". + # The start date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". attr_accessor :start_date - # The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) “YYYY-MM-DD” format, e.g. \"2020-10-30\". You can request up to two years of data. + # The end date for statements, in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) \"YYYY-MM-DD\" format, e.g. \"2020-10-30\". You can request up to two years of data. attr_accessor :end_date # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index 6491e6b98..ba1fb0104 100644 --- a/lib/plaid/models/link_token_create_request_transfer.rb +++ b/lib/plaid/models/link_token_create_request_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_update.rb b/lib/plaid/models/link_token_create_request_update.rb index e908e3923..15aedfd35 100644 --- a/lib/plaid/models/link_token_create_request_update.rb +++ b/lib/plaid/models/link_token_create_request_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,14 +19,22 @@ class LinkTokenCreateRequestUpdate # If `true`, enables [update mode with Account Select](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) for institutions in the US and Canada that do not use OAuth, or that use OAuth but do not have their own account selection flow. For institutions in the US that have an OAuth account selection flow (i.e. most OAuth-enabled institutions), update mode with Account Select will always be enabled, regardless of the value of this field. attr_accessor :account_selection_enabled + # If `true`, this will force reauthorization. A user will review Data Transparency Messaging, Accounts, and Plaid's EUPP. This may also force OAuth for eligible institutions. Reauthorization will renew the `consent_expiration_time`. If `false`, this will not reauthorize an item. A user may skip some of the Link disclosure steps, including OAuth. This will not renew `consent_expiration_time`. If not specified, Plaid will determine whether to reauthorize the item. We will reauthorize the item if it is expiring soon, and it's unlikely the user will go through Update Mode again before the item expires. + attr_accessor :reauthorization_enabled + # If `true`, a `user_token` must also be provided, and Link will open in update mode for the given user. attr_accessor :user + # An array of `item_id`s associated with the user to be updated in update mode. If empty or `null`, this field will default to initializing update mode for the most recent unhealthy Item associated with the user. A `user_token` must also be provided to use this field. + attr_accessor :item_ids + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'account_selection_enabled' => :'account_selection_enabled', - :'user' => :'user' + :'reauthorization_enabled' => :'reauthorization_enabled', + :'user' => :'user', + :'item_ids' => :'item_ids' } end @@ -39,13 +47,16 @@ def self.acceptable_attributes def self.openapi_types { :'account_selection_enabled' => :'Boolean', - :'user' => :'Boolean' + :'reauthorization_enabled' => :'Boolean', + :'user' => :'Boolean', + :'item_ids' => :'Array' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'item_ids' ]) end @@ -70,11 +81,21 @@ def initialize(attributes = {}) self.account_selection_enabled = false end + if attributes.key?(:'reauthorization_enabled') + self.reauthorization_enabled = attributes[:'reauthorization_enabled'] + end + if attributes.key?(:'user') self.user = attributes[:'user'] else self.user = false end + + if attributes.key?(:'item_ids') + if (value = attributes[:'item_ids']).is_a?(Array) + self.item_ids = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -96,7 +117,9 @@ def ==(o) return true if self.equal?(o) self.class == o.class && account_selection_enabled == o.account_selection_enabled && - user == o.user + reauthorization_enabled == o.reauthorization_enabled && + user == o.user && + item_ids == o.item_ids end # @see the `==` method @@ -108,7 +131,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_selection_enabled, user].hash + [account_selection_enabled, reauthorization_enabled, user, item_ids].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index df277311a..d5eacb5aa 100644 --- a/lib/plaid/models/link_token_create_request_user.rb +++ b/lib/plaid/models/link_token_create_request_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_address.rb b/lib/plaid/models/link_token_create_request_user_address.rb index 4fccb1c4e..fcd2d98e8 100644 --- a/lib/plaid/models/link_token_create_request_user_address.rb +++ b/lib/plaid/models/link_token_create_request_user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ class LinkTokenCreateRequestUserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/link_token_create_request_user_id_number.rb b/lib/plaid/models/link_token_create_request_user_id_number.rb index 1dd50f346..d29fa3c2e 100644 --- a/lib/plaid/models/link_token_create_request_user_id_number.rb +++ b/lib/plaid/models/link_token_create_request_user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_name.rb b/lib/plaid/models/link_token_create_request_user_name.rb index 68f959877..012c6b83d 100644 --- a/lib/plaid/models/link_token_create_request_user_name.rb +++ b/lib/plaid/models/link_token_create_request_user_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb index df1202717..10f86561b 100644 --- a/lib/plaid/models/link_token_create_request_user_stated_income_source.rb +++ b/lib/plaid/models/link_token_create_request_user_stated_income_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_response.rb b/lib/plaid/models/link_token_create_response.rb index c3da45148..75f93e336 100644 --- a/lib/plaid/models/link_token_create_response.rb +++ b/lib/plaid/models/link_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_eu_config.rb b/lib/plaid/models/link_token_eu_config.rb index 4ac40b102..d6ca9fcb1 100644 --- a/lib/plaid/models/link_token_eu_config.rb +++ b/lib/plaid/models/link_token_eu_config.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_metadata_response.rb b/lib/plaid/models/link_token_get_metadata_response.rb index c92cccd72..2a5b79adf 100644 --- a/lib/plaid/models/link_token_get_metadata_response.rb +++ b/lib/plaid/models/link_token_get_metadata_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_request.rb b/lib/plaid/models/link_token_get_request.rb index 0ebbd489a..714042883 100644 --- a/lib/plaid/models/link_token_get_request.rb +++ b/lib/plaid/models/link_token_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_response.rb b/lib/plaid/models/link_token_get_response.rb index 83d32c341..9f37fb3bd 100644 --- a/lib/plaid/models/link_token_get_response.rb +++ b/lib/plaid/models/link_token_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_get_sessions_response.rb b/lib/plaid/models/link_token_get_sessions_response.rb index 4edf4ca9a..2a79347a7 100644 --- a/lib/plaid/models/link_token_get_sessions_response.rb +++ b/lib/plaid/models/link_token_get_sessions_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_investments.rb b/lib/plaid/models/link_token_investments.rb index 863cad908..2f52d925b 100644 --- a/lib/plaid/models/link_token_investments.rb +++ b/lib/plaid/models/link_token_investments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_investments_auth.rb b/lib/plaid/models/link_token_investments_auth.rb index 41907f788..b49d3b445 100644 --- a/lib/plaid/models/link_token_investments_auth.rb +++ b/lib/plaid/models/link_token_investments_auth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,11 +22,15 @@ class LinkTokenInvestmentsAuth # If `true`, show institutions that use the masked number match fallback flow. attr_accessor :masked_number_match_enabled + # If `true`, show institutions that use the stated account number fallback flow. + attr_accessor :stated_account_number_enabled + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'manual_entry_enabled' => :'manual_entry_enabled', - :'masked_number_match_enabled' => :'masked_number_match_enabled' + :'masked_number_match_enabled' => :'masked_number_match_enabled', + :'stated_account_number_enabled' => :'stated_account_number_enabled' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'manual_entry_enabled' => :'Boolean', - :'masked_number_match_enabled' => :'Boolean' + :'masked_number_match_enabled' => :'Boolean', + :'stated_account_number_enabled' => :'Boolean' } end @@ -47,7 +52,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'manual_entry_enabled', - :'masked_number_match_enabled' + :'masked_number_match_enabled', + :'stated_account_number_enabled' ]) end @@ -77,6 +83,12 @@ def initialize(attributes = {}) else self.masked_number_match_enabled = false end + + if attributes.key?(:'stated_account_number_enabled') + self.stated_account_number_enabled = attributes[:'stated_account_number_enabled'] + else + self.stated_account_number_enabled = false + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -98,7 +110,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && manual_entry_enabled == o.manual_entry_enabled && - masked_number_match_enabled == o.masked_number_match_enabled + masked_number_match_enabled == o.masked_number_match_enabled && + stated_account_number_enabled == o.stated_account_number_enabled end # @see the `==` method @@ -110,7 +123,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [manual_entry_enabled, masked_number_match_enabled].hash + [manual_entry_enabled, masked_number_match_enabled, stated_account_number_enabled].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_token_transactions.rb b/lib/plaid/models/link_token_transactions.rb index e171d36f1..e222df6c3 100644 --- a/lib/plaid/models/link_token_transactions.rb +++ b/lib/plaid/models/link_token_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Configuration parameters for the Transactions product class LinkTokenTransactions - # The maximum number of days of transaction history to request for the Transactions product. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # The maximum number of days of transaction history to request for the Transactions product. The more transaction history is requested, the longer the historical update poll will take. The default value is 90 days. If a value under 30 is provided, a minimum of 30 days of history will be requested. Once Transactions has been added to an Item, this value cannot be updated. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/link_user_delivery_status_webhook.rb b/lib/plaid/models/link_user_delivery_status_webhook.rb index 769d38ac2..047a90855 100644 --- a/lib/plaid/models/link_user_delivery_status_webhook.rb +++ b/lib/plaid/models/link_user_delivery_status_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan.rb b/lib/plaid/models/loan.rb index 9dccca993..6664d2cd5 100644 --- a/lib/plaid/models/loan.rb +++ b/lib/plaid/models/loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_account_subtype.rb b/lib/plaid/models/loan_account_subtype.rb index 208255b42..388166c44 100644 --- a/lib/plaid/models/loan_account_subtype.rb +++ b/lib/plaid/models/loan_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_filter.rb b/lib/plaid/models/loan_filter.rb index 321db9ef8..73266cb4f 100644 --- a/lib/plaid/models/loan_filter.rb +++ b/lib/plaid/models/loan_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifier.rb b/lib/plaid/models/loan_identifier.rb index 3d0d92387..138e77a43 100644 --- a/lib/plaid/models/loan_identifier.rb +++ b/lib/plaid/models/loan_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifier_type.rb b/lib/plaid/models/loan_identifier_type.rb index 6950ed369..dd2a1e543 100644 --- a/lib/plaid/models/loan_identifier_type.rb +++ b/lib/plaid/models/loan_identifier_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_identifiers.rb b/lib/plaid/models/loan_identifiers.rb index f642f7729..ad2f159b5 100644 --- a/lib/plaid/models/loan_identifiers.rb +++ b/lib/plaid/models/loan_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_payments_counts.rb b/lib/plaid/models/loan_payments_counts.rb new file mode 100644 index 000000000..87c859862 --- /dev/null +++ b/lib/plaid/models/loan_payments_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights in the number of loan payments + class LoanPaymentsCounts + # The number of loan payments made in the 30 days before the subscription date + attr_accessor :baseline_count + + # The current number of loan payments made in the last 30 days + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LoanPaymentsCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LoanPaymentsCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/loan_payments_merchant_counts.rb b/lib/plaid/models/loan_payments_merchant_counts.rb new file mode 100644 index 000000000..776764674 --- /dev/null +++ b/lib/plaid/models/loan_payments_merchant_counts.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights in the number of unique loan payment merchants + class LoanPaymentsMerchantCounts + # The number of unique loan payment merchants detected in the 30 days before the subscription date + attr_accessor :baseline_count + + # The current number of unique loan payment merchants detected in the last 30 days + attr_accessor :current_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_count' => :'baseline_count', + :'current_count' => :'current_count' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_count' => :'Float', + :'current_count' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LoanPaymentsMerchantCounts` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::LoanPaymentsMerchantCounts`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_count') + self.baseline_count = attributes[:'baseline_count'] + end + + if attributes.key?(:'current_count') + self.current_count = attributes[:'current_count'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_count.nil? + invalid_properties.push('invalid value for "baseline_count", baseline_count cannot be nil.') + end + + if @current_count.nil? + invalid_properties.push('invalid value for "current_count", current_count cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_count.nil? + return false if @current_count.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_count == o.baseline_count && + current_count == o.current_count + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_count, current_count].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/loans.rb b/lib/plaid/models/loans.rb index 522efa964..67300ced7 100644 --- a/lib/plaid/models/loans.rb +++ b/lib/plaid/models/loans.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/location.rb b/lib/plaid/models/location.rb index 2d30d4474..a7080b7c4 100644 --- a/lib/plaid/models/location.rb +++ b/lib/plaid/models/location.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/match_summary.rb b/lib/plaid/models/match_summary.rb index 96279ec7c..51b93635b 100644 --- a/lib/plaid/models/match_summary.rb +++ b/lib/plaid/models/match_summary.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/match_summary_code.rb b/lib/plaid/models/match_summary_code.rb index b92210c01..dc337e320 100644 --- a/lib/plaid/models/match_summary_code.rb +++ b/lib/plaid/models/match_summary_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/merchant_insights.rb b/lib/plaid/models/merchant_insights.rb index 585ceb14b..28f8a76d9 100644 --- a/lib/plaid/models/merchant_insights.rb +++ b/lib/plaid/models/merchant_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/meta.rb b/lib/plaid/models/meta.rb index 13a912470..d3b2642d8 100644 --- a/lib/plaid/models/meta.rb +++ b/lib/plaid/models/meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index bc7d5e8f3..f8b5465f2 100644 --- a/lib/plaid/models/mfa.rb +++ b/lib/plaid/models/mfa.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_income_insights.rb b/lib/plaid/models/monitoring_income_insights.rb new file mode 100644 index 000000000..ee52bc570 --- /dev/null +++ b/lib/plaid/models/monitoring_income_insights.rb @@ -0,0 +1,270 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the income subcategory of the report + class MonitoringIncomeInsights + attr_accessor :total_monthly_income + + attr_accessor :income_sources_counts + + attr_accessor :forecasted_monthly_income + + # The income sources for this Item. Each entry in the array is a single income source + attr_accessor :income_sources + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'total_monthly_income' => :'total_monthly_income', + :'income_sources_counts' => :'income_sources_counts', + :'forecasted_monthly_income' => :'forecasted_monthly_income', + :'income_sources' => :'income_sources' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'total_monthly_income' => :'TotalMonthlyIncomeInsights', + :'income_sources_counts' => :'IncomeSourcesCounts', + :'forecasted_monthly_income' => :'ForecastedMonthlyIncome', + :'income_sources' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringIncomeInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringIncomeInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'total_monthly_income') + self.total_monthly_income = attributes[:'total_monthly_income'] + end + + if attributes.key?(:'income_sources_counts') + self.income_sources_counts = attributes[:'income_sources_counts'] + end + + if attributes.key?(:'forecasted_monthly_income') + self.forecasted_monthly_income = attributes[:'forecasted_monthly_income'] + end + + if attributes.key?(:'income_sources') + if (value = attributes[:'income_sources']).is_a?(Array) + self.income_sources = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @total_monthly_income.nil? + invalid_properties.push('invalid value for "total_monthly_income", total_monthly_income cannot be nil.') + end + + if @income_sources_counts.nil? + invalid_properties.push('invalid value for "income_sources_counts", income_sources_counts cannot be nil.') + end + + if @forecasted_monthly_income.nil? + invalid_properties.push('invalid value for "forecasted_monthly_income", forecasted_monthly_income cannot be nil.') + end + + if @income_sources.nil? + invalid_properties.push('invalid value for "income_sources", income_sources cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @total_monthly_income.nil? + return false if @income_sources_counts.nil? + return false if @forecasted_monthly_income.nil? + return false if @income_sources.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + total_monthly_income == o.total_monthly_income && + income_sources_counts == o.income_sources_counts && + forecasted_monthly_income == o.forecasted_monthly_income && + income_sources == o.income_sources + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [total_monthly_income, income_sources_counts, forecasted_monthly_income, income_sources].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_income_source.rb b/lib/plaid/models/monitoring_income_source.rb new file mode 100644 index 000000000..39dd4282e --- /dev/null +++ b/lib/plaid/models/monitoring_income_source.rb @@ -0,0 +1,307 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing an income source + class MonitoringIncomeSource + # A unique identifier for an income source + attr_accessor :income_source_id + + # The most common name or original description for the underlying income transactions + attr_accessor :income_description + + attr_accessor :income_category + + # The last detected transaction date for this income source + attr_accessor :last_transaction_date + + # This represents if the income source is believed to be missing any recent income + attr_accessor :is_missing_income + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_source_id' => :'income_source_id', + :'income_description' => :'income_description', + :'income_category' => :'income_category', + :'last_transaction_date' => :'last_transaction_date', + :'is_missing_income' => :'is_missing_income' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'income_source_id' => :'String', + :'income_description' => :'String', + :'income_category' => :'CreditBankIncomeCategory', + :'last_transaction_date' => :'Date', + :'is_missing_income' => :'Boolean' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringIncomeSource` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringIncomeSource`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'income_source_id') + self.income_source_id = attributes[:'income_source_id'] + end + + if attributes.key?(:'income_description') + self.income_description = attributes[:'income_description'] + end + + if attributes.key?(:'income_category') + self.income_category = attributes[:'income_category'] + end + + if attributes.key?(:'last_transaction_date') + self.last_transaction_date = attributes[:'last_transaction_date'] + end + + if attributes.key?(:'is_missing_income') + self.is_missing_income = attributes[:'is_missing_income'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @income_source_id.nil? + invalid_properties.push('invalid value for "income_source_id", income_source_id cannot be nil.') + end + + if @income_description.nil? + invalid_properties.push('invalid value for "income_description", income_description cannot be nil.') + end + + if @income_category.nil? + invalid_properties.push('invalid value for "income_category", income_category cannot be nil.') + end + + if @last_transaction_date.nil? + invalid_properties.push('invalid value for "last_transaction_date", last_transaction_date cannot be nil.') + end + + if @is_missing_income.nil? + invalid_properties.push('invalid value for "is_missing_income", is_missing_income cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @income_source_id.nil? + return false if @income_description.nil? + return false if @income_category.nil? + return false if @last_transaction_date.nil? + return false if @is_missing_income.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + income_source_id == o.income_source_id && + income_description == o.income_description && + income_category == o.income_category && + last_transaction_date == o.last_transaction_date && + is_missing_income == o.is_missing_income + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [income_source_id, income_description, income_category, last_transaction_date, is_missing_income].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights.rb b/lib/plaid/models/monitoring_insights.rb new file mode 100644 index 000000000..911472f7e --- /dev/null +++ b/lib/plaid/models/monitoring_insights.rb @@ -0,0 +1,239 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the Monitoring Insights for the given Item + class MonitoringInsights + attr_accessor :income + + attr_accessor :loans + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income' => :'income', + :'loans' => :'loans' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'income' => :'MonitoringIncomeInsights', + :'loans' => :'MonitoringLoanInsights' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'income') + self.income = attributes[:'income'] + end + + if attributes.key?(:'loans') + self.loans = attributes[:'loans'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @income.nil? + invalid_properties.push('invalid value for "income", income cannot be nil.') + end + + if @loans.nil? + invalid_properties.push('invalid value for "loans", loans cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @income.nil? + return false if @loans.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + income == o.income && + loans == o.loans + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [income, loans].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights_item_status.rb b/lib/plaid/models/monitoring_insights_item_status.rb new file mode 100644 index 000000000..c3b75a59f --- /dev/null +++ b/lib/plaid/models/monitoring_insights_item_status.rb @@ -0,0 +1,258 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the status of the Monitoring Insights Item and potential reasons in case of non-available statuses + class MonitoringInsightsItemStatus + attr_accessor :status_code + + # A reason for why a Monitoring Insights Report is not available. This field will only be populated when the `status_code` is not `AVAILABLE` + attr_accessor :reason + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'status_code' => :'status_code', + :'reason' => :'reason' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'status_code' => :'MonitoringItemStatusCode', + :'reason' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'reason' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsightsItemStatus` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsightsItemStatus`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'status_code') + self.status_code = attributes[:'status_code'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @status_code.nil? + invalid_properties.push('invalid value for "status_code", status_code cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @status_code.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + status_code == o.status_code && + reason == o.reason + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [status_code, reason].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_insights_webhook.rb b/lib/plaid/models/monitoring_insights_webhook.rb new file mode 100644 index 000000000..84c399805 --- /dev/null +++ b/lib/plaid/models/monitoring_insights_webhook.rb @@ -0,0 +1,303 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Every 14 days, the webhook will be fired per item enabled for Monitoring Insights. + class MonitoringInsightsWebhook + # `CRA_MONITORING` + attr_accessor :webhook_type + + # The status of the Monitoring Insights report generation. Possible Values: `AVAILABLE`, `PENDING`, `UNSUPPORTED`, `UNHEALTHY` + attr_accessor :webhook_code + + # The reason for why a report may not be `AVAILABLE` + attr_accessor :reason + + # The `user_id` that the report is associated with + attr_accessor :user_id + + attr_accessor :environment + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'reason' => :'reason', + :'user_id' => :'user_id', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'reason' => :'String', + :'user_id' => :'String', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'reason', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringInsightsWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringInsightsWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @user_id.nil? + invalid_properties.push('invalid value for "user_id", user_id cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @user_id.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + reason == o.reason && + user_id == o.user_id && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, reason, user_id, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/monitoring_item_status_code.rb b/lib/plaid/models/monitoring_item_status_code.rb new file mode 100644 index 000000000..54c2c3f23 --- /dev/null +++ b/lib/plaid/models/monitoring_item_status_code.rb @@ -0,0 +1,41 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class MonitoringItemStatusCode + AVAILABLE = "AVAILABLE".freeze + PENDING = "PENDING".freeze + ITEM_NOT_SUPPORTED = "ITEM_NOT_SUPPORTED".freeze + ITEM_LOGIN_REQUIRED = "ITEM_LOGIN_REQUIRED".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/monitoring_loan_insights.rb b/lib/plaid/models/monitoring_loan_insights.rb new file mode 100644 index 000000000..bcba18ffb --- /dev/null +++ b/lib/plaid/models/monitoring_loan_insights.rb @@ -0,0 +1,254 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the loan exposure subcategory of the report + class MonitoringLoanInsights + attr_accessor :loan_payments_counts + + # The number of loan disbursements detected in the last 30 days + attr_accessor :loan_disbursements_count + + attr_accessor :loan_payment_merchants_counts + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'loan_payments_counts' => :'loan_payments_counts', + :'loan_disbursements_count' => :'loan_disbursements_count', + :'loan_payment_merchants_counts' => :'loan_payment_merchants_counts' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'loan_payments_counts' => :'LoanPaymentsCounts', + :'loan_disbursements_count' => :'Float', + :'loan_payment_merchants_counts' => :'LoanPaymentsMerchantCounts' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::MonitoringLoanInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::MonitoringLoanInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'loan_payments_counts') + self.loan_payments_counts = attributes[:'loan_payments_counts'] + end + + if attributes.key?(:'loan_disbursements_count') + self.loan_disbursements_count = attributes[:'loan_disbursements_count'] + end + + if attributes.key?(:'loan_payment_merchants_counts') + self.loan_payment_merchants_counts = attributes[:'loan_payment_merchants_counts'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @loan_payments_counts.nil? + invalid_properties.push('invalid value for "loan_payments_counts", loan_payments_counts cannot be nil.') + end + + if @loan_disbursements_count.nil? + invalid_properties.push('invalid value for "loan_disbursements_count", loan_disbursements_count cannot be nil.') + end + + if @loan_payment_merchants_counts.nil? + invalid_properties.push('invalid value for "loan_payment_merchants_counts", loan_payment_merchants_counts cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @loan_payments_counts.nil? + return false if @loan_disbursements_count.nil? + return false if @loan_payment_merchants_counts.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + loan_payments_counts == o.loan_payments_counts && + loan_disbursements_count == o.loan_disbursements_count && + loan_payment_merchants_counts == o.loan_payment_merchants_counts + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [loan_payments_counts, loan_disbursements_count, loan_payment_merchants_counts].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 02f8aacf5..c8909c79b 100644 --- a/lib/plaid/models/mortgage_interest_rate.rb +++ b/lib/plaid/models/mortgage_interest_rate.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mortgage_liability.rb b/lib/plaid/models/mortgage_liability.rb index c86a87dc6..176e19599 100644 --- a/lib/plaid/models/mortgage_liability.rb +++ b/lib/plaid/models/mortgage_liability.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mortgage_property_address.rb b/lib/plaid/models/mortgage_property_address.rb index 90f5270f7..fb5538905 100644 --- a/lib/plaid/models/mortgage_property_address.rb +++ b/lib/plaid/models/mortgage_property_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/multi_document_risk_signal.rb b/lib/plaid/models/multi_document_risk_signal.rb index f51668c8f..7daef9790 100644 --- a/lib/plaid/models/multi_document_risk_signal.rb +++ b/lib/plaid/models/multi_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/name_match_score.rb b/lib/plaid/models/name_match_score.rb index 2fe048c26..8205e122c 100644 --- a/lib/plaid/models/name_match_score.rb +++ b/lib/plaid/models/name_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class NameMatchScore # nickname matched, example Jennifer and Jenn. attr_accessor :is_nickname_match - # Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates the entity is a business. However, a `false` result does not mean the entity is not a business, as some businesses do not use these strings in the names used for their financial institution accounts. + # Is `true` if the name on either of the names that was matched for the score contained strings indicative of a business name, such as \"CORP\", \"LLC\", \"INC\", or \"LTD\". A `true` result generally indicates that an account's name is a business name. However, a `false` result does not mean the account name is not a business name, as some businesses do not use these strings in the names used for their financial institution accounts. attr_accessor :is_business_name_detected # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index a58df96ef..70dc7eb0c 100644 --- a/lib/plaid/models/net_pay.rb +++ b/lib/plaid/models/net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_insights_item.rb b/lib/plaid/models/network_insights_item.rb new file mode 100644 index 000000000..ff936c84e --- /dev/null +++ b/lib/plaid/models/network_insights_item.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data about the connected Item. + class NetworkInsightsItem + # The ID for the institution the user linked. + attr_accessor :institution_id + + # The name of the institution the user linked. + attr_accessor :institution_name + + # The identifier for the Item. + attr_accessor :item_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name', + :'item_id' => :'item_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'institution_id' => :'String', + :'institution_name' => :'String', + :'item_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsItem` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsItem`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'institution_id') + self.institution_id = attributes[:'institution_id'] + end + + if attributes.key?(:'institution_name') + self.institution_name = attributes[:'institution_name'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @institution_id.nil? + invalid_properties.push('invalid value for "institution_id", institution_id cannot be nil.') + end + + if @institution_name.nil? + invalid_properties.push('invalid value for "institution_name", institution_name cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @institution_id.nil? + return false if @institution_name.nil? + return false if @item_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + institution_id == o.institution_id && + institution_name == o.institution_name && + item_id == o.item_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [institution_id, institution_name, item_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report.rb b/lib/plaid/models/network_insights_report.rb new file mode 100644 index 000000000..a2b57559e --- /dev/null +++ b/lib/plaid/models/network_insights_report.rb @@ -0,0 +1,273 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains data for the Network Insights Report. + class NetworkInsightsReport + # The unique identifier associated with the Network Insights report object. + attr_accessor :report_id + + # The time when the Network Insights Report was generated. + attr_accessor :generated_time + + # A map of network attributes, where the key is a string, and the value is a float, int, or boolean. + attr_accessor :network_attributes + + # A list of Items associated with the provided access_tokens. + attr_accessor :items + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report_id' => :'report_id', + :'generated_time' => :'generated_time', + :'network_attributes' => :'network_attributes', + :'items' => :'items' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report_id' => :'String', + :'generated_time' => :'Time', + :'network_attributes' => :'Object', + :'items' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReport` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReport`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report_id') + self.report_id = attributes[:'report_id'] + end + + if attributes.key?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'network_attributes') + self.network_attributes = attributes[:'network_attributes'] + end + + if attributes.key?(:'items') + if (value = attributes[:'items']).is_a?(Array) + self.items = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report_id.nil? + invalid_properties.push('invalid value for "report_id", report_id cannot be nil.') + end + + if @generated_time.nil? + invalid_properties.push('invalid value for "generated_time", generated_time cannot be nil.') + end + + if @network_attributes.nil? + invalid_properties.push('invalid value for "network_attributes", network_attributes cannot be nil.') + end + + if @items.nil? + invalid_properties.push('invalid value for "items", items cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report_id.nil? + return false if @generated_time.nil? + return false if @network_attributes.nil? + return false if @items.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report_id == o.report_id && + generated_time == o.generated_time && + network_attributes == o.network_attributes && + items == o.items + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report_id, generated_time, network_attributes, items].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report_get_request.rb b/lib/plaid/models/network_insights_report_get_request.rb new file mode 100644 index 000000000..9896f1a4a --- /dev/null +++ b/lib/plaid/models/network_insights_report_get_request.rb @@ -0,0 +1,248 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # NetworkInsightsReportGetRequest defines the request schema for `/network_insights/report/get`. + class NetworkInsightsReportGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # A list of access tokens that the Network Insights will be requested for. These correspond to previous Items a user has connected. + attr_accessor :access_tokens + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'access_tokens' => :'access_tokens' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'access_tokens' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReportGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReportGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'access_tokens') + if (value = attributes[:'access_tokens']).is_a?(Array) + self.access_tokens = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @access_tokens.nil? + invalid_properties.push('invalid value for "access_tokens", access_tokens cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @access_tokens.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + access_tokens == o.access_tokens + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, access_tokens].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/network_insights_report_get_response.rb b/lib/plaid/models/network_insights_report_get_response.rb new file mode 100644 index 000000000..935c34274 --- /dev/null +++ b/lib/plaid/models/network_insights_report_get_response.rb @@ -0,0 +1,240 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # NetworkInsightsReportGetResponse defines the response schema for `/network_insights/report/get`. + class NetworkInsightsReportGetResponse + attr_accessor :report + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report' => :'report', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report' => :'NetworkInsightsReport', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::NetworkInsightsReportGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::NetworkInsightsReportGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'report') + self.report = attributes[:'report'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @report.nil? + invalid_properties.push('invalid value for "report", report cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @report.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + report == o.report && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index 2745ea56d..65c575ce1 100644 --- a/lib/plaid/models/new_accounts_available_webhook.rb +++ b/lib/plaid/models/new_accounts_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when Plaid detects a new account for Items created or updated with [Account Select v2](https://plaid.com/docs/link/customization/#account-select). Upon receiving this webhook, you can prompt your users to share new accounts with you through [Account Select v2 update mode](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) (US/CA only). For end user accounts in the EU and UK, upon receiving this webhook, you can prompt your user to re-link their account and then delete the old Item via `/item/remove`. + # Fired when Plaid detects a new account. Upon receiving this webhook, you can prompt your users to share new accounts with you through [update mode](https://plaid.com/docs/link/update-mode/#using-update-mode-to-request-new-accounts) (US/CA only). If the end user has opted not to share new accounts with Plaid via their institution's OAuth settings, Plaid will not detect new accounts and this webhook will not fire. For end user accounts in the EU and UK, upon receiving this webhook, you can prompt your user to re-link their account and then delete the old Item via `/item/remove`. class NewAccountsAvailableWebhook # `ITEM` attr_accessor :webhook_type diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index d97f4d39c..b7496f082 100644 --- a/lib/plaid/models/numbers.rb +++ b/lib/plaid/models/numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_acats.rb b/lib/plaid/models/numbers_acats.rb index e6a343e21..f9e5a409c 100644 --- a/lib/plaid/models/numbers_acats.rb +++ b/lib/plaid/models/numbers_acats.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_ach.rb b/lib/plaid/models/numbers_ach.rb index 4a366de68..16d857824 100644 --- a/lib/plaid/models/numbers_ach.rb +++ b/lib/plaid/models/numbers_ach.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class NumbersACH # The Plaid account ID associated with the account numbers attr_accessor :account_id - # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. + # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers for ACH and RTP transfers, but are not compatible with wire transfers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. To be alerted when this occurs, listen for the [`USER_PERMISSION_REVOKED`](https://plaid.com/docs/api/items/#user_permission_revoked) and [`USER_ACCOUNT_REVOKED`](https://plaid.com/docs/api/items/#user_account_revoked) webhooks. attr_accessor :account # The ACH routing number for the account. If the institution is `ins_56`, this may be a tokenized routing number. For more information, see the description of the `account` field. diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index 05bf5aed0..aafcf7721 100644 --- a/lib/plaid/models/numbers_ach_nullable.rb +++ b/lib/plaid/models/numbers_ach_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class NumbersACHNullable # The Plaid account ID associated with the account numbers attr_accessor :account_id - # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. + # The ACH account number for the account. Note that when using OAuth with Chase Bank (`ins_56`), Chase will issue \"tokenized\" routing and account numbers, which are not the user's actual account and routing numbers. These tokenized account numbers (also known as TANs) should work identically to normal account and routing numbers for ACH and RTP transfers, but are not compatible with wire transfers. The digits returned in the `mask` field will continue to reflect the actual account number, rather than the tokenized account number; for this reason, when displaying account numbers to the user to help them identify their account in your UI, always use the `mask` rather than truncating the `account` number. If a user revokes their permissions to your app, the tokenized numbers will no longer work. To be alerted when this occurs, listen for the [`USER_PERMISSION_REVOKED`](https://plaid.com/docs/api/items/#user_permission_revoked) and [`USER_ACCOUNT_REVOKED`](https://plaid.com/docs/api/items/#user_account_revoked) webhooks. attr_accessor :account # The ACH routing number for the account. If the institution is `ins_56`, this may be a tokenized routing number. For more information, see the description of the `account` field. diff --git a/lib/plaid/models/numbers_aton.rb b/lib/plaid/models/numbers_aton.rb index 48b230348..8640d8928 100644 --- a/lib/plaid/models/numbers_aton.rb +++ b/lib/plaid/models/numbers_aton.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_bacs.rb b/lib/plaid/models/numbers_bacs.rb index 004d8c328..34b813eba 100644 --- a/lib/plaid/models/numbers_bacs.rb +++ b/lib/plaid/models/numbers_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_bacs_nullable.rb b/lib/plaid/models/numbers_bacs_nullable.rb index 7336231a7..1bd6cacec 100644 --- a/lib/plaid/models/numbers_bacs_nullable.rb +++ b/lib/plaid/models/numbers_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_eft.rb b/lib/plaid/models/numbers_eft.rb index 2ffac8424..d89fb73df 100644 --- a/lib/plaid/models/numbers_eft.rb +++ b/lib/plaid/models/numbers_eft.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_eft_nullable.rb b/lib/plaid/models/numbers_eft_nullable.rb index 21572d48d..56b30575f 100644 --- a/lib/plaid/models/numbers_eft_nullable.rb +++ b/lib/plaid/models/numbers_eft_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_iban_nullable.rb b/lib/plaid/models/numbers_iban_nullable.rb index 9d2c5918d..1e7bcdd49 100644 --- a/lib/plaid/models/numbers_iban_nullable.rb +++ b/lib/plaid/models/numbers_iban_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international.rb b/lib/plaid/models/numbers_international.rb index f97e9d016..9a2737bde 100644 --- a/lib/plaid/models/numbers_international.rb +++ b/lib/plaid/models/numbers_international.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international_iban.rb b/lib/plaid/models/numbers_international_iban.rb index ef79b77db..5a86049d7 100644 --- a/lib/plaid/models/numbers_international_iban.rb +++ b/lib/plaid/models/numbers_international_iban.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_international_nullable.rb b/lib/plaid/models/numbers_international_nullable.rb index 69078e483..14129c34c 100644 --- a/lib/plaid/models/numbers_international_nullable.rb +++ b/lib/plaid/models/numbers_international_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/omittable_transfer_type.rb b/lib/plaid/models/omittable_transfer_type.rb index 678dabc26..b0100836d 100644 --- a/lib/plaid/models/omittable_transfer_type.rb +++ b/lib/plaid/models/omittable_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/option_contract.rb b/lib/plaid/models/option_contract.rb index 589b5e5b4..0aae2328e 100644 --- a/lib/plaid/models/option_contract.rb +++ b/lib/plaid/models/option_contract.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/originator.rb b/lib/plaid/models/originator.rb index 4aea0bc88..5368fffdd 100644 --- a/lib/plaid/models/originator.rb +++ b/lib/plaid/models/originator.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/originator_expected_transfer_frequency.rb b/lib/plaid/models/originator_expected_transfer_frequency.rb index a9dafe07f..53b256600 100644 --- a/lib/plaid/models/originator_expected_transfer_frequency.rb +++ b/lib/plaid/models/originator_expected_transfer_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/other_account_subtype.rb b/lib/plaid/models/other_account_subtype.rb index f1cbb731b..955aea2bf 100644 --- a/lib/plaid/models/other_account_subtype.rb +++ b/lib/plaid/models/other_account_subtype.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/other_filter.rb b/lib/plaid/models/other_filter.rb index 5fc0fd884..541e507ac 100644 --- a/lib/plaid/models/other_filter.rb +++ b/lib/plaid/models/other_filter.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/override_account_type.rb b/lib/plaid/models/override_account_type.rb index b7b8e6b96..789980a20 100644 --- a/lib/plaid/models/override_account_type.rb +++ b/lib/plaid/models/override_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/override_accounts.rb b/lib/plaid/models/override_accounts.rb index 650be6a42..663d9b02c 100644 --- a/lib/plaid/models/override_accounts.rb +++ b/lib/plaid/models/override_accounts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/owner.rb b/lib/plaid/models/owner.rb index 2b3ef4e76..718fb1e06 100644 --- a/lib/plaid/models/owner.rb +++ b/lib/plaid/models/owner.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/owner_override.rb b/lib/plaid/models/owner_override.rb index b6c1bc50a..ade237617 100644 --- a/lib/plaid/models/owner_override.rb +++ b/lib/plaid/models/owner_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ownership_type.rb b/lib/plaid/models/ownership_type.rb index 7074babe0..e5fe549ae 100644 --- a/lib/plaid/models/ownership_type.rb +++ b/lib/plaid/models/ownership_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/parties.rb b/lib/plaid/models/parties.rb index 2e94596c9..aa49d7444 100644 --- a/lib/plaid/models/parties.rb +++ b/lib/plaid/models/parties.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_create_request.rb b/lib/plaid/models/partner_customer_create_request.rb index 19e107949..8f284d73c 100644 --- a/lib/plaid/models/partner_customer_create_request.rb +++ b/lib/plaid/models/partner_customer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_create_response.rb b/lib/plaid/models/partner_customer_create_response.rb index 31707e3f1..1ba64afc4 100644 --- a/lib/plaid/models/partner_customer_create_response.rb +++ b/lib/plaid/models/partner_customer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_enable_request.rb b/lib/plaid/models/partner_customer_enable_request.rb index 3f8e112fd..287e8e927 100644 --- a/lib/plaid/models/partner_customer_enable_request.rb +++ b/lib/plaid/models/partner_customer_enable_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_enable_response.rb b/lib/plaid/models/partner_customer_enable_response.rb index ac90b3a7f..e1442b139 100644 --- a/lib/plaid/models/partner_customer_enable_response.rb +++ b/lib/plaid/models/partner_customer_enable_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_get_request.rb b/lib/plaid/models/partner_customer_get_request.rb index ed62a7623..318771724 100644 --- a/lib/plaid/models/partner_customer_get_request.rb +++ b/lib/plaid/models/partner_customer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_get_response.rb b/lib/plaid/models/partner_customer_get_response.rb index 877215794..b2a234453 100644 --- a/lib/plaid/models/partner_customer_get_response.rb +++ b/lib/plaid/models/partner_customer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb index f76e2e241..5e96945c5 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb index fc07a4e2f..31187bce7 100644 --- a/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb +++ b/lib/plaid/models/partner_customer_o_auth_institutions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_remove_request.rb b/lib/plaid/models/partner_customer_remove_request.rb index a9289e4fa..b35a9e257 100644 --- a/lib/plaid/models/partner_customer_remove_request.rb +++ b/lib/plaid/models/partner_customer_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_customer_remove_response.rb b/lib/plaid/models/partner_customer_remove_response.rb index f63021ad4..2994a4a1f 100644 --- a/lib/plaid/models/partner_customer_remove_response.rb +++ b/lib/plaid/models/partner_customer_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer.rb b/lib/plaid/models/partner_end_customer.rb index f46fc4628..07d9287b7 100644 --- a/lib/plaid/models/partner_end_customer.rb +++ b/lib/plaid/models/partner_end_customer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_address.rb b/lib/plaid/models/partner_end_customer_address.rb index 936abc0d5..6ceaa8632 100644 --- a/lib/plaid/models/partner_end_customer_address.rb +++ b/lib/plaid/models/partner_end_customer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_assets_under_management.rb b/lib/plaid/models/partner_end_customer_assets_under_management.rb index 4e811be8c..35a5d2ac6 100644 --- a/lib/plaid/models/partner_end_customer_assets_under_management.rb +++ b/lib/plaid/models/partner_end_customer_assets_under_management.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_billing_contact.rb b/lib/plaid/models/partner_end_customer_billing_contact.rb index f56ef94ee..e8926553f 100644 --- a/lib/plaid/models/partner_end_customer_billing_contact.rb +++ b/lib/plaid/models/partner_end_customer_billing_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_customer_support_info.rb b/lib/plaid/models/partner_end_customer_customer_support_info.rb index d3a5e1150..65fc91f35 100644 --- a/lib/plaid/models/partner_end_customer_customer_support_info.rb +++ b/lib/plaid/models/partner_end_customer_customer_support_info.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_flowdown_status.rb b/lib/plaid/models/partner_end_customer_flowdown_status.rb index 45c2f78a5..6a04f3192 100644 --- a/lib/plaid/models/partner_end_customer_flowdown_status.rb +++ b/lib/plaid/models/partner_end_customer_flowdown_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution.rb b/lib/plaid/models/partner_end_customer_o_auth_institution.rb index 91bff8311..e51f24704 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb index e16b1de8a..b0a3c50b7 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_application_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb index 40552630b..73434bba9 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_institution_environments.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb index e0f009e4d..f1a1d2836 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_values.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb index 131a559a9..27e737e54 100644 --- a/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb +++ b/lib/plaid/models/partner_end_customer_o_auth_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_questionnaire_status.rb b/lib/plaid/models/partner_end_customer_questionnaire_status.rb index 7bbd59b7e..5c1e9cf68 100644 --- a/lib/plaid/models/partner_end_customer_questionnaire_status.rb +++ b/lib/plaid/models/partner_end_customer_questionnaire_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_secrets.rb b/lib/plaid/models/partner_end_customer_secrets.rb index 30222bf35..62c56505d 100644 --- a/lib/plaid/models/partner_end_customer_secrets.rb +++ b/lib/plaid/models/partner_end_customer_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_status.rb b/lib/plaid/models/partner_end_customer_status.rb index 55a333501..1f36dd779 100644 --- a/lib/plaid/models/partner_end_customer_status.rb +++ b/lib/plaid/models/partner_end_customer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_technical_contact.rb b/lib/plaid/models/partner_end_customer_technical_contact.rb index 48e43c064..2c565be8f 100644 --- a/lib/plaid/models/partner_end_customer_technical_contact.rb +++ b/lib/plaid/models/partner_end_customer_technical_contact.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_with_secrets.rb b/lib/plaid/models/partner_end_customer_with_secrets.rb index 042b423f3..4f6d12fbb 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb index 54b30f6a2..ae5c72469 100644 --- a/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb +++ b/lib/plaid/models/partner_end_customer_with_secrets_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party.rb b/lib/plaid/models/party.rb index f6784fda4..cf2514445 100644 --- a/lib/plaid/models/party.rb +++ b/lib/plaid/models/party.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party_individual.rb b/lib/plaid/models/party_individual.rb index e2705c5ce..ff7e54236 100644 --- a/lib/plaid/models/party_individual.rb +++ b/lib/plaid/models/party_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/party_role_type.rb b/lib/plaid/models/party_role_type.rb index b7c60016b..39bf60db7 100644 --- a/lib/plaid/models/party_role_type.rb +++ b/lib/plaid/models/party_role_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay.rb b/lib/plaid/models/pay.rb index 8203ba97f..f99a2c0c6 100644 --- a/lib/plaid/models/pay.rb +++ b/lib/plaid/models/pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_frequency.rb b/lib/plaid/models/pay_frequency.rb index 927cf18ee..791995adc 100644 --- a/lib/plaid/models/pay_frequency.rb +++ b/lib/plaid/models/pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_frequency_value.rb b/lib/plaid/models/pay_frequency_value.rb index 90fb24ddd..b42309248 100644 --- a/lib/plaid/models/pay_frequency_value.rb +++ b/lib/plaid/models/pay_frequency_value.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_period_details.rb b/lib/plaid/models/pay_period_details.rb index 973a20f32..82404a03c 100644 --- a/lib/plaid/models/pay_period_details.rb +++ b/lib/plaid/models/pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_period_details_pay_frequency.rb b/lib/plaid/models/pay_period_details_pay_frequency.rb index df3f63ad2..f6a3ce610 100644 --- a/lib/plaid/models/pay_period_details_pay_frequency.rb +++ b/lib/plaid/models/pay_period_details_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_deductions_breakdown.rb b/lib/plaid/models/pay_stub_deductions_breakdown.rb index 22deb5e3a..e494a707e 100644 --- a/lib/plaid/models/pay_stub_deductions_breakdown.rb +++ b/lib/plaid/models/pay_stub_deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_deductions_total.rb b/lib/plaid/models/pay_stub_deductions_total.rb index 15a6b28f4..38812294b 100644 --- a/lib/plaid/models/pay_stub_deductions_total.rb +++ b/lib/plaid/models/pay_stub_deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_distribution_breakdown.rb b/lib/plaid/models/pay_stub_distribution_breakdown.rb index 3d5576013..6cff6be53 100644 --- a/lib/plaid/models/pay_stub_distribution_breakdown.rb +++ b/lib/plaid/models/pay_stub_distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_earnings_breakdown.rb b/lib/plaid/models/pay_stub_earnings_breakdown.rb index 230dd6036..cadb23ecf 100644 --- a/lib/plaid/models/pay_stub_earnings_breakdown.rb +++ b/lib/plaid/models/pay_stub_earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_earnings_total.rb b/lib/plaid/models/pay_stub_earnings_total.rb index 89d489180..157976056 100644 --- a/lib/plaid/models/pay_stub_earnings_total.rb +++ b/lib/plaid/models/pay_stub_earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_pay_period_details.rb b/lib/plaid/models/pay_stub_pay_period_details.rb index 425a38196..4abb817cc 100644 --- a/lib/plaid/models/pay_stub_pay_period_details.rb +++ b/lib/plaid/models/pay_stub_pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pay_stub_taxpayer_id.rb b/lib/plaid/models/pay_stub_taxpayer_id.rb index 1e6ef0213..3d0527f73 100644 --- a/lib/plaid/models/pay_stub_taxpayer_id.rb +++ b/lib/plaid/models/pay_stub_taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount.rb b/lib/plaid/models/payment_amount.rb index 0bc04e9d8..0981c4848 100644 --- a/lib/plaid/models/payment_amount.rb +++ b/lib/plaid/models/payment_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_currency.rb b/lib/plaid/models/payment_amount_currency.rb index 6ee7d1acb..d17c3fa3a 100644 --- a/lib/plaid/models/payment_amount_currency.rb +++ b/lib/plaid/models/payment_amount_currency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_nullable.rb b/lib/plaid/models/payment_amount_nullable.rb index bda184770..08c8a54f9 100644 --- a/lib/plaid/models/payment_amount_nullable.rb +++ b/lib/plaid/models/payment_amount_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_refunded.rb b/lib/plaid/models/payment_amount_refunded.rb index 56215cd3f..81d983783 100644 --- a/lib/plaid/models/payment_amount_refunded.rb +++ b/lib/plaid/models/payment_amount_refunded.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_amount_to_refund.rb b/lib/plaid/models/payment_amount_to_refund.rb index a0d179e75..e5f3c8d49 100644 --- a/lib/plaid/models/payment_amount_to_refund.rb +++ b/lib/plaid/models/payment_amount_to_refund.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_channel.rb b/lib/plaid/models/payment_channel.rb index bed16fa07..af3f9843d 100644 --- a/lib/plaid/models/payment_channel.rb +++ b/lib/plaid/models/payment_channel.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_max_payment_amount.rb b/lib/plaid/models/payment_consent_max_payment_amount.rb index 2f995037f..6a3bb3f13 100644 --- a/lib/plaid/models/payment_consent_max_payment_amount.rb +++ b/lib/plaid/models/payment_consent_max_payment_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_alignment.rb b/lib/plaid/models/payment_consent_periodic_alignment.rb index 0446c4079..b78ea367b 100644 --- a/lib/plaid/models/payment_consent_periodic_alignment.rb +++ b/lib/plaid/models/payment_consent_periodic_alignment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_amount.rb b/lib/plaid/models/payment_consent_periodic_amount.rb index 7a5663a01..7d444b832 100644 --- a/lib/plaid/models/payment_consent_periodic_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_amount_amount.rb b/lib/plaid/models/payment_consent_periodic_amount_amount.rb index b7907a8ea..3b599fb95 100644 --- a/lib/plaid/models/payment_consent_periodic_amount_amount.rb +++ b/lib/plaid/models/payment_consent_periodic_amount_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_periodic_interval.rb b/lib/plaid/models/payment_consent_periodic_interval.rb index c34354024..f8c8e7da3 100644 --- a/lib/plaid/models/payment_consent_periodic_interval.rb +++ b/lib/plaid/models/payment_consent_periodic_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_consent_valid_date_time.rb b/lib/plaid/models/payment_consent_valid_date_time.rb index 96b09ced5..ae6bdd956 100644 --- a/lib/plaid/models/payment_consent_valid_date_time.rb +++ b/lib/plaid/models/payment_consent_valid_date_time.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_address.rb b/lib/plaid/models/payment_initiation_address.rb index ab602e948..2b978dbdf 100644 --- a/lib/plaid/models/payment_initiation_address.rb +++ b/lib/plaid/models/payment_initiation_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent.rb b/lib/plaid/models/payment_initiation_consent.rb index 5da2f0018..911099d28 100644 --- a/lib/plaid/models/payment_initiation_consent.rb +++ b/lib/plaid/models/payment_initiation_consent.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_constraints.rb b/lib/plaid/models/payment_initiation_consent_constraints.rb index ff87507e2..011030f4b 100644 --- a/lib/plaid/models/payment_initiation_consent_constraints.rb +++ b/lib/plaid/models/payment_initiation_consent_constraints.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_create_request.rb b/lib/plaid/models/payment_initiation_consent_create_request.rb index 79dc8cedd..be09fd6b0 100644 --- a/lib/plaid/models/payment_initiation_consent_create_request.rb +++ b/lib/plaid/models/payment_initiation_consent_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 29d100d19..b89b328bb 100644 --- a/lib/plaid/models/payment_initiation_consent_create_response.rb +++ b/lib/plaid/models/payment_initiation_consent_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_get_request.rb b/lib/plaid/models/payment_initiation_consent_get_request.rb index 095353cee..3dca66d92 100644 --- a/lib/plaid/models/payment_initiation_consent_get_request.rb +++ b/lib/plaid/models/payment_initiation_consent_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_get_response.rb b/lib/plaid/models/payment_initiation_consent_get_response.rb index 789d5ef70..778520b83 100644 --- a/lib/plaid/models/payment_initiation_consent_get_response.rb +++ b/lib/plaid/models/payment_initiation_consent_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb index 38cdb6e25..df4400ddd 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb index b52190d01..c6be1cb95 100644 --- a/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb +++ b/lib/plaid/models/payment_initiation_consent_payment_execute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_request.rb b/lib/plaid/models/payment_initiation_consent_revoke_request.rb index d8babc06c..5a2f20031 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_request.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_revoke_response.rb b/lib/plaid/models/payment_initiation_consent_revoke_response.rb index cea5abc29..6518e4c04 100644 --- a/lib/plaid/models/payment_initiation_consent_revoke_response.rb +++ b/lib/plaid/models/payment_initiation_consent_revoke_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_scope.rb b/lib/plaid/models/payment_initiation_consent_scope.rb index 24b59abe1..456def302 100644 --- a/lib/plaid/models/payment_initiation_consent_scope.rb +++ b/lib/plaid/models/payment_initiation_consent_scope.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_status.rb b/lib/plaid/models/payment_initiation_consent_status.rb index 0ddfa90de..0def5442f 100644 --- a/lib/plaid/models/payment_initiation_consent_status.rb +++ b/lib/plaid/models/payment_initiation_consent_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_metadata.rb b/lib/plaid/models/payment_initiation_metadata.rb index ad87fd600..9e9fb34fb 100644 --- a/lib/plaid/models/payment_initiation_metadata.rb +++ b/lib/plaid/models/payment_initiation_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb index b288e2ea3..4be84f2b8 100644 --- a/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb +++ b/lib/plaid/models/payment_initiation_optional_restriction_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment.rb b/lib/plaid/models/payment_initiation_payment.rb index 00067c5f3..ec38695c3 100644 --- a/lib/plaid/models/payment_initiation_payment.rb +++ b/lib/plaid/models/payment_initiation_payment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_request.rb b/lib/plaid/models/payment_initiation_payment_create_request.rb index f4b40109c..3b7acd03d 100644 --- a/lib/plaid/models/payment_initiation_payment_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index abca0e1ec..5ae9a2374 100644 --- a/lib/plaid/models/payment_initiation_payment_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_create_status.rb b/lib/plaid/models/payment_initiation_payment_create_status.rb index 58f601458..7b721b5b4 100644 --- a/lib/plaid/models/payment_initiation_payment_create_status.rb +++ b/lib/plaid/models/payment_initiation_payment_create_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_request.rb b/lib/plaid/models/payment_initiation_payment_get_request.rb index f37e39b56..83da5a6e1 100644 --- a/lib/plaid/models/payment_initiation_payment_get_request.rb +++ b/lib/plaid/models/payment_initiation_payment_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_get_response.rb b/lib/plaid/models/payment_initiation_payment_get_response.rb index b3bb6e360..2cc740a78 100644 --- a/lib/plaid/models/payment_initiation_payment_get_response.rb +++ b/lib/plaid/models/payment_initiation_payment_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_request.rb b/lib/plaid/models/payment_initiation_payment_list_request.rb index 81ed28fd7..7afbb1448 100644 --- a/lib/plaid/models/payment_initiation_payment_list_request.rb +++ b/lib/plaid/models/payment_initiation_payment_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_list_response.rb b/lib/plaid/models/payment_initiation_payment_list_response.rb index 09de995ab..be9bbb928 100644 --- a/lib/plaid/models/payment_initiation_payment_list_response.rb +++ b/lib/plaid/models/payment_initiation_payment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_request.rb b/lib/plaid/models/payment_initiation_payment_reverse_request.rb index 9a8e77055..8fc0ad374 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_request.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_reverse_response.rb b/lib/plaid/models/payment_initiation_payment_reverse_response.rb index 2586c52d4..6d0f4e4c5 100644 --- a/lib/plaid/models/payment_initiation_payment_reverse_response.rb +++ b/lib/plaid/models/payment_initiation_payment_reverse_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_status.rb b/lib/plaid/models/payment_initiation_payment_status.rb index 673fd7f03..13a7f3112 100644 --- a/lib/plaid/models/payment_initiation_payment_status.rb +++ b/lib/plaid/models/payment_initiation_payment_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_request.rb b/lib/plaid/models/payment_initiation_payment_token_create_request.rb index b6bac7285..77870ef00 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_request.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_payment_token_create_response.rb b/lib/plaid/models/payment_initiation_payment_token_create_response.rb index 6da651cf6..f64cbf762 100644 --- a/lib/plaid/models/payment_initiation_payment_token_create_response.rb +++ b/lib/plaid/models/payment_initiation_payment_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient.rb b/lib/plaid/models/payment_initiation_recipient.rb index d405c1d7d..26f09c975 100644 --- a/lib/plaid/models/payment_initiation_recipient.rb +++ b/lib/plaid/models/payment_initiation_recipient.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_request.rb b/lib/plaid/models/payment_initiation_recipient_create_request.rb index b757beba2..ec6a9b949 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_create_response.rb b/lib/plaid/models/payment_initiation_recipient_create_response.rb index 406d9220b..8345365e9 100644 --- a/lib/plaid/models/payment_initiation_recipient_create_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_request.rb b/lib/plaid/models/payment_initiation_recipient_get_request.rb index 695fec333..6baf1bdb9 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response.rb b/lib/plaid/models/payment_initiation_recipient_get_response.rb index d71004fdb..08025ab0d 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb index 1a549ab80..a19e150f1 100644 --- a/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb +++ b/lib/plaid/models/payment_initiation_recipient_get_response_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_request.rb b/lib/plaid/models/payment_initiation_recipient_list_request.rb index 3abddb796..e1654a966 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_request.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_recipient_list_response.rb b/lib/plaid/models/payment_initiation_recipient_list_response.rb index ee21a7ef9..190571d15 100644 --- a/lib/plaid/models/payment_initiation_recipient_list_response.rb +++ b/lib/plaid/models/payment_initiation_recipient_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_standing_order_metadata.rb b/lib/plaid/models/payment_initiation_standing_order_metadata.rb index 590cbaa8d..384ab98c9 100644 --- a/lib/plaid/models/payment_initiation_standing_order_metadata.rb +++ b/lib/plaid/models/payment_initiation_standing_order_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_meta.rb b/lib/plaid/models/payment_meta.rb index 87034cd16..65f8094ab 100644 --- a/lib/plaid/models/payment_meta.rb +++ b/lib/plaid/models/payment_meta.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_create_request.rb b/lib/plaid/models/payment_profile_create_request.rb index 58daaf943..93a2c3bb7 100644 --- a/lib/plaid/models/payment_profile_create_request.rb +++ b/lib/plaid/models/payment_profile_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_create_response.rb b/lib/plaid/models/payment_profile_create_response.rb index 225a0c61d..02f410402 100644 --- a/lib/plaid/models/payment_profile_create_response.rb +++ b/lib/plaid/models/payment_profile_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_get_request.rb b/lib/plaid/models/payment_profile_get_request.rb index 713d32d05..467f8d751 100644 --- a/lib/plaid/models/payment_profile_get_request.rb +++ b/lib/plaid/models/payment_profile_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_get_response.rb b/lib/plaid/models/payment_profile_get_response.rb index edc7e6525..73c2eb2c0 100644 --- a/lib/plaid/models/payment_profile_get_response.rb +++ b/lib/plaid/models/payment_profile_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_remove_request.rb b/lib/plaid/models/payment_profile_remove_request.rb index 13bdfe8d5..ae6205f66 100644 --- a/lib/plaid/models/payment_profile_remove_request.rb +++ b/lib/plaid/models/payment_profile_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_remove_response.rb b/lib/plaid/models/payment_profile_remove_response.rb index e20b579ed..629241473 100644 --- a/lib/plaid/models/payment_profile_remove_response.rb +++ b/lib/plaid/models/payment_profile_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_profile_status.rb b/lib/plaid/models/payment_profile_status.rb index a97d8ff38..c0fbf3753 100644 --- a/lib/plaid/models/payment_profile_status.rb +++ b/lib/plaid/models/payment_profile_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_schedule_interval.rb b/lib/plaid/models/payment_schedule_interval.rb index e97740dfc..630a9067d 100644 --- a/lib/plaid/models/payment_schedule_interval.rb +++ b/lib/plaid/models/payment_schedule_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_scheme.rb b/lib/plaid/models/payment_scheme.rb index f8d047040..3ac5b44df 100644 --- a/lib/plaid/models/payment_scheme.rb +++ b/lib/plaid/models/payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_status_update_webhook.rb b/lib/plaid/models/payment_status_update_webhook.rb index dcf8cc4f5..ef21eb147 100644 --- a/lib/plaid/models/payment_status_update_webhook.rb +++ b/lib/plaid/models/payment_status_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_account_data.rb b/lib/plaid/models/payroll_income_account_data.rb index f7319df63..3d358edc3 100644 --- a/lib/plaid/models/payroll_income_account_data.rb +++ b/lib/plaid/models/payroll_income_account_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_object.rb b/lib/plaid/models/payroll_income_object.rb index eead67ffc..49b5fbdda 100644 --- a/lib/plaid/models/payroll_income_object.rb +++ b/lib/plaid/models/payroll_income_object.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_income_rate_of_pay.rb b/lib/plaid/models/payroll_income_rate_of_pay.rb index 1e61c697f..238f13086 100644 --- a/lib/plaid/models/payroll_income_rate_of_pay.rb +++ b/lib/plaid/models/payroll_income_rate_of_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_item.rb b/lib/plaid/models/payroll_item.rb index 6c2c5056c..627aa18b0 100644 --- a/lib/plaid/models/payroll_item.rb +++ b/lib/plaid/models/payroll_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_item_status.rb b/lib/plaid/models/payroll_item_status.rb index d0719accd..adb6903fc 100644 --- a/lib/plaid/models/payroll_item_status.rb +++ b/lib/plaid/models/payroll_item_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payroll_risk_signals_item.rb b/lib/plaid/models/payroll_risk_signals_item.rb index a1643270b..712a8a7ae 100644 --- a/lib/plaid/models/payroll_risk_signals_item.rb +++ b/lib/plaid/models/payroll_risk_signals_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub.rb b/lib/plaid/models/paystub.rb index d7e5cb553..54b90dff8 100644 --- a/lib/plaid/models/paystub.rb +++ b/lib/plaid/models/paystub.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_address.rb b/lib/plaid/models/paystub_address.rb index 7046539ff..84ffd6cd3 100644 --- a/lib/plaid/models/paystub_address.rb +++ b/lib/plaid/models/paystub_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_deduction.rb b/lib/plaid/models/paystub_deduction.rb index cb4de224e..79d51552d 100644 --- a/lib/plaid/models/paystub_deduction.rb +++ b/lib/plaid/models/paystub_deduction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_details.rb b/lib/plaid/models/paystub_details.rb index c6cccf672..7844269b7 100644 --- a/lib/plaid/models/paystub_details.rb +++ b/lib/plaid/models/paystub_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_employer.rb b/lib/plaid/models/paystub_employer.rb index 664cbbee2..daad73ac5 100644 --- a/lib/plaid/models/paystub_employer.rb +++ b/lib/plaid/models/paystub_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override.rb b/lib/plaid/models/paystub_override.rb index 3ec2d0880..42c6df461 100644 --- a/lib/plaid/models/paystub_override.rb +++ b/lib/plaid/models/paystub_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions.rb b/lib/plaid/models/paystub_override_deductions.rb index 881d8aa03..4528a3c06 100644 --- a/lib/plaid/models/paystub_override_deductions.rb +++ b/lib/plaid/models/paystub_override_deductions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions_breakdown.rb b/lib/plaid/models/paystub_override_deductions_breakdown.rb index 2abb60607..7d4b47da3 100644 --- a/lib/plaid/models/paystub_override_deductions_breakdown.rb +++ b/lib/plaid/models/paystub_override_deductions_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_deductions_total.rb b/lib/plaid/models/paystub_override_deductions_total.rb index 0b4be7a9d..6bb1b47ff 100644 --- a/lib/plaid/models/paystub_override_deductions_total.rb +++ b/lib/plaid/models/paystub_override_deductions_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_distribution_breakdown.rb b/lib/plaid/models/paystub_override_distribution_breakdown.rb index c91cd3eca..912c1defe 100644 --- a/lib/plaid/models/paystub_override_distribution_breakdown.rb +++ b/lib/plaid/models/paystub_override_distribution_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings.rb b/lib/plaid/models/paystub_override_earnings.rb index 4ebf20af1..d774467b3 100644 --- a/lib/plaid/models/paystub_override_earnings.rb +++ b/lib/plaid/models/paystub_override_earnings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings_breakdown.rb b/lib/plaid/models/paystub_override_earnings_breakdown.rb index 57a101a3e..fdb82e7f8 100644 --- a/lib/plaid/models/paystub_override_earnings_breakdown.rb +++ b/lib/plaid/models/paystub_override_earnings_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_earnings_total.rb b/lib/plaid/models/paystub_override_earnings_total.rb index f691741ff..cbe9dbbaa 100644 --- a/lib/plaid/models/paystub_override_earnings_total.rb +++ b/lib/plaid/models/paystub_override_earnings_total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,11 +22,15 @@ class PaystubOverrideEarningsTotal # The ISO-4217 currency code of the line item attr_accessor :currency + # The year-to-date amount for the total earnings + attr_accessor :ytd_amount + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'hours' => :'hours', - :'currency' => :'currency' + :'currency' => :'currency', + :'ytd_amount' => :'ytd_amount' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'hours' => :'Float', - :'currency' => :'String' + :'currency' => :'String', + :'ytd_amount' => :'Float' } end @@ -47,7 +52,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'hours', - :'currency' + :'currency', + :'ytd_amount' ]) end @@ -73,6 +79,10 @@ def initialize(attributes = {}) if attributes.key?(:'currency') self.currency = attributes[:'currency'] end + + if attributes.key?(:'ytd_amount') + self.ytd_amount = attributes[:'ytd_amount'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -94,7 +104,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && hours == o.hours && - currency == o.currency + currency == o.currency && + ytd_amount == o.ytd_amount end # @see the `==` method @@ -106,7 +117,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [hours, currency].hash + [hours, currency, ytd_amount].hash end # Builds the object from hash diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 883948a5c..0638e9256 100644 --- a/lib/plaid/models/paystub_override_employee.rb +++ b/lib/plaid/models/paystub_override_employee.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employee_address.rb b/lib/plaid/models/paystub_override_employee_address.rb index ae998ea3c..c83603833 100644 --- a/lib/plaid/models/paystub_override_employee_address.rb +++ b/lib/plaid/models/paystub_override_employee_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employer.rb b/lib/plaid/models/paystub_override_employer.rb index 49a5301bb..c37e4e50e 100644 --- a/lib/plaid/models/paystub_override_employer.rb +++ b/lib/plaid/models/paystub_override_employer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employer_address.rb b/lib/plaid/models/paystub_override_employer_address.rb index 5a2f880c9..d1fba19cf 100644 --- a/lib/plaid/models/paystub_override_employer_address.rb +++ b/lib/plaid/models/paystub_override_employer_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_net_pay.rb b/lib/plaid/models/paystub_override_net_pay.rb index e51f77e9b..61b35f1d0 100644 --- a/lib/plaid/models/paystub_override_net_pay.rb +++ b/lib/plaid/models/paystub_override_net_pay.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_pay_period_details.rb b/lib/plaid/models/paystub_override_pay_period_details.rb index fc3218ab7..219970e32 100644 --- a/lib/plaid/models/paystub_override_pay_period_details.rb +++ b/lib/plaid/models/paystub_override_pay_period_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_taxpayer_id.rb b/lib/plaid/models/paystub_override_taxpayer_id.rb index e0e02155a..1cc1c839a 100644 --- a/lib/plaid/models/paystub_override_taxpayer_id.rb +++ b/lib/plaid/models/paystub_override_taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_pay_frequency.rb b/lib/plaid/models/paystub_pay_frequency.rb index b9e86d8b7..702d55f0f 100644 --- a/lib/plaid/models/paystub_pay_frequency.rb +++ b/lib/plaid/models/paystub_pay_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_ytd_details.rb b/lib/plaid/models/paystub_ytd_details.rb index 7b9b540a5..bb9a35730 100644 --- a/lib/plaid/models/paystub_ytd_details.rb +++ b/lib/plaid/models/paystub_ytd_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pending_disconnect_webhook.rb b/lib/plaid/models/pending_disconnect_webhook.rb new file mode 100644 index 000000000..7cdc3ce24 --- /dev/null +++ b/lib/plaid/models/pending_disconnect_webhook.rb @@ -0,0 +1,306 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when an Item is expected to be disconnected. This can be resolved by having the user go through Link’s update mode. + class PendingDisconnectWebhook + # `ITEM` + attr_accessor :webhook_type + + # `PENDING_DISCONNECT` + attr_accessor :webhook_code + + # The `item_id` of the Item associated with this webhook, warning, or error + attr_accessor :item_id + + attr_accessor :reason + + attr_accessor :environment + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'item_id' => :'item_id', + :'reason' => :'reason', + :'environment' => :'environment' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'item_id' => :'String', + :'reason' => :'PendingDisconnectWebhookReason', + :'environment' => :'WebhookEnvironmentValues' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PendingDisconnectWebhook` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PendingDisconnectWebhook`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'webhook_type') + self.webhook_type = attributes[:'webhook_type'] + end + + if attributes.key?(:'webhook_code') + self.webhook_code = attributes[:'webhook_code'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'reason') + self.reason = attributes[:'reason'] + end + + if attributes.key?(:'environment') + self.environment = attributes[:'environment'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @webhook_type.nil? + invalid_properties.push('invalid value for "webhook_type", webhook_type cannot be nil.') + end + + if @webhook_code.nil? + invalid_properties.push('invalid value for "webhook_code", webhook_code cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @reason.nil? + invalid_properties.push('invalid value for "reason", reason cannot be nil.') + end + + if @environment.nil? + invalid_properties.push('invalid value for "environment", environment cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @item_id.nil? + return false if @reason.nil? + return false if @environment.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + item_id == o.item_id && + reason == o.reason && + environment == o.environment + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [webhook_type, webhook_code, item_id, reason, environment].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/pending_disconnect_webhook_reason.rb b/lib/plaid/models/pending_disconnect_webhook_reason.rb new file mode 100644 index 000000000..ea261ec6c --- /dev/null +++ b/lib/plaid/models/pending_disconnect_webhook_reason.rb @@ -0,0 +1,38 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PendingDisconnectWebhookReason + INSTITUTION_MIGRATION = "INSTITUTION_MIGRATION".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 763db3df6..96bd7056c 100644 --- a/lib/plaid/models/pending_expiration_webhook.rb +++ b/lib/plaid/models/pending_expiration_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/personal_finance_category.rb b/lib/plaid/models/personal_finance_category.rb index 1e1a81909..926000b91 100644 --- a/lib/plaid/models/personal_finance_category.rb +++ b/lib/plaid/models/personal_finance_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_number.rb b/lib/plaid/models/phone_number.rb index 5abf17995..49f9eefd4 100644 --- a/lib/plaid/models/phone_number.rb +++ b/lib/plaid/models/phone_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_number_match_score.rb b/lib/plaid/models/phone_number_match_score.rb index 8e7f72fd5..22af0ab19 100644 --- a/lib/plaid/models/phone_number_match_score.rb +++ b/lib/plaid/models/phone_number_match_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/phone_type.rb b/lib/plaid/models/phone_type.rb index c5b4deca2..f0ae8a859 100644 --- a/lib/plaid/models/phone_type.rb +++ b/lib/plaid/models/phone_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_category.rb b/lib/plaid/models/physical_document_category.rb index ec1058d09..5c9794811 100644 --- a/lib/plaid/models/physical_document_category.rb +++ b/lib/plaid/models/physical_document_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_extracted_data.rb b/lib/plaid/models/physical_document_extracted_data.rb index 8b392219a..527680bcf 100644 --- a/lib/plaid/models/physical_document_extracted_data.rb +++ b/lib/plaid/models/physical_document_extracted_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -35,6 +35,8 @@ class PhysicalDocumentExtractedData attr_accessor :address + attr_accessor :name + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -66,7 +68,8 @@ def self.attribute_map :'issuing_country' => :'issuing_country', :'issuing_region' => :'issuing_region', :'date_of_birth' => :'date_of_birth', - :'address' => :'address' + :'address' => :'address', + :'name' => :'name' } end @@ -84,7 +87,8 @@ def self.openapi_types :'issuing_country' => :'String', :'issuing_region' => :'String', :'date_of_birth' => :'Date', - :'address' => :'IdentityVerificationDocumentAddressResponse' + :'address' => :'IdentityVerificationDocumentAddressResponse', + :'name' => :'IdentityVerificationDocumentNameResponse' } end @@ -95,7 +99,8 @@ def self.openapi_nullable :'expiration_date', :'issuing_region', :'date_of_birth', - :'address' + :'address', + :'name' ]) end @@ -141,6 +146,10 @@ def initialize(attributes = {}) if attributes.key?(:'address') self.address = attributes[:'address'] end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -177,7 +186,8 @@ def ==(o) issuing_country == o.issuing_country && issuing_region == o.issuing_region && date_of_birth == o.date_of_birth && - address == o.address + address == o.address && + name == o.name end # @see the `==` method @@ -189,7 +199,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id_number, category, expiration_date, issuing_country, issuing_region, date_of_birth, address].hash + [id_number, category, expiration_date, issuing_country, issuing_region, date_of_birth, address, name].hash end # Builds the object from hash diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index 0fe4cf625..768144e86 100644 --- a/lib/plaid/models/physical_document_extracted_data_analysis.rb +++ b/lib/plaid/models/physical_document_extracted_data_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_images.rb b/lib/plaid/models/physical_document_images.rb index b837c14fa..9fa72703d 100644 --- a/lib/plaid/models/physical_document_images.rb +++ b/lib/plaid/models/physical_document_images.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/plaid_check_score.rb b/lib/plaid/models/plaid_check_score.rb new file mode 100644 index 000000000..d2299f132 --- /dev/null +++ b/lib/plaid/models/plaid_check_score.rb @@ -0,0 +1,233 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The results of the Plaid Check score + class PlaidCheckScore + # The score returned by the Plaid Check Score model. + attr_accessor :score + + # The reasons for an individual having risk according to the Plaid Check score. + attr_accessor :reason_codes + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'score' => :'score', + :'reason_codes' => :'reason_codes' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'score' => :'Float', + :'reason_codes' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PlaidCheckScore` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PlaidCheckScore`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'score') + self.score = attributes[:'score'] + end + + if attributes.key?(:'reason_codes') + if (value = attributes[:'reason_codes']).is_a?(Array) + self.reason_codes = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + score == o.score && + reason_codes == o.reason_codes + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [score, reason_codes].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 4cf9b70bc..88fe2b525 100644 --- a/lib/plaid/models/plaid_error.rb +++ b/lib/plaid/models/plaid_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -21,6 +21,9 @@ class PlaidError # The particular error code. Safe for programmatic use. attr_accessor :error_code + # The specific reason for the error code. Currently, reasons are only supported OAuth-based item errors; `null` will be returned otherwise. Safe for programmatic use. Possible values: `OAUTH_INVALID_TOKEN`: The user’s OAuth connection to this institution has been invalidated. `OAUTH_CONSENT_EXPIRED`: The user's access consent for this OAuth connection to this institution has expired. `OAUTH_REVOKED_TOKEN`: The user’s OAuth connection to this institution is invalid because the user revoked their connection. + attr_accessor :error_code_reason + # A developer-friendly representation of the error code. This may change over time and is not safe for programmatic use. attr_accessor :error_message @@ -30,7 +33,7 @@ class PlaidError # A unique ID identifying the request, to be used for troubleshooting purposes. This field will be omitted in errors provided by webhooks. attr_accessor :request_id - # In the Assets product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. + # In this product, a request can pertain to more than one Item. If an error is returned for such a request, `causes` will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified. `causes` will only be provided for the `error_type` `ASSET_REPORT_ERROR`. `causes` will also not be populated inside an error nested within a `warning` object. attr_accessor :causes # The HTTP status code associated with the error. This will only be returned in the response body when the error information is provided via a webhook. @@ -69,6 +72,7 @@ def self.attribute_map { :'error_type' => :'error_type', :'error_code' => :'error_code', + :'error_code_reason' => :'error_code_reason', :'error_message' => :'error_message', :'display_message' => :'display_message', :'request_id' => :'request_id', @@ -89,6 +93,7 @@ def self.openapi_types { :'error_type' => :'PlaidErrorType', :'error_code' => :'String', + :'error_code_reason' => :'String', :'error_message' => :'String', :'display_message' => :'String', :'request_id' => :'String', @@ -102,6 +107,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'error_code_reason', :'display_message', :'status', :'suggested_action' @@ -131,6 +137,10 @@ def initialize(attributes = {}) self.error_code = attributes[:'error_code'] end + if attributes.key?(:'error_code_reason') + self.error_code_reason = attributes[:'error_code_reason'] + end + if attributes.key?(:'error_message') self.error_message = attributes[:'error_message'] end @@ -197,6 +207,7 @@ def ==(o) self.class == o.class && error_type == o.error_type && error_code == o.error_code && + error_code_reason == o.error_code_reason && error_message == o.error_message && display_message == o.display_message && request_id == o.request_id && @@ -215,7 +226,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [error_type, error_code, error_message, display_message, request_id, causes, status, documentation_url, suggested_action].hash + [error_type, error_code, error_code_reason, error_message, display_message, request_id, causes, status, documentation_url, suggested_action].hash end # Builds the object from hash diff --git a/lib/plaid/models/plaid_error_type.rb b/lib/plaid/models/plaid_error_type.rb index 02b02ee9f..af780dcad 100644 --- a/lib/plaid/models/plaid_error_type.rb +++ b/lib/plaid/models/plaid_error_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -29,6 +29,11 @@ class PlaidErrorType BANK_TRANSFER_ERROR = "BANK_TRANSFER_ERROR".freeze INCOME_VERIFICATION_ERROR = "INCOME_VERIFICATION_ERROR".freeze MICRODEPOSITS_ERROR = "MICRODEPOSITS_ERROR".freeze + SANDBOX_ERROR = "SANDBOX_ERROR".freeze + PARTNER_ERROR = "PARTNER_ERROR".freeze + TRANSACTIONS_ERROR = "TRANSACTIONS_ERROR".freeze + TRANSACTION_ERROR = "TRANSACTION_ERROR".freeze + TRANSFER_ERROR = "TRANSFER_ERROR".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index 8813cb609..d5fa152b6 100644 --- a/lib/plaid/models/platform_ids.rb +++ b/lib/plaid/models/platform_ids.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/po_box_status.rb b/lib/plaid/models/po_box_status.rb index 8c619e748..38872d772 100644 --- a/lib/plaid/models/po_box_status.rb +++ b/lib/plaid/models/po_box_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score.rb b/lib/plaid/models/prism_cash_score.rb index 18636bbc6..884f7c1a0 100644 --- a/lib/plaid/models/prism_cash_score.rb +++ b/lib/plaid/models/prism_cash_score.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score_metadata.rb b/lib/plaid/models/prism_cash_score_metadata.rb index 24a6d7837..c49d11a0d 100644 --- a/lib/plaid/models/prism_cash_score_metadata.rb +++ b/lib/plaid/models/prism_cash_score_metadata.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_cash_score_version.rb b/lib/plaid/models/prism_cash_score_version.rb new file mode 100644 index 000000000..ad7e5dd49 --- /dev/null +++ b/lib/plaid/models/prism_cash_score_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismCashScoreVersion + V3 = "v3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_first_detect.rb b/lib/plaid/models/prism_first_detect.rb index 336f1445b..8989fba9a 100644 --- a/lib/plaid/models/prism_first_detect.rb +++ b/lib/plaid/models/prism_first_detect.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_first_detect_version.rb b/lib/plaid/models/prism_first_detect_version.rb new file mode 100644 index 000000000..95e172526 --- /dev/null +++ b/lib/plaid/models/prism_first_detect_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismFirstDetectVersion + V3 = "v3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_insights.rb b/lib/plaid/models/prism_insights.rb index 1d595f327..5b2d2ba53 100644 --- a/lib/plaid/models/prism_insights.rb +++ b/lib/plaid/models/prism_insights.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_insights_version.rb b/lib/plaid/models/prism_insights_version.rb new file mode 100644 index 000000000..3e286e636 --- /dev/null +++ b/lib/plaid/models/prism_insights_version.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class PrismInsightsVersion + V3 = "v3".freeze + NULL = "null".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/prism_product.rb b/lib/plaid/models/prism_product.rb index 6323870a4..7e706ebc3 100644 --- a/lib/plaid/models/prism_product.rb +++ b/lib/plaid/models/prism_product.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_versions.rb b/lib/plaid/models/prism_versions.rb new file mode 100644 index 000000000..05e08ef4c --- /dev/null +++ b/lib/plaid/models/prism_versions.rb @@ -0,0 +1,263 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The versions of Prism products to evaluate + class PrismVersions + attr_accessor :firstdetect + + attr_accessor :cashscore + + attr_accessor :insights + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'firstdetect' => :'firstdetect', + :'cashscore' => :'cashscore', + :'insights' => :'insights' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'firstdetect' => :'PrismFirstDetectVersion', + :'cashscore' => :'PrismCashScoreVersion', + :'insights' => :'PrismInsightsVersion' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'firstdetect', + :'cashscore', + :'insights' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::PrismVersions` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::PrismVersions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'firstdetect') + self.firstdetect = attributes[:'firstdetect'] + end + + if attributes.key?(:'cashscore') + self.cashscore = attributes[:'cashscore'] + end + + if attributes.key?(:'insights') + self.insights = attributes[:'insights'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + firstdetect == o.firstdetect && + cashscore == o.cashscore && + insights == o.insights + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [firstdetect, cashscore, insights].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/processor_account_get_request.rb b/lib/plaid/models/processor_account_get_request.rb index 231376e38..3435106a7 100644 --- a/lib/plaid/models/processor_account_get_request.rb +++ b/lib/plaid/models/processor_account_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_account_get_response.rb b/lib/plaid/models/processor_account_get_response.rb index 698449c8e..6e881d912 100644 --- a/lib/plaid/models/processor_account_get_response.rb +++ b/lib/plaid/models/processor_account_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_apex_processor_token_create_request.rb b/lib/plaid/models/processor_apex_processor_token_create_request.rb index 3a52d30d1..0119fe73b 100644 --- a/lib/plaid/models/processor_apex_processor_token_create_request.rb +++ b/lib/plaid/models/processor_apex_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_auth_get_request.rb b/lib/plaid/models/processor_auth_get_request.rb index 64c949498..bde53d606 100644 --- a/lib/plaid/models/processor_auth_get_request.rb +++ b/lib/plaid/models/processor_auth_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_auth_get_response.rb b/lib/plaid/models/processor_auth_get_response.rb index b6041c0b7..e1bae94ce 100644 --- a/lib/plaid/models/processor_auth_get_response.rb +++ b/lib/plaid/models/processor_auth_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_request.rb b/lib/plaid/models/processor_balance_get_request.rb index 9415d173c..c93fceb22 100644 --- a/lib/plaid/models/processor_balance_get_request.rb +++ b/lib/plaid/models/processor_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_request_options.rb b/lib/plaid/models/processor_balance_get_request_options.rb index 4f98d5e12..6103f53b5 100644 --- a/lib/plaid/models/processor_balance_get_request_options.rb +++ b/lib/plaid/models/processor_balance_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_balance_get_response.rb b/lib/plaid/models/processor_balance_get_response.rb index ec24b12e6..089be350d 100644 --- a/lib/plaid/models/processor_balance_get_response.rb +++ b/lib/plaid/models/processor_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_request.rb b/lib/plaid/models/processor_bank_transfer_create_request.rb index 088245e5e..a6ee90f4c 100644 --- a/lib/plaid/models/processor_bank_transfer_create_request.rb +++ b/lib/plaid/models/processor_bank_transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_bank_transfer_create_response.rb b/lib/plaid/models/processor_bank_transfer_create_response.rb index be07bc44c..d9d75ce36 100644 --- a/lib/plaid/models/processor_bank_transfer_create_response.rb +++ b/lib/plaid/models/processor_bank_transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_default_update_webhook.rb b/lib/plaid/models/processor_default_update_webhook.rb index 5f8f59e8e..136d95f16 100644 --- a/lib/plaid/models/processor_default_update_webhook.rb +++ b/lib/plaid/models/processor_default_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_historical_update_webhook.rb b/lib/plaid/models/processor_historical_update_webhook.rb index b1d260c94..95a8d3019 100644 --- a/lib/plaid/models/processor_historical_update_webhook.rb +++ b/lib/plaid/models/processor_historical_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's historical transaction pull is completed and Plaid has prepared as much historical transaction data as possible for the Item. Once this webhook has been fired, transaction data beyond the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class ProcessorHistoricalUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -24,7 +24,7 @@ class ProcessorHistoricalUpdateWebhook attr_accessor :error - # The number of new, unfetched transactions available + # The number of new transactions available attr_accessor :new_transactions # The ID of the account. diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index 42fe1603c..56fbe2186 100644 --- a/lib/plaid/models/processor_identity_get_request.rb +++ b/lib/plaid/models/processor_identity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_get_response.rb b/lib/plaid/models/processor_identity_get_response.rb index 2bd5cd7a3..d70de8c11 100644 --- a/lib/plaid/models/processor_identity_get_response.rb +++ b/lib/plaid/models/processor_identity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_match_request.rb b/lib/plaid/models/processor_identity_match_request.rb index eb5e6d767..fc5dfc956 100644 --- a/lib/plaid/models/processor_identity_match_request.rb +++ b/lib/plaid/models/processor_identity_match_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_match_response.rb b/lib/plaid/models/processor_identity_match_response.rb index 33dfe83a9..ec8724731 100644 --- a/lib/plaid/models/processor_identity_match_response.rb +++ b/lib/plaid/models/processor_identity_match_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_initial_update_webhook.rb b/lib/plaid/models/processor_initial_update_webhook.rb index 1da9ae7d4..1ebd7fc48 100644 --- a/lib/plaid/models/processor_initial_update_webhook.rb +++ b/lib/plaid/models/processor_initial_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. If [Account Select v2](https://plaid.com/docs/link/customization/#account-select) is enabled, this webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. + # This webhook is only sent to [Plaid processor partners](https://plaid.com/docs/auth/partnerships/). Fired when an Item's initial transaction pull is completed. Once this webhook has been fired, transaction data for the most recent 30 days can be fetched for the Item. This webhook will also be fired if account selections for the Item are updated, with `new_transactions` set to the number of net new transactions pulled after the account selection update. This webhook is intended for use with `/processor/transactions/get`; if you are using the newer `/processor/transactions/sync` endpoint, this webhook will still be fired to maintain backwards compatibility, but it is recommended to listen for and respond to the `SYNC_UPDATES_AVAILABLE` webhook instead. class ProcessorInitialUpdateWebhook # `TRANSACTIONS` attr_accessor :webhook_type @@ -25,7 +25,7 @@ class ProcessorInitialUpdateWebhook # The error code associated with the webhook. attr_accessor :error - # The number of new, unfetched transactions available. + # The number of new transactions available. attr_accessor :new_transactions # The ID of the account. diff --git a/lib/plaid/models/processor_liabilities_get_request.rb b/lib/plaid/models/processor_liabilities_get_request.rb index 326b8fb26..dc3bd0739 100644 --- a/lib/plaid/models/processor_liabilities_get_request.rb +++ b/lib/plaid/models/processor_liabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_liabilities_get_response.rb b/lib/plaid/models/processor_liabilities_get_response.rb index 7fb514484..14d3350e3 100644 --- a/lib/plaid/models/processor_liabilities_get_response.rb +++ b/lib/plaid/models/processor_liabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_number.rb b/lib/plaid/models/processor_number.rb index e6c424dc1..da30a1ec4 100644 --- a/lib/plaid/models/processor_number.rb +++ b/lib/plaid/models/processor_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_recurring_transactions_update_webhook.rb b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb index 5b3a3daf8..3bde16072 100644 --- a/lib/plaid/models/processor_recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/processor_recurring_transactions_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_decision_report_request.rb b/lib/plaid/models/processor_signal_decision_report_request.rb index 8f0724fa9..caa386735 100644 --- a/lib/plaid/models/processor_signal_decision_report_request.rb +++ b/lib/plaid/models/processor_signal_decision_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_decision_report_response.rb b/lib/plaid/models/processor_signal_decision_report_response.rb index 8d49a1f8e..565ac9cbe 100644 --- a/lib/plaid/models/processor_signal_decision_report_response.rb +++ b/lib/plaid/models/processor_signal_decision_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_evaluate_request.rb b/lib/plaid/models/processor_signal_evaluate_request.rb index 3f8c4a889..08866f896 100644 --- a/lib/plaid/models/processor_signal_evaluate_request.rb +++ b/lib/plaid/models/processor_signal_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class ProcessorSignalEvaluateRequest attr_accessor :device + # The key of the Ruleset to use for this transaction. You can configure a Ruleset using the Signal dashboard located within the Plaid Dashboard. If not provided, no Ruleset will be used. This feature is currently in closed beta; to request access, contact your account manager. + attr_accessor :ruleset_key + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -60,7 +63,8 @@ def self.attribute_map :'is_recurring' => :'is_recurring', :'default_payment_method' => :'default_payment_method', :'user' => :'user', - :'device' => :'device' + :'device' => :'device', + :'ruleset_key' => :'ruleset_key' } end @@ -82,7 +86,8 @@ def self.openapi_types :'is_recurring' => :'Boolean', :'default_payment_method' => :'String', :'user' => :'SignalUser', - :'device' => :'SignalDevice' + :'device' => :'SignalDevice', + :'ruleset_key' => :'String' } end @@ -92,6 +97,7 @@ def self.openapi_nullable :'user_present', :'is_recurring', :'default_payment_method', + :'ruleset_key' ]) end @@ -153,6 +159,10 @@ def initialize(attributes = {}) if attributes.key?(:'device') self.device = attributes[:'device'] end + + if attributes.key?(:'ruleset_key') + self.ruleset_key = attributes[:'ruleset_key'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -228,7 +238,8 @@ def ==(o) is_recurring == o.is_recurring && default_payment_method == o.default_payment_method && user == o.user && - device == o.device + device == o.device && + ruleset_key == o.ruleset_key end # @see the `==` method @@ -240,7 +251,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, processor_token, client_transaction_id, amount, user_present, client_user_id, is_recurring, default_payment_method, user, device].hash + [client_id, secret, processor_token, client_transaction_id, amount, user_present, client_user_id, is_recurring, default_payment_method, user, device, ruleset_key].hash end # Builds the object from hash diff --git a/lib/plaid/models/processor_signal_evaluate_response.rb b/lib/plaid/models/processor_signal_evaluate_response.rb index 629291660..db1d3135c 100644 --- a/lib/plaid/models/processor_signal_evaluate_response.rb +++ b/lib/plaid/models/processor_signal_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,6 +23,8 @@ class ProcessorSignalEvaluateResponse attr_accessor :core_attributes + attr_accessor :ruleset + # If bank information was not available to be used in the Signal model, this array contains warnings describing why bank data is missing. If you want to receive an API error instead of Signal scores in the case of missing bank data, file a support ticket or contact your Plaid account manager. attr_accessor :warnings @@ -32,6 +34,7 @@ def self.attribute_map :'request_id' => :'request_id', :'scores' => :'scores', :'core_attributes' => :'core_attributes', + :'ruleset' => :'ruleset', :'warnings' => :'warnings' } end @@ -47,6 +50,7 @@ def self.openapi_types :'request_id' => :'String', :'scores' => :'SignalScores', :'core_attributes' => :'SignalEvaluateCoreAttributes', + :'ruleset' => :'Ruleset', :'warnings' => :'Array' } end @@ -54,6 +58,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ruleset', ]) end @@ -84,6 +89,10 @@ def initialize(attributes = {}) self.core_attributes = attributes[:'core_attributes'] end + if attributes.key?(:'ruleset') + self.ruleset = attributes[:'ruleset'] + end + if attributes.key?(:'warnings') if (value = attributes[:'warnings']).is_a?(Array) self.warnings = value @@ -122,6 +131,7 @@ def ==(o) request_id == o.request_id && scores == o.scores && core_attributes == o.core_attributes && + ruleset == o.ruleset && warnings == o.warnings end @@ -134,7 +144,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_id, scores, core_attributes, warnings].hash + [request_id, scores, core_attributes, ruleset, warnings].hash end # Builds the object from hash diff --git a/lib/plaid/models/processor_signal_prepare_request.rb b/lib/plaid/models/processor_signal_prepare_request.rb index 339373faf..fd3b8205c 100644 --- a/lib/plaid/models/processor_signal_prepare_request.rb +++ b/lib/plaid/models/processor_signal_prepare_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_prepare_response.rb b/lib/plaid/models/processor_signal_prepare_response.rb index 6f12bbc8e..e3f7418b9 100644 --- a/lib/plaid/models/processor_signal_prepare_response.rb +++ b/lib/plaid/models/processor_signal_prepare_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_return_report_request.rb b/lib/plaid/models/processor_signal_return_report_request.rb index 10dcf22b5..0aa845f0d 100644 --- a/lib/plaid/models/processor_signal_return_report_request.rb +++ b/lib/plaid/models/processor_signal_return_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_return_report_response.rb b/lib/plaid/models/processor_signal_return_report_response.rb index 9d294621e..12e0eb17b 100644 --- a/lib/plaid/models/processor_signal_return_report_response.rb +++ b/lib/plaid/models/processor_signal_return_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb index bac98cf55..8f79b3230 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb index 481af4f66..d55622270 100644 --- a/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb +++ b/lib/plaid/models/processor_stripe_bank_account_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_sync_updates_available_webhook.rb b/lib/plaid/models/processor_sync_updates_available_webhook.rb index 0b8a2c7c5..22cc767a2 100644 --- a/lib/plaid/models/processor_sync_updates_available_webhook.rb +++ b/lib/plaid/models/processor_sync_updates_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_create_request.rb b/lib/plaid/models/processor_token_create_request.rb index d06dca598..db332a9b7 100644 --- a/lib/plaid/models/processor_token_create_request.rb +++ b/lib/plaid/models/processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -147,7 +147,7 @@ def valid? return false if @access_token.nil? return false if @account_id.nil? return false if @processor.nil? - processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote"]) + processor_validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote", "stake", "wedbush", "esusu"]) return false unless processor_validator.valid?(@processor) true end @@ -155,7 +155,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] processor Object to be assigned def processor=(processor) - validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote"]) + validator = EnumAttributeValidator.new('String', ["dwolla", "galileo", "modern_treasury", "ocrolus", "vesta", "drivewealth", "vopay", "achq", "check", "checkbook", "circle", "sila_money", "rize", "svb_api", "unit", "wyre", "lithic", "alpaca", "astra", "moov", "treasury_prime", "marqeta", "checkout", "solid", "highnote", "gemini", "apex_clearing", "gusto", "adyen", "atomic", "i2c", "wepay", "riskified", "utb", "adp_roll", "fortress_trust", "bond", "bakkt", "teal", "zero_hash", "taba_pay", "knot", "sardine", "alloy", "finix", "nuvei", "layer", "boom", "paynote", "stake", "wedbush", "esusu"]) unless validator.valid?(processor) fail ArgumentError, "invalid value for \"processor\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/processor_token_create_response.rb b/lib/plaid/models/processor_token_create_response.rb index 7f80961eb..940c817f9 100644 --- a/lib/plaid/models/processor_token_create_response.rb +++ b/lib/plaid/models/processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_get_request.rb b/lib/plaid/models/processor_token_permissions_get_request.rb index 2fd0aeea0..77a3138f9 100644 --- a/lib/plaid/models/processor_token_permissions_get_request.rb +++ b/lib/plaid/models/processor_token_permissions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_get_response.rb b/lib/plaid/models/processor_token_permissions_get_response.rb index 06429c605..93f40a6f3 100644 --- a/lib/plaid/models/processor_token_permissions_get_response.rb +++ b/lib/plaid/models/processor_token_permissions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_set_request.rb b/lib/plaid/models/processor_token_permissions_set_request.rb index 5d59aea3d..9bfb12e5c 100644 --- a/lib/plaid/models/processor_token_permissions_set_request.rb +++ b/lib/plaid/models/processor_token_permissions_set_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_permissions_set_response.rb b/lib/plaid/models/processor_token_permissions_set_response.rb index dc6c3da44..f28c30851 100644 --- a/lib/plaid/models/processor_token_permissions_set_response.rb +++ b/lib/plaid/models/processor_token_permissions_set_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update.rb b/lib/plaid/models/processor_token_webhook_update.rb index f5fc94b33..e31bfb220 100644 --- a/lib/plaid/models/processor_token_webhook_update.rb +++ b/lib/plaid/models/processor_token_webhook_update.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update_request.rb b/lib/plaid/models/processor_token_webhook_update_request.rb index 09dd17430..9dea66998 100644 --- a/lib/plaid/models/processor_token_webhook_update_request.rb +++ b/lib/plaid/models/processor_token_webhook_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_token_webhook_update_response.rb b/lib/plaid/models/processor_token_webhook_update_response.rb index 83c8fdb70..7778d37b3 100644 --- a/lib/plaid/models/processor_token_webhook_update_response.rb +++ b/lib/plaid/models/processor_token_webhook_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_request.rb b/lib/plaid/models/processor_transactions_get_request.rb index d10d41c42..aa1205e36 100644 --- a/lib/plaid/models/processor_transactions_get_request.rb +++ b/lib/plaid/models/processor_transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_request_options.rb b/lib/plaid/models/processor_transactions_get_request_options.rb index c938f5af9..0b0b15f35 100644 --- a/lib/plaid/models/processor_transactions_get_request_options.rb +++ b/lib/plaid/models/processor_transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_get_response.rb b/lib/plaid/models/processor_transactions_get_response.rb index 7409bc43c..3ab52574a 100644 --- a/lib/plaid/models/processor_transactions_get_response.rb +++ b/lib/plaid/models/processor_transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_recurring_get_request.rb b/lib/plaid/models/processor_transactions_recurring_get_request.rb index fa785d135..0b1df74bb 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_request.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_recurring_get_response.rb b/lib/plaid/models/processor_transactions_recurring_get_response.rb index 98f3ad260..932bba5e0 100644 --- a/lib/plaid/models/processor_transactions_recurring_get_response.rb +++ b/lib/plaid/models/processor_transactions_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_refresh_request.rb b/lib/plaid/models/processor_transactions_refresh_request.rb index b56e7a78f..b10503f23 100644 --- a/lib/plaid/models/processor_transactions_refresh_request.rb +++ b/lib/plaid/models/processor_transactions_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_refresh_response.rb b/lib/plaid/models/processor_transactions_refresh_response.rb index e125b2b01..60464065f 100644 --- a/lib/plaid/models/processor_transactions_refresh_response.rb +++ b/lib/plaid/models/processor_transactions_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_removed_webhook.rb b/lib/plaid/models/processor_transactions_removed_webhook.rb index 23767fe81..fe8d7b0ad 100644 --- a/lib/plaid/models/processor_transactions_removed_webhook.rb +++ b/lib/plaid/models/processor_transactions_removed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_sync_request.rb b/lib/plaid/models/processor_transactions_sync_request.rb index 4d556599f..e6d3808f8 100644 --- a/lib/plaid/models/processor_transactions_sync_request.rb +++ b/lib/plaid/models/processor_transactions_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_transactions_sync_response.rb b/lib/plaid/models/processor_transactions_sync_response.rb index 6b206a724..7a5e3de57 100644 --- a/lib/plaid/models/processor_transactions_sync_response.rb +++ b/lib/plaid/models/processor_transactions_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_access.rb b/lib/plaid/models/product_access.rb index 3c09a4cc6..a169a324d 100644 --- a/lib/plaid/models/product_access.rb +++ b/lib/plaid/models/product_access.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_permissions_required_auth_webhook.rb b/lib/plaid/models/product_permissions_required_auth_webhook.rb index dabe0b68c..9af882343 100644 --- a/lib/plaid/models/product_permissions_required_auth_webhook.rb +++ b/lib/plaid/models/product_permissions_required_auth_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_permissions_required_identity_webhook.rb b/lib/plaid/models/product_permissions_required_identity_webhook.rb index d641ebeb6..a785f81dc 100644 --- a/lib/plaid/models/product_permissions_required_identity_webhook.rb +++ b/lib/plaid/models/product_permissions_required_identity_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_status.rb b/lib/plaid/models/product_status.rb index 013be1f8e..35ecddcc5 100644 --- a/lib/plaid/models/product_status.rb +++ b/lib/plaid/models/product_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/product_status_breakdown.rb b/lib/plaid/models/product_status_breakdown.rb index d33d95c9e..bcc65d3b1 100644 --- a/lib/plaid/models/product_status_breakdown.rb +++ b/lib/plaid/models/product_status_breakdown.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class ProductStatusBreakdown # The percentage of logins that are failing due to an issue in the institution's system, expressed as a decimal. attr_accessor :error_institution - # The `refresh_interval` may be `DELAYED` or `STOPPED` even when the success rate is high. This value is only returned for Transactions status breakdowns. + # How frequently data for subscription products like Investments, Transactions, and Liabilities, is being refreshed, relative to the institution's normal scheduling. The `refresh_interval` may be `DELAYED` or `STOPPED` even when the success rate is high. attr_accessor :refresh_interval class EnumAttributeValidator diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index 4c1bb5a0b..db2e51d7d 100644 --- a/lib/plaid/models/products.rb +++ b/lib/plaid/models/products.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -44,6 +44,7 @@ class Products CRA_BASE_REPORT = "cra_base_report".freeze CRA_INCOME_INSIGHTS = "cra_income_insights".freeze CRA_PARTNER_INSIGHTS = "cra_partner_insights".freeze + CRA_CASHFLOW_INSIGHTS = "cra_cashflow_insights".freeze LAYER = "layer".freeze # Builds the enum from string diff --git a/lib/plaid/models/profile_get_request.rb b/lib/plaid/models/profile_get_request.rb index bf5e81c8a..541fc41ed 100644 --- a/lib/plaid/models/profile_get_request.rb +++ b/lib/plaid/models/profile_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_get_response.rb b/lib/plaid/models/profile_get_response.rb index a26d5c131..125792567 100644 --- a/lib/plaid/models/profile_get_response.rb +++ b/lib/plaid/models/profile_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity.rb b/lib/plaid/models/profile_identity.rb index e9b6594fb..a88073e11 100644 --- a/lib/plaid/models/profile_identity.rb +++ b/lib/plaid/models/profile_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity_address.rb b/lib/plaid/models/profile_identity_address.rb index fb77ca5d0..0e9f11ed7 100644 --- a/lib/plaid/models/profile_identity_address.rb +++ b/lib/plaid/models/profile_identity_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_identity_name.rb b/lib/plaid/models/profile_identity_name.rb index 626058af0..2f29c4f84 100644 --- a/lib/plaid/models/profile_identity_name.rb +++ b/lib/plaid/models/profile_identity_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_item.rb b/lib/plaid/models/profile_item.rb index e859c8a2f..e52ad6df5 100644 --- a/lib/plaid/models/profile_item.rb +++ b/lib/plaid/models/profile_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_network_status_get_network_status.rb b/lib/plaid/models/profile_network_status_get_network_status.rb new file mode 100644 index 000000000..8ed19401f --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_network_status.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class ProfileNetworkStatusGetNetworkStatus + UNKNOWN = "UNKNOWN".freeze + RETURNING_USER = "RETURNING_USER".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/profile_network_status_get_request.rb b/lib/plaid/models/profile_network_status_get_request.rb new file mode 100644 index 000000000..f275d9132 --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_request.rb @@ -0,0 +1,245 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # ProfileNetworkStatusGetRequest defines the request schema for `/profile/network_status/get` + class ProfileNetworkStatusGetRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + attr_accessor :user + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user' => :'user' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'user' => :'ProfileNetworkStatusGetUser' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'user') + self.user = attributes[:'user'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @user.nil? + invalid_properties.push('invalid value for "user", user cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @user.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + user == o.user + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, user].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/profile_network_status_get_response.rb b/lib/plaid/models/profile_network_status_get_response.rb new file mode 100644 index 000000000..a34493d0f --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_response.rb @@ -0,0 +1,262 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # ProfileNetworkStatusGetResponse defines the response schema for `/profile/network_status/get` + class ProfileNetworkStatusGetResponse + attr_accessor :network_status + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'network_status' => :'network_status', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'network_status' => :'ProfileNetworkStatusGetNetworkStatus', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'network_status') + self.network_status = attributes[:'network_status'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @network_status.nil? + invalid_properties.push('invalid value for "network_status", network_status cannot be nil.') + end + + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @network_status.nil? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + network_status == o.network_status && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [network_status, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/profile_network_status_get_user.rb b/lib/plaid/models/profile_network_status_get_user.rb new file mode 100644 index 000000000..b9860be79 --- /dev/null +++ b/lib/plaid/models/profile_network_status_get_user.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object specifying information about the end user for the network status check + class ProfileNetworkStatusGetUser + # The user's phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format + attr_accessor :phone_number + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'phone_number' => :'phone_number' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'phone_number' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ProfileNetworkStatusGetUser` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::ProfileNetworkStatusGetUser`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'phone_number') + self.phone_number = attributes[:'phone_number'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @phone_number.nil? + invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @phone_number.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + phone_number == o.phone_number + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [phone_number].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index b298b61c6..c5fc3324f 100644 --- a/lib/plaid/models/program_name_sensitivity.rb +++ b/lib/plaid/models/program_name_sensitivity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/projected_income_summary_field_number.rb b/lib/plaid/models/projected_income_summary_field_number.rb index 3687edfb2..36b82c4c4 100644 --- a/lib/plaid/models/projected_income_summary_field_number.rb +++ b/lib/plaid/models/projected_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/proxy_type.rb b/lib/plaid/models/proxy_type.rb index f4d203c66..b8bb9971d 100644 --- a/lib/plaid/models/proxy_type.rb +++ b/lib/plaid/models/proxy_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pslf_status.rb b/lib/plaid/models/pslf_status.rb index 510fe2d5b..20ac6fc86 100644 --- a/lib/plaid/models/pslf_status.rb +++ b/lib/plaid/models/pslf_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). + # Information about the student's eligibility in the Public Service Loan Forgiveness program. This is only returned if the institution is FedLoan (`ins_116527`). Since FedLoan no longer services student loans, this field is no longer returned. class PSLFStatus # The estimated date borrower will have completed 120 qualifying monthly payments. Returned in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). attr_accessor :estimated_eligibility_date diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index b9fa89932..2232981b9 100644 --- a/lib/plaid/models/recaptcha_required_error.rb +++ b/lib/plaid/models/recaptcha_required_error.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recipient_bacs.rb b/lib/plaid/models/recipient_bacs.rb index 305ced7ee..112479732 100644 --- a/lib/plaid/models/recipient_bacs.rb +++ b/lib/plaid/models/recipient_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recipient_bacs_nullable.rb b/lib/plaid/models/recipient_bacs_nullable.rb index 7f87ff33f..3cd65739d 100644 --- a/lib/plaid/models/recipient_bacs_nullable.rb +++ b/lib/plaid/models/recipient_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurrence.rb b/lib/plaid/models/recurrence.rb index 61241d8d1..217640130 100644 --- a/lib/plaid/models/recurrence.rb +++ b/lib/plaid/models/recurrence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_cancelled_webhook.rb b/lib/plaid/models/recurring_cancelled_webhook.rb index e5c6d294f..56c4aa601 100644 --- a/lib/plaid/models/recurring_cancelled_webhook.rb +++ b/lib/plaid/models/recurring_cancelled_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_frequency.rb b/lib/plaid/models/recurring_frequency.rb index b8c179a3f..c98e138b2 100644 --- a/lib/plaid/models/recurring_frequency.rb +++ b/lib/plaid/models/recurring_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_insights_stream.rb b/lib/plaid/models/recurring_insights_stream.rb index 4af69c2a3..a3b979b35 100644 --- a/lib/plaid/models/recurring_insights_stream.rb +++ b/lib/plaid/models/recurring_insights_stream.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_new_transfer_webhook.rb b/lib/plaid/models/recurring_new_transfer_webhook.rb index 4a1d1e952..bc90298e1 100644 --- a/lib/plaid/models/recurring_new_transfer_webhook.rb +++ b/lib/plaid/models/recurring_new_transfer_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transaction_frequency.rb b/lib/plaid/models/recurring_transaction_frequency.rb index 674e550bd..f535dd7d9 100644 --- a/lib/plaid/models/recurring_transaction_frequency.rb +++ b/lib/plaid/models/recurring_transaction_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transactions.rb b/lib/plaid/models/recurring_transactions.rb index fac64b216..0654181af 100644 --- a/lib/plaid/models/recurring_transactions.rb +++ b/lib/plaid/models/recurring_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transactions_update_webhook.rb b/lib/plaid/models/recurring_transactions_update_webhook.rb index 89ddabf9d..ee9ad7f2e 100644 --- a/lib/plaid/models/recurring_transactions_update_webhook.rb +++ b/lib/plaid/models/recurring_transactions_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer.rb b/lib/plaid/models/recurring_transfer.rb index 04330c6a6..9084fe6cb 100644 --- a/lib/plaid/models/recurring_transfer.rb +++ b/lib/plaid/models/recurring_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer_nullable.rb b/lib/plaid/models/recurring_transfer_nullable.rb index bbbfdf9e7..bf27e0853 100644 --- a/lib/plaid/models/recurring_transfer_nullable.rb +++ b/lib/plaid/models/recurring_transfer_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recurring_transfer_skipped_webhook.rb b/lib/plaid/models/recurring_transfer_skipped_webhook.rb index f146c0656..78783b123 100644 --- a/lib/plaid/models/recurring_transfer_skipped_webhook.rb +++ b/lib/plaid/models/recurring_transfer_skipped_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/removed_transaction.rb b/lib/plaid/models/removed_transaction.rb index 91cfad44a..371e73dec 100644 --- a/lib/plaid/models/removed_transaction.rb +++ b/lib/plaid/models/removed_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/report_type.rb b/lib/plaid/models/report_type.rb index 2396c823b..a01d15733 100644 --- a/lib/plaid/models/report_type.rb +++ b/lib/plaid/models/report_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/reporting_information.rb b/lib/plaid/models/reporting_information.rb index ee2261790..b2e29760d 100644 --- a/lib/plaid/models/reporting_information.rb +++ b/lib/plaid/models/reporting_information.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior.rb b/lib/plaid/models/risk_check_behavior.rb index e979bb54d..2adf69751 100644 --- a/lib/plaid/models/risk_check_behavior.rb +++ b/lib/plaid/models/risk_check_behavior.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb index ad6c0c0ad..f7ffc96a6 100644 --- a/lib/plaid/models/risk_check_behavior_bot_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_bot_detected_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb index b05d97f7b..657a80c71 100644 --- a/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb +++ b/lib/plaid/models/risk_check_behavior_fraud_ring_detected_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb index c7b308326..3c8fa8876 100644 --- a/lib/plaid/models/risk_check_behavior_user_interactions_label.rb +++ b/lib/plaid/models/risk_check_behavior_user_interactions_label.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_details.rb b/lib/plaid/models/risk_check_details.rb index 555e27804..c1f5c382f 100644 --- a/lib/plaid/models/risk_check_details.rb +++ b/lib/plaid/models/risk_check_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_device.rb b/lib/plaid/models/risk_check_device.rb index 6ee203d06..275196569 100644 --- a/lib/plaid/models/risk_check_device.rb +++ b/lib/plaid/models/risk_check_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email.rb b/lib/plaid/models/risk_check_email.rb index a56d8d4b2..0354b5509 100644 --- a/lib/plaid/models/risk_check_email.rb +++ b/lib/plaid/models/risk_check_email.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_custom.rb b/lib/plaid/models/risk_check_email_domain_is_custom.rb index 88a9eb959..286efbbcf 100644 --- a/lib/plaid/models/risk_check_email_domain_is_custom.rb +++ b/lib/plaid/models/risk_check_email_domain_is_custom.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_disposable.rb b/lib/plaid/models/risk_check_email_domain_is_disposable.rb index 84f713a7b..5c47aee23 100644 --- a/lib/plaid/models/risk_check_email_domain_is_disposable.rb +++ b/lib/plaid/models/risk_check_email_domain_is_disposable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb index 08007cf3a..a06276519 100644 --- a/lib/plaid/models/risk_check_email_domain_is_free_provider.rb +++ b/lib/plaid/models/risk_check_email_domain_is_free_provider.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_is_deliverable_status.rb b/lib/plaid/models/risk_check_email_is_deliverable_status.rb index 13b9913b9..42b3827eb 100644 --- a/lib/plaid/models/risk_check_email_is_deliverable_status.rb +++ b/lib/plaid/models/risk_check_email_is_deliverable_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb index 1881b8e3b..d146701bc 100644 --- a/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb +++ b/lib/plaid/models/risk_check_email_top_level_domain_is_suspicious.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_identity_abuse_signals.rb b/lib/plaid/models/risk_check_identity_abuse_signals.rb index f8989f19b..d9fabd891 100644 --- a/lib/plaid/models/risk_check_identity_abuse_signals.rb +++ b/lib/plaid/models/risk_check_identity_abuse_signals.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_linked_service.rb b/lib/plaid/models/risk_check_linked_service.rb index 1afd0593e..db13a1ea7 100644 --- a/lib/plaid/models/risk_check_linked_service.rb +++ b/lib/plaid/models/risk_check_linked_service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_phone.rb b/lib/plaid/models/risk_check_phone.rb index 05328157f..2f25fb3d3 100644 --- a/lib/plaid/models/risk_check_phone.rb +++ b/lib/plaid/models/risk_check_phone.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_stolen_identity.rb b/lib/plaid/models/risk_check_stolen_identity.rb index e384faeab..d808c3f48 100644 --- a/lib/plaid/models/risk_check_stolen_identity.rb +++ b/lib/plaid/models/risk_check_stolen_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_synthetic_identity.rb b/lib/plaid/models/risk_check_synthetic_identity.rb index dfbd372ce..3903cbe15 100644 --- a/lib/plaid/models/risk_check_synthetic_identity.rb +++ b/lib/plaid/models/risk_check_synthetic_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_profile.rb b/lib/plaid/models/risk_profile.rb index 09ffb2a18..0ef2402dd 100644 --- a/lib/plaid/models/risk_profile.rb +++ b/lib/plaid/models/risk_profile.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_reason.rb b/lib/plaid/models/risk_reason.rb index 2b7b895f6..005135aa0 100644 --- a/lib/plaid/models/risk_reason.rb +++ b/lib/plaid/models/risk_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_document_reference.rb b/lib/plaid/models/risk_signal_document_reference.rb index 1afb1f7d5..39aa4e05a 100644 --- a/lib/plaid/models/risk_signal_document_reference.rb +++ b/lib/plaid/models/risk_signal_document_reference.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -26,6 +26,8 @@ class RiskSignalDocumentReference attr_accessor :document_type + attr_accessor :file_type + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -54,7 +56,8 @@ def self.attribute_map :'document_id' => :'document_id', :'document_name' => :'document_name', :'status' => :'status', - :'document_type' => :'document_type' + :'document_type' => :'document_type', + :'file_type' => :'file_type' } end @@ -69,7 +72,8 @@ def self.openapi_types :'document_id' => :'String', :'document_name' => :'String', :'status' => :'RiskSignalDocumentStatus', - :'document_type' => :'RiskSignalDocumentType' + :'document_type' => :'RiskSignalDocumentType', + :'file_type' => :'RiskSignalFileType' } end @@ -77,7 +81,8 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'document_id', - :'document_type' + :'document_type', + :'file_type' ]) end @@ -111,6 +116,10 @@ def initialize(attributes = {}) if attributes.key?(:'document_type') self.document_type = attributes[:'document_type'] end + + if attributes.key?(:'file_type') + self.file_type = attributes[:'file_type'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -134,7 +143,8 @@ def ==(o) document_id == o.document_id && document_name == o.document_name && status == o.status && - document_type == o.document_type + document_type == o.document_type && + file_type == o.file_type end # @see the `==` method @@ -146,7 +156,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [document_id, document_name, status, document_type].hash + [document_id, document_name, status, document_type, file_type].hash end # Builds the object from hash diff --git a/lib/plaid/models/risk_signal_document_status.rb b/lib/plaid/models/risk_signal_document_status.rb index 6cd8225c4..100801ba9 100644 --- a/lib/plaid/models/risk_signal_document_status.rb +++ b/lib/plaid/models/risk_signal_document_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_document_type.rb b/lib/plaid/models/risk_signal_document_type.rb index 6ff24ba5b..d7adefb33 100644 --- a/lib/plaid/models/risk_signal_document_type.rb +++ b/lib/plaid/models/risk_signal_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_file_type.rb b/lib/plaid/models/risk_signal_file_type.rb new file mode 100644 index 000000000..879138a97 --- /dev/null +++ b/lib/plaid/models/risk_signal_file_type.rb @@ -0,0 +1,45 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class RiskSignalFileType + UNKNOWN = "UNKNOWN".freeze + IMAGE_PDF = "IMAGE_PDF".freeze + SCAN_OCR = "SCAN_OCR".freeze + TRUE_PDF = "TRUE_PDF".freeze + IMAGE = "IMAGE".freeze + MIXED_PAGE_PDF = "MIXED_PAGE_PDF".freeze + EMPTY_PDF = "EMPTY_PDF".freeze + FLATTENED_PDF = "FLATTENED_PDF".freeze + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def self.build_from_hash(value) + new.build_from_hash(value) + end + + # Builds the enum from string + # @param [String] The enum value in the form of the string + # @return [String] The enum value + def build_from_hash(value) + # We do not validate that the value is one of the enums set in the OpenAPI + # file because we want to be able to add to our list of enums without + # breaking this client library. + value + end + end + +end diff --git a/lib/plaid/models/role.rb b/lib/plaid/models/role.rb index b93ae74d7..c2889ec93 100644 --- a/lib/plaid/models/role.rb +++ b/lib/plaid/models/role.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/role_detail.rb b/lib/plaid/models/role_detail.rb index 4addf51cd..746fb3115 100644 --- a/lib/plaid/models/role_detail.rb +++ b/lib/plaid/models/role_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/roles.rb b/lib/plaid/models/roles.rb index f3e10cc5b..40eb75d88 100644 --- a/lib/plaid/models/roles.rb +++ b/lib/plaid/models/roles.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ruleset.rb b/lib/plaid/models/ruleset.rb index 31939bae6..2c80d5a34 100644 --- a/lib/plaid/models/ruleset.rb +++ b/lib/plaid/models/ruleset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb index c450d2fc9..be2c2ac5b 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb index 06b83ada3..b5c4e0613 100644 --- a/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_income_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb index 14d173272..179dd76aa 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb index a5b966ff5..fe22ea9e5 100644 --- a/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb +++ b/lib/plaid/models/sandbox_bank_income_webhook_fire_request_webhook_fields.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb index 7459a50ce..15e0278a6 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb index 39ffa6628..343a4c80e 100644 --- a/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb index 972f3fc1c..7c0cb5718 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb index 3fa939d3c..7778abe07 100644 --- a/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_bank_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_request.rb b/lib/plaid/models/sandbox_income_fire_webhook_request.rb index 5dbdd592a..c378c610b 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index b1ed9eda9..35a7f6041 100644 --- a/lib/plaid/models/sandbox_income_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_income_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb b/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb index 1b12b5285..0a26f4d64 100644 --- a/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb +++ b/lib/plaid/models/sandbox_income_webhook_fire_request_webhook_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_request.rb b/lib/plaid/models/sandbox_item_fire_webhook_request.rb index f0e55c019..e947fc60a 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -141,7 +141,7 @@ def list_invalid_properties def valid? return false if @access_token.nil? return false if @webhook_code.nil? - webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) + webhook_code_validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "LOGIN_REPAIRED", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) return false unless webhook_code_validator.valid?(@webhook_code) true end @@ -149,7 +149,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] webhook_code Object to be assigned def webhook_code=(webhook_code) - validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) + validator = EnumAttributeValidator.new('String', ["DEFAULT_UPDATE", "NEW_ACCOUNTS_AVAILABLE", "SMS_MICRODEPOSITS_VERIFICATION", "AUTHORIZATION_GRANTED", "RECURRING_TRANSACTIONS_UPDATE", "LOGIN_REPAIRED", "SYNC_UPDATES_AVAILABLE", "PRODUCT_READY", "ERROR"]) unless validator.valid?(webhook_code) fail ArgumentError, "invalid value for \"webhook_code\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 7f3467943..815d5f03b 100644 --- a/lib/plaid/models/sandbox_item_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_item_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_request.rb b/lib/plaid/models/sandbox_item_reset_login_request.rb index 4a134347f..f5d27afc4 100644 --- a/lib/plaid/models/sandbox_item_reset_login_request.rb +++ b/lib/plaid/models/sandbox_item_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_reset_login_response.rb b/lib/plaid/models/sandbox_item_reset_login_response.rb index 075985801..dc3320322 100644 --- a/lib/plaid/models/sandbox_item_reset_login_response.rb +++ b/lib/plaid/models/sandbox_item_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_request.rb b/lib/plaid/models/sandbox_item_set_verification_status_request.rb index 937c0642a..9e4e2afda 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_request.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_set_verification_status_response.rb b/lib/plaid/models/sandbox_item_set_verification_status_response.rb index 276ba4c01..70141163c 100644 --- a/lib/plaid/models/sandbox_item_set_verification_status_response.rb +++ b/lib/plaid/models/sandbox_item_set_verification_status_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb index 12748541e..f7c12a155 100644 --- a/lib/plaid/models/sandbox_oauth_select_accounts_request.rb +++ b/lib/plaid/models/sandbox_oauth_select_accounts_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb index aa4be4f80..6bf41f506 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb index 508172f37..57bcc0339 100644 --- a/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb +++ b/lib/plaid/models/sandbox_payment_profile_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request.rb b/lib/plaid/models/sandbox_processor_token_create_request.rb index 8a6cd3bee..b92bd0335 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_request_options.rb b/lib/plaid/models/sandbox_processor_token_create_request_options.rb index 2ffd43200..2fc0bfd73 100644 --- a/lib/plaid/models/sandbox_processor_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_processor_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_processor_token_create_response.rb b/lib/plaid/models/sandbox_processor_token_create_response.rb index 45f0f4ce7..33f50581b 100644 --- a/lib/plaid/models/sandbox_processor_token_create_response.rb +++ b/lib/plaid/models/sandbox_processor_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request.rb b/lib/plaid/models/sandbox_public_token_create_request.rb index 2d1aa0421..84e2fd161 100644 --- a/lib/plaid/models/sandbox_public_token_create_request.rb +++ b/lib/plaid/models/sandbox_public_token_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb index 6dc1db2a5..ef6d72950 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_income_verification_bank_income.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options.rb b/lib/plaid/models/sandbox_public_token_create_request_options.rb index 981f73a3e..2af99acf6 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb index 876d7f288..27935b779 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_income_verification.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb b/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb index 28e7ba0fe..f1eb236bc 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_statements.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb index 50748e9e8..54b39cf3f 100644 --- a/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb +++ b/lib/plaid/models/sandbox_public_token_create_request_options_transactions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_public_token_create_response.rb b/lib/plaid/models/sandbox_public_token_create_response.rb index bfcaf04fd..7498c5782 100644 --- a/lib/plaid/models/sandbox_public_token_create_response.rb +++ b/lib/plaid/models/sandbox_public_token_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb index a607b3e84..b720e8e1c 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb index 043980d82..008d3461f 100644 --- a/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb +++ b/lib/plaid/models/sandbox_transfer_fire_webhook_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb index 51b8ec511..a70e7bc4d 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb index 24a03afd2..866ff1bf9 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_deposit_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb index 5ad7c577c..0d16580ff 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class SandboxTransferLedgerSimulateAvailableRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret + # Specify which ledger balance to simulate converting pending balance to available balance. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # Plaid’s unique identifier for a test clock. If provided, only the pending balance that is due before the `virtual_timestamp` on the test clock will be converted. attr_accessor :test_clock_id @@ -30,6 +33,7 @@ def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', + :'ledger_id' => :'ledger_id', :'test_clock_id' => :'test_clock_id' } end @@ -44,6 +48,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', + :'ledger_id' => :'String', :'test_clock_id' => :'String' } end @@ -51,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'test_clock_id' ]) end @@ -78,6 +84,10 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'test_clock_id') self.test_clock_id = attributes[:'test_clock_id'] end @@ -103,6 +113,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && + ledger_id == o.ledger_id && test_clock_id == o.test_clock_id end @@ -115,7 +126,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, test_clock_id].hash + [client_id, secret, ledger_id, test_clock_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb index 891c2f049..92ad4b1a6 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_simulate_available_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb index e208c976b..ed961cec4 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb index 5ede5c2f9..750a5aece 100644 --- a/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_ledger_withdraw_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb b/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb index 2a4dc78cd..a37a6144a 100644 --- a/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_refund_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb b/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb index 3179bd817..cb72d3c49 100644 --- a/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_refund_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb index f1b46584d..165eb1e76 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb index 1f2a3176d..89c5d3b5e 100644 --- a/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_repayment_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_request.rb b/lib/plaid/models/sandbox_transfer_simulate_request.rb index 1da2d8e5e..8bc1ddbc1 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_simulate_response.rb b/lib/plaid/models/sandbox_transfer_simulate_response.rb index 0906f8cdd..57cd4ef0d 100644 --- a/lib/plaid/models/sandbox_transfer_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb index 0a6a689c7..f650b21e9 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb index f6d110987..b5ee804bb 100644 --- a/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_sweep_simulate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb index 37d23855c..33cc62f6e 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb index a9c662943..8938a2ef1 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_advance_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb index 5d8dc5373..178251754 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb index f9fa083dd..66a1d17ee 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb index 541685620..b6d5bf314 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb index 3193bcbd3..38cd1e7d9 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb index 53e28e3fa..67eb30462 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb index 7b8091ae7..ac6573846 100644 --- a/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +++ b/lib/plaid/models/sandbox_transfer_test_clock_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_user_reset_login_request.rb b/lib/plaid/models/sandbox_user_reset_login_request.rb index f9b74140e..078bc9025 100644 --- a/lib/plaid/models/sandbox_user_reset_login_request.rb +++ b/lib/plaid/models/sandbox_user_reset_login_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_user_reset_login_response.rb b/lib/plaid/models/sandbox_user_reset_login_response.rb index cc9255cb7..50eb59248 100644 --- a/lib/plaid/models/sandbox_user_reset_login_response.rb +++ b/lib/plaid/models/sandbox_user_reset_login_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes.rb b/lib/plaid/models/scopes.rb index 067ea66cb..e058aa691 100644 --- a/lib/plaid/models/scopes.rb +++ b/lib/plaid/models/scopes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes_context.rb b/lib/plaid/models/scopes_context.rb index 482e772db..ea6510332 100644 --- a/lib/plaid/models/scopes_context.rb +++ b/lib/plaid/models/scopes_context.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/scopes_nullable.rb b/lib/plaid/models/scopes_nullable.rb index cdb1a621c..d337d0f59 100644 --- a/lib/plaid/models/scopes_nullable.rb +++ b/lib/plaid/models/scopes_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_analysis.rb b/lib/plaid/models/screening_hit_analysis.rb index c1878a6ef..f1da03b5e 100644 --- a/lib/plaid/models/screening_hit_analysis.rb +++ b/lib/plaid/models/screening_hit_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_data.rb b/lib/plaid/models/screening_hit_data.rb index 997af422d..e86f91a11 100644 --- a/lib/plaid/models/screening_hit_data.rb +++ b/lib/plaid/models/screening_hit_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_date_of_birth_item.rb b/lib/plaid/models/screening_hit_date_of_birth_item.rb index 3040c1b6d..cc150ebba 100644 --- a/lib/plaid/models/screening_hit_date_of_birth_item.rb +++ b/lib/plaid/models/screening_hit_date_of_birth_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_documents_items.rb b/lib/plaid/models/screening_hit_documents_items.rb index 39f2faf48..95a9da123 100644 --- a/lib/plaid/models/screening_hit_documents_items.rb +++ b/lib/plaid/models/screening_hit_documents_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_hit_names_items.rb b/lib/plaid/models/screening_hit_names_items.rb index 73b36345a..1f70aa76f 100644 --- a/lib/plaid/models/screening_hit_names_items.rb +++ b/lib/plaid/models/screening_hit_names_items.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/screening_status_updated_webhook.rb b/lib/plaid/models/screening_status_updated_webhook.rb index bd9cc571f..5c5473b18 100644 --- a/lib/plaid/models/screening_status_updated_webhook.rb +++ b/lib/plaid/models/screening_status_updated_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/security.rb b/lib/plaid/models/security.rb index 0303be0b4..897af9fa2 100644 --- a/lib/plaid/models/security.rb +++ b/lib/plaid/models/security.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -67,6 +67,12 @@ class Security # The ISO-10383 Market Identifier Code of the exchange or market in which the security is being traded. attr_accessor :market_identifier_code + # The sector classification of the security, such as Finance, Health Technology, etc. For a complete list of possible values, please refer to the [\"Sectors and Industries\" spreadsheet](https://docs.google.com/spreadsheets/d/1L7aXUdqLhxgM8qe7hK67qqKXiUdQqILpwZ0LpxvCVnc). + attr_accessor :sector + + # The industry classification of the security, such as Biotechnology, Airlines, etc. For a complete list of possible values, please refer to the [\"Sectors and Industries\" spreadsheet](https://docs.google.com/spreadsheets/d/1L7aXUdqLhxgM8qe7hK67qqKXiUdQqILpwZ0LpxvCVnc). + attr_accessor :industry + attr_accessor :option_contract # Attribute mapping from ruby-style variable name to JSON key. @@ -89,6 +95,8 @@ def self.attribute_map :'iso_currency_code' => :'iso_currency_code', :'unofficial_currency_code' => :'unofficial_currency_code', :'market_identifier_code' => :'market_identifier_code', + :'sector' => :'sector', + :'industry' => :'industry', :'option_contract' => :'option_contract' } end @@ -118,6 +126,8 @@ def self.openapi_types :'iso_currency_code' => :'String', :'unofficial_currency_code' => :'String', :'market_identifier_code' => :'String', + :'sector' => :'String', + :'industry' => :'String', :'option_contract' => :'OptionContract' } end @@ -141,6 +151,8 @@ def self.openapi_nullable :'iso_currency_code', :'unofficial_currency_code', :'market_identifier_code', + :'sector', + :'industry', :'option_contract' ]) end @@ -228,6 +240,14 @@ def initialize(attributes = {}) self.market_identifier_code = attributes[:'market_identifier_code'] end + if attributes.key?(:'sector') + self.sector = attributes[:'sector'] + end + + if attributes.key?(:'industry') + self.industry = attributes[:'industry'] + end + if attributes.key?(:'option_contract') self.option_contract = attributes[:'option_contract'] end @@ -273,6 +293,8 @@ def ==(o) iso_currency_code == o.iso_currency_code && unofficial_currency_code == o.unofficial_currency_code && market_identifier_code == o.market_identifier_code && + sector == o.sector && + industry == o.industry && option_contract == o.option_contract end @@ -285,7 +307,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [security_id, isin, cusip, sedol, institution_security_id, institution_id, proxy_security_id, name, ticker_symbol, is_cash_equivalent, type, close_price, close_price_as_of, update_datetime, iso_currency_code, unofficial_currency_code, market_identifier_code, option_contract].hash + [security_id, isin, cusip, sedol, institution_security_id, institution_id, proxy_security_id, name, ticker_symbol, is_cash_equivalent, type, close_price, close_price_as_of, update_datetime, iso_currency_code, unofficial_currency_code, market_identifier_code, sector, industry, option_contract].hash end # Builds the object from hash diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index f7fc69f44..d623467d2 100644 --- a/lib/plaid/models/security_override.rb +++ b/lib/plaid/models/security_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis.rb b/lib/plaid/models/selfie_analysis.rb index 09e9a3a22..9a9de289c 100644 --- a/lib/plaid/models/selfie_analysis.rb +++ b/lib/plaid/models/selfie_analysis.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis_document_comparison.rb b/lib/plaid/models/selfie_analysis_document_comparison.rb index f72e2f940..d16fd3175 100644 --- a/lib/plaid/models/selfie_analysis_document_comparison.rb +++ b/lib/plaid/models/selfie_analysis_document_comparison.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_capture.rb b/lib/plaid/models/selfie_capture.rb index 62fdb179f..fe4ff67bc 100644 --- a/lib/plaid/models/selfie_capture.rb +++ b/lib/plaid/models/selfie_capture.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check.rb b/lib/plaid/models/selfie_check.rb index 3fd674162..cfaf9a2e7 100644 --- a/lib/plaid/models/selfie_check.rb +++ b/lib/plaid/models/selfie_check.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check_selfie.rb b/lib/plaid/models/selfie_check_selfie.rb index ee7ec0869..b7ea8e58a 100644 --- a/lib/plaid/models/selfie_check_selfie.rb +++ b/lib/plaid/models/selfie_check_selfie.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_check_status.rb b/lib/plaid/models/selfie_check_status.rb index 7171bb76b..4698c8b76 100644 --- a/lib/plaid/models/selfie_check_status.rb +++ b/lib/plaid/models/selfie_check_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_status.rb b/lib/plaid/models/selfie_status.rb index 622b23df6..dd3e7735e 100644 --- a/lib/plaid/models/selfie_status.rb +++ b/lib/plaid/models/selfie_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sender_bacs_nullable.rb b/lib/plaid/models/sender_bacs_nullable.rb index 13694fda8..7f7ab61f0 100644 --- a/lib/plaid/models/sender_bacs_nullable.rb +++ b/lib/plaid/models/sender_bacs_nullable.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service.rb b/lib/plaid/models/service.rb index 7a5349755..18358d0ef 100644 --- a/lib/plaid/models/service.rb +++ b/lib/plaid/models/service.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment.rb b/lib/plaid/models/service_product_fulfillment.rb index ba80cc708..f565dd9c9 100644 --- a/lib/plaid/models/service_product_fulfillment.rb +++ b/lib/plaid/models/service_product_fulfillment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment_detail.rb b/lib/plaid/models/service_product_fulfillment_detail.rb index 195004151..30f1eab16 100644 --- a/lib/plaid/models/service_product_fulfillment_detail.rb +++ b/lib/plaid/models/service_product_fulfillment_detail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/service_product_fulfillment_identifier.rb b/lib/plaid/models/service_product_fulfillment_identifier.rb index 46dc62967..c19c7ec9a 100644 --- a/lib/plaid/models/service_product_fulfillment_identifier.rb +++ b/lib/plaid/models/service_product_fulfillment_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/servicer_address_data.rb b/lib/plaid/models/servicer_address_data.rb index 94477d563..b561fea54 100644 --- a/lib/plaid/models/servicer_address_data.rb +++ b/lib/plaid/models/servicer_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/services.rb b/lib/plaid/models/services.rb index b382b218c..dd63ddc18 100644 --- a/lib/plaid/models/services.rb +++ b/lib/plaid/models/services.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_address_data.rb b/lib/plaid/models/signal_address_data.rb index 7a25dcf52..179b1b88e 100644 --- a/lib/plaid/models/signal_address_data.rb +++ b/lib/plaid/models/signal_address_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_outcome.rb b/lib/plaid/models/signal_decision_outcome.rb index 499316a2a..80afdb42a 100644 --- a/lib/plaid/models/signal_decision_outcome.rb +++ b/lib/plaid/models/signal_decision_outcome.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_report_request.rb b/lib/plaid/models/signal_decision_report_request.rb index 89279783c..4b932cad5 100644 --- a/lib/plaid/models/signal_decision_report_request.rb +++ b/lib/plaid/models/signal_decision_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_decision_report_response.rb b/lib/plaid/models/signal_decision_report_response.rb index c01825a45..47ddce5bd 100644 --- a/lib/plaid/models/signal_decision_report_response.rb +++ b/lib/plaid/models/signal_decision_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_device.rb b/lib/plaid/models/signal_device.rb index 440eb4c31..cce726e6b 100644 --- a/lib/plaid/models/signal_device.rb +++ b/lib/plaid/models/signal_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_evaluate_core_attributes.rb b/lib/plaid/models/signal_evaluate_core_attributes.rb index 09d4f535f..973f60de2 100644 --- a/lib/plaid/models/signal_evaluate_core_attributes.rb +++ b/lib/plaid/models/signal_evaluate_core_attributes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_evaluate_request.rb b/lib/plaid/models/signal_evaluate_request.rb index 4a14fe8ed..cb5d39c0f 100644 --- a/lib/plaid/models/signal_evaluate_request.rb +++ b/lib/plaid/models/signal_evaluate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -213,24 +213,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "amount", amount cannot be nil.') end - if !@risk_profile_key.nil? && @risk_profile_key.to_s.length > 64 - invalid_properties.push('invalid value for "risk_profile_key", the character length must be smaller than or equal to 64.') - end - - if !@risk_profile_key.nil? && @risk_profile_key.to_s.length < 1 - invalid_properties.push('invalid value for "risk_profile_key", the character length must be great than or equal to 1.') - end - - - if !@ruleset_key.nil? && @ruleset_key.to_s.length > 64 - invalid_properties.push('invalid value for "ruleset_key", the character length must be smaller than or equal to 64.') - end - - if !@ruleset_key.nil? && @ruleset_key.to_s.length < 1 - invalid_properties.push('invalid value for "ruleset_key", the character length must be great than or equal to 1.') - end - - invalid_properties end @@ -243,10 +225,6 @@ def valid? return false if @client_transaction_id.to_s.length > 36 return false if @client_transaction_id.to_s.length < 1 return false if @amount.nil? - return false if !@risk_profile_key.nil? && @risk_profile_key.to_s.length > 64 - return false if !@risk_profile_key.nil? && @risk_profile_key.to_s.length < 1 - return false if !@ruleset_key.nil? && @ruleset_key.to_s.length > 64 - return false if !@ruleset_key.nil? && @ruleset_key.to_s.length < 1 true end @@ -269,36 +247,6 @@ def client_transaction_id=(client_transaction_id) @client_transaction_id = client_transaction_id end - # Custom attribute writer method with validation - # @param [Object] risk_profile_key Value to be assigned - def risk_profile_key=(risk_profile_key) - if !risk_profile_key.nil? && risk_profile_key.to_s.length > 64 - fail ArgumentError, 'invalid value for "risk_profile_key", the character length must be smaller than or equal to 64.' - end - - if !risk_profile_key.nil? && risk_profile_key.to_s.length < 1 - fail ArgumentError, 'invalid value for "risk_profile_key", the character length must be great than or equal to 1.' - end - - - @risk_profile_key = risk_profile_key - end - - # Custom attribute writer method with validation - # @param [Object] ruleset_key Value to be assigned - def ruleset_key=(ruleset_key) - if !ruleset_key.nil? && ruleset_key.to_s.length > 64 - fail ArgumentError, 'invalid value for "ruleset_key", the character length must be smaller than or equal to 64.' - end - - if !ruleset_key.nil? && ruleset_key.to_s.length < 1 - fail ArgumentError, 'invalid value for "ruleset_key", the character length must be great than or equal to 1.' - end - - - @ruleset_key = ruleset_key - end - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index b36fc1e83..10a076299 100644 --- a/lib/plaid/models/signal_evaluate_response.rb +++ b/lib/plaid/models/signal_evaluate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_payment_method.rb b/lib/plaid/models/signal_payment_method.rb index 38b7ba15f..453b3b39c 100644 --- a/lib/plaid/models/signal_payment_method.rb +++ b/lib/plaid/models/signal_payment_method.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_person_name.rb b/lib/plaid/models/signal_person_name.rb index 439006c9b..b4fec210b 100644 --- a/lib/plaid/models/signal_person_name.rb +++ b/lib/plaid/models/signal_person_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_prepare_request.rb b/lib/plaid/models/signal_prepare_request.rb index 24fc59de6..bbb0fc323 100644 --- a/lib/plaid/models/signal_prepare_request.rb +++ b/lib/plaid/models/signal_prepare_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_prepare_response.rb b/lib/plaid/models/signal_prepare_response.rb index dc319f6d7..e3b00e792 100644 --- a/lib/plaid/models/signal_prepare_response.rb +++ b/lib/plaid/models/signal_prepare_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_return_report_request.rb b/lib/plaid/models/signal_return_report_request.rb index 161c95b06..f84a2c905 100644 --- a/lib/plaid/models/signal_return_report_request.rb +++ b/lib/plaid/models/signal_return_report_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_return_report_response.rb b/lib/plaid/models/signal_return_report_response.rb index 3a9e651e0..1f68b9916 100644 --- a/lib/plaid/models/signal_return_report_response.rb +++ b/lib/plaid/models/signal_return_report_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_scores.rb b/lib/plaid/models/signal_scores.rb index 3a4df773c..662570f77 100644 --- a/lib/plaid/models/signal_scores.rb +++ b/lib/plaid/models/signal_scores.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_user.rb b/lib/plaid/models/signal_user.rb index a63001802..63808760a 100644 --- a/lib/plaid/models/signal_user.rb +++ b/lib/plaid/models/signal_user.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_warning.rb b/lib/plaid/models/signal_warning.rb index 6ac7e764f..91d3c13ee 100644 --- a/lib/plaid/models/signal_warning.rb +++ b/lib/plaid/models/signal_warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/simulated_transfer_sweep.rb b/lib/plaid/models/simulated_transfer_sweep.rb index 656fb4733..d87a779d1 100644 --- a/lib/plaid/models/simulated_transfer_sweep.rb +++ b/lib/plaid/models/simulated_transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class SimulatedTransferSweep # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when the sweep occurred, in RFC 3339 format. attr_accessor :created @@ -71,6 +74,7 @@ def self.attribute_map { :'id' => :'id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', @@ -92,6 +96,7 @@ def self.openapi_types { :'id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', @@ -106,6 +111,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'settled', :'status', :'trigger', @@ -143,6 +149,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -221,6 +231,7 @@ def ==(o) self.class == o.class && id == o.id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && @@ -240,7 +251,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash + [id, funding_account_id, ledger_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index 36e8290ad..85d61dee4 100644 --- a/lib/plaid/models/single_document_risk_signal.rb +++ b/lib/plaid/models/single_document_risk_signal.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/source.rb b/lib/plaid/models/source.rb index 16ebfec7b..9570895c5 100644 --- a/lib/plaid/models/source.rb +++ b/lib/plaid/models/source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/standalone_account_type.rb b/lib/plaid/models/standalone_account_type.rb index 7c3f76c08..2b9da9b04 100644 --- a/lib/plaid/models/standalone_account_type.rb +++ b/lib/plaid/models/standalone_account_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,19 +16,19 @@ module Plaid # The schema below describes the various `types` and corresponding `subtypes` that Plaid recognizes and reports for financial institution accounts. class StandaloneAccountType - # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth (`checking` and `savings` types only), Transfer, Balance, Signal, Income, Transactions, Identity, Payment Initiation, Assets, and Investments (`cash management` type only). + # An account type holding cash, in which funds are deposited. Supported products for `depository` accounts are: Auth (`checking` and `savings` subtypes only), Transfer, Balance, Signal, Income, Transactions, Identity, Payment Initiation, Assets, and Investments (`cash management` subtype only). attr_accessor :depository # A credit card type account. Supported products for `credit` accounts are: Balance, Transactions, Identity, Assets, and Liabilities. attr_accessor :credit - # A loan type account. Supported products for `loan` accounts are: Balance, Liabilities, Assets, and Transactions. + # A loan type account. Supported products for `loan` accounts are: Balance, Liabilities (`student` and `mortgage` subtypes only), Identity. attr_accessor :loan - # An investment account. Supported products for `investment` accounts are: Balance, Assets, and Investments. In API versions 2018-05-22 and earlier, this type is called `brokerage`. + # An investment account. Supported products for `investment` accounts are: Balance, Assets, Investments, and Investment Transactions. In API versions 2018-05-22 and earlier, this type is called `brokerage`. attr_accessor :investment - # Other or unknown account type. Supported products for `other` accounts are: Balance, Transactions, Identity, and Assets. + # Other or unknown account type. Supported products for `other` accounts are: Balance, Identity. attr_accessor :other # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index f9bced832..43f77a686 100644 --- a/lib/plaid/models/standalone_currency_code_list.rb +++ b/lib/plaid/models/standalone_currency_code_list.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/standalone_investment_transaction_type.rb b/lib/plaid/models/standalone_investment_transaction_type.rb index 41cfbac26..9c4138b7d 100644 --- a/lib/plaid/models/standalone_investment_transaction_type.rb +++ b/lib/plaid/models/standalone_investment_transaction_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_account.rb b/lib/plaid/models/statements_account.rb index e1f88b1de..055e91742 100644 --- a/lib/plaid/models/statements_account.rb +++ b/lib/plaid/models/statements_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_download_request.rb b/lib/plaid/models/statements_download_request.rb index 03c32942d..45b5f3927 100644 --- a/lib/plaid/models/statements_download_request.rb +++ b/lib/plaid/models/statements_download_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_list_request.rb b/lib/plaid/models/statements_list_request.rb index 1b7cb8e25..38d5b70fd 100644 --- a/lib/plaid/models/statements_list_request.rb +++ b/lib/plaid/models/statements_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_list_response.rb b/lib/plaid/models/statements_list_response.rb index 9c6a09e2e..47e8a2974 100644 --- a/lib/plaid/models/statements_list_response.rb +++ b/lib/plaid/models/statements_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_complete_result.rb b/lib/plaid/models/statements_refresh_complete_result.rb index 009716198..93015f3ef 100644 --- a/lib/plaid/models/statements_refresh_complete_result.rb +++ b/lib/plaid/models/statements_refresh_complete_result.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_complete_webhook.rb b/lib/plaid/models/statements_refresh_complete_webhook.rb index 0756aa312..2f328d0f1 100644 --- a/lib/plaid/models/statements_refresh_complete_webhook.rb +++ b/lib/plaid/models/statements_refresh_complete_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_request.rb b/lib/plaid/models/statements_refresh_request.rb index 5ae43a4e8..523f75501 100644 --- a/lib/plaid/models/statements_refresh_request.rb +++ b/lib/plaid/models/statements_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,10 +25,10 @@ class StatementsRefreshRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret - # The start date for statements, in “YYYY-MM-DD” format, e.g. \"2023-08-30\". To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. + # The start date for statements, in \"YYYY-MM-DD\" format, e.g. \"2023-08-30\". To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. attr_accessor :start_date - # The end date for statements, in “YYYY-MM-DD” format, e.g. \"2023-10-30\". You can request up to two years of data. To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. + # The end date for statements, in \"YYYY-MM-DD\" format, e.g. \"2023-10-30\". You can request up to two years of data. To determine whether a statement falls within the specified date range, Plaid will use the statement posted date. The statement posted date is typically either the last day of the statement period, or the following day. attr_accessor :end_date # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/statements_refresh_response.rb b/lib/plaid/models/statements_refresh_response.rb index d1f6e4fa1..d4e7441ef 100644 --- a/lib/plaid/models/statements_refresh_response.rb +++ b/lib/plaid/models/statements_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_statement.rb b/lib/plaid/models/statements_statement.rb index 9c63b654a..280d893cd 100644 --- a/lib/plaid/models/statements_statement.rb +++ b/lib/plaid/models/statements_statement.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/status.rb b/lib/plaid/models/status.rb index a1db86944..9395da408 100644 --- a/lib/plaid/models/status.rb +++ b/lib/plaid/models/status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statuses.rb b/lib/plaid/models/statuses.rb index fbabce0dd..da4c65798 100644 --- a/lib/plaid/models/statuses.rb +++ b/lib/plaid/models/statuses.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/strategy.rb b/lib/plaid/models/strategy.rb index ba05dd014..a91373cbf 100644 --- a/lib/plaid/models/strategy.rb +++ b/lib/plaid/models/strategy.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_loan.rb b/lib/plaid/models/student_loan.rb index 51dc0d6fd..2c1dcdd50 100644 --- a/lib/plaid/models/student_loan.rb +++ b/lib/plaid/models/student_loan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -51,7 +51,7 @@ class StudentLoan attr_accessor :loan_status - # The minimum payment due for the next billing cycle. There are some exceptions: Some institutions require a minimum payment across all loans associated with an account number. Our API presents that same minimum payment amount on each loan. The institutions that do this are: Great Lakes ( `ins_116861`), Firstmark (`ins_116295`), Commonbond Firstmark Services (`ins_116950`), EdFinancial Services (`ins_116304`), Granite State (`ins_116308`), and Oklahoma Student Loan Authority (`ins_116945`). Firstmark (`ins_116295` ), EdFinancial Services (`ins_116304`), and Navient (`ins_116248`) will display as $0 if there is an autopay program in effect. + # The minimum payment due for the next billing cycle. There are some exceptions: Some institutions require a minimum payment across all loans associated with an account number. Our API presents that same minimum payment amount on each loan. The institutions that do this are: Great Lakes ( `ins_116861`), Firstmark (`ins_116295`), Commonbond Firstmark Services (`ins_116950`), Granite State (`ins_116308`), and Oklahoma Student Loan Authority (`ins_116945`). Firstmark (`ins_116295` ) and Navient (`ins_116248`) will display as $0 if there is an autopay program in effect. attr_accessor :minimum_payment_amount # The due date for the next payment. The due date is `null` if a payment is not expected. A payment is not expected if `loan_status.type` is `deferment`, `in_school`, `consolidated`, `paid in full`, or `transferred`. Dates are returned in an [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (YYYY-MM-DD). diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index 96b6572d2..7fa754b97 100644 --- a/lib/plaid/models/student_loan_repayment_model.rb +++ b/lib/plaid/models/student_loan_repayment_model.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_loan_status.rb b/lib/plaid/models/student_loan_status.rb index 1ccdac856..fb169c867 100644 --- a/lib/plaid/models/student_loan_status.rb +++ b/lib/plaid/models/student_loan_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_repayment_plan.rb b/lib/plaid/models/student_repayment_plan.rb index a394b129b..77c993e8e 100644 --- a/lib/plaid/models/student_repayment_plan.rb +++ b/lib/plaid/models/student_repayment_plan.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sweep_status.rb b/lib/plaid/models/sweep_status.rb index 8a2d7d309..3e772670d 100644 --- a/lib/plaid/models/sweep_status.rb +++ b/lib/plaid/models/sweep_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sweep_trigger.rb b/lib/plaid/models/sweep_trigger.rb index f2783ff03..8c6246be5 100644 --- a/lib/plaid/models/sweep_trigger.rb +++ b/lib/plaid/models/sweep_trigger.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sync_updates_available_webhook.rb b/lib/plaid/models/sync_updates_available_webhook.rb index 75142736e..86f42f684 100644 --- a/lib/plaid/models/sync_updates_available_webhook.rb +++ b/lib/plaid/models/sync_updates_available_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxform.rb b/lib/plaid/models/taxform.rb index c5a78718d..e3c7e5626 100644 --- a/lib/plaid/models/taxform.rb +++ b/lib/plaid/models/taxform.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_id.rb b/lib/plaid/models/taxpayer_id.rb index 167db81de..1d9545b84 100644 --- a/lib/plaid/models/taxpayer_id.rb +++ b/lib/plaid/models/taxpayer_id.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifier.rb b/lib/plaid/models/taxpayer_identifier.rb index 742e07847..1270a0c6b 100644 --- a/lib/plaid/models/taxpayer_identifier.rb +++ b/lib/plaid/models/taxpayer_identifier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifier_type.rb b/lib/plaid/models/taxpayer_identifier_type.rb index 0f2480687..6b0929da7 100644 --- a/lib/plaid/models/taxpayer_identifier_type.rb +++ b/lib/plaid/models/taxpayer_identifier_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/taxpayer_identifiers.rb b/lib/plaid/models/taxpayer_identifiers.rb index 3d26a9bcb..57d89cc07 100644 --- a/lib/plaid/models/taxpayer_identifiers.rb +++ b/lib/plaid/models/taxpayer_identifiers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total.rb b/lib/plaid/models/total.rb index 9e5a095a2..ef5ab02a6 100644 --- a/lib/plaid/models/total.rb +++ b/lib/plaid/models/total.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_canonical_description.rb b/lib/plaid/models/total_canonical_description.rb index a95003068..7dfeec621 100644 --- a/lib/plaid/models/total_canonical_description.rb +++ b/lib/plaid/models/total_canonical_description.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_monthly_income_insights.rb b/lib/plaid/models/total_monthly_income_insights.rb new file mode 100644 index 000000000..206e4efee --- /dev/null +++ b/lib/plaid/models/total_monthly_income_insights.rb @@ -0,0 +1,241 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An object representing the insights about the total monthly income + class TotalMonthlyIncomeInsights + # The aggregated income for the 30 days prior to subscription date + attr_accessor :baseline_amount + + # The aggregated income of the last 30 days + attr_accessor :current_amount + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'baseline_amount' => :'baseline_amount', + :'current_amount' => :'current_amount' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'baseline_amount' => :'Float', + :'current_amount' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TotalMonthlyIncomeInsights` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TotalMonthlyIncomeInsights`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'baseline_amount') + self.baseline_amount = attributes[:'baseline_amount'] + end + + if attributes.key?(:'current_amount') + self.current_amount = attributes[:'current_amount'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @baseline_amount.nil? + invalid_properties.push('invalid value for "baseline_amount", baseline_amount cannot be nil.') + end + + if @current_amount.nil? + invalid_properties.push('invalid value for "current_amount", current_amount cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @baseline_amount.nil? + return false if @current_amount.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + baseline_amount == o.baseline_amount && + current_amount == o.current_amount + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [baseline_amount, current_amount].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index 0aa49492c..2985eaef6 100644 --- a/lib/plaid/models/transaction.rb +++ b/lib/plaid/models/transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class Transaction # The ID of the account in which this transaction occurred. attr_accessor :account_id - # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. + # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income. attr_accessor :amount # The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null. @@ -53,10 +53,10 @@ class Transaction attr_accessor :payment_meta - # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. + # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions. attr_accessor :pending - # The ID of a posted transaction's associated pending transaction, where applicable. + # The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions. attr_accessor :pending_transaction_id # The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts. diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index fdb108895..2549ef6ad 100644 --- a/lib/plaid/models/transaction_all_of.rb +++ b/lib/plaid/models/transaction_all_of.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 992e025aa..531c999f9 100644 --- a/lib/plaid/models/transaction_base.rb +++ b/lib/plaid/models/transaction_base.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class TransactionBase # The ID of the account in which this transaction occurred. attr_accessor :account_id - # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. + # The settled value of the transaction, denominated in the transactions's currency, as stated in `iso_currency_code` or `unofficial_currency_code`. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income. attr_accessor :amount # The ISO-4217 currency code of the transaction. Always `null` if `unofficial_currency_code` is non-null. @@ -53,10 +53,10 @@ class TransactionBase attr_accessor :payment_meta - # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. + # When `true`, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions. attr_accessor :pending - # The ID of a posted transaction's associated pending transaction, where applicable. + # The ID of a posted transaction's associated pending transaction, where applicable. Not all institutions provide pending transactions. attr_accessor :pending_transaction_id # The name of the account owner. This field is not typically populated and only relevant when dealing with sub-accounts. diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index 01925e958..49d5aaa4d 100644 --- a/lib/plaid/models/transaction_code.rb +++ b/lib/plaid/models/transaction_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_counterparty.rb b/lib/plaid/models/transaction_counterparty.rb index 5590b76f3..d32d802d3 100644 --- a/lib/plaid/models/transaction_counterparty.rb +++ b/lib/plaid/models/transaction_counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_data.rb b/lib/plaid/models/transaction_data.rb index f6429ef65..d3b7a1130 100644 --- a/lib/plaid/models/transaction_data.rb +++ b/lib/plaid/models/transaction_data.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_override.rb b/lib/plaid/models/transaction_override.rb index ca17d4f88..dea497dc8 100644 --- a/lib/plaid/models/transaction_override.rb +++ b/lib/plaid/models/transaction_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream.rb b/lib/plaid/models/transaction_stream.rb index f80de38ca..aeae2a524 100644 --- a/lib/plaid/models/transaction_stream.rb +++ b/lib/plaid/models/transaction_stream.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream_amount.rb b/lib/plaid/models/transaction_stream_amount.rb index 82c2ea420..8b8c15c38 100644 --- a/lib/plaid/models/transaction_stream_amount.rb +++ b/lib/plaid/models/transaction_stream_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_stream_status.rb b/lib/plaid/models/transaction_stream_status.rb index 8eb04d207..11623dc8d 100644 --- a/lib/plaid/models/transaction_stream_status.rb +++ b/lib/plaid/models/transaction_stream_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_category_rule.rb b/lib/plaid/models/transactions_category_rule.rb index ec599ce66..679a612a5 100644 --- a/lib/plaid/models/transactions_category_rule.rb +++ b/lib/plaid/models/transactions_category_rule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enhance_get_request.rb b/lib/plaid/models/transactions_enhance_get_request.rb index 2c931fc56..b49c98270 100644 --- a/lib/plaid/models/transactions_enhance_get_request.rb +++ b/lib/plaid/models/transactions_enhance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enhance_get_response.rb b/lib/plaid/models/transactions_enhance_get_response.rb index 35efb0a35..a3175da90 100644 --- a/lib/plaid/models/transactions_enhance_get_response.rb +++ b/lib/plaid/models/transactions_enhance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_request.rb b/lib/plaid/models/transactions_enrich_request.rb index 38b68ca62..97c156995 100644 --- a/lib/plaid/models/transactions_enrich_request.rb +++ b/lib/plaid/models/transactions_enrich_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_request_options.rb b/lib/plaid/models/transactions_enrich_request_options.rb index 97aa72989..fdd42939e 100644 --- a/lib/plaid/models/transactions_enrich_request_options.rb +++ b/lib/plaid/models/transactions_enrich_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_enrich_response.rb b/lib/plaid/models/transactions_enrich_response.rb index 30d7cf9a3..dabdda032 100644 --- a/lib/plaid/models/transactions_enrich_response.rb +++ b/lib/plaid/models/transactions_enrich_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_get_request.rb b/lib/plaid/models/transactions_get_request.rb index 5e17ac214..b1bf3d791 100644 --- a/lib/plaid/models/transactions_get_request.rb +++ b/lib/plaid/models/transactions_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_get_request_options.rb b/lib/plaid/models/transactions_get_request_options.rb index 83c4af5b5..c737181d5 100644 --- a/lib/plaid/models/transactions_get_request_options.rb +++ b/lib/plaid/models/transactions_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -37,7 +37,7 @@ class TransactionsGetRequestOptions # Counterparties and extra merchant fields are now returned by default. attr_accessor :include_logo_and_counterparty_beta - # This option only applies to calls for Items that were not initialized with Transactions during Link and are now adding the Transactions product to the Item for the first time. In these cases, this option controls the maximum number of days of transaction history that Plaid will request from the financial institution. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. If Transactions has already been added to the Item prior to this call, this field will have no effect. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # This field only applies to calls for Items where the Transactions product has not already been initialized (e.g. by specifying `transactions` during `/link/token/create` or by making a previous call to `/transactions/sync` or `/transactions/get`). In those cases, the field controls the maximum number of days of transaction history that Plaid will request from the financial institution. The more transaction history is requested, the longer the historical update poll will take. If no value is specified, 90 days of history will be requested by default. If a value under 30 is provided, a minimum of 30 days of history will be requested. If you are initializing your Items with transactions during the `/link/token/create` call (e.g. by including `transactions` in the `/link/token/create` `products` array), you must use the [`transactions.days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) field in the `/link/token/create` request instead of in the `/transactions/get` request. If the Item has already been initialized with the Transactions product, this field will have no effect. The maximum amount of transaction history to request on an Item cannot be updated if Transactions has already been added to the Item. To request older transaction history on an Item where Transactions has already been added, you must delete the Item via `/item/remove` and send the user through Link to create a new Item. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 676baa719..f84304fed 100644 --- a/lib/plaid/models/transactions_get_response.rb +++ b/lib/plaid/models/transactions_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_input.rb b/lib/plaid/models/transactions_recurring_create_input.rb index 85111aeb9..ef95b2ce0 100644 --- a/lib/plaid/models/transactions_recurring_create_input.rb +++ b/lib/plaid/models/transactions_recurring_create_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_request.rb b/lib/plaid/models/transactions_recurring_create_request.rb index e1f796294..0dba46857 100644 --- a/lib/plaid/models/transactions_recurring_create_request.rb +++ b/lib/plaid/models/transactions_recurring_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_create_response.rb b/lib/plaid/models/transactions_recurring_create_response.rb index 5797234f4..f8914a079 100644 --- a/lib/plaid/models/transactions_recurring_create_response.rb +++ b/lib/plaid/models/transactions_recurring_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_request.rb b/lib/plaid/models/transactions_recurring_get_request.rb index df8ce7426..8479e634f 100644 --- a/lib/plaid/models/transactions_recurring_get_request.rb +++ b/lib/plaid/models/transactions_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_request_options.rb b/lib/plaid/models/transactions_recurring_get_request_options.rb index 309527150..cda4e31ad 100644 --- a/lib/plaid/models/transactions_recurring_get_request_options.rb +++ b/lib/plaid/models/transactions_recurring_get_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_get_response.rb b/lib/plaid/models/transactions_recurring_get_response.rb index a1d433672..0419e6f1d 100644 --- a/lib/plaid/models/transactions_recurring_get_response.rb +++ b/lib/plaid/models/transactions_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_input.rb b/lib/plaid/models/transactions_recurring_merge_input.rb index b92b3a27e..c4aa6a79a 100644 --- a/lib/plaid/models/transactions_recurring_merge_input.rb +++ b/lib/plaid/models/transactions_recurring_merge_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_request.rb b/lib/plaid/models/transactions_recurring_merge_request.rb index d647a5397..3d81e1d8a 100644 --- a/lib/plaid/models/transactions_recurring_merge_request.rb +++ b/lib/plaid/models/transactions_recurring_merge_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_merge_response.rb b/lib/plaid/models/transactions_recurring_merge_response.rb index 61fe10366..b2c3a0a9c 100644 --- a/lib/plaid/models/transactions_recurring_merge_response.rb +++ b/lib/plaid/models/transactions_recurring_merge_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_input.rb b/lib/plaid/models/transactions_recurring_update_input.rb index 6e6e2ee9a..9c373be7e 100644 --- a/lib/plaid/models/transactions_recurring_update_input.rb +++ b/lib/plaid/models/transactions_recurring_update_input.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_request.rb b/lib/plaid/models/transactions_recurring_update_request.rb index 2707ec9b8..59c845ef1 100644 --- a/lib/plaid/models/transactions_recurring_update_request.rb +++ b/lib/plaid/models/transactions_recurring_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_recurring_update_response.rb b/lib/plaid/models/transactions_recurring_update_response.rb index bc52fe223..13018ebe0 100644 --- a/lib/plaid/models/transactions_recurring_update_response.rb +++ b/lib/plaid/models/transactions_recurring_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_refresh_request.rb b/lib/plaid/models/transactions_refresh_request.rb index c19bca497..9b5e74ad5 100644 --- a/lib/plaid/models/transactions_refresh_request.rb +++ b/lib/plaid/models/transactions_refresh_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_refresh_response.rb b/lib/plaid/models/transactions_refresh_response.rb index 1546d7843..8a6146428 100644 --- a/lib/plaid/models/transactions_refresh_response.rb +++ b/lib/plaid/models/transactions_refresh_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_removed_webhook.rb b/lib/plaid/models/transactions_removed_webhook.rb index 088333c93..a1bbd8b47 100644 --- a/lib/plaid/models/transactions_removed_webhook.rb +++ b/lib/plaid/models/transactions_removed_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_details.rb b/lib/plaid/models/transactions_rule_details.rb index 3d1ca9d7c..ee60d4f0c 100644 --- a/lib/plaid/models/transactions_rule_details.rb +++ b/lib/plaid/models/transactions_rule_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_field.rb b/lib/plaid/models/transactions_rule_field.rb index 28a7963ad..a35cf5f10 100644 --- a/lib/plaid/models/transactions_rule_field.rb +++ b/lib/plaid/models/transactions_rule_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rule_type.rb b/lib/plaid/models/transactions_rule_type.rb index 82a96ae51..70ac1f6df 100644 --- a/lib/plaid/models/transactions_rule_type.rb +++ b/lib/plaid/models/transactions_rule_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_create_request.rb b/lib/plaid/models/transactions_rules_create_request.rb index f30d7572c..25231c4b8 100644 --- a/lib/plaid/models/transactions_rules_create_request.rb +++ b/lib/plaid/models/transactions_rules_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_create_response.rb b/lib/plaid/models/transactions_rules_create_response.rb index df0d6b6b0..600493129 100644 --- a/lib/plaid/models/transactions_rules_create_response.rb +++ b/lib/plaid/models/transactions_rules_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_list_request.rb b/lib/plaid/models/transactions_rules_list_request.rb index 2dae6db9d..db810d6fe 100644 --- a/lib/plaid/models/transactions_rules_list_request.rb +++ b/lib/plaid/models/transactions_rules_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_list_response.rb b/lib/plaid/models/transactions_rules_list_response.rb index 457f2f66f..fb78c757f 100644 --- a/lib/plaid/models/transactions_rules_list_response.rb +++ b/lib/plaid/models/transactions_rules_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_remove_request.rb b/lib/plaid/models/transactions_rules_remove_request.rb index 9989f1cad..cdc054d35 100644 --- a/lib/plaid/models/transactions_rules_remove_request.rb +++ b/lib/plaid/models/transactions_rules_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_rules_remove_response.rb b/lib/plaid/models/transactions_rules_remove_response.rb index ead0ba4fd..a37c4a50f 100644 --- a/lib/plaid/models/transactions_rules_remove_response.rb +++ b/lib/plaid/models/transactions_rules_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_sync_request.rb b/lib/plaid/models/transactions_sync_request.rb index 79c518369..cd13a4ab1 100644 --- a/lib/plaid/models/transactions_sync_request.rb +++ b/lib/plaid/models/transactions_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_sync_request_options.rb b/lib/plaid/models/transactions_sync_request_options.rb index 1a07afb33..a28be5f79 100644 --- a/lib/plaid/models/transactions_sync_request_options.rb +++ b/lib/plaid/models/transactions_sync_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class TransactionsSyncRequestOptions # Counterparties and extra merchant fields are now returned by default. attr_accessor :include_logo_and_counterparty_beta - # This option only applies to calls for Items that were not initialized with Transactions during Link and are now adding the Transactions product to the Item for the first time. In these cases, this option controls the maximum number of days of transaction history that Plaid will request from the financial institution. For developer accounts created after December 3, 2023, if no value is specified, this will default to 90 days. For developer accounts created on December 3, 2023 or earlier, if no value is specified, this will default to 730 days until June 24, 2024, at which point it will default to 90 days. If Transactions has already been added to the Item prior to this call, this field will have no effect. We strongly recommend that customers utilizing [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) request at least 180 days of history for optimal results. + # This field only applies to calls for Items where the Transactions product has not already been initialized (e.g. by specifying `transactions` during `/link/token/create` or by making a previous call to `/transactions/sync` or `/transactions/get`). In those cases, the field controls the maximum number of days of transaction history that Plaid will request from the financial institution. The more transaction history is requested, the longer the historical update poll will take. If no value is specified, 90 days of history will be requested by default. If you are initializing your Items with transactions during the `/link/token/create` call (e.g. by including `transactions` in the `/link/token/create` `products` array), you must use the [`transactions.days_requested`](https://plaid.com/docs/api/link/#link-token-create-request-transactions-days-requested) field in the `/link/token/create` request instead of in the `/transactions/sync` request. If the Item has already been initialized with the Transactions product, this field will have no effect. The maximum amount of transaction history to request on an Item cannot be updated if Transactions has already been added to the Item. To request older transaction history on an Item where Transactions has already been added, you must delete the Item via `/item/remove` and send the user through Link to create a new Item. Customers using [Recurring Transactions](https://plaid.com/docs/api/products/transactions/#transactionsrecurringget) should request at least 180 days of history for optimal results. attr_accessor :days_requested # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index 13cc14a1e..be77574f7 100644 --- a/lib/plaid/models/transactions_sync_response.rb +++ b/lib/plaid/models/transactions_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_update_status.rb b/lib/plaid/models/transactions_update_status.rb index 55ad8b873..b3ad50e95 100644 --- a/lib/plaid/models/transactions_update_status.rb +++ b/lib/plaid/models/transactions_update_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_user_insights_get_request.rb b/lib/plaid/models/transactions_user_insights_get_request.rb index 3f1077d1d..50b3a4cae 100644 --- a/lib/plaid/models/transactions_user_insights_get_request.rb +++ b/lib/plaid/models/transactions_user_insights_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_user_insights_get_response.rb b/lib/plaid/models/transactions_user_insights_get_response.rb index e3b76362d..8501f9bfe 100644 --- a/lib/plaid/models/transactions_user_insights_get_response.rb +++ b/lib/plaid/models/transactions_user_insights_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer.rb b/lib/plaid/models/transfer.rb index dc0086f30..0bb411476 100644 --- a/lib/plaid/models/transfer.rb +++ b/lib/plaid/models/transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class Transfer # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + attr_accessor :type attr_accessor :user @@ -128,6 +131,7 @@ def self.attribute_map :'ach_class' => :'ach_class', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'type' => :'type', :'user' => :'user', :'amount' => :'amount', @@ -170,6 +174,7 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'type' => :'TransferType', :'user' => :'TransferUserInResponse', :'amount' => :'String', @@ -203,6 +208,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'sweep_status', :'wire_details', :'failure_reason', @@ -253,6 +259,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -466,6 +476,7 @@ def ==(o) ach_class == o.ach_class && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && type == o.type && user == o.user && amount == o.amount && @@ -503,7 +514,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, authorization_id, ach_class, account_id, funding_account_id, type, user, amount, description, created, status, sweep_status, network, wire_details, cancellable, failure_reason, metadata, origination_account_id, guarantee_decision, guarantee_decision_rationale, iso_currency_code, standard_return_window, unauthorized_return_window, expected_settlement_date, originator_client_id, refunds, recurring_transfer_id, expected_sweep_settlement_schedule, credit_funds_source, facilitator_fee, network_trace_id].hash + [id, authorization_id, ach_class, account_id, funding_account_id, ledger_id, type, user, amount, description, created, status, sweep_status, network, wire_details, cancellable, failure_reason, metadata, origination_account_id, guarantee_decision, guarantee_decision_rationale, iso_currency_code, standard_return_window, unauthorized_return_window, expected_settlement_date, originator_client_id, refunds, recurring_transfer_id, expected_sweep_settlement_schedule, credit_funds_source, facilitator_fee, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ach_network.rb b/lib/plaid/models/transfer_ach_network.rb index 5ae11771c..1825303c8 100644 --- a/lib/plaid/models/transfer_ach_network.rb +++ b/lib/plaid/models/transfer_ach_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization.rb b/lib/plaid/models/transfer_authorization.rb index 0eda3b629..639c8f46d 100644 --- a/lib/plaid/models/transfer_authorization.rb +++ b/lib/plaid/models/transfer_authorization.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_cancel_request.rb b/lib/plaid/models/transfer_authorization_cancel_request.rb index db2377f60..84e6f26ce 100644 --- a/lib/plaid/models/transfer_authorization_cancel_request.rb +++ b/lib/plaid/models/transfer_authorization_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_cancel_response.rb b/lib/plaid/models/transfer_authorization_cancel_response.rb index 63542efea..2ca4b16e5 100644 --- a/lib/plaid/models/transfer_authorization_cancel_response.rb +++ b/lib/plaid/models/transfer_authorization_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_create_request.rb b/lib/plaid/models/transfer_authorization_create_request.rb index ab759561d..b813a1bc0 100644 --- a/lib/plaid/models/transfer_authorization_create_request.rb +++ b/lib/plaid/models/transfer_authorization_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -31,6 +31,9 @@ class TransferAuthorizationCreateRequest # Specify the account used to fund the transfer. Should be specified if using legacy funding methods only. If using Plaid Ledger, leave this field blank. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank and you are using legacy funding methods, this will default to the default `funding_account_id` specified during onboarding. Otherwise, Plaid Ledger will be used. attr_accessor :funding_account_id + # Specify which ledger balance used to fund the transfer. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # The payment profile token associated with the Payment Profile that will be debited or credited. Required if not using `access_token`. attr_accessor :payment_profile_token @@ -55,7 +58,7 @@ class TransferAuthorizationCreateRequest # The currency of the transfer amount. The default value is \"USD\". attr_accessor :iso_currency_code - # A random key provided by the client, per unique authorization, which expires after 48 hours. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. This idempotency key expires after 48 hours, after which the same key can be reused. Failure to provide this key may result in duplicate charges. + # A random key provided by the client, per unique authorization, which expires after 48 hours. Maximum of 50 characters. The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create an authorization fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single authorization is created. Idempotency does not apply to authorizations whose decisions are `user_action_required`. Therefore you may re-attempt the authorization after completing the required user action without changing `idempotency_key`. This idempotency key expires after 48 hours, after which the same key can be reused. Failure to provide this key may result in duplicate charges. attr_accessor :idempotency_key # If the end user is initiating the specific transfer themselves via an interactive UI, this should be `true`; for automatic recurring payments where the end user is not actually initiating each individual transfer, it should be `false`. This field is not currently used and is present to support planned future functionality. @@ -105,6 +108,7 @@ def self.attribute_map :'access_token' => :'access_token', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'payment_profile_token' => :'payment_profile_token', :'type' => :'type', :'network' => :'network', @@ -138,6 +142,7 @@ def self.openapi_types :'access_token' => :'String', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'payment_profile_token' => :'String', :'type' => :'TransferType', :'network' => :'TransferNetwork', @@ -162,6 +167,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'wire_details', :'idempotency_key', :'user_present', @@ -207,6 +213,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'payment_profile_token') self.payment_profile_token = attributes[:'payment_profile_token'] end @@ -348,6 +358,7 @@ def ==(o) access_token == o.access_token && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && payment_profile_token == o.payment_profile_token && type == o.type && network == o.network && @@ -376,7 +387,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, access_token, account_id, funding_account_id, payment_profile_token, type, network, amount, ach_class, wire_details, user, device, origination_account_id, iso_currency_code, idempotency_key, user_present, with_guarantee, beacon_session_id, originator_client_id, credit_funds_source, test_clock_id].hash + [client_id, secret, access_token, account_id, funding_account_id, ledger_id, payment_profile_token, type, network, amount, ach_class, wire_details, user, device, origination_account_id, iso_currency_code, idempotency_key, user_present, with_guarantee, beacon_session_id, originator_client_id, credit_funds_source, test_clock_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index 5ca812ec1..92719c59e 100644 --- a/lib/plaid/models/transfer_authorization_create_response.rb +++ b/lib/plaid/models/transfer_authorization_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision.rb b/lib/plaid/models/transfer_authorization_decision.rb index dba75dc59..66347fcd9 100644 --- a/lib/plaid/models/transfer_authorization_decision.rb +++ b/lib/plaid/models/transfer_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale.rb b/lib/plaid/models/transfer_authorization_decision_rationale.rb index 998a70566..99a867689 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb index 06f31e4d9..2945c7d63 100644 --- a/lib/plaid/models/transfer_authorization_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_decision_rationale_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_device.rb b/lib/plaid/models/transfer_authorization_device.rb index 37266a11c..ae5c0f987 100644 --- a/lib/plaid/models/transfer_authorization_device.rb +++ b/lib/plaid/models/transfer_authorization_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision.rb b/lib/plaid/models/transfer_authorization_guarantee_decision.rb index 85f80d06f..6233e0e50 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb index 347837dc5..6d215a9e1 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb index c1f6d109c..f3a83031c 100644 --- a/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb +++ b/lib/plaid/models/transfer_authorization_guarantee_decision_rationale_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_payment_risk.rb b/lib/plaid/models/transfer_authorization_payment_risk.rb index 1a70e04fe..2535e237a 100644 --- a/lib/plaid/models/transfer_authorization_payment_risk.rb +++ b/lib/plaid/models/transfer_authorization_payment_risk.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_proposed_transfer.rb b/lib/plaid/models/transfer_authorization_proposed_transfer.rb index 9353f2b56..8a9952130 100644 --- a/lib/plaid/models/transfer_authorization_proposed_transfer.rb +++ b/lib/plaid/models/transfer_authorization_proposed_transfer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -24,6 +24,9 @@ class TransferAuthorizationProposedTransfer # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + attr_accessor :type attr_accessor :user @@ -75,6 +78,7 @@ def self.attribute_map :'ach_class' => :'ach_class', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'type' => :'type', :'user' => :'user', :'amount' => :'amount', @@ -98,6 +102,7 @@ def self.openapi_types :'ach_class' => :'ACHClass', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'type' => :'TransferType', :'user' => :'TransferUserInResponse', :'amount' => :'String', @@ -114,6 +119,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'wire_details', :'originator_client_id', ]) @@ -146,6 +152,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'type') self.type = attributes[:'type'] end @@ -239,6 +249,7 @@ def ==(o) ach_class == o.ach_class && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && type == o.type && user == o.user && amount == o.amount && @@ -259,7 +270,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [ach_class, account_id, funding_account_id, type, user, amount, network, wire_details, origination_account_id, iso_currency_code, originator_client_id, credit_funds_source].hash + [ach_class, account_id, funding_account_id, ledger_id, type, user, amount, network, wire_details, origination_account_id, iso_currency_code, originator_client_id, credit_funds_source].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_authorization_risk_level.rb b/lib/plaid/models/transfer_authorization_risk_level.rb index 465e74367..7d0fb3d7e 100644 --- a/lib/plaid/models/transfer_authorization_risk_level.rb +++ b/lib/plaid/models/transfer_authorization_risk_level.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_user_in_request.rb b/lib/plaid/models/transfer_authorization_user_in_request.rb index 83e476c97..ba75e14b6 100644 --- a/lib/plaid/models/transfer_authorization_user_in_request.rb +++ b/lib/plaid/models/transfer_authorization_user_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance.rb b/lib/plaid/models/transfer_balance.rb index 43ce4ffe9..3ce5cf1c0 100644 --- a/lib/plaid/models/transfer_balance.rb +++ b/lib/plaid/models/transfer_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_get_request.rb b/lib/plaid/models/transfer_balance_get_request.rb index 12658fbe5..226876af5 100644 --- a/lib/plaid/models/transfer_balance_get_request.rb +++ b/lib/plaid/models/transfer_balance_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_get_response.rb b/lib/plaid/models/transfer_balance_get_response.rb index eebd98640..b40329c32 100644 --- a/lib/plaid/models/transfer_balance_get_response.rb +++ b/lib/plaid/models/transfer_balance_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_balance_type.rb b/lib/plaid/models/transfer_balance_type.rb index 0a29c8d48..d1e535b05 100644 --- a/lib/plaid/models/transfer_balance_type.rb +++ b/lib/plaid/models/transfer_balance_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_cancel_request.rb b/lib/plaid/models/transfer_cancel_request.rb index 45664c7f1..56b3f8442 100644 --- a/lib/plaid/models/transfer_cancel_request.rb +++ b/lib/plaid/models/transfer_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_cancel_response.rb b/lib/plaid/models/transfer_cancel_response.rb index f706f6d87..dee6942ac 100644 --- a/lib/plaid/models/transfer_cancel_response.rb +++ b/lib/plaid/models/transfer_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_request.rb b/lib/plaid/models/transfer_capabilities_get_request.rb index da51ac092..9d06bd76d 100644 --- a/lib/plaid/models/transfer_capabilities_get_request.rb +++ b/lib/plaid/models/transfer_capabilities_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_response.rb b/lib/plaid/models/transfer_capabilities_get_response.rb index 0ebab6c7f..64439c05a 100644 --- a/lib/plaid/models/transfer_capabilities_get_response.rb +++ b/lib/plaid/models/transfer_capabilities_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_rtp.rb b/lib/plaid/models/transfer_capabilities_get_rtp.rb index 550fe66b0..f9cc170e3 100644 --- a/lib/plaid/models/transfer_capabilities_get_rtp.rb +++ b/lib/plaid/models/transfer_capabilities_get_rtp.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_configuration_get_request.rb b/lib/plaid/models/transfer_configuration_get_request.rb index 78c2a6993..63d8d009e 100644 --- a/lib/plaid/models/transfer_configuration_get_request.rb +++ b/lib/plaid/models/transfer_configuration_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_configuration_get_response.rb b/lib/plaid/models/transfer_configuration_get_response.rb index 9597d97b5..082d555a1 100644 --- a/lib/plaid/models/transfer_configuration_get_response.rb +++ b/lib/plaid/models/transfer_configuration_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_create_request.rb b/lib/plaid/models/transfer_create_request.rb index c8abbf6bc..3615fdbad 100644 --- a/lib/plaid/models/transfer_create_request.rb +++ b/lib/plaid/models/transfer_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_create_response.rb b/lib/plaid/models/transfer_create_response.rb index 3b58caf69..cc67dca8b 100644 --- a/lib/plaid/models/transfer_create_response.rb +++ b/lib/plaid/models/transfer_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_credit_funds_source.rb b/lib/plaid/models/transfer_credit_funds_source.rb index a0510da28..335e90e5b 100644 --- a/lib/plaid/models/transfer_credit_funds_source.rb +++ b/lib/plaid/models/transfer_credit_funds_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_credit_usage_configuration.rb b/lib/plaid/models/transfer_credit_usage_configuration.rb index 6babb01dd..cc3d13800 100644 --- a/lib/plaid/models/transfer_credit_usage_configuration.rb +++ b/lib/plaid/models/transfer_credit_usage_configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_debit_usage_configuration.rb b/lib/plaid/models/transfer_debit_usage_configuration.rb index 5a6932983..6a35399f2 100644 --- a/lib/plaid/models/transfer_debit_usage_configuration.rb +++ b/lib/plaid/models/transfer_debit_usage_configuration.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_device.rb b/lib/plaid/models/transfer_device.rb index 69d3c07be..60c887009 100644 --- a/lib/plaid/models/transfer_device.rb +++ b/lib/plaid/models/transfer_device.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_document_upload_request.rb b/lib/plaid/models/transfer_diligence_document_upload_request.rb index 9a052b31e..cf13f5e8f 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_request.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_document_upload_response.rb b/lib/plaid/models/transfer_diligence_document_upload_response.rb index 9d846e08f..ea63b83c2 100644 --- a/lib/plaid/models/transfer_diligence_document_upload_response.rb +++ b/lib/plaid/models/transfer_diligence_document_upload_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_status.rb b/lib/plaid/models/transfer_diligence_status.rb index 502a2e2b8..45f3da487 100644 --- a/lib/plaid/models/transfer_diligence_status.rb +++ b/lib/plaid/models/transfer_diligence_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_submit_request.rb b/lib/plaid/models/transfer_diligence_submit_request.rb index b5a6ca088..dc6d6f9be 100644 --- a/lib/plaid/models/transfer_diligence_submit_request.rb +++ b/lib/plaid/models/transfer_diligence_submit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_diligence_submit_response.rb b/lib/plaid/models/transfer_diligence_submit_response.rb index 93bdc6442..a762452e7 100644 --- a/lib/plaid/models/transfer_diligence_submit_response.rb +++ b/lib/plaid/models/transfer_diligence_submit_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_document_purpose.rb b/lib/plaid/models/transfer_document_purpose.rb index 276c95c9f..f8a192ec1 100644 --- a/lib/plaid/models/transfer_document_purpose.rb +++ b/lib/plaid/models/transfer_document_purpose.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event.rb b/lib/plaid/models/transfer_event.rb index b71d550d3..e12d8af86 100644 --- a/lib/plaid/models/transfer_event.rb +++ b/lib/plaid/models/transfer_event.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -30,6 +30,9 @@ class TransferEvent # The id of the associated funding account, available in the Plaid Dashboard. If present, this indicates which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # Plaid’s unique identifier for a transfer. This field is `null` for Plaid Ledger Sweep events. attr_accessor :transfer_id @@ -85,6 +88,7 @@ def self.attribute_map :'event_type' => :'event_type', :'account_id' => :'account_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'transfer_id' => :'transfer_id', :'origination_account_id' => :'origination_account_id', :'transfer_type' => :'transfer_type', @@ -110,6 +114,7 @@ def self.openapi_types :'event_type' => :'TransferEventType', :'account_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'transfer_id' => :'String', :'origination_account_id' => :'String', :'transfer_type' => :'OmittableTransferType', @@ -126,6 +131,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'funding_account_id', + :'ledger_id', :'origination_account_id', :'failure_reason', :'sweep_id', @@ -170,6 +176,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'transfer_id') self.transfer_id = attributes[:'transfer_id'] end @@ -271,6 +281,7 @@ def ==(o) event_type == o.event_type && account_id == o.account_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && transfer_id == o.transfer_id && origination_account_id == o.origination_account_id && transfer_type == o.transfer_type && @@ -291,7 +302,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [event_id, timestamp, event_type, account_id, funding_account_id, transfer_id, origination_account_id, transfer_type, transfer_amount, failure_reason, sweep_id, sweep_amount, refund_id, originator_client_id].hash + [event_id, timestamp, event_type, account_id, funding_account_id, ledger_id, transfer_id, origination_account_id, transfer_type, transfer_amount, failure_reason, sweep_id, sweep_amount, refund_id, originator_client_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index 4162ed6e1..91c631722 100644 --- a/lib/plaid/models/transfer_event_list_request.rb +++ b/lib/plaid/models/transfer_event_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_list_response.rb b/lib/plaid/models/transfer_event_list_response.rb index acf83fa1d..c146561da 100644 --- a/lib/plaid/models/transfer_event_list_response.rb +++ b/lib/plaid/models/transfer_event_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_list_transfer_type.rb b/lib/plaid/models/transfer_event_list_transfer_type.rb index 4abccf40d..73dc95c54 100644 --- a/lib/plaid/models/transfer_event_list_transfer_type.rb +++ b/lib/plaid/models/transfer_event_list_transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_sync_request.rb b/lib/plaid/models/transfer_event_sync_request.rb index 63652ccc2..1916e5543 100644 --- a/lib/plaid/models/transfer_event_sync_request.rb +++ b/lib/plaid/models/transfer_event_sync_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_sync_response.rb b/lib/plaid/models/transfer_event_sync_response.rb index ccab7fc2f..9531c8ad7 100644 --- a/lib/plaid/models/transfer_event_sync_response.rb +++ b/lib/plaid/models/transfer_event_sync_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_type.rb b/lib/plaid/models/transfer_event_type.rb index 2e02d0724..57aa95152 100644 --- a/lib/plaid/models/transfer_event_type.rb +++ b/lib/plaid/models/transfer_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_events_update_webhook.rb b/lib/plaid/models/transfer_events_update_webhook.rb index 39a5dd847..5bb76d8b1 100644 --- a/lib/plaid/models/transfer_events_update_webhook.rb +++ b/lib/plaid/models/transfer_events_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb index 1b9352476..d28d10e54 100644 --- a/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb +++ b/lib/plaid/models/transfer_expected_sweep_settlement_schedule_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_failure.rb b/lib/plaid/models/transfer_failure.rb index bcb7b10e3..28da8e747 100644 --- a/lib/plaid/models/transfer_failure.rb +++ b/lib/plaid/models/transfer_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_funding_account.rb b/lib/plaid/models/transfer_funding_account.rb index e1269019f..c5b8f0091 100644 --- a/lib/plaid/models/transfer_funding_account.rb +++ b/lib/plaid/models/transfer_funding_account.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_get_request.rb b/lib/plaid/models/transfer_get_request.rb index 228e9d511..56babff53 100644 --- a/lib/plaid/models/transfer_get_request.rb +++ b/lib/plaid/models/transfer_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_get_response.rb b/lib/plaid/models/transfer_get_response.rb index 96c0bc111..6a8b2858e 100644 --- a/lib/plaid/models/transfer_get_response.rb +++ b/lib/plaid/models/transfer_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_authorization_decision.rb b/lib/plaid/models/transfer_intent_authorization_decision.rb index de61eec50..e0df7af6b 100644 --- a/lib/plaid/models/transfer_intent_authorization_decision.rb +++ b/lib/plaid/models/transfer_intent_authorization_decision.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create.rb b/lib/plaid/models/transfer_intent_create.rb index e4a650975..6e5e138b7 100644 --- a/lib/plaid/models/transfer_intent_create.rb +++ b/lib/plaid/models/transfer_intent_create.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_mode.rb b/lib/plaid/models/transfer_intent_create_mode.rb index 701353a96..6491d222c 100644 --- a/lib/plaid/models/transfer_intent_create_mode.rb +++ b/lib/plaid/models/transfer_intent_create_mode.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_network.rb b/lib/plaid/models/transfer_intent_create_network.rb index a1102234e..07be1cb8f 100644 --- a/lib/plaid/models/transfer_intent_create_network.rb +++ b/lib/plaid/models/transfer_intent_create_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_request.rb b/lib/plaid/models/transfer_intent_create_request.rb index bcbf3962a..2cc8bd985 100644 --- a/lib/plaid/models/transfer_intent_create_request.rb +++ b/lib/plaid/models/transfer_intent_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_create_response.rb b/lib/plaid/models/transfer_intent_create_response.rb index b3a633928..e5740d6b9 100644 --- a/lib/plaid/models/transfer_intent_create_response.rb +++ b/lib/plaid/models/transfer_intent_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get.rb b/lib/plaid/models/transfer_intent_get.rb index 1f3b1914d..199316150 100644 --- a/lib/plaid/models/transfer_intent_get.rb +++ b/lib/plaid/models/transfer_intent_get.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_failure_reason.rb b/lib/plaid/models/transfer_intent_get_failure_reason.rb index 38ede95e2..3a4cd3768 100644 --- a/lib/plaid/models/transfer_intent_get_failure_reason.rb +++ b/lib/plaid/models/transfer_intent_get_failure_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_request.rb b/lib/plaid/models/transfer_intent_get_request.rb index 467227c42..d18accc7d 100644 --- a/lib/plaid/models/transfer_intent_get_request.rb +++ b/lib/plaid/models/transfer_intent_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_get_response.rb b/lib/plaid/models/transfer_intent_get_response.rb index 8111af559..b6b916fb3 100644 --- a/lib/plaid/models/transfer_intent_get_response.rb +++ b/lib/plaid/models/transfer_intent_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_intent_status.rb b/lib/plaid/models/transfer_intent_status.rb index 9bccbce7a..6bd0f336c 100644 --- a/lib/plaid/models/transfer_intent_status.rb +++ b/lib/plaid/models/transfer_intent_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_balance.rb b/lib/plaid/models/transfer_ledger_balance.rb index 71137fed9..f645068ff 100644 --- a/lib/plaid/models/transfer_ledger_balance.rb +++ b/lib/plaid/models/transfer_ledger_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_deposit_request.rb b/lib/plaid/models/transfer_ledger_deposit_request.rb index 4e1f3f0e3..ad31009fd 100644 --- a/lib/plaid/models/transfer_ledger_deposit_request.rb +++ b/lib/plaid/models/transfer_ledger_deposit_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class TransferLedgerDepositRequest # Specify which funding account linked to this Plaid Ledger to use. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, this will default to the default `funding_account_id` specified during onboarding. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator, and if `funding_account_id` is left blank, the originator's default `funding_account_id` will be used. attr_accessor :funding_account_id + # Specify which ledger balance to deposit to. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # A positive amount of how much will be deposited into ledger (decimal string with two digits of precision e.g. \"5.50\"). attr_accessor :amount @@ -68,6 +71,7 @@ def self.attribute_map :'secret' => :'secret', :'originator_client_id' => :'originator_client_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'amount' => :'amount', :'description' => :'description', :'idempotency_key' => :'idempotency_key', @@ -87,6 +91,7 @@ def self.openapi_types :'secret' => :'String', :'originator_client_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'amount' => :'String', :'description' => :'String', :'idempotency_key' => :'String', @@ -99,6 +104,7 @@ def self.openapi_nullable Set.new([ :'originator_client_id', :'funding_account_id', + :'ledger_id', :'description', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'amount') self.amount = attributes[:'amount'] end @@ -226,6 +236,7 @@ def ==(o) secret == o.secret && originator_client_id == o.originator_client_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && amount == o.amount && description == o.description && idempotency_key == o.idempotency_key && @@ -241,7 +252,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id, funding_account_id, amount, description, idempotency_key, network].hash + [client_id, secret, originator_client_id, funding_account_id, ledger_id, amount, description, idempotency_key, network].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_deposit_response.rb b/lib/plaid/models/transfer_ledger_deposit_response.rb index 74f65264e..23754824d 100644 --- a/lib/plaid/models/transfer_ledger_deposit_response.rb +++ b/lib/plaid/models/transfer_ledger_deposit_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_distribute_request.rb b/lib/plaid/models/transfer_ledger_distribute_request.rb index 081852e2b..092c0f9b3 100644 --- a/lib/plaid/models/transfer_ledger_distribute_request.rb +++ b/lib/plaid/models/transfer_ledger_distribute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_distribute_response.rb b/lib/plaid/models/transfer_ledger_distribute_response.rb index 6d1e1fc84..c14ca4ec7 100644 --- a/lib/plaid/models/transfer_ledger_distribute_response.rb +++ b/lib/plaid/models/transfer_ledger_distribute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_get_request.rb b/lib/plaid/models/transfer_ledger_get_request.rb index 830cef91f..3122f8312 100644 --- a/lib/plaid/models/transfer_ledger_get_request.rb +++ b/lib/plaid/models/transfer_ledger_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class TransferLedgerGetRequest # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. attr_accessor :secret + # Specify which ledger balance to get. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # Client ID of the end customer. attr_accessor :originator_client_id @@ -30,6 +33,7 @@ def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', + :'ledger_id' => :'ledger_id', :'originator_client_id' => :'originator_client_id' } end @@ -44,6 +48,7 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', + :'ledger_id' => :'String', :'originator_client_id' => :'String' } end @@ -51,6 +56,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'originator_client_id' ]) end @@ -78,6 +84,10 @@ def initialize(attributes = {}) self.secret = attributes[:'secret'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'originator_client_id') self.originator_client_id = attributes[:'originator_client_id'] end @@ -103,6 +113,7 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && + ledger_id == o.ledger_id && originator_client_id == o.originator_client_id end @@ -115,7 +126,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id].hash + [client_id, secret, ledger_id, originator_client_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_get_response.rb b/lib/plaid/models/transfer_ledger_get_response.rb index 93025f011..0bc8cb98f 100644 --- a/lib/plaid/models/transfer_ledger_get_response.rb +++ b/lib/plaid/models/transfer_ledger_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb b/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb index 86574b7a8..5f940c920 100644 --- a/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb +++ b/lib/plaid/models/transfer_ledger_sweep_simulate_event_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_withdraw_request.rb b/lib/plaid/models/transfer_ledger_withdraw_request.rb index c2d6d289b..d4825446f 100644 --- a/lib/plaid/models/transfer_ledger_withdraw_request.rb +++ b/lib/plaid/models/transfer_ledger_withdraw_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,6 +28,9 @@ class TransferLedgerWithdrawRequest # Specify which funding account linked to this Plaid Ledger to use. Customers can find a list of `funding_account_id`s in the Accounts page of your Plaid Dashboard, under the \"Account ID\" column. If this field is left blank, this will default to the default `funding_account_id` specified during onboarding. If an `originator_client_id` is specified, the `funding_account_id` must belong to the specified originator, and if `funding_account_id` is left blank, the originator's default `funding_account_id` will be used. attr_accessor :funding_account_id + # Specify which ledger balance to withdraw from. Customers can find a list of `ledger_id`s in the Accounts page of your Plaid Dashboard. If this field is left blank, this will default to id of the default ledger balance. + attr_accessor :ledger_id + # A positive amount of how much will be withdrawn from the ledger balance (decimal string with two digits of precision e.g. \"5.50\"). attr_accessor :amount @@ -68,6 +71,7 @@ def self.attribute_map :'secret' => :'secret', :'originator_client_id' => :'originator_client_id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'amount' => :'amount', :'description' => :'description', :'idempotency_key' => :'idempotency_key', @@ -87,6 +91,7 @@ def self.openapi_types :'secret' => :'String', :'originator_client_id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'amount' => :'String', :'description' => :'String', :'idempotency_key' => :'String', @@ -99,6 +104,7 @@ def self.openapi_nullable Set.new([ :'originator_client_id', :'funding_account_id', + :'ledger_id', :'description', ]) end @@ -134,6 +140,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'amount') self.amount = attributes[:'amount'] end @@ -226,6 +236,7 @@ def ==(o) secret == o.secret && originator_client_id == o.originator_client_id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && amount == o.amount && description == o.description && idempotency_key == o.idempotency_key && @@ -241,7 +252,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, originator_client_id, funding_account_id, amount, description, idempotency_key, network].hash + [client_id, secret, originator_client_id, funding_account_id, ledger_id, amount, description, idempotency_key, network].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_ledger_withdraw_response.rb b/lib/plaid/models/transfer_ledger_withdraw_response.rb index ba2ca7c45..544f85f7c 100644 --- a/lib/plaid/models/transfer_ledger_withdraw_response.rb +++ b/lib/plaid/models/transfer_ledger_withdraw_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_list_request.rb b/lib/plaid/models/transfer_list_request.rb index c8a151998..857506f6a 100644 --- a/lib/plaid/models/transfer_list_request.rb +++ b/lib/plaid/models/transfer_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_list_response.rb b/lib/plaid/models/transfer_list_response.rb index aecfd1928..abefcb09b 100644 --- a/lib/plaid/models/transfer_list_response.rb +++ b/lib/plaid/models/transfer_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_authorization_usage.rb b/lib/plaid/models/transfer_metrics_get_authorization_usage.rb new file mode 100644 index 000000000..ab2bf1958 --- /dev/null +++ b/lib/plaid/models/transfer_metrics_get_authorization_usage.rb @@ -0,0 +1,251 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Details regarding authorization usage. + class TransferMetricsGetAuthorizationUsage + # The daily credit utilization formatted as a decimal. + attr_accessor :daily_credit_utilization + + # The daily debit utilization formatted as a decimal. + attr_accessor :daily_debit_utilization + + # The monthly credit utilization formatted as a decimal. + attr_accessor :monthly_credit_utilization + + # The monthly debit utilization formatted as a decimal. + attr_accessor :monthly_debit_utilization + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'daily_credit_utilization' => :'daily_credit_utilization', + :'daily_debit_utilization' => :'daily_debit_utilization', + :'monthly_credit_utilization' => :'monthly_credit_utilization', + :'monthly_debit_utilization' => :'monthly_debit_utilization' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'daily_credit_utilization' => :'String', + :'daily_debit_utilization' => :'String', + :'monthly_credit_utilization' => :'String', + :'monthly_debit_utilization' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferMetricsGetAuthorizationUsage` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferMetricsGetAuthorizationUsage`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'daily_credit_utilization') + self.daily_credit_utilization = attributes[:'daily_credit_utilization'] + end + + if attributes.key?(:'daily_debit_utilization') + self.daily_debit_utilization = attributes[:'daily_debit_utilization'] + end + + if attributes.key?(:'monthly_credit_utilization') + self.monthly_credit_utilization = attributes[:'monthly_credit_utilization'] + end + + if attributes.key?(:'monthly_debit_utilization') + self.monthly_debit_utilization = attributes[:'monthly_debit_utilization'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + daily_credit_utilization == o.daily_credit_utilization && + daily_debit_utilization == o.daily_debit_utilization && + monthly_credit_utilization == o.monthly_credit_utilization && + monthly_debit_utilization == o.monthly_debit_utilization + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [daily_credit_utilization, daily_debit_utilization, monthly_credit_utilization, monthly_debit_utilization].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_metrics_get_request.rb b/lib/plaid/models/transfer_metrics_get_request.rb index 6c51a9720..2cea41025 100644 --- a/lib/plaid/models/transfer_metrics_get_request.rb +++ b/lib/plaid/models/transfer_metrics_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_response.rb b/lib/plaid/models/transfer_metrics_get_response.rb index a1e123bc8..67ba5c78a 100644 --- a/lib/plaid/models/transfer_metrics_get_response.rb +++ b/lib/plaid/models/transfer_metrics_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -39,6 +39,8 @@ class TransferMetricsGetResponse attr_accessor :return_rates + attr_accessor :authorization_usage + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -49,7 +51,8 @@ def self.attribute_map :'monthly_debit_transfer_volume' => :'monthly_debit_transfer_volume', :'monthly_credit_transfer_volume' => :'monthly_credit_transfer_volume', :'iso_currency_code' => :'iso_currency_code', - :'return_rates' => :'return_rates' + :'return_rates' => :'return_rates', + :'authorization_usage' => :'authorization_usage' } end @@ -68,14 +71,16 @@ def self.openapi_types :'monthly_debit_transfer_volume' => :'String', :'monthly_credit_transfer_volume' => :'String', :'iso_currency_code' => :'String', - :'return_rates' => :'TransferMetricsGetReturnRates' + :'return_rates' => :'TransferMetricsGetReturnRates', + :'authorization_usage' => :'TransferMetricsGetAuthorizationUsage' } end # List of attributes with nullable: true def self.openapi_nullable Set.new([ - :'return_rates' + :'return_rates', + :'authorization_usage' ]) end @@ -125,6 +130,10 @@ def initialize(attributes = {}) if attributes.key?(:'return_rates') self.return_rates = attributes[:'return_rates'] end + + if attributes.key?(:'authorization_usage') + self.authorization_usage = attributes[:'authorization_usage'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -187,7 +196,8 @@ def ==(o) monthly_debit_transfer_volume == o.monthly_debit_transfer_volume && monthly_credit_transfer_volume == o.monthly_credit_transfer_volume && iso_currency_code == o.iso_currency_code && - return_rates == o.return_rates + return_rates == o.return_rates && + authorization_usage == o.authorization_usage end # @see the `==` method @@ -199,7 +209,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_id, daily_debit_transfer_volume, daily_credit_transfer_volume, monthly_transfer_volume, monthly_debit_transfer_volume, monthly_credit_transfer_volume, iso_currency_code, return_rates].hash + [request_id, daily_debit_transfer_volume, daily_credit_transfer_volume, monthly_transfer_volume, monthly_debit_transfer_volume, monthly_credit_transfer_volume, iso_currency_code, return_rates, authorization_usage].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_metrics_get_return_rates.rb b/lib/plaid/models/transfer_metrics_get_return_rates.rb index 954c440ee..f2e426fa6 100644 --- a/lib/plaid/models/transfer_metrics_get_return_rates.rb +++ b/lib/plaid/models/transfer_metrics_get_return_rates.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb b/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb index f256c3dd2..e8646d022 100644 --- a/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb +++ b/lib/plaid/models/transfer_metrics_get_return_rates_over_interval.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_migrate_account_request.rb b/lib/plaid/models/transfer_migrate_account_request.rb index 95717deee..cf0b2d1ef 100644 --- a/lib/plaid/models/transfer_migrate_account_request.rb +++ b/lib/plaid/models/transfer_migrate_account_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_migrate_account_response.rb b/lib/plaid/models/transfer_migrate_account_response.rb index b76fab398..761b36321 100644 --- a/lib/plaid/models/transfer_migrate_account_response.rb +++ b/lib/plaid/models/transfer_migrate_account_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_network.rb b/lib/plaid/models/transfer_network.rb index b88bc92d0..250feaf65 100644 --- a/lib/plaid/models/transfer_network.rb +++ b/lib/plaid/models/transfer_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_address.rb b/lib/plaid/models/transfer_originator_address.rb index 687fa99d0..19d689fed 100644 --- a/lib/plaid/models/transfer_originator_address.rb +++ b/lib/plaid/models/transfer_originator_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_create_request.rb b/lib/plaid/models/transfer_originator_create_request.rb index 4091ba717..e51ded87d 100644 --- a/lib/plaid/models/transfer_originator_create_request.rb +++ b/lib/plaid/models/transfer_originator_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_create_response.rb b/lib/plaid/models/transfer_originator_create_response.rb index 28519e7cb..14a68c00a 100644 --- a/lib/plaid/models/transfer_originator_create_response.rb +++ b/lib/plaid/models/transfer_originator_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_diligence.rb b/lib/plaid/models/transfer_originator_diligence.rb index 3ebb80365..da474702e 100644 --- a/lib/plaid/models/transfer_originator_diligence.rb +++ b/lib/plaid/models/transfer_originator_diligence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_update_request.rb b/lib/plaid/models/transfer_originator_funding_account_update_request.rb index ec29ce025..81dc0c642 100644 --- a/lib/plaid/models/transfer_originator_funding_account_update_request.rb +++ b/lib/plaid/models/transfer_originator_funding_account_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_update_response.rb b/lib/plaid/models/transfer_originator_funding_account_update_response.rb index cc6e4f15c..873df0679 100644 --- a/lib/plaid/models/transfer_originator_funding_account_update_response.rb +++ b/lib/plaid/models/transfer_originator_funding_account_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_get_request.rb b/lib/plaid/models/transfer_originator_get_request.rb index 7e607a2cb..40abd81bf 100644 --- a/lib/plaid/models/transfer_originator_get_request.rb +++ b/lib/plaid/models/transfer_originator_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_get_response.rb b/lib/plaid/models/transfer_originator_get_response.rb index 0735db339..e36b6e3c3 100644 --- a/lib/plaid/models/transfer_originator_get_response.rb +++ b/lib/plaid/models/transfer_originator_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_list_request.rb b/lib/plaid/models/transfer_originator_list_request.rb index 19587b7ba..0f7e00808 100644 --- a/lib/plaid/models/transfer_originator_list_request.rb +++ b/lib/plaid/models/transfer_originator_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_list_response.rb b/lib/plaid/models/transfer_originator_list_response.rb index 824e840c3..ada96fbe0 100644 --- a/lib/plaid/models/transfer_originator_list_response.rb +++ b/lib/plaid/models/transfer_originator_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_originator_create_request.rb b/lib/plaid/models/transfer_platform_originator_create_request.rb new file mode 100644 index 000000000..aaa2de863 --- /dev/null +++ b/lib/plaid/models/transfer_platform_originator_create_request.rb @@ -0,0 +1,275 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the request schema for `/transfer/platform/originator/create` + class TransferPlatformOriginatorCreateRequest + # Your Plaid API `client_id`. The `client_id` is required and may be provided either in the `PLAID-CLIENT-ID` header or as part of a request body. + attr_accessor :client_id + + # Your Plaid API `secret`. The `secret` is required and may be provided either in the `PLAID-SECRET` header or as part of a request body. + attr_accessor :secret + + # The client ID of the originator + attr_accessor :originator_client_id + + attr_accessor :tos_acceptance_metadata + + # ISO8601 timestamp indicating the most recent time the platform collected onboarding data from the originator + attr_accessor :originator_reviewed_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'originator_client_id' => :'originator_client_id', + :'tos_acceptance_metadata' => :'tos_acceptance_metadata', + :'originator_reviewed_at' => :'originator_reviewed_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'client_id' => :'String', + :'secret' => :'String', + :'originator_client_id' => :'String', + :'tos_acceptance_metadata' => :'TransferPlatformTOSAcceptanceMetadata', + :'originator_reviewed_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformOriginatorCreateRequest` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformOriginatorCreateRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'client_id') + self.client_id = attributes[:'client_id'] + end + + if attributes.key?(:'secret') + self.secret = attributes[:'secret'] + end + + if attributes.key?(:'originator_client_id') + self.originator_client_id = attributes[:'originator_client_id'] + end + + if attributes.key?(:'tos_acceptance_metadata') + self.tos_acceptance_metadata = attributes[:'tos_acceptance_metadata'] + end + + if attributes.key?(:'originator_reviewed_at') + self.originator_reviewed_at = attributes[:'originator_reviewed_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @originator_client_id.nil? + invalid_properties.push('invalid value for "originator_client_id", originator_client_id cannot be nil.') + end + + if @tos_acceptance_metadata.nil? + invalid_properties.push('invalid value for "tos_acceptance_metadata", tos_acceptance_metadata cannot be nil.') + end + + if @originator_reviewed_at.nil? + invalid_properties.push('invalid value for "originator_reviewed_at", originator_reviewed_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @originator_client_id.nil? + return false if @tos_acceptance_metadata.nil? + return false if @originator_reviewed_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + client_id == o.client_id && + secret == o.secret && + originator_client_id == o.originator_client_id && + tos_acceptance_metadata == o.tos_acceptance_metadata && + originator_reviewed_at == o.originator_reviewed_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [client_id, secret, originator_client_id, tos_acceptance_metadata, originator_reviewed_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_platform_originator_create_response.rb b/lib/plaid/models/transfer_platform_originator_create_response.rb new file mode 100644 index 000000000..32464ea7c --- /dev/null +++ b/lib/plaid/models/transfer_platform_originator_create_response.rb @@ -0,0 +1,226 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Defines the response schema for `/transfer/platform/originator/create` + class TransferPlatformOriginatorCreateResponse + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformOriginatorCreateResponse` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformOriginatorCreateResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @request_id.nil? + invalid_properties.push('invalid value for "request_id", request_id cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @request_id.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb b/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb new file mode 100644 index 000000000..2c54d4b8e --- /dev/null +++ b/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb @@ -0,0 +1,256 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Metadata related to the acceptance of Terms of Service + class TransferPlatformTOSAcceptanceMetadata + # Indicates whether the TOS agreement was accepted + attr_accessor :agreement_accepted + + # The IP address of the originator when they accepted the TOS. Formatted as an IPv4 or IPv6 IP address + attr_accessor :originator_ip_address + + # ISO8601 timestamp indicating when the originator accepted the TOS + attr_accessor :agreement_accepted_at + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'agreement_accepted' => :'agreement_accepted', + :'originator_ip_address' => :'originator_ip_address', + :'agreement_accepted_at' => :'agreement_accepted_at' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'agreement_accepted' => :'Boolean', + :'originator_ip_address' => :'String', + :'agreement_accepted_at' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::TransferPlatformTOSAcceptanceMetadata` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::TransferPlatformTOSAcceptanceMetadata`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'agreement_accepted') + self.agreement_accepted = attributes[:'agreement_accepted'] + end + + if attributes.key?(:'originator_ip_address') + self.originator_ip_address = attributes[:'originator_ip_address'] + end + + if attributes.key?(:'agreement_accepted_at') + self.agreement_accepted_at = attributes[:'agreement_accepted_at'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @agreement_accepted.nil? + invalid_properties.push('invalid value for "agreement_accepted", agreement_accepted cannot be nil.') + end + + if @originator_ip_address.nil? + invalid_properties.push('invalid value for "originator_ip_address", originator_ip_address cannot be nil.') + end + + if @agreement_accepted_at.nil? + invalid_properties.push('invalid value for "agreement_accepted_at", agreement_accepted_at cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @agreement_accepted.nil? + return false if @originator_ip_address.nil? + return false if @agreement_accepted_at.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + agreement_accepted == o.agreement_accepted && + originator_ip_address == o.originator_ip_address && + agreement_accepted_at == o.agreement_accepted_at + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [agreement_accepted, originator_ip_address, agreement_accepted_at].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/transfer_questionnaire_create_request.rb b/lib/plaid/models/transfer_questionnaire_create_request.rb index 1f8b2e217..1d2eddf0f 100644 --- a/lib/plaid/models/transfer_questionnaire_create_request.rb +++ b/lib/plaid/models/transfer_questionnaire_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_questionnaire_create_response.rb b/lib/plaid/models/transfer_questionnaire_create_response.rb index fae2348c6..1e6c2a5c5 100644 --- a/lib/plaid/models/transfer_questionnaire_create_response.rb +++ b/lib/plaid/models/transfer_questionnaire_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_cancel_request.rb b/lib/plaid/models/transfer_recurring_cancel_request.rb index c0eb17780..d832ae42c 100644 --- a/lib/plaid/models/transfer_recurring_cancel_request.rb +++ b/lib/plaid/models/transfer_recurring_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_cancel_response.rb b/lib/plaid/models/transfer_recurring_cancel_response.rb index 6ee71455f..39af79f72 100644 --- a/lib/plaid/models/transfer_recurring_cancel_response.rb +++ b/lib/plaid/models/transfer_recurring_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_create_request.rb b/lib/plaid/models/transfer_recurring_create_request.rb index 076a031b3..d2afedf33 100644 --- a/lib/plaid/models/transfer_recurring_create_request.rb +++ b/lib/plaid/models/transfer_recurring_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_create_response.rb b/lib/plaid/models/transfer_recurring_create_response.rb index 42a100c3d..0bb5ad35d 100644 --- a/lib/plaid/models/transfer_recurring_create_response.rb +++ b/lib/plaid/models/transfer_recurring_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_get_request.rb b/lib/plaid/models/transfer_recurring_get_request.rb index 5a34c3ecd..8b9441909 100644 --- a/lib/plaid/models/transfer_recurring_get_request.rb +++ b/lib/plaid/models/transfer_recurring_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_get_response.rb b/lib/plaid/models/transfer_recurring_get_response.rb index 241529428..7832234ee 100644 --- a/lib/plaid/models/transfer_recurring_get_response.rb +++ b/lib/plaid/models/transfer_recurring_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_list_request.rb b/lib/plaid/models/transfer_recurring_list_request.rb index 046a4cc7c..d9f9bb2d1 100644 --- a/lib/plaid/models/transfer_recurring_list_request.rb +++ b/lib/plaid/models/transfer_recurring_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_list_response.rb b/lib/plaid/models/transfer_recurring_list_response.rb index 44836c8e0..54ebdf1d9 100644 --- a/lib/plaid/models/transfer_recurring_list_response.rb +++ b/lib/plaid/models/transfer_recurring_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_network.rb b/lib/plaid/models/transfer_recurring_network.rb index 97bbbaa3c..b712e0e64 100644 --- a/lib/plaid/models/transfer_recurring_network.rb +++ b/lib/plaid/models/transfer_recurring_network.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_schedule.rb b/lib/plaid/models/transfer_recurring_schedule.rb index eeb59defd..e6afbab05 100644 --- a/lib/plaid/models/transfer_recurring_schedule.rb +++ b/lib/plaid/models/transfer_recurring_schedule.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_recurring_status.rb b/lib/plaid/models/transfer_recurring_status.rb index 17d30838f..63d91e8dc 100644 --- a/lib/plaid/models/transfer_recurring_status.rb +++ b/lib/plaid/models/transfer_recurring_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund.rb b/lib/plaid/models/transfer_refund.rb index e5d5f0e71..038d5fe01 100644 --- a/lib/plaid/models/transfer_refund.rb +++ b/lib/plaid/models/transfer_refund.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -29,6 +29,9 @@ class TransferRefund attr_accessor :failure_reason + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when this refund was created. This will be of the form `2006-01-02T15:04:05Z` attr_accessor :created @@ -65,6 +68,7 @@ def self.attribute_map :'amount' => :'amount', :'status' => :'status', :'failure_reason' => :'failure_reason', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'network_trace_id' => :'network_trace_id' } @@ -83,6 +87,7 @@ def self.openapi_types :'amount' => :'String', :'status' => :'TransferRefundStatus', :'failure_reason' => :'TransferRefundFailure', + :'ledger_id' => :'String', :'created' => :'Time', :'network_trace_id' => :'String' } @@ -92,6 +97,7 @@ def self.openapi_types def self.openapi_nullable Set.new([ :'failure_reason', + :'ledger_id', :'network_trace_id' ]) end @@ -131,6 +137,10 @@ def initialize(attributes = {}) self.failure_reason = attributes[:'failure_reason'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -188,6 +198,7 @@ def ==(o) amount == o.amount && status == o.status && failure_reason == o.failure_reason && + ledger_id == o.ledger_id && created == o.created && network_trace_id == o.network_trace_id end @@ -201,7 +212,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, transfer_id, amount, status, failure_reason, created, network_trace_id].hash + [id, transfer_id, amount, status, failure_reason, ledger_id, created, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_refund_cancel_request.rb b/lib/plaid/models/transfer_refund_cancel_request.rb index bfba50f47..fbc81edec 100644 --- a/lib/plaid/models/transfer_refund_cancel_request.rb +++ b/lib/plaid/models/transfer_refund_cancel_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_cancel_response.rb b/lib/plaid/models/transfer_refund_cancel_response.rb index a92352489..651ccd097 100644 --- a/lib/plaid/models/transfer_refund_cancel_response.rb +++ b/lib/plaid/models/transfer_refund_cancel_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_create_request.rb b/lib/plaid/models/transfer_refund_create_request.rb index 6d928bcf3..68d1ea1a9 100644 --- a/lib/plaid/models/transfer_refund_create_request.rb +++ b/lib/plaid/models/transfer_refund_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_create_response.rb b/lib/plaid/models/transfer_refund_create_response.rb index c31507b9b..dd132797f 100644 --- a/lib/plaid/models/transfer_refund_create_response.rb +++ b/lib/plaid/models/transfer_refund_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_failure.rb b/lib/plaid/models/transfer_refund_failure.rb index dbdb6444d..3705f5c8f 100644 --- a/lib/plaid/models/transfer_refund_failure.rb +++ b/lib/plaid/models/transfer_refund_failure.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_get_request.rb b/lib/plaid/models/transfer_refund_get_request.rb index f260e6c7b..14200940a 100644 --- a/lib/plaid/models/transfer_refund_get_request.rb +++ b/lib/plaid/models/transfer_refund_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_get_response.rb b/lib/plaid/models/transfer_refund_get_response.rb index f0f9f6466..c92e4a7e6 100644 --- a/lib/plaid/models/transfer_refund_get_response.rb +++ b/lib/plaid/models/transfer_refund_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_status.rb b/lib/plaid/models/transfer_refund_status.rb index 9704a48ad..cfd1ee973 100644 --- a/lib/plaid/models/transfer_refund_status.rb +++ b/lib/plaid/models/transfer_refund_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment.rb b/lib/plaid/models/transfer_repayment.rb index 7c97b9011..463d35370 100644 --- a/lib/plaid/models/transfer_repayment.rb +++ b/lib/plaid/models/transfer_repayment.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_list_request.rb b/lib/plaid/models/transfer_repayment_list_request.rb index 12b0b8ee3..ad22a22cb 100644 --- a/lib/plaid/models/transfer_repayment_list_request.rb +++ b/lib/plaid/models/transfer_repayment_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_list_response.rb b/lib/plaid/models/transfer_repayment_list_response.rb index ba324b473..48886e5a9 100644 --- a/lib/plaid/models/transfer_repayment_list_response.rb +++ b/lib/plaid/models/transfer_repayment_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return.rb b/lib/plaid/models/transfer_repayment_return.rb index 3908b3fbd..040411f14 100644 --- a/lib/plaid/models/transfer_repayment_return.rb +++ b/lib/plaid/models/transfer_repayment_return.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return_list_request.rb b/lib/plaid/models/transfer_repayment_return_list_request.rb index a5e7245e0..0884746df 100644 --- a/lib/plaid/models/transfer_repayment_return_list_request.rb +++ b/lib/plaid/models/transfer_repayment_return_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_repayment_return_list_response.rb b/lib/plaid/models/transfer_repayment_return_list_response.rb index 3364c0e09..2bdfe01a2 100644 --- a/lib/plaid/models/transfer_repayment_return_list_response.rb +++ b/lib/plaid/models/transfer_repayment_return_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_schedule_interval_unit.rb b/lib/plaid/models/transfer_schedule_interval_unit.rb index a6ed350a7..ad05a4990 100644 --- a/lib/plaid/models/transfer_schedule_interval_unit.rb +++ b/lib/plaid/models/transfer_schedule_interval_unit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_status.rb b/lib/plaid/models/transfer_status.rb index a60a0aed9..1f991f15b 100644 --- a/lib/plaid/models/transfer_status.rb +++ b/lib/plaid/models/transfer_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep.rb b/lib/plaid/models/transfer_sweep.rb index 28ee137d4..93b0486d3 100644 --- a/lib/plaid/models/transfer_sweep.rb +++ b/lib/plaid/models/transfer_sweep.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,6 +22,9 @@ class TransferSweep # The id of the funding account to use, available in the Plaid Dashboard. This determines which of your business checking accounts will be credited or debited. attr_accessor :funding_account_id + # Plaid’s unique identifier for a Plaid Ledger Balance. + attr_accessor :ledger_id + # The datetime when the sweep occurred, in RFC 3339 format. attr_accessor :created @@ -71,6 +74,7 @@ def self.attribute_map { :'id' => :'id', :'funding_account_id' => :'funding_account_id', + :'ledger_id' => :'ledger_id', :'created' => :'created', :'amount' => :'amount', :'iso_currency_code' => :'iso_currency_code', @@ -92,6 +96,7 @@ def self.openapi_types { :'id' => :'String', :'funding_account_id' => :'String', + :'ledger_id' => :'String', :'created' => :'Time', :'amount' => :'String', :'iso_currency_code' => :'String', @@ -106,6 +111,7 @@ def self.openapi_types # List of attributes with nullable: true def self.openapi_nullable Set.new([ + :'ledger_id', :'settled', :'status', :'trigger', @@ -136,6 +142,10 @@ def initialize(attributes = {}) self.funding_account_id = attributes[:'funding_account_id'] end + if attributes.key?(:'ledger_id') + self.ledger_id = attributes[:'ledger_id'] + end + if attributes.key?(:'created') self.created = attributes[:'created'] end @@ -214,6 +224,7 @@ def ==(o) self.class == o.class && id == o.id && funding_account_id == o.funding_account_id && + ledger_id == o.ledger_id && created == o.created && amount == o.amount && iso_currency_code == o.iso_currency_code && @@ -233,7 +244,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [id, funding_account_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash + [id, funding_account_id, ledger_id, created, amount, iso_currency_code, settled, status, trigger, description, network_trace_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 3a8b65de7..4525aa134 100644 --- a/lib/plaid/models/transfer_sweep_get_request.rb +++ b/lib/plaid/models/transfer_sweep_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_get_response.rb b/lib/plaid/models/transfer_sweep_get_response.rb index 77b29c7db..57e37907b 100644 --- a/lib/plaid/models/transfer_sweep_get_response.rb +++ b/lib/plaid/models/transfer_sweep_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_list_request.rb b/lib/plaid/models/transfer_sweep_list_request.rb index 3259463b7..abf334d6a 100644 --- a/lib/plaid/models/transfer_sweep_list_request.rb +++ b/lib/plaid/models/transfer_sweep_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_list_response.rb b/lib/plaid/models/transfer_sweep_list_response.rb index c99a10de4..038723204 100644 --- a/lib/plaid/models/transfer_sweep_list_response.rb +++ b/lib/plaid/models/transfer_sweep_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_status.rb b/lib/plaid/models/transfer_sweep_status.rb index 091efd577..152532b7d 100644 --- a/lib/plaid/models/transfer_sweep_status.rb +++ b/lib/plaid/models/transfer_sweep_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_test_clock.rb b/lib/plaid/models/transfer_test_clock.rb index 493a20405..90bf8541b 100644 --- a/lib/plaid/models/transfer_test_clock.rb +++ b/lib/plaid/models/transfer_test_clock.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_type.rb b/lib/plaid/models/transfer_type.rb index a57f47875..47c359d10 100644 --- a/lib/plaid/models/transfer_type.rb +++ b/lib/plaid/models/transfer_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_address_in_request.rb b/lib/plaid/models/transfer_user_address_in_request.rb index 5bd452bd6..2a105651e 100644 --- a/lib/plaid/models/transfer_user_address_in_request.rb +++ b/lib/plaid/models/transfer_user_address_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_address_in_response.rb b/lib/plaid/models/transfer_user_address_in_response.rb index 6b3ecc0a8..9752f92ee 100644 --- a/lib/plaid/models/transfer_user_address_in_response.rb +++ b/lib/plaid/models/transfer_user_address_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_request.rb b/lib/plaid/models/transfer_user_in_request.rb index 88a07390d..ec48ba110 100644 --- a/lib/plaid/models/transfer_user_in_request.rb +++ b/lib/plaid/models/transfer_user_in_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_request_deprecated.rb b/lib/plaid/models/transfer_user_in_request_deprecated.rb index 22888c8b1..2beaf765b 100644 --- a/lib/plaid/models/transfer_user_in_request_deprecated.rb +++ b/lib/plaid/models/transfer_user_in_request_deprecated.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_user_in_response.rb b/lib/plaid/models/transfer_user_in_response.rb index d892571e5..db9cbedee 100644 --- a/lib/plaid/models/transfer_user_in_response.rb +++ b/lib/plaid/models/transfer_user_in_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_wire_details.rb b/lib/plaid/models/transfer_wire_details.rb index d6ea0d879..4c9aec1eb 100644 --- a/lib/plaid/models/transfer_wire_details.rb +++ b/lib/plaid/models/transfer_wire_details.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/update_entity_screening_request_search_terms.rb b/lib/plaid/models/update_entity_screening_request_search_terms.rb index 9208d2069..5d9071f54 100644 --- a/lib/plaid/models/update_entity_screening_request_search_terms.rb +++ b/lib/plaid/models/update_entity_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class UpdateEntityScreeningRequestSearchTerms # ID of the associated entity program. attr_accessor :entity_watchlist_program_id - # The name of the organization being screened. + # The name of the organization being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number - # A valid email address. + # A valid email address. Must not have leading or trailing spaces. attr_accessor :email_address # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/update_individual_screening_request_search_terms.rb b/lib/plaid/models/update_individual_screening_request_search_terms.rb index 449404910..d24f1a564 100644 --- a/lib/plaid/models/update_individual_screening_request_search_terms.rb +++ b/lib/plaid/models/update_individual_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class UpdateIndividualScreeningRequestSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/user_account_identity.rb b/lib/plaid/models/user_account_identity.rb index aed9a134c..c7f43a79c 100644 --- a/lib/plaid/models/user_account_identity.rb +++ b/lib/plaid/models/user_account_identity.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_address.rb b/lib/plaid/models/user_account_identity_address.rb index 66aad9095..cc658550f 100644 --- a/lib/plaid/models/user_account_identity_address.rb +++ b/lib/plaid/models/user_account_identity_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_name.rb b/lib/plaid/models/user_account_identity_name.rb index d0a7dc964..93730a714 100644 --- a/lib/plaid/models/user_account_identity_name.rb +++ b/lib/plaid/models/user_account_identity_name.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_item.rb b/lib/plaid/models/user_account_item.rb index bde8dc394..9044216b2 100644 --- a/lib/plaid/models/user_account_item.rb +++ b/lib/plaid/models/user_account_item.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_revoked_webhook.rb b/lib/plaid/models/user_account_revoked_webhook.rb index 9036d5a09..4f45356fd 100644 --- a/lib/plaid/models/user_account_revoked_webhook.rb +++ b/lib/plaid/models/user_account_revoked_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_get_request.rb b/lib/plaid/models/user_account_session_get_request.rb index 5c785320c..08b64a805 100644 --- a/lib/plaid/models/user_account_session_get_request.rb +++ b/lib/plaid/models/user_account_session_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_get_response.rb b/lib/plaid/models/user_account_session_get_response.rb index f04bb0c15..c3de5f135 100644 --- a/lib/plaid/models/user_account_session_get_response.rb +++ b/lib/plaid/models/user_account_session_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_address.rb b/lib/plaid/models/user_address.rb index adfe100f2..e3aea863c 100644 --- a/lib/plaid/models/user_address.rb +++ b/lib/plaid/models/user_address.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class UserAddress # The primary street portion of an address. If an address is provided, this field will always be filled. A string with at least one non-whitespace alphabetical character, with a max length of 80 characters. attr_accessor :street - # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 20 characters. + # Extra street information, like an apartment or suite number. If provided, a string with at least one non-whitespace character, with a max length of 50 characters. attr_accessor :street2 # City from the end user's address. A string with at least one non-whitespace alphabetical character, with a max length of 100 characters.\" diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index 227fbbe02..452a85bb2 100644 --- a/lib/plaid/models/user_create_request.rb +++ b/lib/plaid/models/user_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_create_response.rb b/lib/plaid/models/user_create_response.rb index 40fddf717..f7ec095dc 100644 --- a/lib/plaid/models/user_create_response.rb +++ b/lib/plaid/models/user_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_custom_password.rb b/lib/plaid/models/user_custom_password.rb index aaaec86d3..af35ce72b 100644 --- a/lib/plaid/models/user_custom_password.rb +++ b/lib/plaid/models/user_custom_password.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_data_overview.rb b/lib/plaid/models/user_data_overview.rb index d7ead3ffa..6f8b14bfa 100644 --- a/lib/plaid/models/user_data_overview.rb +++ b/lib/plaid/models/user_data_overview.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_id_number.rb b/lib/plaid/models/user_id_number.rb index 19b769069..069bf5c3d 100644 --- a/lib/plaid/models/user_id_number.rb +++ b/lib/plaid/models/user_id_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_get_request.rb b/lib/plaid/models/user_items_get_request.rb index f04f0ad5b..f8e4602d2 100644 --- a/lib/plaid/models/user_items_get_request.rb +++ b/lib/plaid/models/user_items_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_get_response.rb b/lib/plaid/models/user_items_get_response.rb index 50b908576..a50e129be 100644 --- a/lib/plaid/models/user_items_get_response.rb +++ b/lib/plaid/models/user_items_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_permission_revoked_webhook.rb b/lib/plaid/models/user_permission_revoked_webhook.rb index 2d556d227..03e51f384 100644 --- a/lib/plaid/models/user_permission_revoked_webhook.rb +++ b/lib/plaid/models/user_permission_revoked_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The `USER_PERMISSION_REVOKED` webhook may be fired when an end user has used either the [my.plaid.com portal](https://my.plaid.com) or the financial institution’s OAuth consent portal to revoke the permission that they previously granted to access an Item. This webhook is not guaranteed to always be fired upon consent revocation, since some institutions’ consent portals do not trigger this webhook. Once access to an Item has been revoked, it cannot be restored. If the user subsequently returns to your application, a new Item must be created for the user. Upon receiving this webhook, it is recommended to call `/item/remove` to delete the underlying Item and to delete any stored data from Plaid associated with the Item. Note that when using ACH flows with Chase Items specifically, the account number provided by Plaid will no longer work for creating transfers once user permission has been revoked. If you receive this webhook for a Chase Item, you should not create any new ACH transfers for that Item, as they will be returned. + # The `USER_PERMISSION_REVOKED` webhook may be fired when an end user has revoked the permission that they previously granted to access an Item. If the end user revoked their permissions through Plaid (such as via the Plaid Portal or by contacting Plaid Support), the webhook will fire. If the end user revoked their permissions directly through the institution, this webhook may not always fire, since some institutions’ consent portals do not trigger this webhook. Once access to an Item has been revoked, it cannot be restored. If the user subsequently returns to your application, a new Item must be created for the user. Upon receiving this webhook, it is recommended to call `/item/remove` to delete the underlying Item and to delete any stored data from Plaid associated with the Item. Note that when using ACH flows with Chase Items specifically, the account number provided by Plaid will no longer work for creating transfers once user permission has been revoked. If you receive this webhook for a Chase Item, you should not create any new ACH transfers for that Item, as they will be returned. class UserPermissionRevokedWebhook # `ITEM` attr_accessor :webhook_type diff --git a/lib/plaid/models/user_remove_request.rb b/lib/plaid/models/user_remove_request.rb index 3d269ce9e..be321c286 100644 --- a/lib/plaid/models/user_remove_request.rb +++ b/lib/plaid/models/user_remove_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_remove_response.rb b/lib/plaid/models/user_remove_response.rb index 417f5113b..d2dff8da9 100644 --- a/lib/plaid/models/user_remove_response.rb +++ b/lib/plaid/models/user_remove_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_category.rb b/lib/plaid/models/user_stated_income_source_category.rb index 9a1bcad4b..ee9a8842a 100644 --- a/lib/plaid/models/user_stated_income_source_category.rb +++ b/lib/plaid/models/user_stated_income_source_category.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_frequency.rb b/lib/plaid/models/user_stated_income_source_frequency.rb index 96ce0a6bd..e62288f90 100644 --- a/lib/plaid/models/user_stated_income_source_frequency.rb +++ b/lib/plaid/models/user_stated_income_source_frequency.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_stated_income_source_pay_type.rb b/lib/plaid/models/user_stated_income_source_pay_type.rb index 13efd5c21..8449d302c 100644 --- a/lib/plaid/models/user_stated_income_source_pay_type.rb +++ b/lib/plaid/models/user_stated_income_source_pay_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_update_request.rb b/lib/plaid/models/user_update_request.rb index 2c51ef1d3..7e03d8ac1 100644 --- a/lib/plaid/models/user_update_request.rb +++ b/lib/plaid/models/user_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_update_response.rb b/lib/plaid/models/user_update_response.rb index 8a286835d..b880edf9e 100644 --- a/lib/plaid/models/user_update_response.rb +++ b/lib/plaid/models/user_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/validation_source.rb b/lib/plaid/models/validation_source.rb index a0db0e89e..a35fef29b 100644 --- a/lib/plaid/models/validation_source.rb +++ b/lib/plaid/models/validation_source.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/validation_sources.rb b/lib/plaid/models/validation_sources.rb index 821ef20ff..04ce373ae 100644 --- a/lib/plaid/models/validation_sources.rb +++ b/lib/plaid/models/validation_sources.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_expired_webhook.rb b/lib/plaid/models/verification_expired_webhook.rb index 274e00905..16d5f3ab6 100644 --- a/lib/plaid/models/verification_expired_webhook.rb +++ b/lib/plaid/models/verification_expired_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_of_asset.rb b/lib/plaid/models/verification_of_asset.rb index 6b5a6f1f8..a176caa2a 100644 --- a/lib/plaid/models/verification_of_asset.rb +++ b/lib/plaid/models/verification_of_asset.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_of_asset_response.rb b/lib/plaid/models/verification_of_asset_response.rb index 21478d1ae..d6e6e1768 100644 --- a/lib/plaid/models/verification_of_asset_response.rb +++ b/lib/plaid/models/verification_of_asset_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_refresh_status.rb b/lib/plaid/models/verification_refresh_status.rb index 3b124e933..4d5723670 100644 --- a/lib/plaid/models/verification_refresh_status.rb +++ b/lib/plaid/models/verification_refresh_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verification_status.rb b/lib/plaid/models/verification_status.rb index 01c91ac84..20c4e4430 100644 --- a/lib/plaid/models/verification_status.rb +++ b/lib/plaid/models/verification_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2.rb b/lib/plaid/models/w2.rb index e3086fbfa..0f223890d 100644 --- a/lib/plaid/models/w2.rb +++ b/lib/plaid/models/w2.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_box12.rb b/lib/plaid/models/w2_box12.rb index be2136ee6..5d3d2cc48 100644 --- a/lib/plaid/models/w2_box12.rb +++ b/lib/plaid/models/w2_box12.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_box12_override.rb b/lib/plaid/models/w2_box12_override.rb index 8ae7c996a..8965a0b64 100644 --- a/lib/plaid/models/w2_box12_override.rb +++ b/lib/plaid/models/w2_box12_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_override.rb b/lib/plaid/models/w2_override.rb index 80e39208a..0d8ffc8a5 100644 --- a/lib/plaid/models/w2_override.rb +++ b/lib/plaid/models/w2_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_state_and_local_wages.rb b/lib/plaid/models/w2_state_and_local_wages.rb index 6eea6c58a..f919edf36 100644 --- a/lib/plaid/models/w2_state_and_local_wages.rb +++ b/lib/plaid/models/w2_state_and_local_wages.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/w2_state_and_local_wages_override.rb b/lib/plaid/models/w2_state_and_local_wages_override.rb index cae0bb022..4f6709c95 100644 --- a/lib/plaid/models/w2_state_and_local_wages_override.rb +++ b/lib/plaid/models/w2_state_and_local_wages_override.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet.rb b/lib/plaid/models/wallet.rb index a168c9522..319542def 100644 --- a/lib/plaid/models/wallet.rb +++ b/lib/plaid/models/wallet.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_balance.rb b/lib/plaid/models/wallet_balance.rb index 27a6b02df..49beddc20 100644 --- a/lib/plaid/models/wallet_balance.rb +++ b/lib/plaid/models/wallet_balance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_create_request.rb b/lib/plaid/models/wallet_create_request.rb index 1000d665d..9f99ace2a 100644 --- a/lib/plaid/models/wallet_create_request.rb +++ b/lib/plaid/models/wallet_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_create_response.rb b/lib/plaid/models/wallet_create_response.rb index 6fcde96f2..fbc0fc587 100644 --- a/lib/plaid/models/wallet_create_response.rb +++ b/lib/plaid/models/wallet_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_get_request.rb b/lib/plaid/models/wallet_get_request.rb index c09160ca5..d7ea91c32 100644 --- a/lib/plaid/models/wallet_get_request.rb +++ b/lib/plaid/models/wallet_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_get_response.rb b/lib/plaid/models/wallet_get_response.rb index 4275107aa..6043a867d 100644 --- a/lib/plaid/models/wallet_get_response.rb +++ b/lib/plaid/models/wallet_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_iso_currency_code.rb b/lib/plaid/models/wallet_iso_currency_code.rb index 1fb6d75a4..6b19eb0ae 100644 --- a/lib/plaid/models/wallet_iso_currency_code.rb +++ b/lib/plaid/models/wallet_iso_currency_code.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_list_request.rb b/lib/plaid/models/wallet_list_request.rb index 301ac41a5..417e6ff92 100644 --- a/lib/plaid/models/wallet_list_request.rb +++ b/lib/plaid/models/wallet_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -127,8 +127,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if !@cursor.nil? && @cursor.to_s.length > 256 - invalid_properties.push('invalid value for "cursor", the character length must be smaller than or equal to 256.') + if !@cursor.nil? && @cursor.to_s.length > 1024 + invalid_properties.push('invalid value for "cursor", the character length must be smaller than or equal to 1024.') end @@ -147,7 +147,7 @@ def list_invalid_properties # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? - return false if !@cursor.nil? && @cursor.to_s.length > 256 + return false if !@cursor.nil? && @cursor.to_s.length > 1024 return false if !@count.nil? && @count > 20 return false if !@count.nil? && @count < 1 true @@ -156,8 +156,8 @@ def valid? # Custom attribute writer method with validation # @param [Object] cursor Value to be assigned def cursor=(cursor) - if !cursor.nil? && cursor.to_s.length > 256 - fail ArgumentError, 'invalid value for "cursor", the character length must be smaller than or equal to 256.' + if !cursor.nil? && cursor.to_s.length > 1024 + fail ArgumentError, 'invalid value for "cursor", the character length must be smaller than or equal to 1024.' end diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index a0e16ab11..6ad066125 100644 --- a/lib/plaid/models/wallet_list_response.rb +++ b/lib/plaid/models/wallet_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_numbers.rb b/lib/plaid/models/wallet_numbers.rb index 6a00fa4a8..f3aa9bdb6 100644 --- a/lib/plaid/models/wallet_numbers.rb +++ b/lib/plaid/models/wallet_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_payment_scheme.rb b/lib/plaid/models/wallet_payment_scheme.rb index 3b04b5bb3..2bb251e69 100644 --- a/lib/plaid/models/wallet_payment_scheme.rb +++ b/lib/plaid/models/wallet_payment_scheme.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_status.rb b/lib/plaid/models/wallet_status.rb index 3133632c3..59a3b478a 100644 --- a/lib/plaid/models/wallet_status.rb +++ b/lib/plaid/models/wallet_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction.rb b/lib/plaid/models/wallet_transaction.rb index 2c55392d8..b89a9c6f9 100644 --- a/lib/plaid/models/wallet_transaction.rb +++ b/lib/plaid/models/wallet_transaction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class WalletTransaction attr_accessor :failure_reason + # A list of wallet transactions that this transaction is associated with, if any. + attr_accessor :related_transactions + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -83,7 +86,8 @@ def self.attribute_map :'created_at' => :'created_at', :'last_status_update' => :'last_status_update', :'payment_id' => :'payment_id', - :'failure_reason' => :'failure_reason' + :'failure_reason' => :'failure_reason', + :'related_transactions' => :'related_transactions' } end @@ -106,7 +110,8 @@ def self.openapi_types :'created_at' => :'Time', :'last_status_update' => :'Time', :'payment_id' => :'String', - :'failure_reason' => :'WalletTransactionFailureReason' + :'failure_reason' => :'WalletTransactionFailureReason', + :'related_transactions' => :'Array' } end @@ -115,7 +120,7 @@ def self.openapi_nullable Set.new([ :'scheme', :'payment_id', - :'failure_reason' + :'failure_reason', ]) end @@ -181,6 +186,12 @@ def initialize(attributes = {}) if attributes.key?(:'failure_reason') self.failure_reason = attributes[:'failure_reason'] end + + if attributes.key?(:'related_transactions') + if (value = attributes[:'related_transactions']).is_a?(Array) + self.related_transactions = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -269,7 +280,8 @@ def ==(o) created_at == o.created_at && last_status_update == o.last_status_update && payment_id == o.payment_id && - failure_reason == o.failure_reason + failure_reason == o.failure_reason && + related_transactions == o.related_transactions end # @see the `==` method @@ -281,7 +293,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason].hash + [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, related_transactions].hash end # Builds the object from hash diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index b055baa4a..ea3883451 100644 --- a/lib/plaid/models/wallet_transaction_amount.rb +++ b/lib/plaid/models/wallet_transaction_amount.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty.rb b/lib/plaid/models/wallet_transaction_counterparty.rb index d9350eccc..bf553384e 100644 --- a/lib/plaid/models/wallet_transaction_counterparty.rb +++ b/lib/plaid/models/wallet_transaction_counterparty.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb index ddb9b5258..72a7d4ca8 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_bacs.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_bacs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_international.rb b/lib/plaid/models/wallet_transaction_counterparty_international.rb index 90c3e07d1..b6336acde 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_international.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_international.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb index a9be6ed2c..61de91ee6 100644 --- a/lib/plaid/models/wallet_transaction_counterparty_numbers.rb +++ b/lib/plaid/models/wallet_transaction_counterparty_numbers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_execute_request.rb b/lib/plaid/models/wallet_transaction_execute_request.rb index f8a62536a..b06991fd4 100644 --- a/lib/plaid/models/wallet_transaction_execute_request.rb +++ b/lib/plaid/models/wallet_transaction_execute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index e25b7f24b..bc07ad947 100644 --- a/lib/plaid/models/wallet_transaction_execute_response.rb +++ b/lib/plaid/models/wallet_transaction_execute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_failure_reason.rb b/lib/plaid/models/wallet_transaction_failure_reason.rb index 9e224bd0f..dbd79b0c4 100644 --- a/lib/plaid/models/wallet_transaction_failure_reason.rb +++ b/lib/plaid/models/wallet_transaction_failure_reason.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_get_request.rb b/lib/plaid/models/wallet_transaction_get_request.rb index 2fe45c237..8bc569fa9 100644 --- a/lib/plaid/models/wallet_transaction_get_request.rb +++ b/lib/plaid/models/wallet_transaction_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_get_response.rb b/lib/plaid/models/wallet_transaction_get_response.rb index d9d6aea7c..31e1f3eb3 100644 --- a/lib/plaid/models/wallet_transaction_get_response.rb +++ b/lib/plaid/models/wallet_transaction_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -47,6 +47,9 @@ class WalletTransactionGetResponse attr_accessor :failure_reason + # A list of wallet transactions that this transaction is associated with, if any. + attr_accessor :related_transactions + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. attr_accessor :request_id @@ -87,6 +90,7 @@ def self.attribute_map :'last_status_update' => :'last_status_update', :'payment_id' => :'payment_id', :'failure_reason' => :'failure_reason', + :'related_transactions' => :'related_transactions', :'request_id' => :'request_id' } end @@ -111,6 +115,7 @@ def self.openapi_types :'last_status_update' => :'Time', :'payment_id' => :'String', :'failure_reason' => :'WalletTransactionFailureReason', + :'related_transactions' => :'Array', :'request_id' => :'String' } end @@ -195,6 +200,12 @@ def initialize(attributes = {}) self.failure_reason = attributes[:'failure_reason'] end + if attributes.key?(:'related_transactions') + if (value = attributes[:'related_transactions']).is_a?(Array) + self.related_transactions = value + end + end + if attributes.key?(:'request_id') self.request_id = attributes[:'request_id'] end @@ -292,6 +303,7 @@ def ==(o) last_status_update == o.last_status_update && payment_id == o.payment_id && failure_reason == o.failure_reason && + related_transactions == o.related_transactions && request_id == o.request_id end @@ -304,7 +316,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, request_id].hash + [transaction_id, wallet_id, reference, type, scheme, amount, counterparty, status, created_at, last_status_update, payment_id, failure_reason, related_transactions, request_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/wallet_transaction_list_request.rb b/lib/plaid/models/wallet_transaction_list_request.rb index b902d09bf..afee8a8a6 100644 --- a/lib/plaid/models/wallet_transaction_list_request.rb +++ b/lib/plaid/models/wallet_transaction_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_list_request_options.rb b/lib/plaid/models/wallet_transaction_list_request_options.rb index 70a04525f..d9e4ee388 100644 --- a/lib/plaid/models/wallet_transaction_list_request_options.rb +++ b/lib/plaid/models/wallet_transaction_list_request_options.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_list_response.rb b/lib/plaid/models/wallet_transaction_list_response.rb index f3bcc0886..da9e065db 100644 --- a/lib/plaid/models/wallet_transaction_list_response.rb +++ b/lib/plaid/models/wallet_transaction_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_relation.rb b/lib/plaid/models/wallet_transaction_relation.rb new file mode 100644 index 000000000..3cff0ca8f --- /dev/null +++ b/lib/plaid/models/wallet_transaction_relation.rb @@ -0,0 +1,265 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.555.0 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Transactions are related when they have a logical connection. For example, a `PAYOUT` transaction can be returned by the sender, creating a `RETURN` transaction. Each `PAYOUT` transaction can have at most one corresponding `RETURN` transaction in case of reversal. These relationships are bi-directional, meaning that both entities have references to each other. For instance, when a transaction of type RETURN occurs, it is linked to the original transaction being returned. Likewise, the original transaction has a reference back to the RETURN transaction that represents the return. This field is only populated for transactions of type `RETURN`, `FUNDS_SWEEP`, `REFUND` and `PAYOUT`. The relationship between a `PIS_PAY_IN` payment and its corresponding `REFUND` transactions is only available through `refund_ids` property in the payment object. See[`/payment_initiation/payment/get`](https://plaid.com/docs/api/products/payment-initiation/#payment_initiation-payment-get-response-refund-ids). + class WalletTransactionRelation + # The ID of the related transaction. + attr_accessor :id + + # The type of the transaction. + attr_accessor :type + + class EnumAttributeValidator + attr_reader :datatype + attr_reader :allowable_values + + def initialize(datatype, allowable_values) + @allowable_values = allowable_values.map do |value| + case datatype.to_s + when /Integer/i + value.to_i + when /Float/i + value.to_f + else + value + end + end + end + + def valid?(value) + !value || allowable_values.include?(value) + end + end + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'id' => :'id', + :'type' => :'type' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'id' => :'String', + :'type' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::WalletTransactionRelation` initialize method" + end + + # check to see if the attribute exists and convert string to symbol for hash key + attributes = attributes.each_with_object({}) { |(k, v), h| + if (!self.class.attribute_map.key?(k.to_sym)) + fail ArgumentError, "`#{k}` is not a valid attribute in `Plaid::WalletTransactionRelation`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect + end + h[k.to_sym] = v + } + + if attributes.key?(:'id') + self.id = attributes[:'id'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + type_validator = EnumAttributeValidator.new('String', ["PAYOUT", "RETURN", "REFUND", "FUNDS_SWEEP"]) + return false unless type_validator.valid?(@type) + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] type Object to be assigned + def type=(type) + validator = EnumAttributeValidator.new('String', ["PAYOUT", "RETURN", "REFUND", "FUNDS_SWEEP"]) + unless validator.valid?(type) + fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}." + end + @type = type + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + id == o.id && + type == o.type + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [id, type].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + attributes = attributes.transform_keys(&:to_sym) + self.class.openapi_types.each_pair do |key, type| + if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key) + self.send("#{key}=", nil) + elsif type =~ /\AArray<(.*)>/i + # check to ensure the input is an array given that the attribute + # is documented as an array but the input is not + if attributes[self.class.attribute_map[key]].is_a?(Array) + self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) + end + elsif !attributes[self.class.attribute_map[key]].nil? + self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) + end + end + + self + end + + # Deserializes the data based on type + # @param string type Data type + # @param string value Value to be deserialized + # @return [Object] Deserialized data + def _deserialize(type, value) + case type.to_sym + when :Time + Time.parse(value) + when :Date + Date.parse(value) + when :String + value.to_s + when :Integer + value.to_i + when :Float + value.to_f + when :Boolean + if value.to_s =~ /\A(true|t|yes|y|1)\z/i + true + else + false + end + when :Object + # generic object (usually a Hash), return directly + value + when /\AArray<(?.+)>\z/ + inner_type = Regexp.last_match[:inner_type] + value.map { |v| _deserialize(inner_type, v) } + when /\AHash<(?.+?), (?.+)>\z/ + k_type = Regexp.last_match[:k_type] + v_type = Regexp.last_match[:v_type] + {}.tap do |hash| + value.each do |k, v| + hash[_deserialize(k_type, k)] = _deserialize(v_type, v) + end + end + else # model + # models (e.g. Pet) or oneOf + klass = Plaid.const_get(type) + klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) + end + end + + # Returns the string representation of the object + # @return [String] String presentation of the object + def to_s + to_hash.to_s + end + + # to_body is an alias to to_hash (backward compatibility) + # @return [Hash] Returns the object in the form of hash + def to_body + to_hash + end + + # Returns the object in the form of hash + # @return [Hash] Returns the object in the form of hash + def to_hash + hash = {} + self.class.attribute_map.each_pair do |attr, param| + value = self.send(attr) + if value.nil? + is_nullable = self.class.openapi_nullable.include?(attr) + next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) + end + + hash[param] = _to_hash(value) + end + hash + end + + # Outputs non-array value in the form of hash + # For object, use to_hash. Otherwise, just return the value + # @param [Object] value Any valid value + # @return [Hash] Returns the value in the form of hash + def _to_hash(value) + if value.is_a?(Array) + value.compact.map { |v| _to_hash(v) } + elsif value.is_a?(Hash) + {}.tap do |hash| + value.each { |k, v| hash[k] = _to_hash(v) } + end + elsif value.respond_to? :to_hash + value.to_hash + else + value + end + end + + end + +end diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index 599c23022..9f34ae883 100644 --- a/lib/plaid/models/wallet_transaction_status.rb +++ b/lib/plaid/models/wallet_transaction_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_status_update_webhook.rb b/lib/plaid/models/wallet_transaction_status_update_webhook.rb index bb6baf9d8..050d15979 100644 --- a/lib/plaid/models/wallet_transaction_status_update_webhook.rb +++ b/lib/plaid/models/wallet_transaction_status_update_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transactions_list_request.rb b/lib/plaid/models/wallet_transactions_list_request.rb index ac1005b7d..fbc394d45 100644 --- a/lib/plaid/models/wallet_transactions_list_request.rb +++ b/lib/plaid/models/wallet_transactions_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/warning.rb b/lib/plaid/models/warning.rb index f35ba531d..eb89a16df 100644 --- a/lib/plaid/models/warning.rb +++ b/lib/plaid/models/warning.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_audit_trail.rb b/lib/plaid/models/watchlist_screening_audit_trail.rb index b4cfdfbde..eec620eda 100644 --- a/lib/plaid/models/watchlist_screening_audit_trail.rb +++ b/lib/plaid/models/watchlist_screening_audit_trail.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_document.rb b/lib/plaid/models/watchlist_screening_document.rb index f72f58139..f38cb6bb3 100644 --- a/lib/plaid/models/watchlist_screening_document.rb +++ b/lib/plaid/models/watchlist_screening_document.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,7 +18,7 @@ module Plaid class WatchlistScreeningDocument attr_accessor :type - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :number class EnumAttributeValidator diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index d8f93b656..c1cb1c5de 100644 --- a/lib/plaid/models/watchlist_screening_document_type.rb +++ b/lib/plaid/models/watchlist_screening_document_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_create_request.rb b/lib/plaid/models/watchlist_screening_entity_create_request.rb index 8121a2445..87bd99bdf 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_create_response.rb b/lib/plaid/models/watchlist_screening_entity_create_response.rb index 54ec634cc..ef20bc4f5 100644 --- a/lib/plaid/models/watchlist_screening_entity_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_get_request.rb b/lib/plaid/models/watchlist_screening_entity_get_request.rb index 4c1648f0e..87f8fc5c5 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_get_response.rb b/lib/plaid/models/watchlist_screening_entity_get_response.rb index cd7b41736..d97188e89 100644 --- a/lib/plaid/models/watchlist_screening_entity_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb index 40dbe74cf..9eb9c9d8c 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb index ea85e86e3..09510046e 100644 --- a/lib/plaid/models/watchlist_screening_entity_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb index bf49d0d0f..3062a6226 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb index a052d44bf..9118dc1ca 100644 --- a/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_hit_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_list_request.rb b/lib/plaid/models/watchlist_screening_entity_list_request.rb index 07b3aec68..529a16717 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_list_response.rb b/lib/plaid/models/watchlist_screening_entity_list_response.rb index e5bd78056..c5a99fb85 100644 --- a/lib/plaid/models/watchlist_screening_entity_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb index a9591a45e..6dd83b1e3 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb index 1b3fec351..35e535c77 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb index 9d4c4d188..29fececf9 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb index 796dd4639..59745d738 100644 --- a/lib/plaid/models/watchlist_screening_entity_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_program_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb index 04647a472..1819d796b 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb index 031c803e9..2a75055dc 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb index 126f9c486..b0cbe329c 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb index c5c57ffb3..56a231aba 100644 --- a/lib/plaid/models/watchlist_screening_entity_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_review_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request.rb b/lib/plaid/models/watchlist_screening_entity_update_request.rb index 8b3c3993d..abd70432b 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb index d9dae074d..b1657cff4 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_entity_update_response.rb b/lib/plaid/models/watchlist_screening_entity_update_response.rb index 95b827b56..33c947ff6 100644 --- a/lib/plaid/models/watchlist_screening_entity_update_response.rb +++ b/lib/plaid/models/watchlist_screening_entity_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit.rb b/lib/plaid/models/watchlist_screening_hit.rb index a94455169..ca01804be 100644 --- a/lib/plaid/models/watchlist_screening_hit.rb +++ b/lib/plaid/models/watchlist_screening_hit.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit_locations.rb b/lib/plaid/models/watchlist_screening_hit_locations.rb index 2c8497ae7..7fe4550c3 100644 --- a/lib/plaid/models/watchlist_screening_hit_locations.rb +++ b/lib/plaid/models/watchlist_screening_hit_locations.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_hit_status.rb b/lib/plaid/models/watchlist_screening_hit_status.rb index 1055788ed..3debaf5c8 100644 --- a/lib/plaid/models/watchlist_screening_hit_status.rb +++ b/lib/plaid/models/watchlist_screening_hit_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual.rb b/lib/plaid/models/watchlist_screening_individual.rb index d4e4d7c0a..4db6499c6 100644 --- a/lib/plaid/models/watchlist_screening_individual.rb +++ b/lib/plaid/models/watchlist_screening_individual.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_create_request.rb b/lib/plaid/models/watchlist_screening_individual_create_request.rb index 9ec4ef5b9..194dc255e 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_create_response.rb b/lib/plaid/models/watchlist_screening_individual_create_response.rb index ded1eea4a..36b69cc50 100644 --- a/lib/plaid/models/watchlist_screening_individual_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_get_request.rb b/lib/plaid/models/watchlist_screening_individual_get_request.rb index 1d466509b..4e83d16a0 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_get_response.rb b/lib/plaid/models/watchlist_screening_individual_get_response.rb index 6fe3ba189..de739b7be 100644 --- a/lib/plaid/models/watchlist_screening_individual_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb index ff5426bb8..01d77700e 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb index 5ccb6a45c..d39ae9de0 100644 --- a/lib/plaid/models/watchlist_screening_individual_history_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_history_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb index 77c6d8c99..06971439f 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb index 75b1016d3..49db2e300 100644 --- a/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_hit_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_list_request.rb b/lib/plaid/models/watchlist_screening_individual_list_request.rb index 2c1f1593b..291df15fb 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_list_response.rb b/lib/plaid/models/watchlist_screening_individual_list_response.rb index f9c77e32d..3709e3141 100644 --- a/lib/plaid/models/watchlist_screening_individual_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb index d12c05866..98a01d232 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb index a50d3c275..2d9f3b674 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_get_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb index 9a4b77b6e..2ef238848 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb index db3dc0015..da37a2550 100644 --- a/lib/plaid/models/watchlist_screening_individual_program_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_program_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb index 7245bca21..f86570257 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb index 80a9e5366..a25a5a8af 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_create_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_create_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb index fef5f82a2..79e824530 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb index a74a5d8ba..40354d55d 100644 --- a/lib/plaid/models/watchlist_screening_individual_review_list_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_review_list_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request.rb b/lib/plaid/models/watchlist_screening_individual_update_request.rb index 39ad85548..88962ac8e 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb index 7c894e02f..3c5fb8795 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_request_resettable_field.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_individual_update_response.rb b/lib/plaid/models/watchlist_screening_individual_update_response.rb index 05060e10a..5d8c949d8 100644 --- a/lib/plaid/models/watchlist_screening_individual_update_response.rb +++ b/lib/plaid/models/watchlist_screening_individual_update_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_request_search_terms.rb b/lib/plaid/models/watchlist_screening_request_search_terms.rb index ef1639004..0283d4d8b 100644 --- a/lib/plaid/models/watchlist_screening_request_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_request_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class WatchlistScreeningRequestSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index 5306061c8..6219b4023 100644 --- a/lib/plaid/models/watchlist_screening_review.rb +++ b/lib/plaid/models/watchlist_screening_review.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_search_terms.rb b/lib/plaid/models/watchlist_screening_search_terms.rb index be88c9bef..cca83cc6e 100644 --- a/lib/plaid/models/watchlist_screening_search_terms.rb +++ b/lib/plaid/models/watchlist_screening_search_terms.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,13 +19,13 @@ class WatchlistScreeningSearchTerms # ID of the associated program. attr_accessor :watchlist_program_id - # The legal name of the individual being screened. + # The legal name of the individual being screened. Must have at least one alphabetical character, have a maximum length of 100 characters, and not include leading or trailing spaces. attr_accessor :legal_name # A date in the format YYYY-MM-DD (RFC 3339 Section 5.6). attr_accessor :date_of_birth - # The numeric or alphanumeric identifier associated with this document. + # The numeric or alphanumeric identifier associated with this document. Must be between 4 and 32 characters long, and cannot have leading or trailing spaces. attr_accessor :document_number # Valid, capitalized, two-letter ISO code representing the country of this object. Must be in ISO 3166-1 alpha-2 form. diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index 2faa3ed43..d4309267b 100644 --- a/lib/plaid/models/watchlist_screening_status.rb +++ b/lib/plaid/models/watchlist_screening_status.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/weak_alias_determination.rb b/lib/plaid/models/weak_alias_determination.rb index f8459387d..9985c6350 100644 --- a/lib/plaid/models/weak_alias_determination.rb +++ b/lib/plaid/models/weak_alias_determination.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_environment_values.rb b/lib/plaid/models/webhook_environment_values.rb index fe785bd21..13da24f8f 100644 --- a/lib/plaid/models/webhook_environment_values.rb +++ b/lib/plaid/models/webhook_environment_values.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_type.rb b/lib/plaid/models/webhook_type.rb index f2d5759db..3ffb65eaf 100644 --- a/lib/plaid/models/webhook_type.rb +++ b/lib/plaid/models/webhook_type.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_update_acknowledged_webhook.rb b/lib/plaid/models/webhook_update_acknowledged_webhook.rb index dc9c09c1a..b32248e27 100644 --- a/lib/plaid/models/webhook_update_acknowledged_webhook.rb +++ b/lib/plaid/models/webhook_update_acknowledged_webhook.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_verification_key_get_request.rb b/lib/plaid/models/webhook_verification_key_get_request.rb index f0a8bee93..42ac51a6a 100644 --- a/lib/plaid/models/webhook_verification_key_get_request.rb +++ b/lib/plaid/models/webhook_verification_key_get_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_verification_key_get_response.rb b/lib/plaid/models/webhook_verification_key_get_response.rb index 2412777a1..283d11541 100644 --- a/lib/plaid/models/webhook_verification_key_get_response.rb +++ b/lib/plaid/models/webhook_verification_key_get_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ytd_gross_income_summary_field_number.rb b/lib/plaid/models/ytd_gross_income_summary_field_number.rb index 898ffaa29..14d6211c1 100644 --- a/lib/plaid/models/ytd_gross_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_gross_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ytd_net_income_summary_field_number.rb b/lib/plaid/models/ytd_net_income_summary_field_number.rb index 4b19b2905..e796c10a2 100644 --- a/lib/plaid/models/ytd_net_income_summary_field_number.rb +++ b/lib/plaid/models/ytd_net_income_summary_field_number.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/version.rb b/lib/plaid/version.rb index 07451f1b4..8dc685bc4 100644 --- a/lib/plaid/version.rb +++ b/lib/plaid/version.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '30.0.0' + VERSION = '31.0.0' end diff --git a/plaid.gemspec b/plaid.gemspec index eee254076..5db22406b 100644 --- a/plaid.gemspec +++ b/plaid.gemspec @@ -5,7 +5,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.534.3 +The version of the OpenAPI document: 2020-09-14_1.555.0 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0