diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index eeda22acc3..f18f0d6e10 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -44,11 +44,13 @@ docs/AddressMatchScore.md docs/AddressNullable.md docs/AddressPurposeLabel.md docs/AffordabilityInsights.md +docs/Amount.md docs/AmountWithCurrency.md docs/AmountWithCurrencyWithMonthlyAverage.md docs/Application.md docs/ApplicationGetRequest.md docs/ApplicationGetResponse.md +docs/ApplicationLastDataAccessTimes.md docs/Asset.md docs/AssetDetail.md docs/AssetHolder.md @@ -248,6 +250,26 @@ docs/BeaconUserUpdateRequestData.md docs/BeaconUserUpdateResponse.md docs/BetaEwaReportV1GetRequest.md docs/BetaEwaReportV1GetResponse.md +docs/BetaIssuesV1GetRequest.md +docs/BetaIssuesV1GetResponse.md +docs/BetaIssuesV1Issue.md +docs/BetaIssuesV1IssueAttribution.md +docs/BetaIssuesV1IssueBehavior.md +docs/BetaIssuesV1IssueImpact.md +docs/BetaIssuesV1IssueResolutionEvent.md +docs/BetaIssuesV1IssueResolutionType.md +docs/BetaIssuesV1IssueSeverity.md +docs/BetaIssuesV1IssueStatus.md +docs/BetaIssuesV1IssueType.md +docs/BetaIssuesV1ListRequest.md +docs/BetaIssuesV1ListResponse.md +docs/BetaIssuesV1MatchIdentifierType.md +docs/BetaIssuesV1MatchRequest.md +docs/BetaIssuesV1MatchResponse.md +docs/BetaIssuesV1SubscribeRequest.md +docs/BetaIssuesV1SubscribeResponse.md +docs/BetaIssuesV1UnsubscribeRequest.md +docs/BetaIssuesV1UnsubscribeResponse.md docs/BetaPartnerCustomerV1CreateRequest.md docs/BetaPartnerCustomerV1CreateResponse.md docs/BetaPartnerCustomerV1EnableRequest.md @@ -258,6 +280,8 @@ docs/BetaPartnerCustomerV1UpdateRequest.md docs/BetaPartnerCustomerV1UpdateResponse.md docs/BetaPartnerEndCustomer.md docs/BetaPartnerEndCustomerWithSecrets.md +docs/BetaWebhookEventsListRequest.md +docs/BetaWebhookEventsListResponse.md docs/BusinessAccount.md docs/BusinessAccountAllOf.md docs/BusinessCheckBooleanStatus.md @@ -288,6 +312,14 @@ docs/BusinessWebsiteBuildStatus.md docs/BusinessWebsiteSSL.md docs/BusinessWhoisRecord.md docs/CRALoansRegisterRequest.md +docs/CashAdvanceDecisionOutcome.md +docs/CashAdvanceDetails.md +docs/CashAdvanceDetailsAmountApproved.md +docs/CashAdvanceDetailsAmountDue.md +docs/CashAdvanceRepayment.md +docs/CashAdvanceRepaymentAmountDue.md +docs/CashAdvanceRepaymentAmountPaid.md +docs/CashAdvanceRepaymentStatus.md docs/CashFlowInsight.md docs/CashFlowUpdatesEventWebhookCodes.md docs/CashFlowUpdatesExpectedDepositMissedWebhook.md @@ -383,6 +415,7 @@ docs/CraBankIncomeSummary.md docs/CraBankIncomeTransaction.md docs/CraBankIncomeWarning.md docs/CraBankIncomeWarningCode.md +docs/CraBaseReportProductConfig.md docs/CraCashflowInsightsReport.md docs/CraCheckReportBaseReportGetRequest.md docs/CraCheckReportBaseReportGetResponse.md @@ -440,8 +473,11 @@ docs/CraEmploymentRefreshReport.md docs/CraEmploymentRefreshReportAccount.md docs/CraEmploymentRefreshReportItem.md docs/CraEmploymentRefreshReportTransaction.md +docs/CraHomeLendingProduct.md docs/CraIncomeCategory.md docs/CraIncomeInsights.md +docs/CraIncomeInsightsProduct.md +docs/CraIncomeInsightsProductConfig.md docs/CraIncomeInsightsUserSummary.md docs/CraIncomeMetrics.md docs/CraIncomeNextPayment.md @@ -502,13 +538,43 @@ docs/CraPartnerInsightsUltraFicoScoreResult.md docs/CraPartnerInsightsUltraFicoScoreVersion.md docs/CraPredictionInterval.md docs/CraProjectedModeledIncome.md +docs/CraQualifyProduct.md +docs/CraQualifyProductConfig.md docs/CraReportDecisionStage.md +docs/CraReportGetHomeLendingAttributes.md +docs/CraReportGetHomeLendingCategoryIncome.md +docs/CraReportGetHomeLendingIncomeByCategories.md +docs/CraReportGetHomeLendingIncomeMetrics.md +docs/CraReportGetHomeLendingIncomeSources.md +docs/CraReportGetHomeLendingMetadata.md +docs/CraReportGetHomeLendingResponseProduct.md +docs/CraReportGetIncomeInsightsAttributes.md +docs/CraReportGetIncomeInsightsMetadata.md +docs/CraReportGetIncomeInsightsMetadataAllOf.md +docs/CraReportGetIncomeInsightsResponseProduct.md +docs/CraReportGetIncomeInsightsStream.md +docs/CraReportGetProductBaseMetadata.md +docs/CraReportGetQualifyResponseProduct.md docs/CraReportGetReport.md docs/CraReportGetRequest.md docs/CraReportGetRequestProduct.md docs/CraReportGetResponse.md docs/CraReportGetResponseProduct.md docs/CraReportScope.md +docs/CraServicingSubscription.md +docs/CraServicingSubscriptionCreateRequest.md +docs/CraServicingSubscriptionCreateResponse.md +docs/CraServicingSubscriptionDeleteRequest.md +docs/CraServicingSubscriptionDeleteResponse.md +docs/CraServicingSubscriptionGetRequest.md +docs/CraServicingSubscriptionGetResponse.md +docs/CraServicingSubscriptionListRequest.md +docs/CraServicingSubscriptionListResponse.md +docs/CraServicingSubscriptionUpdateRequest.md +docs/CraServicingSubscriptionUpdateRequestResettableField.md +docs/CraServicingSubscriptionUpdateResponse.md +docs/CraSubscriptionCadence.md +docs/CraSubscriptionProductConfig.md docs/CraUpgradeFailedWebhook.md docs/CraUserCheckReportFailedWebhook.md docs/CraUserCheckReportReadyWebhook.md @@ -683,6 +749,7 @@ docs/DepositoryFilter.md docs/DetailedOriginator.md docs/DetectedAccount.md docs/DeviceId.md +docs/DisconnectedApplication.md docs/DistributionBreakdown.md docs/DocType.md docs/DocumentAnalysis.md @@ -762,6 +829,7 @@ docs/FDXConsentRevocationRecord.md docs/FDXConsentRevocations.md docs/FDXContentTypes.md docs/FDXDataCluster.md +docs/FDXError.md docs/FDXEventStatus.md docs/FDXFiAttribute.md docs/FDXHateoasLink.md @@ -827,6 +895,11 @@ docs/IdentityDocumentsUploadsGetResponse.md docs/IdentityGetRequest.md docs/IdentityGetRequestOptions.md docs/IdentityGetResponse.md +docs/IdentityMatchListAttempt.md +docs/IdentityMatchListAttemptScore.md +docs/IdentityMatchListOutcome.md +docs/IdentityMatchListRequest.md +docs/IdentityMatchListResponse.md docs/IdentityMatchRequest.md docs/IdentityMatchRequestOptions.md docs/IdentityMatchResponse.md @@ -1017,7 +1090,6 @@ docs/KYCCheckDetailsInternationalAddress.md docs/KYCCheckIDNumberSummary.md docs/KYCCheckNameSummary.md docs/KYCCheckPhoneSummary.md -docs/LastDataAccessTimes.md docs/LatestScoredEvent.md docs/LayerAuthenticationPassedWebhook.md docs/LedgerEventSourceType.md @@ -1029,6 +1101,7 @@ docs/LiabilitiesGetResponse.md docs/LiabilitiesObject.md docs/LiabilityOverride.md docs/LimitedPurposeType.md +docs/LineOfCreditLiability.md docs/LinkCallbackMetadata.md docs/LinkDeliveryAccount.md docs/LinkDeliveryCallbackWebhook.md @@ -1124,11 +1197,16 @@ docs/LinkTokenTransactions.md docs/LinkUserDeliveryStatusWebhook.md docs/Loan.md docs/LoanAccountSubtype.md +docs/LoanCompoundingPeriod.md docs/LoanDisbursementsIndicators.md docs/LoanFilter.md docs/LoanIdentifier.md docs/LoanIdentifierType.md docs/LoanIdentifiers.md +docs/LoanInterestRate.md +docs/LoanInterestRateType.md +docs/LoanLiability.md +docs/LoanPaymentFrequency.md docs/LoanPaymentsCounts.md docs/LoanPaymentsIndicators.md docs/LoanPaymentsMerchantCounts.md @@ -1445,6 +1523,10 @@ docs/ProfileNetworkStatusGetResponse.md docs/ProgramNameSensitivity.md docs/ProjectedIncomeSummaryFieldNumber.md docs/ProtectBankAccount.md +docs/ProtectCashAdvanceDecisionCreateRequest.md +docs/ProtectCashAdvanceDecisionCreateResponse.md +docs/ProtectCashAdvanceRepaymentCreateRequest.md +docs/ProtectCashAdvanceRepaymentCreateResponse.md docs/ProtectComputeRequest.md docs/ProtectComputeResponse.md docs/ProtectComputeSubscores.md @@ -1542,6 +1624,10 @@ docs/SandboxBankTransferSimulateRequest.md docs/SandboxBankTransferSimulateResponse.md docs/SandboxCraCashflowUpdatesUpdateRequest.md docs/SandboxCraCashflowUpdatesUpdateResponse.md +docs/SandboxCraServicingSimulateErrorWebhookCode.md +docs/SandboxCraServicingSimulateRequest.md +docs/SandboxCraServicingSimulateRequestOptions.md +docs/SandboxCraServicingSimulateResponse.md docs/SandboxFdxConsentSeedRequest.md docs/SandboxFdxConsentSeedResponse.md docs/SandboxIncomeFireWebhookRequest.md @@ -1599,6 +1685,10 @@ docs/SandboxTransferTestClockGetRequest.md docs/SandboxTransferTestClockGetResponse.md docs/SandboxTransferTestClockListRequest.md docs/SandboxTransferTestClockListResponse.md +docs/SandboxUserFireWebhookCode.md +docs/SandboxUserFireWebhookRequest.md +docs/SandboxUserFireWebhookResponse.md +docs/SandboxUserFireWebhookType.md docs/SandboxUserResetLoginRequest.md docs/SandboxUserResetLoginResponse.md docs/Scopes.md @@ -1954,6 +2044,9 @@ docs/UserGetResponse.md docs/UserIDNumber.md docs/UserIdentityRemoveRequest.md docs/UserIdentityRemoveResponse.md +docs/UserIncomeVerificationRefreshReconnectNeededWebhook.md +docs/UserIncomeVerificationRiskSignalsStatusWebhook.md +docs/UserIncomeVerificationStatusWebhook.md docs/UserItemsAssociateRequest.md docs/UserItemsAssociateResponse.md docs/UserItemsGetRequest.md @@ -2078,6 +2171,8 @@ docs/WatchlistScreeningSearchTerms.md docs/WatchlistScreeningStatus.md docs/WeakAliasDetermination.md docs/WebhookEnvironmentValues.md +docs/WebhookEvent.md +docs/WebhookEventDeliveryStatus.md docs/WebhookType.md docs/WebhookUpdateAcknowledgedWebhook.md docs/WebhookVerificationKeyGetRequest.md @@ -2136,11 +2231,13 @@ lib/plaid/models/address_match_score.rb lib/plaid/models/address_nullable.rb lib/plaid/models/address_purpose_label.rb lib/plaid/models/affordability_insights.rb +lib/plaid/models/amount.rb lib/plaid/models/amount_with_currency.rb lib/plaid/models/amount_with_currency_with_monthly_average.rb lib/plaid/models/application.rb lib/plaid/models/application_get_request.rb lib/plaid/models/application_get_response.rb +lib/plaid/models/application_last_data_access_times.rb lib/plaid/models/apr.rb lib/plaid/models/asset.rb lib/plaid/models/asset_detail.rb @@ -2341,6 +2438,26 @@ lib/plaid/models/beacon_user_update_request_data.rb lib/plaid/models/beacon_user_update_response.rb lib/plaid/models/beta_ewa_report_v1_get_request.rb lib/plaid/models/beta_ewa_report_v1_get_response.rb +lib/plaid/models/beta_issues_v1_get_request.rb +lib/plaid/models/beta_issues_v1_get_response.rb +lib/plaid/models/beta_issues_v1_issue.rb +lib/plaid/models/beta_issues_v1_issue_attribution.rb +lib/plaid/models/beta_issues_v1_issue_behavior.rb +lib/plaid/models/beta_issues_v1_issue_impact.rb +lib/plaid/models/beta_issues_v1_issue_resolution_event.rb +lib/plaid/models/beta_issues_v1_issue_resolution_type.rb +lib/plaid/models/beta_issues_v1_issue_severity.rb +lib/plaid/models/beta_issues_v1_issue_status.rb +lib/plaid/models/beta_issues_v1_issue_type.rb +lib/plaid/models/beta_issues_v1_list_request.rb +lib/plaid/models/beta_issues_v1_list_response.rb +lib/plaid/models/beta_issues_v1_match_identifier_type.rb +lib/plaid/models/beta_issues_v1_match_request.rb +lib/plaid/models/beta_issues_v1_match_response.rb +lib/plaid/models/beta_issues_v1_subscribe_request.rb +lib/plaid/models/beta_issues_v1_subscribe_response.rb +lib/plaid/models/beta_issues_v1_unsubscribe_request.rb +lib/plaid/models/beta_issues_v1_unsubscribe_response.rb lib/plaid/models/beta_partner_customer_v1_create_request.rb lib/plaid/models/beta_partner_customer_v1_create_response.rb lib/plaid/models/beta_partner_customer_v1_enable_request.rb @@ -2351,6 +2468,8 @@ lib/plaid/models/beta_partner_customer_v1_update_request.rb lib/plaid/models/beta_partner_customer_v1_update_response.rb lib/plaid/models/beta_partner_end_customer.rb lib/plaid/models/beta_partner_end_customer_with_secrets.rb +lib/plaid/models/beta_webhook_events_list_request.rb +lib/plaid/models/beta_webhook_events_list_response.rb lib/plaid/models/business_account.rb lib/plaid/models/business_account_all_of.rb lib/plaid/models/business_check_boolean_status.rb @@ -2380,6 +2499,14 @@ lib/plaid/models/business_website_analysis.rb lib/plaid/models/business_website_build_status.rb lib/plaid/models/business_website_ssl.rb lib/plaid/models/business_whois_record.rb +lib/plaid/models/cash_advance_decision_outcome.rb +lib/plaid/models/cash_advance_details.rb +lib/plaid/models/cash_advance_details_amount_approved.rb +lib/plaid/models/cash_advance_details_amount_due.rb +lib/plaid/models/cash_advance_repayment.rb +lib/plaid/models/cash_advance_repayment_amount_due.rb +lib/plaid/models/cash_advance_repayment_amount_paid.rb +lib/plaid/models/cash_advance_repayment_status.rb lib/plaid/models/cash_flow_insight.rb lib/plaid/models/cash_flow_updates_event_webhook_codes.rb lib/plaid/models/cash_flow_updates_expected_deposit_missed_webhook.rb @@ -2475,6 +2602,7 @@ 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_product_config.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 @@ -2532,8 +2660,11 @@ lib/plaid/models/cra_employment_refresh_report.rb lib/plaid/models/cra_employment_refresh_report_account.rb lib/plaid/models/cra_employment_refresh_report_item.rb lib/plaid/models/cra_employment_refresh_report_transaction.rb +lib/plaid/models/cra_home_lending_product.rb lib/plaid/models/cra_income_category.rb lib/plaid/models/cra_income_insights.rb +lib/plaid/models/cra_income_insights_product.rb +lib/plaid/models/cra_income_insights_product_config.rb lib/plaid/models/cra_income_insights_user_summary.rb lib/plaid/models/cra_income_metrics.rb lib/plaid/models/cra_income_next_payment.rb @@ -2595,13 +2726,43 @@ lib/plaid/models/cra_partner_insights_ultra_fico_score_version.rb lib/plaid/models/cra_pdf_add_ons.rb lib/plaid/models/cra_prediction_interval.rb lib/plaid/models/cra_projected_modeled_income.rb +lib/plaid/models/cra_qualify_product.rb +lib/plaid/models/cra_qualify_product_config.rb lib/plaid/models/cra_report_decision_stage.rb +lib/plaid/models/cra_report_get_home_lending_attributes.rb +lib/plaid/models/cra_report_get_home_lending_category_income.rb +lib/plaid/models/cra_report_get_home_lending_income_by_categories.rb +lib/plaid/models/cra_report_get_home_lending_income_metrics.rb +lib/plaid/models/cra_report_get_home_lending_income_sources.rb +lib/plaid/models/cra_report_get_home_lending_metadata.rb +lib/plaid/models/cra_report_get_home_lending_response_product.rb +lib/plaid/models/cra_report_get_income_insights_attributes.rb +lib/plaid/models/cra_report_get_income_insights_metadata.rb +lib/plaid/models/cra_report_get_income_insights_metadata_all_of.rb +lib/plaid/models/cra_report_get_income_insights_response_product.rb +lib/plaid/models/cra_report_get_income_insights_stream.rb +lib/plaid/models/cra_report_get_product_base_metadata.rb +lib/plaid/models/cra_report_get_qualify_response_product.rb lib/plaid/models/cra_report_get_report.rb lib/plaid/models/cra_report_get_request.rb lib/plaid/models/cra_report_get_request_product.rb lib/plaid/models/cra_report_get_response.rb lib/plaid/models/cra_report_get_response_product.rb lib/plaid/models/cra_report_scope.rb +lib/plaid/models/cra_servicing_subscription.rb +lib/plaid/models/cra_servicing_subscription_create_request.rb +lib/plaid/models/cra_servicing_subscription_create_response.rb +lib/plaid/models/cra_servicing_subscription_delete_request.rb +lib/plaid/models/cra_servicing_subscription_delete_response.rb +lib/plaid/models/cra_servicing_subscription_get_request.rb +lib/plaid/models/cra_servicing_subscription_get_response.rb +lib/plaid/models/cra_servicing_subscription_list_request.rb +lib/plaid/models/cra_servicing_subscription_list_response.rb +lib/plaid/models/cra_servicing_subscription_update_request.rb +lib/plaid/models/cra_servicing_subscription_update_request_resettable_field.rb +lib/plaid/models/cra_servicing_subscription_update_response.rb +lib/plaid/models/cra_subscription_cadence.rb +lib/plaid/models/cra_subscription_product_config.rb lib/plaid/models/cra_upgrade_failed_webhook.rb lib/plaid/models/cra_user_check_report_failed_webhook.rb lib/plaid/models/cra_user_check_report_ready_webhook.rb @@ -2776,6 +2937,7 @@ lib/plaid/models/depository_filter.rb lib/plaid/models/detailed_originator.rb lib/plaid/models/detected_account.rb lib/plaid/models/device_id.rb +lib/plaid/models/disconnected_application.rb lib/plaid/models/distribution_breakdown.rb lib/plaid/models/doc_type.rb lib/plaid/models/document_analysis.rb @@ -2857,6 +3019,7 @@ lib/plaid/models/fdx_consent_revocation_record.rb lib/plaid/models/fdx_consent_revocations.rb lib/plaid/models/fdx_content_types.rb lib/plaid/models/fdx_data_cluster.rb +lib/plaid/models/fdx_error.rb lib/plaid/models/fdx_event_status.rb lib/plaid/models/fdx_hateoas_link.rb lib/plaid/models/fdx_hateoas_link_action.rb @@ -2918,6 +3081,11 @@ lib/plaid/models/identity_documents_uploads_get_response.rb lib/plaid/models/identity_get_request.rb lib/plaid/models/identity_get_request_options.rb lib/plaid/models/identity_get_response.rb +lib/plaid/models/identity_match_list_attempt.rb +lib/plaid/models/identity_match_list_attempt_score.rb +lib/plaid/models/identity_match_list_outcome.rb +lib/plaid/models/identity_match_list_request.rb +lib/plaid/models/identity_match_list_response.rb lib/plaid/models/identity_match_request.rb lib/plaid/models/identity_match_request_options.rb lib/plaid/models/identity_match_response.rb @@ -3110,7 +3278,6 @@ 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 -lib/plaid/models/last_data_access_times.rb lib/plaid/models/latest_scored_event.rb lib/plaid/models/layer_authentication_passed_webhook.rb lib/plaid/models/ledger_event_source_type.rb @@ -3122,6 +3289,7 @@ lib/plaid/models/liabilities_get_response.rb lib/plaid/models/liabilities_object.rb lib/plaid/models/liability_override.rb lib/plaid/models/limited_purpose_type.rb +lib/plaid/models/line_of_credit_liability.rb lib/plaid/models/link_callback_metadata.rb lib/plaid/models/link_delivery_account.rb lib/plaid/models/link_delivery_callback_webhook.rb @@ -3217,11 +3385,16 @@ lib/plaid/models/link_token_transactions.rb lib/plaid/models/link_user_delivery_status_webhook.rb lib/plaid/models/loan.rb lib/plaid/models/loan_account_subtype.rb +lib/plaid/models/loan_compounding_period.rb lib/plaid/models/loan_disbursements_indicators.rb 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_interest_rate.rb +lib/plaid/models/loan_interest_rate_type.rb +lib/plaid/models/loan_liability.rb +lib/plaid/models/loan_payment_frequency.rb lib/plaid/models/loan_payments_counts.rb lib/plaid/models/loan_payments_indicators.rb lib/plaid/models/loan_payments_merchant_counts.rb @@ -3536,6 +3709,10 @@ lib/plaid/models/profile_network_status_get_response.rb lib/plaid/models/program_name_sensitivity.rb lib/plaid/models/projected_income_summary_field_number.rb lib/plaid/models/protect_bank_account.rb +lib/plaid/models/protect_cash_advance_decision_create_request.rb +lib/plaid/models/protect_cash_advance_decision_create_response.rb +lib/plaid/models/protect_cash_advance_repayment_create_request.rb +lib/plaid/models/protect_cash_advance_repayment_create_response.rb lib/plaid/models/protect_compute_request.rb lib/plaid/models/protect_compute_response.rb lib/plaid/models/protect_compute_subscores.rb @@ -3632,6 +3809,10 @@ lib/plaid/models/sandbox_bank_transfer_simulate_request.rb lib/plaid/models/sandbox_bank_transfer_simulate_response.rb lib/plaid/models/sandbox_cra_cashflow_updates_update_request.rb lib/plaid/models/sandbox_cra_cashflow_updates_update_response.rb +lib/plaid/models/sandbox_cra_servicing_simulate_error_webhook_code.rb +lib/plaid/models/sandbox_cra_servicing_simulate_request.rb +lib/plaid/models/sandbox_cra_servicing_simulate_request_options.rb +lib/plaid/models/sandbox_cra_servicing_simulate_response.rb lib/plaid/models/sandbox_fdx_consent_seed_request.rb lib/plaid/models/sandbox_fdx_consent_seed_response.rb lib/plaid/models/sandbox_income_fire_webhook_request.rb @@ -3689,6 +3870,10 @@ lib/plaid/models/sandbox_transfer_test_clock_get_request.rb lib/plaid/models/sandbox_transfer_test_clock_get_response.rb lib/plaid/models/sandbox_transfer_test_clock_list_request.rb lib/plaid/models/sandbox_transfer_test_clock_list_response.rb +lib/plaid/models/sandbox_user_fire_webhook_code.rb +lib/plaid/models/sandbox_user_fire_webhook_request.rb +lib/plaid/models/sandbox_user_fire_webhook_response.rb +lib/plaid/models/sandbox_user_fire_webhook_type.rb lib/plaid/models/sandbox_user_reset_login_request.rb lib/plaid/models/sandbox_user_reset_login_response.rb lib/plaid/models/scopes.rb @@ -4046,6 +4231,9 @@ lib/plaid/models/user_get_response.rb lib/plaid/models/user_id_number.rb lib/plaid/models/user_identity_remove_request.rb lib/plaid/models/user_identity_remove_response.rb +lib/plaid/models/user_income_verification_refresh_reconnect_needed_webhook.rb +lib/plaid/models/user_income_verification_risk_signals_status_webhook.rb +lib/plaid/models/user_income_verification_status_webhook.rb lib/plaid/models/user_items_associate_request.rb lib/plaid/models/user_items_associate_response.rb lib/plaid/models/user_items_get_request.rb @@ -4170,6 +4358,8 @@ lib/plaid/models/watchlist_screening_search_terms.rb lib/plaid/models/watchlist_screening_status.rb lib/plaid/models/weak_alias_determination.rb lib/plaid/models/webhook_environment_values.rb +lib/plaid/models/webhook_event.rb +lib/plaid/models/webhook_event_delivery_status.rb lib/plaid/models/webhook_type.rb lib/plaid/models/webhook_update_acknowledged_webhook.rb lib/plaid/models/webhook_verification_key_get_request.rb diff --git a/CHANGELOG.md b/CHANGELOG.md index 437af4ba92..51c538c408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,201 @@ See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md). +# 50.0.0 +- Updating to OAS 2020-09-14_1.729.1 + +## OpenAPI Schema Changes +### 2020-09-14_1.729.1 + +- Clarified the description of `merchant_category_code` on the Transaction object. The field is not populated for every transaction. + +### 2020-09-14_1.729.0 + +- Add the private `session_group_id` field to `SESSION_FINISHED` webhook payloads for related Layer sessions. + +### 2020-09-14_1.728.2 + +- Give `cra_income_insights` a typed attributes/metadata schema on `/cra/report/get`, matching `cra_home_lending`. Extract the fields common to every product's metadata into a shared schema, and make `generated_time` and the transaction/income-stream date fields nullable instead of defaulting to the Unix epoch when unset. +- Demote a non-ISO `iso_currency_code` to `unofficial_currency_code` on `cra_home_lending`'s `/cra/report/get` response too, matching the validation already applied to `cra_income_insights`. + +### 2020-09-14_1.728.1 + +- Document that `investment_transactions[].transaction_datetime` defaults its time component to `T00:00:00Z` when the institution provides only a date, and that this does not mean the order was initiated at midnight UTC. + +### 2020-09-14_1.728.0 + +- [Breaking] Remove the `access_token` field from the `/protect/cash_advance/decision/create` and `/protect/cash_advance/repayment/create` request bodies. + +- Add `issue_error_type` and `issue_error_code` to beta issue objects so each issue can identify the API error customers may encounter. + +### 2020-09-14_1.727.4 + +- Add `apy` to the account override object on `/sandbox/public_token/create` and `/sandbox/item/reset_login`, allowing a custom Sandbox account to report a specific annual percentage yield. + +### 2020-09-14_1.727.3 + +- Expose the CRA servicing subscription endpoints (`/cra/servicing/subscription/create`, `/cra/servicing/subscription/delete`, `/cra/servicing/subscription/get`, `/cra/servicing/subscription/list`, `/cra/servicing/subscription/update`) and `/sandbox/cra/servicing/simulate` in public documentation, along with their request and response schemas. The `x-private-visibility` and `x-hidden-from-docs` flags set when these endpoints were added pre-GA are removed; their request/response shapes are unchanged. + +### 2020-09-14_1.727.2 + +### 2020-09-14_1.727.1 + +### 2020-09-14_1.727.0 + +- Add `loan` and `line_of_credit` liability objects to `/liabilities/get`. +- Add the `installment`, `charge card`, `home equity loan`, and `commercial line of credit` account subtypes. +- Add `penalty_apr` as a credit APR type. + +### 2020-09-14_1.726.0 + +- [Breaking] Remove the `CraProductConfig` union and replace it with `CraSubscriptionProductConfig`, which is discriminated on `product` over the same per-product models. The CRA servicing subscription endpoints that use it remain hidden from public documentation. + +### 2020-09-14_1.725.0 + +- Add per-product CRA product models in two forms: `CraProductConfig`, which carries the product, its version, and the options it is configured with, and `CraProduct`, which names the product and version alone. Both are collected into the `CraProductConfig` and `CraProduct` unions, discriminated on `product`. No endpoint references them yet. + +### 2020-09-14_1.724.0 + +- Add the hidden `session_group_id` field to Link success metadata for related Layer sessions. + +### 2020-09-14_1.723.0 + +- Add the hidden beta `/beta/issues/v1/list`, `/beta/issues/v1/match`, `/beta/issues/v1/subscribe`, and `/beta/issues/v1/unsubscribe` endpoints for discovering institution issues and managing resolution webhook subscriptions. + +### 2020-09-14_1.721.1 + +- Add `apy` to Account objects when the financial institution provides the annual percentage yield on an interest-bearing deposit account. + +### 2020-09-14_1.721.0 + +- Add `/protect/cash_advance/decision/create` and `/protect/cash_advance/repayment/create` for reporting Cash Advance Index decision and repayment feedback. + +### 2020-09-14_1.720.0 + +- Add `/identity/match/list` to return a paginated history of Link-originated Identity Match attempts with `PASS`, `FAIL`, and `UNKNOWN` outcomes. + +### 2020-09-14_1.719.1 + +- Added `TRANSFER_OUT` to the list of possible Virtual Account transaction types. + +### 2020-09-14_1.719.0 + +- `/item/import` no longer requires `products` or `user_auth.auth_token`. Neither was ever checked for callers who authenticate with `user_auth.user_id`. `user_auth.auth_token` and `options` are now deprecated, and `institution_id` documents when it needs to be sent. Existing integrations that send any of these fields continue to work. + +### 2020-09-14_1.718.1 + +- Add `webull` to the `processor` enum on `/processor/token/create`, for creating processor tokens for the Webull integration. + +### 2020-09-14_1.718.0 + +- Add `USER_INCOME_VERIFICATION` and `USER_INCOME_VERIFICATION_RISK_SIGNALS` to `/sandbox/income/fire_webhook` so New User API integrations can trigger test webhooks with a public `user_id`. + +### 2020-09-14_1.717.0 + +- [Breaking for Go] Allow `user_id` in place of `user_token` on `/credit/payroll_income/refresh` and `/credit/employment/get`. Existing integrations can continue to use `user_token`. + +### 2020-09-14_1.716.3 + +- Added `prediction market` as an investment account subtype. + +### 2020-09-14_1.716.2 + +- Document `/user/items/associate` in the public API reference, for associating Items with a `user_id`. Items already associated with a different `user_id` are reassociated with the target User, and a single request can associate up to 100 Items. + +### 2020-09-14_1.716.1 + +- Add `user_id` field to the `/payment_initiation/payment/create`, `/payment_initiation/consent/create` and `/wallet/transaction/execute` endpoints. + +### 2020-09-14_1.716.0 + +- [Breaking] Rename the `/beta/issues/v1/get` impact fields from `affected_new_connection_count` and `affected_existing_connection_count` to `affected_new_item_count` and `affected_existing_item_count`. + +### 2020-09-14_1.715.6 + +- internal changes only + +### 2020-09-14_1.715.5 + +- Add `merchant_category_code` to the Transaction object on `/transactions/get` and `/transactions/sync`. This is the merchant category code reported by the financial institution, normalized to four digits. It is populated only where the institution sends one, typically card purchases. + +### 2020-09-14_1.715.4 + +- Correct Investments sample responses so `cost_basis` represents total acquisition cost and vested assets are associated only with equities. + +### 2020-09-14_1.715.3 + +- Document the `USER_INCOME_VERIFICATION`, `USER_INCOME_VERIFICATION_RISK_SIGNALS`, and `USER_INCOME_VERIFICATION_REFRESH_RECONNECT_NEEDED` webhooks in the public OpenAPI schema for Income integrations using the User API. +- Add `bizcap` to the `processor` enum on `/processor/token/create`, for creating processor tokens for the BizCap integration. + +### 2020-09-14_1.715.2 + +- Remove the obsolete `/protect/event/get` instruction from the `PROTECT_USER_EVENT` webhook description. + +### 2020-09-14_1.715.1 + +- internal changes only + +### 2020-09-14_1.715.0 + +- Add `/sandbox/user/fire_webhook` for firing test webhooks associated with a user rather than an Item. Identify the user with a `user_id` (or a `user_token`, for integrations that predate the [New User APIs](https://plaid.com/docs/api/users/user-apis)) and pass the destination URL as `webhook`. Supported `webhook_code` values are `USER_CHECK_REPORT_READY`, `USER_CHECK_REPORT_FAILED`, `CHECK_REPORT_READY`, and `CHECK_REPORT_FAILED`. + +### 2020-09-14_1.714.0 + +- [Breaking] Allow `user_id` in place of `user_token` on `/credit/sessions/get`, `/credit/bank_income/get`, `/credit/bank_income/pdf/get`, `/credit/bank_statements/uploads/get`, `/credit/payroll_income/get`, `/credit/payroll_income/risk_signals/get`, and `/credit/payroll_income/parsing_config/update`. Existing integrations can continue to use `user_token`. + +### 2020-09-14_1.713.2 + +- Restore the legacy nested `subscores` field on Protect `TrustIndex` and private Cognito responses. +- Add `cybrid` to the `processor` enum on `/processor/token/create`, for creating processor tokens for the Cybrid integration. + +### 2020-09-14_1.713.1 + +- Add `airwallex` to the `processor` enum on `/processor/token/create`, for creating processor tokens for the Airwallex integration. + +### 2020-09-14_1.713.0 + +- [Breaking] Remove the legacy nested `subscores` field from Protect `TrustIndex` responses. Per-amount-bucket subscores on `/protect/compute` are unchanged. + +### 2020-09-14_1.712.0 + +- [Breaking] Correct Identity Match score objects to be non-null, with nullable inner fields when matching data is unavailable. + +### 2020-09-14_1.711.0 + +- Add the hidden beta `/beta/issues/v1/get` endpoint for retrieving public institution issue details by issue ID. + +### 2020-09-14_1.710.0 + +- internal changes only + +### 2020-09-14_1.709.4 +- Add `tax_lots` to investment holdings in `/cra/check_report/verification/get` responses, returning per-lot acquisition data when provided by the institution. + +### 2020-09-14_1.709.3 +- Add `tax_lots` to investment holdings in `/asset_report/get` responses, returning per-lot acquisition data when provided by the institution. + +### 2020-09-14_1.709.2 + +- Expose `/fdx/recipients` and `/fdx/recipient/{recipientId}` in public documentation, and clarify their descriptions and example values. The `x-hidden-from-docs` flag set when these endpoints were added pre-GA is removed; their request/response shapes are unchanged. + +### 2020-09-14_1.709.1 + +- Clarify that `notes` are optional for `OTHER` Protect reports. + +### 2020-09-14_1.709.0 + +- internal changes only + +### 2020-09-14_1.708.3 +- Add `cra_home_lending` to the `Products` enum. + +### 2020-09-14_1.708.2 + +- internal changes only + +### 2020-09-14_1.708.1 + +- Add `USER_INCOME_VERIFICATION`, `USER_INCOME_VERIFICATION_RISK_SIGNALS`, and `USER_INCOME_VERIFICATION_REFRESH_RECONNECT_NEEDED` webhooks for Income customers integrated with the new User APIs. + # 49.0.0 - Updating to OAS 2020-09-14_1.708.0 diff --git a/Makefile b/Makefile index 02ee8a4c83..04ec206565 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=49.0.0 +RUBY_PACKAGE_VERSION=50.0.0 .PHONY: release release: diff --git a/lib/plaid.rb b/lib/plaid.rb index da7ef1b40d..802edf4eee 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -63,11 +63,13 @@ Plaid.autoload :AddressNullable, 'plaid/models/address_nullable' Plaid.autoload :AddressPurposeLabel, 'plaid/models/address_purpose_label' Plaid.autoload :AffordabilityInsights, 'plaid/models/affordability_insights' +Plaid.autoload :Amount, 'plaid/models/amount' Plaid.autoload :AmountWithCurrency, 'plaid/models/amount_with_currency' Plaid.autoload :AmountWithCurrencyWithMonthlyAverage, 'plaid/models/amount_with_currency_with_monthly_average' Plaid.autoload :Application, 'plaid/models/application' Plaid.autoload :ApplicationGetRequest, 'plaid/models/application_get_request' Plaid.autoload :ApplicationGetResponse, 'plaid/models/application_get_response' +Plaid.autoload :ApplicationLastDataAccessTimes, 'plaid/models/application_last_data_access_times' Plaid.autoload :Asset, 'plaid/models/asset' Plaid.autoload :AssetDetail, 'plaid/models/asset_detail' Plaid.autoload :AssetHolder, 'plaid/models/asset_holder' @@ -267,6 +269,26 @@ Plaid.autoload :BeaconUserUpdateResponse, 'plaid/models/beacon_user_update_response' Plaid.autoload :BetaEwaReportV1GetRequest, 'plaid/models/beta_ewa_report_v1_get_request' Plaid.autoload :BetaEwaReportV1GetResponse, 'plaid/models/beta_ewa_report_v1_get_response' +Plaid.autoload :BetaIssuesV1GetRequest, 'plaid/models/beta_issues_v1_get_request' +Plaid.autoload :BetaIssuesV1GetResponse, 'plaid/models/beta_issues_v1_get_response' +Plaid.autoload :BetaIssuesV1Issue, 'plaid/models/beta_issues_v1_issue' +Plaid.autoload :BetaIssuesV1IssueAttribution, 'plaid/models/beta_issues_v1_issue_attribution' +Plaid.autoload :BetaIssuesV1IssueBehavior, 'plaid/models/beta_issues_v1_issue_behavior' +Plaid.autoload :BetaIssuesV1IssueImpact, 'plaid/models/beta_issues_v1_issue_impact' +Plaid.autoload :BetaIssuesV1IssueResolutionEvent, 'plaid/models/beta_issues_v1_issue_resolution_event' +Plaid.autoload :BetaIssuesV1IssueResolutionType, 'plaid/models/beta_issues_v1_issue_resolution_type' +Plaid.autoload :BetaIssuesV1IssueSeverity, 'plaid/models/beta_issues_v1_issue_severity' +Plaid.autoload :BetaIssuesV1IssueStatus, 'plaid/models/beta_issues_v1_issue_status' +Plaid.autoload :BetaIssuesV1IssueType, 'plaid/models/beta_issues_v1_issue_type' +Plaid.autoload :BetaIssuesV1ListRequest, 'plaid/models/beta_issues_v1_list_request' +Plaid.autoload :BetaIssuesV1ListResponse, 'plaid/models/beta_issues_v1_list_response' +Plaid.autoload :BetaIssuesV1MatchIdentifierType, 'plaid/models/beta_issues_v1_match_identifier_type' +Plaid.autoload :BetaIssuesV1MatchRequest, 'plaid/models/beta_issues_v1_match_request' +Plaid.autoload :BetaIssuesV1MatchResponse, 'plaid/models/beta_issues_v1_match_response' +Plaid.autoload :BetaIssuesV1SubscribeRequest, 'plaid/models/beta_issues_v1_subscribe_request' +Plaid.autoload :BetaIssuesV1SubscribeResponse, 'plaid/models/beta_issues_v1_subscribe_response' +Plaid.autoload :BetaIssuesV1UnsubscribeRequest, 'plaid/models/beta_issues_v1_unsubscribe_request' +Plaid.autoload :BetaIssuesV1UnsubscribeResponse, 'plaid/models/beta_issues_v1_unsubscribe_response' Plaid.autoload :BetaPartnerCustomerV1CreateRequest, 'plaid/models/beta_partner_customer_v1_create_request' Plaid.autoload :BetaPartnerCustomerV1CreateResponse, 'plaid/models/beta_partner_customer_v1_create_response' Plaid.autoload :BetaPartnerCustomerV1EnableRequest, 'plaid/models/beta_partner_customer_v1_enable_request' @@ -277,6 +299,8 @@ Plaid.autoload :BetaPartnerCustomerV1UpdateResponse, 'plaid/models/beta_partner_customer_v1_update_response' Plaid.autoload :BetaPartnerEndCustomer, 'plaid/models/beta_partner_end_customer' Plaid.autoload :BetaPartnerEndCustomerWithSecrets, 'plaid/models/beta_partner_end_customer_with_secrets' +Plaid.autoload :BetaWebhookEventsListRequest, 'plaid/models/beta_webhook_events_list_request' +Plaid.autoload :BetaWebhookEventsListResponse, 'plaid/models/beta_webhook_events_list_response' Plaid.autoload :BusinessAccount, 'plaid/models/business_account' Plaid.autoload :BusinessAccountAllOf, 'plaid/models/business_account_all_of' Plaid.autoload :BusinessCheckBooleanStatus, 'plaid/models/business_check_boolean_status' @@ -307,6 +331,14 @@ Plaid.autoload :BusinessWebsiteSSL, 'plaid/models/business_website_ssl' Plaid.autoload :BusinessWhoisRecord, 'plaid/models/business_whois_record' Plaid.autoload :CRALoansRegisterRequest, 'plaid/models/cra_loans_register_request' +Plaid.autoload :CashAdvanceDecisionOutcome, 'plaid/models/cash_advance_decision_outcome' +Plaid.autoload :CashAdvanceDetails, 'plaid/models/cash_advance_details' +Plaid.autoload :CashAdvanceDetailsAmountApproved, 'plaid/models/cash_advance_details_amount_approved' +Plaid.autoload :CashAdvanceDetailsAmountDue, 'plaid/models/cash_advance_details_amount_due' +Plaid.autoload :CashAdvanceRepayment, 'plaid/models/cash_advance_repayment' +Plaid.autoload :CashAdvanceRepaymentAmountDue, 'plaid/models/cash_advance_repayment_amount_due' +Plaid.autoload :CashAdvanceRepaymentAmountPaid, 'plaid/models/cash_advance_repayment_amount_paid' +Plaid.autoload :CashAdvanceRepaymentStatus, 'plaid/models/cash_advance_repayment_status' Plaid.autoload :CashFlowInsight, 'plaid/models/cash_flow_insight' Plaid.autoload :CashFlowUpdatesEventWebhookCodes, 'plaid/models/cash_flow_updates_event_webhook_codes' Plaid.autoload :CashFlowUpdatesExpectedDepositMissedWebhook, 'plaid/models/cash_flow_updates_expected_deposit_missed_webhook' @@ -402,6 +434,7 @@ 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 :CraBaseReportProductConfig, 'plaid/models/cra_base_report_product_config' 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' @@ -459,8 +492,11 @@ Plaid.autoload :CraEmploymentRefreshReportAccount, 'plaid/models/cra_employment_refresh_report_account' Plaid.autoload :CraEmploymentRefreshReportItem, 'plaid/models/cra_employment_refresh_report_item' Plaid.autoload :CraEmploymentRefreshReportTransaction, 'plaid/models/cra_employment_refresh_report_transaction' +Plaid.autoload :CraHomeLendingProduct, 'plaid/models/cra_home_lending_product' Plaid.autoload :CraIncomeCategory, 'plaid/models/cra_income_category' Plaid.autoload :CraIncomeInsights, 'plaid/models/cra_income_insights' +Plaid.autoload :CraIncomeInsightsProduct, 'plaid/models/cra_income_insights_product' +Plaid.autoload :CraIncomeInsightsProductConfig, 'plaid/models/cra_income_insights_product_config' Plaid.autoload :CraIncomeInsightsUserSummary, 'plaid/models/cra_income_insights_user_summary' Plaid.autoload :CraIncomeMetrics, 'plaid/models/cra_income_metrics' Plaid.autoload :CraIncomeNextPayment, 'plaid/models/cra_income_next_payment' @@ -521,13 +557,43 @@ Plaid.autoload :CraPartnerInsightsUltraFicoScoreVersion, 'plaid/models/cra_partner_insights_ultra_fico_score_version' Plaid.autoload :CraPredictionInterval, 'plaid/models/cra_prediction_interval' Plaid.autoload :CraProjectedModeledIncome, 'plaid/models/cra_projected_modeled_income' +Plaid.autoload :CraQualifyProduct, 'plaid/models/cra_qualify_product' +Plaid.autoload :CraQualifyProductConfig, 'plaid/models/cra_qualify_product_config' Plaid.autoload :CraReportDecisionStage, 'plaid/models/cra_report_decision_stage' +Plaid.autoload :CraReportGetHomeLendingAttributes, 'plaid/models/cra_report_get_home_lending_attributes' +Plaid.autoload :CraReportGetHomeLendingCategoryIncome, 'plaid/models/cra_report_get_home_lending_category_income' +Plaid.autoload :CraReportGetHomeLendingIncomeByCategories, 'plaid/models/cra_report_get_home_lending_income_by_categories' +Plaid.autoload :CraReportGetHomeLendingIncomeMetrics, 'plaid/models/cra_report_get_home_lending_income_metrics' +Plaid.autoload :CraReportGetHomeLendingIncomeSources, 'plaid/models/cra_report_get_home_lending_income_sources' +Plaid.autoload :CraReportGetHomeLendingMetadata, 'plaid/models/cra_report_get_home_lending_metadata' +Plaid.autoload :CraReportGetHomeLendingResponseProduct, 'plaid/models/cra_report_get_home_lending_response_product' +Plaid.autoload :CraReportGetIncomeInsightsAttributes, 'plaid/models/cra_report_get_income_insights_attributes' +Plaid.autoload :CraReportGetIncomeInsightsMetadata, 'plaid/models/cra_report_get_income_insights_metadata' +Plaid.autoload :CraReportGetIncomeInsightsMetadataAllOf, 'plaid/models/cra_report_get_income_insights_metadata_all_of' +Plaid.autoload :CraReportGetIncomeInsightsResponseProduct, 'plaid/models/cra_report_get_income_insights_response_product' +Plaid.autoload :CraReportGetIncomeInsightsStream, 'plaid/models/cra_report_get_income_insights_stream' +Plaid.autoload :CraReportGetProductBaseMetadata, 'plaid/models/cra_report_get_product_base_metadata' +Plaid.autoload :CraReportGetQualifyResponseProduct, 'plaid/models/cra_report_get_qualify_response_product' Plaid.autoload :CraReportGetReport, 'plaid/models/cra_report_get_report' Plaid.autoload :CraReportGetRequest, 'plaid/models/cra_report_get_request' Plaid.autoload :CraReportGetRequestProduct, 'plaid/models/cra_report_get_request_product' Plaid.autoload :CraReportGetResponse, 'plaid/models/cra_report_get_response' Plaid.autoload :CraReportGetResponseProduct, 'plaid/models/cra_report_get_response_product' Plaid.autoload :CraReportScope, 'plaid/models/cra_report_scope' +Plaid.autoload :CraServicingSubscription, 'plaid/models/cra_servicing_subscription' +Plaid.autoload :CraServicingSubscriptionCreateRequest, 'plaid/models/cra_servicing_subscription_create_request' +Plaid.autoload :CraServicingSubscriptionCreateResponse, 'plaid/models/cra_servicing_subscription_create_response' +Plaid.autoload :CraServicingSubscriptionDeleteRequest, 'plaid/models/cra_servicing_subscription_delete_request' +Plaid.autoload :CraServicingSubscriptionDeleteResponse, 'plaid/models/cra_servicing_subscription_delete_response' +Plaid.autoload :CraServicingSubscriptionGetRequest, 'plaid/models/cra_servicing_subscription_get_request' +Plaid.autoload :CraServicingSubscriptionGetResponse, 'plaid/models/cra_servicing_subscription_get_response' +Plaid.autoload :CraServicingSubscriptionListRequest, 'plaid/models/cra_servicing_subscription_list_request' +Plaid.autoload :CraServicingSubscriptionListResponse, 'plaid/models/cra_servicing_subscription_list_response' +Plaid.autoload :CraServicingSubscriptionUpdateRequest, 'plaid/models/cra_servicing_subscription_update_request' +Plaid.autoload :CraServicingSubscriptionUpdateRequestResettableField, 'plaid/models/cra_servicing_subscription_update_request_resettable_field' +Plaid.autoload :CraServicingSubscriptionUpdateResponse, 'plaid/models/cra_servicing_subscription_update_response' +Plaid.autoload :CraSubscriptionCadence, 'plaid/models/cra_subscription_cadence' +Plaid.autoload :CraSubscriptionProductConfig, 'plaid/models/cra_subscription_product_config' Plaid.autoload :CraUpgradeFailedWebhook, 'plaid/models/cra_upgrade_failed_webhook' Plaid.autoload :CraUserCheckReportFailedWebhook, 'plaid/models/cra_user_check_report_failed_webhook' Plaid.autoload :CraUserCheckReportReadyWebhook, 'plaid/models/cra_user_check_report_ready_webhook' @@ -702,6 +768,7 @@ Plaid.autoload :DetailedOriginator, 'plaid/models/detailed_originator' Plaid.autoload :DetectedAccount, 'plaid/models/detected_account' Plaid.autoload :DeviceId, 'plaid/models/device_id' +Plaid.autoload :DisconnectedApplication, 'plaid/models/disconnected_application' Plaid.autoload :DistributionBreakdown, 'plaid/models/distribution_breakdown' Plaid.autoload :DocType, 'plaid/models/doc_type' Plaid.autoload :DocumentAnalysis, 'plaid/models/document_analysis' @@ -781,6 +848,7 @@ Plaid.autoload :FDXConsentRevocations, 'plaid/models/fdx_consent_revocations' Plaid.autoload :FDXContentTypes, 'plaid/models/fdx_content_types' Plaid.autoload :FDXDataCluster, 'plaid/models/fdx_data_cluster' +Plaid.autoload :FDXError, 'plaid/models/fdx_error' Plaid.autoload :FDXEventStatus, 'plaid/models/fdx_event_status' Plaid.autoload :FDXFiAttribute, 'plaid/models/fdxfi_attribute' Plaid.autoload :FDXHateoasLink, 'plaid/models/fdx_hateoas_link' @@ -846,6 +914,11 @@ Plaid.autoload :IdentityGetRequest, 'plaid/models/identity_get_request' Plaid.autoload :IdentityGetRequestOptions, 'plaid/models/identity_get_request_options' Plaid.autoload :IdentityGetResponse, 'plaid/models/identity_get_response' +Plaid.autoload :IdentityMatchListAttempt, 'plaid/models/identity_match_list_attempt' +Plaid.autoload :IdentityMatchListAttemptScore, 'plaid/models/identity_match_list_attempt_score' +Plaid.autoload :IdentityMatchListOutcome, 'plaid/models/identity_match_list_outcome' +Plaid.autoload :IdentityMatchListRequest, 'plaid/models/identity_match_list_request' +Plaid.autoload :IdentityMatchListResponse, 'plaid/models/identity_match_list_response' Plaid.autoload :IdentityMatchRequest, 'plaid/models/identity_match_request' Plaid.autoload :IdentityMatchRequestOptions, 'plaid/models/identity_match_request_options' Plaid.autoload :IdentityMatchResponse, 'plaid/models/identity_match_response' @@ -1036,7 +1109,6 @@ 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' -Plaid.autoload :LastDataAccessTimes, 'plaid/models/last_data_access_times' Plaid.autoload :LatestScoredEvent, 'plaid/models/latest_scored_event' Plaid.autoload :LayerAuthenticationPassedWebhook, 'plaid/models/layer_authentication_passed_webhook' Plaid.autoload :LedgerEventSourceType, 'plaid/models/ledger_event_source_type' @@ -1048,6 +1120,7 @@ Plaid.autoload :LiabilitiesObject, 'plaid/models/liabilities_object' Plaid.autoload :LiabilityOverride, 'plaid/models/liability_override' Plaid.autoload :LimitedPurposeType, 'plaid/models/limited_purpose_type' +Plaid.autoload :LineOfCreditLiability, 'plaid/models/line_of_credit_liability' Plaid.autoload :LinkCallbackMetadata, 'plaid/models/link_callback_metadata' Plaid.autoload :LinkDeliveryAccount, 'plaid/models/link_delivery_account' Plaid.autoload :LinkDeliveryCallbackWebhook, 'plaid/models/link_delivery_callback_webhook' @@ -1143,11 +1216,16 @@ Plaid.autoload :LinkUserDeliveryStatusWebhook, 'plaid/models/link_user_delivery_status_webhook' Plaid.autoload :Loan, 'plaid/models/loan' Plaid.autoload :LoanAccountSubtype, 'plaid/models/loan_account_subtype' +Plaid.autoload :LoanCompoundingPeriod, 'plaid/models/loan_compounding_period' Plaid.autoload :LoanDisbursementsIndicators, 'plaid/models/loan_disbursements_indicators' Plaid.autoload :LoanFilter, 'plaid/models/loan_filter' Plaid.autoload :LoanIdentifier, 'plaid/models/loan_identifier' Plaid.autoload :LoanIdentifierType, 'plaid/models/loan_identifier_type' Plaid.autoload :LoanIdentifiers, 'plaid/models/loan_identifiers' +Plaid.autoload :LoanInterestRate, 'plaid/models/loan_interest_rate' +Plaid.autoload :LoanInterestRateType, 'plaid/models/loan_interest_rate_type' +Plaid.autoload :LoanLiability, 'plaid/models/loan_liability' +Plaid.autoload :LoanPaymentFrequency, 'plaid/models/loan_payment_frequency' Plaid.autoload :LoanPaymentsCounts, 'plaid/models/loan_payments_counts' Plaid.autoload :LoanPaymentsIndicators, 'plaid/models/loan_payments_indicators' Plaid.autoload :LoanPaymentsMerchantCounts, 'plaid/models/loan_payments_merchant_counts' @@ -1463,6 +1541,10 @@ Plaid.autoload :ProgramNameSensitivity, 'plaid/models/program_name_sensitivity' Plaid.autoload :ProjectedIncomeSummaryFieldNumber, 'plaid/models/projected_income_summary_field_number' Plaid.autoload :ProtectBankAccount, 'plaid/models/protect_bank_account' +Plaid.autoload :ProtectCashAdvanceDecisionCreateRequest, 'plaid/models/protect_cash_advance_decision_create_request' +Plaid.autoload :ProtectCashAdvanceDecisionCreateResponse, 'plaid/models/protect_cash_advance_decision_create_response' +Plaid.autoload :ProtectCashAdvanceRepaymentCreateRequest, 'plaid/models/protect_cash_advance_repayment_create_request' +Plaid.autoload :ProtectCashAdvanceRepaymentCreateResponse, 'plaid/models/protect_cash_advance_repayment_create_response' Plaid.autoload :ProtectComputeRequest, 'plaid/models/protect_compute_request' Plaid.autoload :ProtectComputeResponse, 'plaid/models/protect_compute_response' Plaid.autoload :ProtectComputeSubscores, 'plaid/models/protect_compute_subscores' @@ -1560,6 +1642,10 @@ Plaid.autoload :SandboxBankTransferSimulateResponse, 'plaid/models/sandbox_bank_transfer_simulate_response' Plaid.autoload :SandboxCraCashflowUpdatesUpdateRequest, 'plaid/models/sandbox_cra_cashflow_updates_update_request' Plaid.autoload :SandboxCraCashflowUpdatesUpdateResponse, 'plaid/models/sandbox_cra_cashflow_updates_update_response' +Plaid.autoload :SandboxCraServicingSimulateErrorWebhookCode, 'plaid/models/sandbox_cra_servicing_simulate_error_webhook_code' +Plaid.autoload :SandboxCraServicingSimulateRequest, 'plaid/models/sandbox_cra_servicing_simulate_request' +Plaid.autoload :SandboxCraServicingSimulateRequestOptions, 'plaid/models/sandbox_cra_servicing_simulate_request_options' +Plaid.autoload :SandboxCraServicingSimulateResponse, 'plaid/models/sandbox_cra_servicing_simulate_response' Plaid.autoload :SandboxFdxConsentSeedRequest, 'plaid/models/sandbox_fdx_consent_seed_request' Plaid.autoload :SandboxFdxConsentSeedResponse, 'plaid/models/sandbox_fdx_consent_seed_response' Plaid.autoload :SandboxIncomeFireWebhookRequest, 'plaid/models/sandbox_income_fire_webhook_request' @@ -1617,6 +1703,10 @@ Plaid.autoload :SandboxTransferTestClockGetResponse, 'plaid/models/sandbox_transfer_test_clock_get_response' Plaid.autoload :SandboxTransferTestClockListRequest, 'plaid/models/sandbox_transfer_test_clock_list_request' Plaid.autoload :SandboxTransferTestClockListResponse, 'plaid/models/sandbox_transfer_test_clock_list_response' +Plaid.autoload :SandboxUserFireWebhookCode, 'plaid/models/sandbox_user_fire_webhook_code' +Plaid.autoload :SandboxUserFireWebhookRequest, 'plaid/models/sandbox_user_fire_webhook_request' +Plaid.autoload :SandboxUserFireWebhookResponse, 'plaid/models/sandbox_user_fire_webhook_response' +Plaid.autoload :SandboxUserFireWebhookType, 'plaid/models/sandbox_user_fire_webhook_type' Plaid.autoload :SandboxUserResetLoginRequest, 'plaid/models/sandbox_user_reset_login_request' Plaid.autoload :SandboxUserResetLoginResponse, 'plaid/models/sandbox_user_reset_login_response' Plaid.autoload :Scopes, 'plaid/models/scopes' @@ -1972,6 +2062,9 @@ Plaid.autoload :UserIDNumber, 'plaid/models/user_id_number' Plaid.autoload :UserIdentityRemoveRequest, 'plaid/models/user_identity_remove_request' Plaid.autoload :UserIdentityRemoveResponse, 'plaid/models/user_identity_remove_response' +Plaid.autoload :UserIncomeVerificationRefreshReconnectNeededWebhook, 'plaid/models/user_income_verification_refresh_reconnect_needed_webhook' +Plaid.autoload :UserIncomeVerificationRiskSignalsStatusWebhook, 'plaid/models/user_income_verification_risk_signals_status_webhook' +Plaid.autoload :UserIncomeVerificationStatusWebhook, 'plaid/models/user_income_verification_status_webhook' Plaid.autoload :UserItemsAssociateRequest, 'plaid/models/user_items_associate_request' Plaid.autoload :UserItemsAssociateResponse, 'plaid/models/user_items_associate_response' Plaid.autoload :UserItemsGetRequest, 'plaid/models/user_items_get_request' @@ -2096,6 +2189,8 @@ Plaid.autoload :WatchlistScreeningStatus, 'plaid/models/watchlist_screening_status' Plaid.autoload :WeakAliasDetermination, 'plaid/models/weak_alias_determination' Plaid.autoload :WebhookEnvironmentValues, 'plaid/models/webhook_environment_values' +Plaid.autoload :WebhookEvent, 'plaid/models/webhook_event' +Plaid.autoload :WebhookEventDeliveryStatus, 'plaid/models/webhook_event_delivery_status' Plaid.autoload :WebhookType, 'plaid/models/webhook_type' Plaid.autoload :WebhookUpdateAcknowledgedWebhook, 'plaid/models/webhook_update_acknowledged_webhook' Plaid.autoload :WebhookVerificationKeyGetRequest, 'plaid/models/webhook_verification_key_get_request' diff --git a/lib/plaid/api/plaid_api.rb b/lib/plaid/api/plaid_api.rb index 4ce9c42a0a..12553d4727 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -768,7 +768,7 @@ def asset_report_pdf_get_with_http_info(asset_report_pdf_get_request, opts = {}) end # Refresh an Asset Report - # An Asset Report is an immutable snapshot of a user's assets. In order to \"refresh\" an Asset Report you created previously, you can use the `/asset_report/refresh` endpoint to create a new Asset Report based on the old one, but with the most recent data available. The new Asset Report will contain the same Items as the original Report, as well as the same filters applied by any call to `/asset_report/filter`. By default, the new Asset Report will also use the same parameters you submitted with your original `/asset_report/create` request, but the original `days_requested` value and the values of any parameters in the `options` object can be overridden with new values. To change these arguments, simply supply new values for them in your request to `/asset_report/refresh`. Submit an empty string (\"\") for any previously-populated fields you would like set as empty. + # An Asset Report is an immutable snapshot of a user's assets. In order to \"refresh\" an Asset Report you created previously, you can use the `/asset_report/refresh` endpoint to create a new Asset Report based on the old one, but with the most recent data available. The new Asset Report will contain the same Items as the original Report, as well as the same filters applied by any call to `/asset_report/filter`. By default, the new Asset Report will also use the same parameters you submitted with your original `/asset_report/create` request, but the original `days_requested` value and the values of any parameters in the `options` object can be overridden with new values. To change these arguments, simply supply new values for them in your request to `/asset_report/refresh`. Submit an empty string (\"\") for any previously-populated fields you would like set as empty. Note: Asset Report refresh is not supported in Canada. # @param asset_report_refresh_request [AssetReportRefreshRequest] # @param [Hash] opts the optional parameters # @return [AssetReportRefreshResponse] @@ -778,7 +778,7 @@ def asset_report_refresh(asset_report_refresh_request, opts = {}) end # Refresh an Asset Report - # An Asset Report is an immutable snapshot of a user's assets. In order to \"refresh\" an Asset Report you created previously, you can use the `/asset_report/refresh` endpoint to create a new Asset Report based on the old one, but with the most recent data available. The new Asset Report will contain the same Items as the original Report, as well as the same filters applied by any call to `/asset_report/filter`. By default, the new Asset Report will also use the same parameters you submitted with your original `/asset_report/create` request, but the original `days_requested` value and the values of any parameters in the `options` object can be overridden with new values. To change these arguments, simply supply new values for them in your request to `/asset_report/refresh`. Submit an empty string (\"\") for any previously-populated fields you would like set as empty. + # An Asset Report is an immutable snapshot of a user's assets. In order to \"refresh\" an Asset Report you created previously, you can use the `/asset_report/refresh` endpoint to create a new Asset Report based on the old one, but with the most recent data available. The new Asset Report will contain the same Items as the original Report, as well as the same filters applied by any call to `/asset_report/filter`. By default, the new Asset Report will also use the same parameters you submitted with your original `/asset_report/create` request, but the original `days_requested` value and the values of any parameters in the `options` object can be overridden with new values. To change these arguments, simply supply new values for them in your request to `/asset_report/refresh`. Submit an empty string (\"\") for any previously-populated fields you would like set as empty. Note: Asset Report refresh is not supported in Canada. # @param asset_report_refresh_request [AssetReportRefreshRequest] # @param [Hash] opts the optional parameters # @return [Array<(AssetReportRefreshResponse, Integer, Hash)>] AssetReportRefreshResponse data, response status code and response headers @@ -2671,6 +2671,346 @@ def beta_ewa_report_v1_get_with_http_info(beta_ewa_report_v1_get_request, opts = return data, status_code, headers end + # Get an issue + # Retrieve the latest public details for a specific institution issue. + # @param beta_issues_v1_get_request [BetaIssuesV1GetRequest] + # @param [Hash] opts the optional parameters + # @return [BetaIssuesV1GetResponse] + def beta_issues_v1_get(beta_issues_v1_get_request, opts = {}) + data, _status_code, _headers = beta_issues_v1_get_with_http_info(beta_issues_v1_get_request, opts) + data + end + + # Get an issue + # Retrieve the latest public details for a specific institution issue. + # @param beta_issues_v1_get_request [BetaIssuesV1GetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaIssuesV1GetResponse, Integer, Hash)>] BetaIssuesV1GetResponse data, response status code and response headers + def beta_issues_v1_get_with_http_info(beta_issues_v1_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_issues_v1_get ...' + end + # verify the required parameter 'beta_issues_v1_get_request' is set + if @api_client.config.client_side_validation && beta_issues_v1_get_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_issues_v1_get_request' when calling PlaidApi.beta_issues_v1_get" + end + # resource path + local_var_path = '/beta/issues/v1/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(beta_issues_v1_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'BetaIssuesV1GetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_issues_v1_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#beta_issues_v1_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # List institution issues + # Retrieve high-severity issues for an institution. + # @param beta_issues_v1_list_request [BetaIssuesV1ListRequest] + # @param [Hash] opts the optional parameters + # @return [BetaIssuesV1ListResponse] + def beta_issues_v1_list(beta_issues_v1_list_request, opts = {}) + data, _status_code, _headers = beta_issues_v1_list_with_http_info(beta_issues_v1_list_request, opts) + data + end + + # List institution issues + # Retrieve high-severity issues for an institution. + # @param beta_issues_v1_list_request [BetaIssuesV1ListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaIssuesV1ListResponse, Integer, Hash)>] BetaIssuesV1ListResponse data, response status code and response headers + def beta_issues_v1_list_with_http_info(beta_issues_v1_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_issues_v1_list ...' + end + # verify the required parameter 'beta_issues_v1_list_request' is set + if @api_client.config.client_side_validation && beta_issues_v1_list_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_issues_v1_list_request' when calling PlaidApi.beta_issues_v1_list" + end + # resource path + local_var_path = '/beta/issues/v1/list' + + # 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(beta_issues_v1_list_request) + + # return_type + return_type = opts[:debug_return_type] || 'BetaIssuesV1ListResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_issues_v1_list", + :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#beta_issues_v1_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Match an Item to issues + # Match a Plaid identifier to institution issues that affect it. + # @param beta_issues_v1_match_request [BetaIssuesV1MatchRequest] + # @param [Hash] opts the optional parameters + # @return [BetaIssuesV1MatchResponse] + def beta_issues_v1_match(beta_issues_v1_match_request, opts = {}) + data, _status_code, _headers = beta_issues_v1_match_with_http_info(beta_issues_v1_match_request, opts) + data + end + + # Match an Item to issues + # Match a Plaid identifier to institution issues that affect it. + # @param beta_issues_v1_match_request [BetaIssuesV1MatchRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaIssuesV1MatchResponse, Integer, Hash)>] BetaIssuesV1MatchResponse data, response status code and response headers + def beta_issues_v1_match_with_http_info(beta_issues_v1_match_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_issues_v1_match ...' + end + # verify the required parameter 'beta_issues_v1_match_request' is set + if @api_client.config.client_side_validation && beta_issues_v1_match_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_issues_v1_match_request' when calling PlaidApi.beta_issues_v1_match" + end + # resource path + local_var_path = '/beta/issues/v1/match' + + # 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(beta_issues_v1_match_request) + + # return_type + return_type = opts[:debug_return_type] || 'BetaIssuesV1MatchResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_issues_v1_match", + :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#beta_issues_v1_match\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Subscribe to an issue + # Subscribe a webhook URL to resolution notifications for an institution issue. + # @param beta_issues_v1_subscribe_request [BetaIssuesV1SubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [BetaIssuesV1SubscribeResponse] + def beta_issues_v1_subscribe(beta_issues_v1_subscribe_request, opts = {}) + data, _status_code, _headers = beta_issues_v1_subscribe_with_http_info(beta_issues_v1_subscribe_request, opts) + data + end + + # Subscribe to an issue + # Subscribe a webhook URL to resolution notifications for an institution issue. + # @param beta_issues_v1_subscribe_request [BetaIssuesV1SubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaIssuesV1SubscribeResponse, Integer, Hash)>] BetaIssuesV1SubscribeResponse data, response status code and response headers + def beta_issues_v1_subscribe_with_http_info(beta_issues_v1_subscribe_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_issues_v1_subscribe ...' + end + # verify the required parameter 'beta_issues_v1_subscribe_request' is set + if @api_client.config.client_side_validation && beta_issues_v1_subscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_issues_v1_subscribe_request' when calling PlaidApi.beta_issues_v1_subscribe" + end + # resource path + local_var_path = '/beta/issues/v1/subscribe' + + # 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(beta_issues_v1_subscribe_request) + + # return_type + return_type = opts[:debug_return_type] || 'BetaIssuesV1SubscribeResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_issues_v1_subscribe", + :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#beta_issues_v1_subscribe\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Unsubscribe from an issue + # Remove the client's subscription to resolution notifications for an institution issue. + # @param beta_issues_v1_unsubscribe_request [BetaIssuesV1UnsubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [BetaIssuesV1UnsubscribeResponse] + def beta_issues_v1_unsubscribe(beta_issues_v1_unsubscribe_request, opts = {}) + data, _status_code, _headers = beta_issues_v1_unsubscribe_with_http_info(beta_issues_v1_unsubscribe_request, opts) + data + end + + # Unsubscribe from an issue + # Remove the client's subscription to resolution notifications for an institution issue. + # @param beta_issues_v1_unsubscribe_request [BetaIssuesV1UnsubscribeRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaIssuesV1UnsubscribeResponse, Integer, Hash)>] BetaIssuesV1UnsubscribeResponse data, response status code and response headers + def beta_issues_v1_unsubscribe_with_http_info(beta_issues_v1_unsubscribe_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_issues_v1_unsubscribe ...' + end + # verify the required parameter 'beta_issues_v1_unsubscribe_request' is set + if @api_client.config.client_side_validation && beta_issues_v1_unsubscribe_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_issues_v1_unsubscribe_request' when calling PlaidApi.beta_issues_v1_unsubscribe" + end + # resource path + local_var_path = '/beta/issues/v1/unsubscribe' + + # 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(beta_issues_v1_unsubscribe_request) + + # return_type + return_type = opts[:debug_return_type] || 'BetaIssuesV1UnsubscribeResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_issues_v1_unsubscribe", + :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#beta_issues_v1_unsubscribe\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 `/beta/partner/customer/v1/create` endpoint creates a new end customer record. You can provide as much information as you have available. If any required information is missing for the products you intend to use, it will be listed in the `requirements_due` field of the response. # @param beta_partner_customer_v1_create_request [BetaPartnerCustomerV1CreateRequest] @@ -2918,16 +3258,84 @@ def beta_partner_customer_v1_update_with_http_info(request_body, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body) + post_body = opts[:debug_body] || @api_client.object_to_http_body(request_body) + + # return_type + return_type = opts[:debug_return_type] || 'BetaPartnerCustomerV1UpdateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.beta_partner_customer_v1_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#beta_partner_customer_v1_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # List webhook events + # The `/beta/webhook_events/list` endpoint returns webhook events Plaid sent to the calling client within the last 7 days. Results are ordered by `sent_time` ascending and cursor paginated so clients can recover missed webhook deliveries and deduplicate on `webhook_message_id`. Filtering is optional. When multiple filter fields are set (`webhook_types`, `webhook_codes`, `item_ids`, `delivery_statuses`), they are combined with AND across fields and OR within each array (for example, `webhook_types: [\"TRANSACTIONS\", \"ITEM\"]` matches either type). Recommended pagination workflow: 1. First call: omit `cursor`, and optionally set `start_time` within the last 7 days (or omit `start_time` to begin at the oldest retained event). 2. Subsequent calls: pass `next_cursor` as `cursor`. Do not send `start_time` with `cursor` — the two fields are mutually exclusive. 3. Persist `next_cursor` even when `has_more` is `false`, then reuse it on the next poll so you only receive events newer than what you have already seen. 4. If a stored cursor is older than the 7-day retention window, the API returns `WEBHOOK_EVENTS_CURSOR_EXPIRED`; restart with a `start_time` within the last 7 days. Events older than the retention window are no longer available. + # @param beta_webhook_events_list_request [BetaWebhookEventsListRequest] + # @param [Hash] opts the optional parameters + # @return [BetaWebhookEventsListResponse] + def beta_webhook_events_list(beta_webhook_events_list_request, opts = {}) + data, _status_code, _headers = beta_webhook_events_list_with_http_info(beta_webhook_events_list_request, opts) + data + end + + # List webhook events + # The `/beta/webhook_events/list` endpoint returns webhook events Plaid sent to the calling client within the last 7 days. Results are ordered by `sent_time` ascending and cursor paginated so clients can recover missed webhook deliveries and deduplicate on `webhook_message_id`. Filtering is optional. When multiple filter fields are set (`webhook_types`, `webhook_codes`, `item_ids`, `delivery_statuses`), they are combined with AND across fields and OR within each array (for example, `webhook_types: [\"TRANSACTIONS\", \"ITEM\"]` matches either type). Recommended pagination workflow: 1. First call: omit `cursor`, and optionally set `start_time` within the last 7 days (or omit `start_time` to begin at the oldest retained event). 2. Subsequent calls: pass `next_cursor` as `cursor`. Do not send `start_time` with `cursor` — the two fields are mutually exclusive. 3. Persist `next_cursor` even when `has_more` is `false`, then reuse it on the next poll so you only receive events newer than what you have already seen. 4. If a stored cursor is older than the 7-day retention window, the API returns `WEBHOOK_EVENTS_CURSOR_EXPIRED`; restart with a `start_time` within the last 7 days. Events older than the retention window are no longer available. + # @param beta_webhook_events_list_request [BetaWebhookEventsListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(BetaWebhookEventsListResponse, Integer, Hash)>] BetaWebhookEventsListResponse data, response status code and response headers + def beta_webhook_events_list_with_http_info(beta_webhook_events_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.beta_webhook_events_list ...' + end + # verify the required parameter 'beta_webhook_events_list_request' is set + if @api_client.config.client_side_validation && beta_webhook_events_list_request.nil? + fail ArgumentError, "Missing the required parameter 'beta_webhook_events_list_request' when calling PlaidApi.beta_webhook_events_list" + end + # resource path + local_var_path = '/beta/webhook_events/list' + + # 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(beta_webhook_events_list_request) # return_type - return_type = opts[:debug_return_type] || 'BetaPartnerCustomerV1UpdateResponse' + return_type = opts[:debug_return_type] || 'BetaWebhookEventsListResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.beta_partner_customer_v1_update", + :operation => :"PlaidApi.beta_webhook_events_list", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -2938,7 +3346,7 @@ def beta_partner_customer_v1_update_with_http_info(request_body, 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#beta_partner_customer_v1_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#beta_webhook_events_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -3692,7 +4100,7 @@ def cra_check_report_cashflow_insights_get_with_http_info(cra_check_report_cashf end # Refresh or create a Consumer Report - # Use `/cra/check_report/create` to refresh data in an existing report. A Consumer Report will last for 24 hours before expiring; you should call any `/get` endpoints on the report before it expires. If a report expires, you can call `/cra/check_report/create` again to re-generate it and refresh the data in the report. + # Use `/cra/check_report/create` to refresh data in an existing report. A Consumer Report will last for 24 hours before expiring; you should call any `/get` endpoints on the report before it expires. If a report expires, you can call `/cra/check_report/create` again to re-generate it and refresh the data in the report. The report is generated from all Items associated with the user, excluding [duplicate Items](https://plaid.com/docs/check/add-to-app/#duplicate-items) and Items that cannot supply data. Each call to `/cra/check_report/create` creates a new, independent report. `/get` endpoints will retrieve the most recently created report for the requested user. # @param cra_check_report_create_request [CraCheckReportCreateRequest] # @param [Hash] opts the optional parameters # @return [CraCheckReportCreateResponse] @@ -3702,7 +4110,7 @@ def cra_check_report_create(cra_check_report_create_request, opts = {}) end # Refresh or create a Consumer Report - # Use `/cra/check_report/create` to refresh data in an existing report. A Consumer Report will last for 24 hours before expiring; you should call any `/get` endpoints on the report before it expires. If a report expires, you can call `/cra/check_report/create` again to re-generate it and refresh the data in the report. + # Use `/cra/check_report/create` to refresh data in an existing report. A Consumer Report will last for 24 hours before expiring; you should call any `/get` endpoints on the report before it expires. If a report expires, you can call `/cra/check_report/create` again to re-generate it and refresh the data in the report. The report is generated from all Items associated with the user, excluding [duplicate Items](https://plaid.com/docs/check/add-to-app/#duplicate-items) and Items that cannot supply data. Each call to `/cra/check_report/create` creates a new, independent report. `/get` endpoints will retrieve the most recently created report for the requested user. # @param cra_check_report_create_request [CraCheckReportCreateRequest] # @param [Hash] opts the optional parameters # @return [Array<(CraCheckReportCreateResponse, Integer, Hash)>] CraCheckReportCreateResponse data, response status code and response headers @@ -4857,21 +5265,361 @@ def cra_report_get(cra_report_get_request, opts = {}) data end - # Retrieve a CRA Report for provided user - # `/cra/report/get` retrieves a CRA Report for a user. - # @param cra_report_get_request [CraReportGetRequest] + # Retrieve a CRA Report for provided user + # `/cra/report/get` retrieves a CRA Report for a user. + # @param cra_report_get_request [CraReportGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraReportGetResponse, Integer, Hash)>] CraReportGetResponse data, response status code and response headers + def cra_report_get_with_http_info(cra_report_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_report_get ...' + end + # verify the required parameter 'cra_report_get_request' is set + if @api_client.config.client_side_validation && cra_report_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_report_get_request' when calling PlaidApi.cra_report_get" + end + # resource path + local_var_path = '/cra/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_report_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraReportGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_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_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Create a CRA servicing subscription + # `/cra/servicing/subscription/create` subscribes a user to CRA report-update webhooks for a given scope. + # @param cra_servicing_subscription_create_request [CraServicingSubscriptionCreateRequest] + # @param [Hash] opts the optional parameters + # @return [CraServicingSubscriptionCreateResponse] + def cra_servicing_subscription_create(cra_servicing_subscription_create_request, opts = {}) + data, _status_code, _headers = cra_servicing_subscription_create_with_http_info(cra_servicing_subscription_create_request, opts) + data + end + + # Create a CRA servicing subscription + # `/cra/servicing/subscription/create` subscribes a user to CRA report-update webhooks for a given scope. + # @param cra_servicing_subscription_create_request [CraServicingSubscriptionCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraServicingSubscriptionCreateResponse, Integer, Hash)>] CraServicingSubscriptionCreateResponse data, response status code and response headers + def cra_servicing_subscription_create_with_http_info(cra_servicing_subscription_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_servicing_subscription_create ...' + end + # verify the required parameter 'cra_servicing_subscription_create_request' is set + if @api_client.config.client_side_validation && cra_servicing_subscription_create_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_servicing_subscription_create_request' when calling PlaidApi.cra_servicing_subscription_create" + end + # resource path + local_var_path = '/cra/servicing/subscription/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_servicing_subscription_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraServicingSubscriptionCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_servicing_subscription_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_servicing_subscription_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Delete a CRA servicing subscription + # `/cra/servicing/subscription/delete` removes the CRA servicing subscription identified by `subscription_id`. + # @param cra_servicing_subscription_delete_request [CraServicingSubscriptionDeleteRequest] + # @param [Hash] opts the optional parameters + # @return [CraServicingSubscriptionDeleteResponse] + def cra_servicing_subscription_delete(cra_servicing_subscription_delete_request, opts = {}) + data, _status_code, _headers = cra_servicing_subscription_delete_with_http_info(cra_servicing_subscription_delete_request, opts) + data + end + + # Delete a CRA servicing subscription + # `/cra/servicing/subscription/delete` removes the CRA servicing subscription identified by `subscription_id`. + # @param cra_servicing_subscription_delete_request [CraServicingSubscriptionDeleteRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraServicingSubscriptionDeleteResponse, Integer, Hash)>] CraServicingSubscriptionDeleteResponse data, response status code and response headers + def cra_servicing_subscription_delete_with_http_info(cra_servicing_subscription_delete_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_servicing_subscription_delete ...' + end + # verify the required parameter 'cra_servicing_subscription_delete_request' is set + if @api_client.config.client_side_validation && cra_servicing_subscription_delete_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_servicing_subscription_delete_request' when calling PlaidApi.cra_servicing_subscription_delete" + end + # resource path + local_var_path = '/cra/servicing/subscription/delete' + + # 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_servicing_subscription_delete_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraServicingSubscriptionDeleteResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_servicing_subscription_delete", + :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_servicing_subscription_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Get a CRA servicing subscription + # `/cra/servicing/subscription/get` returns the CRA servicing subscription identified by `subscription_id`. + # @param cra_servicing_subscription_get_request [CraServicingSubscriptionGetRequest] + # @param [Hash] opts the optional parameters + # @return [CraServicingSubscriptionGetResponse] + def cra_servicing_subscription_get(cra_servicing_subscription_get_request, opts = {}) + data, _status_code, _headers = cra_servicing_subscription_get_with_http_info(cra_servicing_subscription_get_request, opts) + data + end + + # Get a CRA servicing subscription + # `/cra/servicing/subscription/get` returns the CRA servicing subscription identified by `subscription_id`. + # @param cra_servicing_subscription_get_request [CraServicingSubscriptionGetRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraServicingSubscriptionGetResponse, Integer, Hash)>] CraServicingSubscriptionGetResponse data, response status code and response headers + def cra_servicing_subscription_get_with_http_info(cra_servicing_subscription_get_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_servicing_subscription_get ...' + end + # verify the required parameter 'cra_servicing_subscription_get_request' is set + if @api_client.config.client_side_validation && cra_servicing_subscription_get_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_servicing_subscription_get_request' when calling PlaidApi.cra_servicing_subscription_get" + end + # resource path + local_var_path = '/cra/servicing/subscription/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_servicing_subscription_get_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraServicingSubscriptionGetResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_servicing_subscription_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_servicing_subscription_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # List a user's CRA servicing subscriptions + # `/cra/servicing/subscription/list` returns all CRA servicing subscriptions for a user, across scopes. + # @param cra_servicing_subscription_list_request [CraServicingSubscriptionListRequest] + # @param [Hash] opts the optional parameters + # @return [CraServicingSubscriptionListResponse] + def cra_servicing_subscription_list(cra_servicing_subscription_list_request, opts = {}) + data, _status_code, _headers = cra_servicing_subscription_list_with_http_info(cra_servicing_subscription_list_request, opts) + data + end + + # List a user's CRA servicing subscriptions + # `/cra/servicing/subscription/list` returns all CRA servicing subscriptions for a user, across scopes. + # @param cra_servicing_subscription_list_request [CraServicingSubscriptionListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(CraServicingSubscriptionListResponse, Integer, Hash)>] CraServicingSubscriptionListResponse data, response status code and response headers + def cra_servicing_subscription_list_with_http_info(cra_servicing_subscription_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_servicing_subscription_list ...' + end + # verify the required parameter 'cra_servicing_subscription_list_request' is set + if @api_client.config.client_side_validation && cra_servicing_subscription_list_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_servicing_subscription_list_request' when calling PlaidApi.cra_servicing_subscription_list" + end + # resource path + local_var_path = '/cra/servicing/subscription/list' + + # 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_servicing_subscription_list_request) + + # return_type + return_type = opts[:debug_return_type] || 'CraServicingSubscriptionListResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.cra_servicing_subscription_list", + :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_servicing_subscription_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Update a CRA servicing subscription + # `/cra/servicing/subscription/update` modifies an existing CRA servicing subscription. Fields left blank are unchanged; provided fields overwrite the current value. Use `reset_fields` to clear fields. + # @param cra_servicing_subscription_update_request [CraServicingSubscriptionUpdateRequest] + # @param [Hash] opts the optional parameters + # @return [CraServicingSubscriptionUpdateResponse] + def cra_servicing_subscription_update(cra_servicing_subscription_update_request, opts = {}) + data, _status_code, _headers = cra_servicing_subscription_update_with_http_info(cra_servicing_subscription_update_request, opts) + data + end + + # Update a CRA servicing subscription + # `/cra/servicing/subscription/update` modifies an existing CRA servicing subscription. Fields left blank are unchanged; provided fields overwrite the current value. Use `reset_fields` to clear fields. + # @param cra_servicing_subscription_update_request [CraServicingSubscriptionUpdateRequest] # @param [Hash] opts the optional parameters - # @return [Array<(CraReportGetResponse, Integer, Hash)>] CraReportGetResponse data, response status code and response headers - def cra_report_get_with_http_info(cra_report_get_request, opts = {}) + # @return [Array<(CraServicingSubscriptionUpdateResponse, Integer, Hash)>] CraServicingSubscriptionUpdateResponse data, response status code and response headers + def cra_servicing_subscription_update_with_http_info(cra_servicing_subscription_update_request, opts = {}) if @api_client.config.debugging - @api_client.config.logger.debug 'Calling API: PlaidApi.cra_report_get ...' + @api_client.config.logger.debug 'Calling API: PlaidApi.cra_servicing_subscription_update ...' end - # verify the required parameter 'cra_report_get_request' is set - if @api_client.config.client_side_validation && cra_report_get_request.nil? - fail ArgumentError, "Missing the required parameter 'cra_report_get_request' when calling PlaidApi.cra_report_get" + # verify the required parameter 'cra_servicing_subscription_update_request' is set + if @api_client.config.client_side_validation && cra_servicing_subscription_update_request.nil? + fail ArgumentError, "Missing the required parameter 'cra_servicing_subscription_update_request' when calling PlaidApi.cra_servicing_subscription_update" end # resource path - local_var_path = '/cra/report/get' + local_var_path = '/cra/servicing/subscription/update' # query parameters query_params = opts[:query_params] || {} @@ -4890,16 +5638,16 @@ def cra_report_get_with_http_info(cra_report_get_request, opts = {}) form_params = opts[:form_params] || {} # http body (model) - post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_report_get_request) + post_body = opts[:debug_body] || @api_client.object_to_http_body(cra_servicing_subscription_update_request) # return_type - return_type = opts[:debug_return_type] || 'CraReportGetResponse' + return_type = opts[:debug_return_type] || 'CraServicingSubscriptionUpdateResponse' # auth_names auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] new_options = opts.merge( - :operation => :"PlaidApi.cra_report_get", + :operation => :"PlaidApi.cra_servicing_subscription_update", :header_params => header_params, :query_params => query_params, :form_params => form_params, @@ -4910,7 +5658,7 @@ def cra_report_get_with_http_info(cra_report_get_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_report_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + @api_client.config.logger.debug "API called: PlaidApi#cra_servicing_subscription_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end @@ -6819,9 +7567,9 @@ def employment_verification_get_with_http_info(employment_verification_get_reque return data, status_code, headers end - # Get FDX Consent Grant - # Returns a consent grant by its identifier - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Get FDX consent grant + # Returns a consent grant by its identifier. + # @param consent_id [String] Unique identifier of the consent grant. # @param [Hash] opts the optional parameters # @return [FDXConsentGrant] def fdx_consents_get(consent_id, opts = {}) @@ -6829,9 +7577,9 @@ def fdx_consents_get(consent_id, opts = {}) data end - # Get FDX Consent Grant - # Returns a consent grant by its identifier - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Get FDX consent grant + # Returns a consent grant by its identifier. + # @param consent_id [String] Unique identifier of the consent grant. # @param [Hash] opts the optional parameters # @return [Array<(FDXConsentGrant, Integer, Hash)>] FDXConsentGrant data, response status code and response headers def fdx_consents_get_with_http_info(consent_id, opts = {}) @@ -6882,7 +7630,7 @@ def fdx_consents_get_with_http_info(consent_id, opts = {}) return data, status_code, headers end - # List FDX Consent Grants for a customer + # List FDX consent grants for a customer # Returns zero or more consent grants associated with the given data provider customer, optionally filtered by status. # @param customer_id [String] Data provider customer identifier whose consent grants to return. # @param [Hash] opts the optional parameters @@ -6893,7 +7641,7 @@ def fdx_consents_list(customer_id, opts = {}) data end - # List FDX Consent Grants for a customer + # List FDX consent grants for a customer # Returns zero or more consent grants associated with the given data provider customer, optionally filtered by status. # @param customer_id [String] Data provider customer identifier whose consent grants to return. # @param [Hash] opts the optional parameters @@ -6949,9 +7697,9 @@ def fdx_consents_list_with_http_info(customer_id, opts = {}) return data, status_code, headers end - # Retrieve FDX Consent Grant revocation records - # Returns the revocation history of a consent grant - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Retrieve FDX consent grant revocation records + # Returns the revocation history of a consent grant. + # @param consent_id [String] Unique identifier of the consent grant. # @param [Hash] opts the optional parameters # @return [FDXConsentRevocations] def fdx_consents_revocation_get(consent_id, opts = {}) @@ -6959,9 +7707,9 @@ def fdx_consents_revocation_get(consent_id, opts = {}) data end - # Retrieve FDX Consent Grant revocation records - # Returns the revocation history of a consent grant - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Retrieve FDX consent grant revocation records + # Returns the revocation history of a consent grant. + # @param consent_id [String] Unique identifier of the consent grant. # @param [Hash] opts the optional parameters # @return [Array<(FDXConsentRevocations, Integer, Hash)>] FDXConsentRevocations data, response status code and response headers def fdx_consents_revocation_get_with_http_info(consent_id, opts = {}) @@ -7012,9 +7760,9 @@ def fdx_consents_revocation_get_with_http_info(consent_id, opts = {}) return data, status_code, headers end - # Revoke FDX Consent Grant - # Appends a REVOKED status record to the named consent grant - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Revoke FDX consent grant + # Revokes a consent grant, ending the data recipient's ongoing access to the customer's data. + # @param consent_id [String] Unique identifier of the consent grant. # @param request_body [Hash] # @param [Hash] opts the optional parameters # @return [nil] @@ -7023,9 +7771,9 @@ def fdx_consents_revoke(consent_id, request_body, opts = {}) nil end - # Revoke FDX Consent Grant - # Appends a REVOKED status record to the named consent grant - # @param consent_id [String] Consent Grant Identifier. Uniquely identifies the consent grant + # Revoke FDX consent grant + # Revokes a consent grant, ending the data recipient's ongoing access to the customer's data. + # @param consent_id [String] Unique identifier of the consent grant. # @param request_body [Hash] # @param [Hash] opts the optional parameters # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers @@ -7155,10 +7903,10 @@ def fdx_notifications_with_http_info(fdx_notification, opts = {}) end # Get Recipient - # Get a specific recipient - # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # Returns metadata for a single recipient (application), identified by `recipientId`. + # @param recipient_id [String] The recipient's (application's) identifier (a UUID), as returned by `/fdx/recipients`. # @param [Hash] opts the optional parameters - # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @option opts [String] :oauth_state_id Optional. If this lookup happens during an active OAuth flow, pass the value of the OAuth `state` parameter to help Plaid correlate this request in logs. # @return [GetRecipientResponse] def get_recipient(recipient_id, opts = {}) data, _status_code, _headers = get_recipient_with_http_info(recipient_id, opts) @@ -7166,10 +7914,10 @@ def get_recipient(recipient_id, opts = {}) end # Get Recipient - # Get a specific recipient - # @param recipient_id [String] Recipient Identifier. Uniquely identifies the recipient + # Returns metadata for a single recipient (application), identified by `recipientId`. + # @param recipient_id [String] The recipient's (application's) identifier (a UUID), as returned by `/fdx/recipients`. # @param [Hash] opts the optional parameters - # @option opts [String] :oauth_state_id The value that is passed into the OAuth URI 'state' query parameter. + # @option opts [String] :oauth_state_id Optional. If this lookup happens during an active OAuth flow, pass the value of the OAuth `state` parameter to help Plaid correlate this request in logs. # @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 @@ -7221,7 +7969,7 @@ def get_recipient_with_http_info(recipient_id, opts = {}) end # Get Recipients - # Returns a list of Recipients + # Returns metadata for every recipient (application) your customers have connected to via Plaid's App Directory. # @param [Hash] opts the optional parameters # @return [GetRecipientsResponse] def get_recipients(opts = {}) @@ -7230,7 +7978,7 @@ def get_recipients(opts = {}) end # Get Recipients - # Returns a list of Recipients + # Returns metadata for every recipient (application) your customers have connected to via Plaid's App Directory. # @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 = {}) @@ -7481,6 +8229,74 @@ def identity_match_with_http_info(identity_match_request, opts = {}) return data, status_code, headers end + # List Link Identity Match attempts + # Returns a chronological history of Link-originated Identity Match attempts for a client, ordered by creation time with the oldest attempt first. Results are retained for up to one year. Attempts for deleted Items are omitted. + # @param identity_match_list_request [IdentityMatchListRequest] + # @param [Hash] opts the optional parameters + # @return [IdentityMatchListResponse] + def identity_match_list(identity_match_list_request, opts = {}) + data, _status_code, _headers = identity_match_list_with_http_info(identity_match_list_request, opts) + data + end + + # List Link Identity Match attempts + # Returns a chronological history of Link-originated Identity Match attempts for a client, ordered by creation time with the oldest attempt first. Results are retained for up to one year. Attempts for deleted Items are omitted. + # @param identity_match_list_request [IdentityMatchListRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(IdentityMatchListResponse, Integer, Hash)>] IdentityMatchListResponse data, response status code and response headers + def identity_match_list_with_http_info(identity_match_list_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.identity_match_list ...' + end + # verify the required parameter 'identity_match_list_request' is set + if @api_client.config.client_side_validation && identity_match_list_request.nil? + fail ArgumentError, "Missing the required parameter 'identity_match_list_request' when calling PlaidApi.identity_match_list" + end + # resource path + local_var_path = '/identity/match/list' + + # 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(identity_match_list_request) + + # return_type + return_type = opts[:debug_return_type] || 'IdentityMatchListResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.identity_match_list", + :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#identity_match_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Refresh identity data # `/identity/refresh` is an optional endpoint for users of the Identity product. It initiates an on-demand extraction to fetch the most up to date Identity information from the Financial Institution. This on-demand extraction takes place in addition to the periodic extractions that automatically occur for any Identity-enabled Item. If changes to Identity are discovered after calling `/identity/refresh`, Plaid will fire a webhook [`DEFAULT_UPDATE`](https://plaid.com/docs/api/products/identity/#default_update). 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. `/identity/refresh` is offered as an add-on to Identity and has a separate [fee model](https://plaid.com/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 identity_refresh_request [IdentityRefreshRequest] @@ -9386,7 +10202,7 @@ def item_get_with_http_info(item_get_request, opts = {}) end # Import Item - # `/item/import` creates an Item via your Plaid Exchange Integration and returns an `access_token`. As part of an `/item/import` request, you will include a User ID (`user_auth.user_id`) and Authentication Token (`user_auth.auth_token`) that enable data aggregation through your Plaid Exchange API endpoints. These authentication principals are to be chosen by you. Upon creating an Item via `/item/import`, Plaid will automatically begin an extraction of that Item through the Plaid Exchange infrastructure you have already integrated. + # `/item/import` creates an Item for one of your customers and returns an `access_token`, which the other Permissions Manager endpoints take in place of a customer identifier. You supply your own identifier for the customer as `user_auth.user_id`. The endpoint is idempotent and the `access_token` it returns is long-lived: repeated calls for the same `user_auth.user_id` return the same token. Upon creating an Item via `/item/import`, Plaid will automatically begin an extraction of that Item through the data provider API endpoints you have already integrated. # @param item_import_request [ItemImportRequest] # @param [Hash] opts the optional parameters # @return [ItemImportResponse] @@ -9396,7 +10212,7 @@ def item_import(item_import_request, opts = {}) end # Import Item - # `/item/import` creates an Item via your Plaid Exchange Integration and returns an `access_token`. As part of an `/item/import` request, you will include a User ID (`user_auth.user_id`) and Authentication Token (`user_auth.auth_token`) that enable data aggregation through your Plaid Exchange API endpoints. These authentication principals are to be chosen by you. Upon creating an Item via `/item/import`, Plaid will automatically begin an extraction of that Item through the Plaid Exchange infrastructure you have already integrated. + # `/item/import` creates an Item for one of your customers and returns an `access_token`, which the other Permissions Manager endpoints take in place of a customer identifier. You supply your own identifier for the customer as `user_auth.user_id`. The endpoint is idempotent and the `access_token` it returns is long-lived: repeated calls for the same `user_auth.user_id` return the same token. Upon creating an Item via `/item/import`, Plaid will automatically begin an extraction of that Item through the data provider API endpoints you have already integrated. # @param item_import_request [ItemImportRequest] # @param [Hash] opts the optional parameters # @return [Array<(ItemImportResponse, Integer, Hash)>] ItemImportResponse data, response status code and response headers @@ -9726,7 +10542,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/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`. + # 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. Supported account types are account type `credit` with account subtype `charge card`, `credit card`, or `paypal`; and account type `loan` with account subtype `auto`, `commercial`, `commercial line of credit`, `consumer`, `home equity`, `home equity loan`, `installment`, `line of credit`, `loan`, `mortgage`, or `student`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [LiabilitiesGetResponse] @@ -9736,7 +10552,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/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`. + # 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. Supported account types are account type `credit` with account subtype `charge card`, `credit card`, or `paypal`; and account type `loan` with account subtype `auto`, `commercial`, `commercial line of credit`, `consumer`, `home equity`, `home equity loan`, `installment`, `line of credit`, `loan`, `mortgage`, or `student`. To limit accounts listed in Link to types and subtypes supported by Liabilities, you can use the `account_filters` parameter when [creating a Link token](https://plaid.com/docs/api/link/#linktokencreate). The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling `/liabilities/get`. # @param liabilities_get_request [LiabilitiesGetRequest] # @param [Hash] opts the optional parameters # @return [Array<(LiabilitiesGetResponse, Integer, Hash)>] LiabilitiesGetResponse data, response status code and response headers @@ -13397,6 +14213,142 @@ def profile_network_status_get_with_http_info(profile_network_status_get_request return data, status_code, headers end + # Record a cash advance decision + # Use this endpoint to record a cash-advance decision as feedback. A decision is a determination of whether to approve a user's requested advance and on what terms. + # @param protect_cash_advance_decision_create_request [ProtectCashAdvanceDecisionCreateRequest] + # @param [Hash] opts the optional parameters + # @return [ProtectCashAdvanceDecisionCreateResponse] + def protect_cash_advance_decision_create(protect_cash_advance_decision_create_request, opts = {}) + data, _status_code, _headers = protect_cash_advance_decision_create_with_http_info(protect_cash_advance_decision_create_request, opts) + data + end + + # Record a cash advance decision + # Use this endpoint to record a cash-advance decision as feedback. A decision is a determination of whether to approve a user's requested advance and on what terms. + # @param protect_cash_advance_decision_create_request [ProtectCashAdvanceDecisionCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(ProtectCashAdvanceDecisionCreateResponse, Integer, Hash)>] ProtectCashAdvanceDecisionCreateResponse data, response status code and response headers + def protect_cash_advance_decision_create_with_http_info(protect_cash_advance_decision_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.protect_cash_advance_decision_create ...' + end + # verify the required parameter 'protect_cash_advance_decision_create_request' is set + if @api_client.config.client_side_validation && protect_cash_advance_decision_create_request.nil? + fail ArgumentError, "Missing the required parameter 'protect_cash_advance_decision_create_request' when calling PlaidApi.protect_cash_advance_decision_create" + end + # resource path + local_var_path = '/protect/cash_advance/decision/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(protect_cash_advance_decision_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'ProtectCashAdvanceDecisionCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.protect_cash_advance_decision_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#protect_cash_advance_decision_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + + # Record a cash advance repayment + # Use this endpoint to record a cash-advance repayment as feedback. A repayment is a record paying back all or some of a previously-taken cash-advance. + # @param protect_cash_advance_repayment_create_request [ProtectCashAdvanceRepaymentCreateRequest] + # @param [Hash] opts the optional parameters + # @return [ProtectCashAdvanceRepaymentCreateResponse] + def protect_cash_advance_repayment_create(protect_cash_advance_repayment_create_request, opts = {}) + data, _status_code, _headers = protect_cash_advance_repayment_create_with_http_info(protect_cash_advance_repayment_create_request, opts) + data + end + + # Record a cash advance repayment + # Use this endpoint to record a cash-advance repayment as feedback. A repayment is a record paying back all or some of a previously-taken cash-advance. + # @param protect_cash_advance_repayment_create_request [ProtectCashAdvanceRepaymentCreateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(ProtectCashAdvanceRepaymentCreateResponse, Integer, Hash)>] ProtectCashAdvanceRepaymentCreateResponse data, response status code and response headers + def protect_cash_advance_repayment_create_with_http_info(protect_cash_advance_repayment_create_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.protect_cash_advance_repayment_create ...' + end + # verify the required parameter 'protect_cash_advance_repayment_create_request' is set + if @api_client.config.client_side_validation && protect_cash_advance_repayment_create_request.nil? + fail ArgumentError, "Missing the required parameter 'protect_cash_advance_repayment_create_request' when calling PlaidApi.protect_cash_advance_repayment_create" + end + # resource path + local_var_path = '/protect/cash_advance/repayment/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(protect_cash_advance_repayment_create_request) + + # return_type + return_type = opts[:debug_return_type] || 'ProtectCashAdvanceRepaymentCreateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.protect_cash_advance_repayment_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#protect_cash_advance_repayment_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Compute Protect Trust Index scores and subscores # Compute a Protect Trust Index score for a user. The model selected determines what is scored and what additional fields the response contains. For example, `ti-link-session-2.0` scores a completed Link session for fraud risk; `cash-advance-onboarding-1.0` scores repayment risk for a first-time cash advance and additionally populates per-amount-bucket subscores. Cash-advance models require that the user have a Plaid Item with Transactions enabled, or an Assets Report, before scoring. The endpoint returns HTTP 400 with `error_type` = `INVALID_REQUEST` and `error_code` = `FAILED_PRECONDITION` when a required precondition is not met: for link-session models, when the Link session has not completed; for cash-advance models, when the user has not successfully linked any Item. # @param protect_compute_request [ProtectComputeRequest] @@ -14009,6 +14961,74 @@ def sandbox_cra_cashflow_updates_update_with_http_info(sandbox_cra_cashflow_upda return data, status_code, headers end + # Simulate a CRA Servicing report + # Use the `/sandbox/cra/servicing/simulate` endpoint to synchronously seed a CRA Servicing report in the Sandbox environment and return a `report_id` that can be fetched via `/cra/check_report/base_report/get` or `/cra/check_report/income_insights/get`. This endpoint also fires a `CRA_REPORT_UPDATED` webhook, mirroring the notification a live subscription would emit. + # @param sandbox_cra_servicing_simulate_request [SandboxCraServicingSimulateRequest] + # @param [Hash] opts the optional parameters + # @return [SandboxCraServicingSimulateResponse] + def sandbox_cra_servicing_simulate(sandbox_cra_servicing_simulate_request, opts = {}) + data, _status_code, _headers = sandbox_cra_servicing_simulate_with_http_info(sandbox_cra_servicing_simulate_request, opts) + data + end + + # Simulate a CRA Servicing report + # Use the `/sandbox/cra/servicing/simulate` endpoint to synchronously seed a CRA Servicing report in the Sandbox environment and return a `report_id` that can be fetched via `/cra/check_report/base_report/get` or `/cra/check_report/income_insights/get`. This endpoint also fires a `CRA_REPORT_UPDATED` webhook, mirroring the notification a live subscription would emit. + # @param sandbox_cra_servicing_simulate_request [SandboxCraServicingSimulateRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(SandboxCraServicingSimulateResponse, Integer, Hash)>] SandboxCraServicingSimulateResponse data, response status code and response headers + def sandbox_cra_servicing_simulate_with_http_info(sandbox_cra_servicing_simulate_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_cra_servicing_simulate ...' + end + # verify the required parameter 'sandbox_cra_servicing_simulate_request' is set + if @api_client.config.client_side_validation && sandbox_cra_servicing_simulate_request.nil? + fail ArgumentError, "Missing the required parameter 'sandbox_cra_servicing_simulate_request' when calling PlaidApi.sandbox_cra_servicing_simulate" + end + # resource path + local_var_path = '/sandbox/cra/servicing/simulate' + + # 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(sandbox_cra_servicing_simulate_request) + + # return_type + return_type = opts[:debug_return_type] || 'SandboxCraServicingSimulateResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.sandbox_cra_servicing_simulate", + :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#sandbox_cra_servicing_simulate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Seed an FDX consent grant for a sandbox data partner # `/sandbox/fdx/consent/seed` creates a test FDX consent grant (and a backing Item) for a data provider's customer in Sandbox, so the FDX Consent API endpoints can be exercised end-to-end without a live data provider connection. `customer_id` is the data provider's identifier for the end user and `application_id` identifies the data recipient application the consent is granted to; both are required. Optionally provide `consent_id` (a UUIDv4) to control the seeded grant's identifier; one is generated when omitted. The seeded grant is returned by `/fdx/consents` and `/fdx/consents/{consentId}`, and can be revoked via `/fdx/consents/{consentId}/revocation`. # @param sandbox_fdx_consent_seed_request [SandboxFdxConsentSeedRequest] @@ -14214,7 +15234,7 @@ def sandbox_item_application_seed_with_http_info(sandbox_item_application_seed_r 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` webhook types 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. `PENDING_DISCONNECT`: Fired when an Item will stop working in the near future (e.g. due to a planned bank migration) and must be sent through update mode to continue working. `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. `USER_PERMISSION_REVOKED`: Indicates an end user has revoked the permission that they previously granted to access an Item. May not always fire upon revocation, as some institutions' consent portals do not trigger this webhook. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. `USER_ACCOUNT_REVOKED`: Fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for PNC Items, but may be sent in the future for other financial institutions. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. 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` webhook types 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. `PENDING_DISCONNECT`: Fired when an Item will stop working in the near future (e.g. due to a planned bank migration) and must be sent through update mode to continue working. `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. `USER_PERMISSION_REVOKED`: Indicates an end user has revoked the permission that they previously granted to access an Item. May not always fire upon revocation, as some institutions' consent portals do not trigger this webhook. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. `USER_ACCOUNT_REVOKED`: Fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for Chase, PNC, and Truist Items, but may be sent in the future for other financial institutions. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. 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] @@ -14224,7 +15244,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` webhook types 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. `PENDING_DISCONNECT`: Fired when an Item will stop working in the near future (e.g. due to a planned bank migration) and must be sent through update mode to continue working. `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. `USER_PERMISSION_REVOKED`: Indicates an end user has revoked the permission that they previously granted to access an Item. May not always fire upon revocation, as some institutions' consent portals do not trigger this webhook. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. `USER_ACCOUNT_REVOKED`: Fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for PNC Items, but may be sent in the future for other financial institutions. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. 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` webhook types 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. `PENDING_DISCONNECT`: Fired when an Item will stop working in the near future (e.g. due to a planned bank migration) and must be sent through update mode to continue working. `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. `USER_PERMISSION_REVOKED`: Indicates an end user has revoked the permission that they previously granted to access an Item. May not always fire upon revocation, as some institutions' consent portals do not trigger this webhook. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. `USER_ACCOUNT_REVOKED`: Fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for Chase, PNC, and Truist Items, but may be sent in the future for other financial institutions. Upon receiving this webhook, it is recommended to delete any stored data from Plaid associated with the account or Item. 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 @@ -15641,6 +16661,74 @@ def sandbox_transfer_test_clock_list_with_http_info(sandbox_transfer_test_clock_ return data, status_code, headers end + # Fire a test user webhook + # `/sandbox/user/fire_webhook` functions the same as `/sandbox/item/fire_webhook`, but fires webhooks associated with a user rather than an Item. This endpoint can trigger the following webhooks: `USER_CHECK_REPORT_READY`: Fired when a Check Report is ready to be retrieved. `USER_CHECK_REPORT_FAILED`: Fired when a Check Report has failed to generate. `CHECK_REPORT_READY` / `CHECK_REPORT_FAILED`: The equivalents of the above for integrations that predate the [New User APIs](https://plaid.com/docs/api/users/user-apis). 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. + # @param sandbox_user_fire_webhook_request [SandboxUserFireWebhookRequest] + # @param [Hash] opts the optional parameters + # @return [SandboxUserFireWebhookResponse] + def sandbox_user_fire_webhook(sandbox_user_fire_webhook_request, opts = {}) + data, _status_code, _headers = sandbox_user_fire_webhook_with_http_info(sandbox_user_fire_webhook_request, opts) + data + end + + # Fire a test user webhook + # `/sandbox/user/fire_webhook` functions the same as `/sandbox/item/fire_webhook`, but fires webhooks associated with a user rather than an Item. This endpoint can trigger the following webhooks: `USER_CHECK_REPORT_READY`: Fired when a Check Report is ready to be retrieved. `USER_CHECK_REPORT_FAILED`: Fired when a Check Report has failed to generate. `CHECK_REPORT_READY` / `CHECK_REPORT_FAILED`: The equivalents of the above for integrations that predate the [New User APIs](https://plaid.com/docs/api/users/user-apis). 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. + # @param sandbox_user_fire_webhook_request [SandboxUserFireWebhookRequest] + # @param [Hash] opts the optional parameters + # @return [Array<(SandboxUserFireWebhookResponse, Integer, Hash)>] SandboxUserFireWebhookResponse data, response status code and response headers + def sandbox_user_fire_webhook_with_http_info(sandbox_user_fire_webhook_request, opts = {}) + if @api_client.config.debugging + @api_client.config.logger.debug 'Calling API: PlaidApi.sandbox_user_fire_webhook ...' + end + # verify the required parameter 'sandbox_user_fire_webhook_request' is set + if @api_client.config.client_side_validation && sandbox_user_fire_webhook_request.nil? + fail ArgumentError, "Missing the required parameter 'sandbox_user_fire_webhook_request' when calling PlaidApi.sandbox_user_fire_webhook" + end + # resource path + local_var_path = '/sandbox/user/fire_webhook' + + # 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(sandbox_user_fire_webhook_request) + + # return_type + return_type = opts[:debug_return_type] || 'SandboxUserFireWebhookResponse' + + # auth_names + auth_names = opts[:debug_auth_names] || ['clientId', 'plaidVersion', 'secret'] + + new_options = opts.merge( + :operation => :"PlaidApi.sandbox_user_fire_webhook", + :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#sandbox_user_fire_webhook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" + end + return data, status_code, headers + end + # Force item(s) for a Sandbox User into an error state # `/sandbox/user/reset_login` functions the same as `/sandbox/item/reset_login`, but will modify Items related to a User. This endpoint forces each Item into an `ITEM_LOGIN_REQUIRED` state in order to simulate an Item whose login is no longer valid. This makes it easy to test Link's [update mode](https://plaid.com/docs/link/update-mode) flow in the Sandbox environment. After calling `/sandbox/user/reset_login`, you can then use Plaid Link update mode to restore Items associated with the User to a good state. An `ITEM_LOGIN_REQUIRED` webhook will also be fired after a call to this endpoint, if one is associated with the Item. In the Sandbox, Items will transition to an `ITEM_LOGIN_REQUIRED` error state automatically after 30 days, even if this endpoint is not called. # @param sandbox_user_reset_login_request [SandboxUserResetLoginRequest] @@ -20062,7 +21150,7 @@ def user_account_session_get_with_http_info(user_account_session_get_request, op end # Create user - # For Plaid products and flows that use the user object, `/user/create` provides you a single token to access all data associated with the user. You must call this endpoint before calling `/link/token/create` if you are using any of the following: Plaid Check, Income Verification, Multi-Item Link, or Plaid Protect (Identity). If you are using Plaid Protect Link session scoring, you do not need to call `/user/create` first; Plaid will resolve or create the user when `user.client_user_id` is provided in `/link/token/create`. For customers who began using this endpoint on or after December 10, 2025, this endpoint takes a `client_user_id` and an `identity` object and will return a `user_id`. For customers who began using it before that date, the endpoint takes a `client_user_id` and a `consumer_report_user_identity` object and will return a `user_token` and `user_id`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). In order to create a Plaid Check Consumer Report for a user, the `identity` (new) or `consumer_report_user_identity` (legacy) object must be present. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. In order to generate a Plaid Check Consumer Report, the following `identity` fields, at minimum, are required and must be non-empty: `name`, `date_of_birth`, `emails`, `phone_numbers`, and `addresses` (with at least one email, phone number, and address designated as `primary`). Plaid Check Consumer Reports can only be created for US-based users; the user's address country must be `US`. If creating a report for sharing with a GSE such as Fannie or Freddie, the user's full SSN must be provided via the `id_numbers` field. Providing at least a partial SSN is also strongly recommended for all use cases, since it improves the accuracy of matching user records during compliance processes such as file disclosure, dispute, or security freeze requests. When using Plaid Protect, it is highly recommended that you provide an `identity` object to better identify and block fraud across your Link sessions. Plaid will normalize identity fields before storing them and utilize the same identity across different user-based products. + # For Plaid products and flows that use the user object, `/user/create` provides you a single token to access all data associated with the user. You must call this endpoint before calling `/link/token/create` if you are using any of the following: Plaid Check, Income Verification, Multi-Item Link, or Plaid Protect (Identity). If you are using Plaid Protect Link session scoring, you do not need to call `/user/create` first; Plaid will resolve or create the user when `user.client_user_id` is provided in `/link/token/create`. For customers who began using this endpoint on or after December 10, 2025, this endpoint takes a `client_user_id` and an `identity` object and will return a `user_id`. For customers who began using it before that date, the endpoint takes a `client_user_id` and a `consumer_report_user_identity` object and will return a `user_token` and `user_id`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). In order to create a Plaid Check Consumer Report for a user, or to use Payment Initiation, Variable Recurring Payments, or Virtual Accounts, the `identity` (new) or `consumer_report_user_identity` (legacy) object must be present. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. When using Payment Initiation, Variable Recurring Payments, or Virtual Accounts, the `identity` object must contain a `name` and either an email address or a phone number. In order to generate a Plaid Check Consumer Report, the following `identity` fields, at minimum, are required and must be non-empty: `name`, `date_of_birth`, `emails`, `phone_numbers`, and `addresses` (with at least one email, phone number, and address designated as `primary`). Plaid Check Consumer Reports can only be created for US-based users; the user's address country must be `US`. If creating a report for sharing with a GSE such as Fannie or Freddie, the user's full SSN must be provided via the `id_numbers` field. Providing at least a partial SSN is also strongly recommended for all use cases, since it improves the accuracy of matching user records during compliance processes such as file disclosure, dispute, or security freeze requests. When using Plaid Protect, it is highly recommended that you provide an `identity` object to better identify and block fraud across your Link sessions. Plaid will normalize identity fields before storing them and utilize the same identity across different user-based products. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @option opts [Boolean] :plaid_new_user_api_enabled The HTTP header used in API requests to determine which set of User APIs to invoke: the legacy CRA version or the new User API version. (default to false) @@ -20073,7 +21161,7 @@ def user_create(user_create_request, opts = {}) end # Create user - # For Plaid products and flows that use the user object, `/user/create` provides you a single token to access all data associated with the user. You must call this endpoint before calling `/link/token/create` if you are using any of the following: Plaid Check, Income Verification, Multi-Item Link, or Plaid Protect (Identity). If you are using Plaid Protect Link session scoring, you do not need to call `/user/create` first; Plaid will resolve or create the user when `user.client_user_id` is provided in `/link/token/create`. For customers who began using this endpoint on or after December 10, 2025, this endpoint takes a `client_user_id` and an `identity` object and will return a `user_id`. For customers who began using it before that date, the endpoint takes a `client_user_id` and a `consumer_report_user_identity` object and will return a `user_token` and `user_id`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). In order to create a Plaid Check Consumer Report for a user, the `identity` (new) or `consumer_report_user_identity` (legacy) object must be present. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. In order to generate a Plaid Check Consumer Report, the following `identity` fields, at minimum, are required and must be non-empty: `name`, `date_of_birth`, `emails`, `phone_numbers`, and `addresses` (with at least one email, phone number, and address designated as `primary`). Plaid Check Consumer Reports can only be created for US-based users; the user's address country must be `US`. If creating a report for sharing with a GSE such as Fannie or Freddie, the user's full SSN must be provided via the `id_numbers` field. Providing at least a partial SSN is also strongly recommended for all use cases, since it improves the accuracy of matching user records during compliance processes such as file disclosure, dispute, or security freeze requests. When using Plaid Protect, it is highly recommended that you provide an `identity` object to better identify and block fraud across your Link sessions. Plaid will normalize identity fields before storing them and utilize the same identity across different user-based products. + # For Plaid products and flows that use the user object, `/user/create` provides you a single token to access all data associated with the user. You must call this endpoint before calling `/link/token/create` if you are using any of the following: Plaid Check, Income Verification, Multi-Item Link, or Plaid Protect (Identity). If you are using Plaid Protect Link session scoring, you do not need to call `/user/create` first; Plaid will resolve or create the user when `user.client_user_id` is provided in `/link/token/create`. For customers who began using this endpoint on or after December 10, 2025, this endpoint takes a `client_user_id` and an `identity` object and will return a `user_id`. For customers who began using it before that date, the endpoint takes a `client_user_id` and a `consumer_report_user_identity` object and will return a `user_token` and `user_id`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). In order to create a Plaid Check Consumer Report for a user, or to use Payment Initiation, Variable Recurring Payments, or Virtual Accounts, the `identity` (new) or `consumer_report_user_identity` (legacy) object must be present. If it is not provided during the `/user/create` call, it can be added later by calling `/user/update`. When using Payment Initiation, Variable Recurring Payments, or Virtual Accounts, the `identity` object must contain a `name` and either an email address or a phone number. In order to generate a Plaid Check Consumer Report, the following `identity` fields, at minimum, are required and must be non-empty: `name`, `date_of_birth`, `emails`, `phone_numbers`, and `addresses` (with at least one email, phone number, and address designated as `primary`). Plaid Check Consumer Reports can only be created for US-based users; the user's address country must be `US`. If creating a report for sharing with a GSE such as Fannie or Freddie, the user's full SSN must be provided via the `id_numbers` field. Providing at least a partial SSN is also strongly recommended for all use cases, since it improves the accuracy of matching user records during compliance processes such as file disclosure, dispute, or security freeze requests. When using Plaid Protect, it is highly recommended that you provide an `identity` object to better identify and block fraud across your Link sessions. Plaid will normalize identity fields before storing them and utilize the same identity across different user-based products. # @param user_create_request [UserCreateRequest] # @param [Hash] opts the optional parameters # @option opts [Boolean] :plaid_new_user_api_enabled The HTTP header used in API requests to determine which set of User APIs to invoke: the legacy CRA version or the new User API version. (default to false) @@ -20343,7 +21431,7 @@ def user_identity_remove_with_http_info(user_identity_remove_request, opts = {}) end # Associate Items to a User - # Associates Items to the target user. If an Item is already associated to another user, the Item will be disassociated with the existing user and associated to the target user. This operation supports a max of 100 Items. + # Associates Items with a `user_id`. If an Item is already associated with a different `user_id`, calling this endpoint will disassociate it from that User and reassociate it with the target User instead. A single request can associate up to 100 Items. # @param user_items_associate_request [UserItemsAssociateRequest] # @param [Hash] opts the optional parameters # @return [UserItemsAssociateResponse] @@ -20353,7 +21441,7 @@ def user_items_associate(user_items_associate_request, opts = {}) end # Associate Items to a User - # Associates Items to the target user. If an Item is already associated to another user, the Item will be disassociated with the existing user and associated to the target user. This operation supports a max of 100 Items. + # Associates Items with a `user_id`. If an Item is already associated with a different `user_id`, calling this endpoint will disassociate it from that User and reassociate it with the target User instead. A single request can associate up to 100 Items. # @param user_items_associate_request [UserItemsAssociateRequest] # @param [Hash] opts the optional parameters # @return [Array<(UserItemsAssociateResponse, Integer, Hash)>] UserItemsAssociateResponse data, response status code and response headers diff --git a/lib/plaid/api_client.rb b/lib/plaid/api_client.rb index 32ea5975f1..55a627491e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 v49.0.0" + @user_agent = "Plaid Ruby v50.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 8aeec73d6c..83e1f21ef3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b7819c7acc..caaf83098b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/aamva_analysis.rb b/lib/plaid/models/aamva_analysis.rb index 324624b746..3f290bf84c 100644 --- a/lib/plaid/models/aamva_analysis.rb +++ b/lib/plaid/models/aamva_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/aamva_detailed_match_result.rb b/lib/plaid/models/aamva_detailed_match_result.rb index dcca209094..b91212f378 100644 --- a/lib/plaid/models/aamva_detailed_match_result.rb +++ b/lib/plaid/models/aamva_detailed_match_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/aamva_match_result.rb b/lib/plaid/models/aamva_match_result.rb index 8bee494c8e..db0927db8b 100644 --- a/lib/plaid/models/aamva_match_result.rb +++ b/lib/plaid/models/aamva_match_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 989052ccb1..c7f37fa165 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aaee51dead..924bfc7283 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0645f4073c..66b50aa4c9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf549d6961..2bad5a1960 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -45,6 +45,9 @@ class AccountBase # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category class EnumAttributeValidator @@ -83,6 +86,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category' } end @@ -106,6 +110,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory' } end @@ -116,6 +121,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category' ]) end @@ -179,6 +185,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -245,6 +255,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category end @@ -257,7 +268,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category].hash end # Builds the object from hash diff --git a/lib/plaid/models/account_base_nullable.rb b/lib/plaid/models/account_base_nullable.rb index 4b3e9ec46e..2fda14fb91 100644 --- a/lib/plaid/models/account_base_nullable.rb +++ b/lib/plaid/models/account_base_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -45,6 +45,9 @@ class AccountBaseNullable # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category class EnumAttributeValidator @@ -83,6 +86,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category' } end @@ -106,6 +110,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory' } end @@ -116,6 +121,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category' ]) end @@ -186,6 +192,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -252,6 +262,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category end @@ -264,7 +275,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category].hash end # Builds the object from hash diff --git a/lib/plaid/models/account_filter.rb b/lib/plaid/models/account_filter.rb index 18450a085c..2473c6ff3f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b01be0cd8c..f027d291e2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3936797a56..38259be3ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f299944076..1e12cf913a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,9 +41,12 @@ class AccountIdentity # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category - # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution; detecting whether the linked account is a business account is not currently supported. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) + # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. To determine whether the linked account is a business account, use the `holder_category` field on the account object. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) attr_accessor :owners class EnumAttributeValidator @@ -82,6 +85,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category', :'owners' => :'owners' } @@ -106,6 +110,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory', :'owners' => :'Array' } @@ -117,6 +122,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category', ]) end @@ -188,6 +194,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -265,6 +275,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category && owners == o.owners end @@ -278,7 +289,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category, owners].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category, owners].hash end # Builds the object from hash diff --git a/lib/plaid/models/account_identity_all_of.rb b/lib/plaid/models/account_identity_all_of.rb index 775999ef51..736a91bb74 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -23,7 +23,7 @@ class AccountIdentityAllOf attr_accessor :verification_name - # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution; detecting whether the linked account is a business account is not currently supported. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) + # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. To determine whether the linked account is a business account, use the `holder_category` field on the account object. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) attr_accessor :owners # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/account_identity_document_upload.rb b/lib/plaid/models/account_identity_document_upload.rb index ada4391114..98a194a68e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -45,9 +45,12 @@ class AccountIdentityDocumentUpload # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category - # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution; detecting whether the linked account is a business account is not currently supported. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) + # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. To determine whether the linked account is a business account, use the `holder_category` field on the account object. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) attr_accessor :owners # Data about the documents that were uploaded as proof of account ownership. @@ -89,6 +92,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category', :'owners' => :'owners', :'documents' => :'documents' @@ -114,6 +118,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory', :'owners' => :'Array', :'documents' => :'Array' @@ -126,6 +131,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category', :'documents' ]) @@ -198,6 +204,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -281,6 +291,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category && owners == o.owners && documents == o.documents @@ -295,7 +306,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category, owners, documents].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category, owners, documents].hash end # Builds the object from hash 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 01fda977da..ebc42aedd6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid class AccountIdentityDocumentUploadAllOf - # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution; detecting whether the linked account is a business account is not currently supported. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) + # Data returned by the financial institution about the account owner or owners. Only returned by Identity or Assets endpoints. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. To determine whether the linked account is a business account, use the `holder_category` field on the account object. Multiple owners on a single account will be represented in the same `owner` object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the `owners` object is not returned, and instead identity information is returned in the top level `identity` object. For more details, see [Plaid API versioning](https://plaid.com/docs/api/versioning/#version-2019-05-29) attr_accessor :owners # Data about the documents that were uploaded as proof of account ownership. diff --git a/lib/plaid/models/account_identity_match_score.rb b/lib/plaid/models/account_identity_match_score.rb index 0796fa7f08..d10f7c9a03 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,6 +41,9 @@ class AccountIdentityMatchScore # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category attr_accessor :legal_name @@ -87,6 +90,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category', :'legal_name' => :'legal_name', :'phone_number' => :'phone_number', @@ -114,6 +118,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory', :'legal_name' => :'NameMatchScore', :'phone_number' => :'PhoneNumberMatchScore', @@ -128,11 +133,8 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category', - :'legal_name', - :'phone_number', - :'email_address', - :'address' ]) end @@ -203,6 +205,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -244,6 +250,22 @@ def list_invalid_properties invalid_properties.push('invalid value for "type", type cannot be nil.') end + if @legal_name.nil? + invalid_properties.push('invalid value for "legal_name", legal_name cannot be nil.') + end + + if @phone_number.nil? + invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') + end + + if @email_address.nil? + invalid_properties.push('invalid value for "email_address", email_address cannot be nil.') + end + + if @address.nil? + invalid_properties.push('invalid value for "address", address cannot be nil.') + end + invalid_properties end @@ -256,6 +278,10 @@ def valid? return false if @type.nil? verification_status_validator = EnumAttributeValidator.new('String', ["automatically_verified", "pending_automatic_verification", "pending_manual_verification", "unsent", "manually_verified", "verification_expired", "verification_failed", "database_matched", "database_insights_pass", "database_insights_pass_with_caution", "database_insights_fail"]) return false unless verification_status_validator.valid?(@verification_status) + return false if @legal_name.nil? + return false if @phone_number.nil? + return false if @email_address.nil? + return false if @address.nil? true end @@ -285,6 +311,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category && legal_name == o.legal_name && phone_number == o.phone_number && @@ -301,7 +328,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category, legal_name, phone_number, email_address, address].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category, legal_name, phone_number, email_address, address].hash end # Builds the object from hash 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 2454274cb2..ec007678ae 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -69,10 +69,6 @@ def self.openapi_nullable Set.new([ :'official_name', :'mask', - :'legal_name', - :'phone_number', - :'email_address', - :'address' ]) end @@ -128,12 +124,32 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new + if @legal_name.nil? + invalid_properties.push('invalid value for "legal_name", legal_name cannot be nil.') + end + + if @phone_number.nil? + invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') + end + + if @email_address.nil? + invalid_properties.push('invalid value for "email_address", email_address cannot be nil.') + end + + if @address.nil? + invalid_properties.push('invalid value for "address", address cannot be nil.') + end + invalid_properties end # Check to see if the all the properties in the model are valid # @return true if the model is valid def valid? + return false if @legal_name.nil? + return false if @phone_number.nil? + return false if @email_address.nil? + return false if @address.nil? true end diff --git a/lib/plaid/models/account_insights.rb b/lib/plaid/models/account_insights.rb index 2cd209a8e9..7800d563a7 100644 --- a/lib/plaid/models/account_insights.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c5469a2236..085d88c019 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3c77531631..3626531778 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6283220b8d..31fabf9348 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bc182ffad5..1721eef2b1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -26,8 +26,10 @@ class AccountSubtype CASH_ISA = "cash isa".freeze CASH_MANAGEMENT = "cash management".freeze CD = "cd".freeze + CHARGE_CARD = "charge card".freeze CHECKING = "checking".freeze COMMERCIAL = "commercial".freeze + COMMERCIAL_LINE_OF_CREDIT = "commercial line of credit".freeze CONSTRUCTION = "construction".freeze CONSUMER = "consumer".freeze CREDIT_CARD = "credit card".freeze @@ -39,7 +41,9 @@ class AccountSubtype GIC = "gic".freeze HEALTH_REIMBURSEMENT_ARRANGEMENT = "health reimbursement arrangement".freeze HOME_EQUITY = "home equity".freeze + HOME_EQUITY_LOAN = "home equity loan".freeze HSA = "hsa".freeze + INSTALLMENT = "installment".freeze ISA = "isa".freeze IRA = "ira".freeze KEOGH = "keogh".freeze @@ -63,6 +67,7 @@ class AccountSubtype PAYPAL = "paypal".freeze PAYROLL = "payroll".freeze PENSION = "pension".freeze + PREDICTION_MARKET = "prediction market".freeze PREPAID = "prepaid".freeze PRIF = "prif".freeze PROFIT_SHARING_PLAN = "profit sharing plan".freeze diff --git a/lib/plaid/models/account_type.rb b/lib/plaid/models/account_type.rb index ebfaf602a4..cc315c59e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4889b4def0..05f40e80d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # Insights from performing database verification for the account. Only returned for Auth Items using Database Auth. class AccountVerificationInsights - # Indicates the score of the name match between the given name provided during database verification (available in the [`verification_name`](https://plaid.com/docs/api/products/auth/#auth-get-response-accounts-verification-name) field if using standard Database Auth, or provided in the request if using `/auth/verify`) and matched Plaid network accounts. If defined, will be a value between 0 and 100. Will be undefined if name matching was not enabled for the database verification session or if there were no eligible Plaid network matches to compare the given name with. + # Indicates the score of the name match between the given name provided during database verification (available in the [`verification_name`](https://plaid.com/docs/api/products/auth/#auth-get-response-accounts-verification-name) field if using standard Database Auth, or provided in the request if using `/auth/verify`) and matched Plaid network accounts. If defined, will be a value between 0 and 100. Will be undefined if name matching was not enabled for the database verification session or if there were no eligible Plaid network matches to compare the given name with. For Items at Canadian institutions, name matching is not currently supported, so this field will always be null. attr_accessor :name_match_score attr_accessor :network_status 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 49c1d30219..50459b398b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8549af6c32..518f2d6bc1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6157114684..57a46260b6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 11fcaddea2..8790d88f33 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 edfe094664..700f71eee6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e38e192955..8b41f0d4b0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bb47efc532..3b5a45794d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 01e8aaf981..04f514bef0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d656df0508..b2426fb84f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2926d91507..176536b32b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f892cc6188..c5d7cf0189 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bbbe83e4b9..d6a2b101ff 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7c3a19276d..41dbcb2a88 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7e739520c9..fa7560f2ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 402c082749..c668c8cf7f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4cc54b26d7..c25bafd5e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3231b5e1f4..49127c3711 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 50f2213499..b857edcf72 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 453ec64cd1..658c7eda23 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c544200081..b528511e46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/affordability_insights.rb b/lib/plaid/models/affordability_insights.rb index 76c9512c30..76be2fd0fc 100644 --- a/lib/plaid/models/affordability_insights.rb +++ b/lib/plaid/models/affordability_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/amount.rb b/lib/plaid/models/amount.rb new file mode 100644 index 0000000000..d01a87b6a7 --- /dev/null +++ b/lib/plaid/models/amount.rb @@ -0,0 +1,238 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A monetary amount and its currency. + class Amount + # The ISO-4217 currency code of the amount. Defaults to USD if not specified. + attr_accessor :iso_currency_code + + # The amount value. + attr_accessor :value + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'value' => :'value' + } + 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 + { + :'iso_currency_code' => :'String', + :'value' => :'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::Amount` 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::Amount`. 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?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + else + self.iso_currency_code = 'USD' + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + 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 @value.nil? + invalid_properties.push('invalid value for "value", value 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 @value.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 && + iso_currency_code == o.iso_currency_code && + value == o.value + 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 + [iso_currency_code, value].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/amount_with_currency.rb b/lib/plaid/models/amount_with_currency.rb index 7a3c92a3dd..7aff74b286 100644 --- a/lib/plaid/models/amount_with_currency.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/amount_with_currency_with_monthly_average.rb b/lib/plaid/models/amount_with_currency_with_monthly_average.rb index f78314276f..f029e76951 100644 --- a/lib/plaid/models/amount_with_currency_with_monthly_average.rb +++ b/lib/plaid/models/amount_with_currency_with_monthly_average.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 17f15c45ed..a8c9087e6d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0128049a6d..1637c69f30 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c187f114f9..74a5f08977 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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/application_last_data_access_times.rb similarity index 79% rename from lib/plaid/models/last_data_access_times.rb rename to lib/plaid/models/application_last_data_access_times.rb index 91b2da29af..ab741a7cf5 100644 --- a/lib/plaid/models/last_data_access_times.rb +++ b/lib/plaid/models/application_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,7 +15,7 @@ module Plaid # Describes the last time each datatype was accessed by an application. - class LastDataAccessTimes + class ApplicationLastDataAccessTimes # ID of the application accessing data. attr_accessor :application_id @@ -25,36 +25,28 @@ class LastDataAccessTimes # The last time `account_routing_number` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. attr_accessor :account_routing_number - # The last time `contact_details` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. - attr_accessor :contact_details + # The last time `contact_info` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. + attr_accessor :contact_info # The last time `transactions` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. attr_accessor :transactions - # The last time `credit_and_loans` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. - attr_accessor :credit_and_loans + # The last time `credit_loan_info` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. + attr_accessor :credit_loan_info # The last time `investments` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. attr_accessor :investments - # The last time `payroll_info` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. - attr_accessor :payroll_info - - # The last time `transaction_risk_info` was accessed by this application in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format in UTC. null if never accessed. - attr_accessor :transaction_risk_info - # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'application_id' => :'application_id', :'account_balance_info' => :'account_balance_info', :'account_routing_number' => :'account_routing_number', - :'contact_details' => :'contact_details', + :'contact_info' => :'contact_info', :'transactions' => :'transactions', - :'credit_and_loans' => :'credit_and_loans', - :'investments' => :'investments', - :'payroll_info' => :'payroll_info', - :'transaction_risk_info' => :'transaction_risk_info' + :'credit_loan_info' => :'credit_loan_info', + :'investments' => :'investments' } end @@ -69,12 +61,10 @@ def self.openapi_types :'application_id' => :'String', :'account_balance_info' => :'Time', :'account_routing_number' => :'Time', - :'contact_details' => :'Time', + :'contact_info' => :'Time', :'transactions' => :'Time', - :'credit_and_loans' => :'Time', - :'investments' => :'Time', - :'payroll_info' => :'Time', - :'transaction_risk_info' => :'Time' + :'credit_loan_info' => :'Time', + :'investments' => :'Time' } end @@ -83,12 +73,10 @@ def self.openapi_nullable Set.new([ :'account_balance_info', :'account_routing_number', - :'contact_details', + :'contact_info', :'transactions', - :'credit_and_loans', - :'investments', - :'payroll_info', - :'transaction_risk_info' + :'credit_loan_info', + :'investments' ]) end @@ -96,13 +84,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::LastDataAccessTimes` initialize method" + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::ApplicationLastDataAccessTimes` 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::LastDataAccessTimes`. 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::ApplicationLastDataAccessTimes`. 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 } @@ -119,29 +107,21 @@ def initialize(attributes = {}) self.account_routing_number = attributes[:'account_routing_number'] end - if attributes.key?(:'contact_details') - self.contact_details = attributes[:'contact_details'] + if attributes.key?(:'contact_info') + self.contact_info = attributes[:'contact_info'] end if attributes.key?(:'transactions') self.transactions = attributes[:'transactions'] end - if attributes.key?(:'credit_and_loans') - self.credit_and_loans = attributes[:'credit_and_loans'] + if attributes.key?(:'credit_loan_info') + self.credit_loan_info = attributes[:'credit_loan_info'] end if attributes.key?(:'investments') self.investments = attributes[:'investments'] end - - if attributes.key?(:'payroll_info') - self.payroll_info = attributes[:'payroll_info'] - end - - if attributes.key?(:'transaction_risk_info') - self.transaction_risk_info = attributes[:'transaction_risk_info'] - end end # Show invalid properties with the reasons. Usually used together with valid? @@ -170,12 +150,10 @@ def ==(o) application_id == o.application_id && account_balance_info == o.account_balance_info && account_routing_number == o.account_routing_number && - contact_details == o.contact_details && + contact_info == o.contact_info && transactions == o.transactions && - credit_and_loans == o.credit_and_loans && - investments == o.investments && - payroll_info == o.payroll_info && - transaction_risk_info == o.transaction_risk_info + credit_loan_info == o.credit_loan_info && + investments == o.investments end # @see the `==` method @@ -187,7 +165,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [application_id, account_balance_info, account_routing_number, contact_details, transactions, credit_and_loans, investments, payroll_info, transaction_risk_info].hash + [application_id, account_balance_info, account_routing_number, contact_info, transactions, credit_loan_info, investments].hash end # Builds the object from hash diff --git a/lib/plaid/models/apr.rb b/lib/plaid/models/apr.rb index 3e690c9d0c..1b6b5ddbba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -135,7 +135,7 @@ def list_invalid_properties def valid? return false if @apr_percentage.nil? return false if @apr_type.nil? - apr_type_validator = EnumAttributeValidator.new('String', ["balance_transfer_apr", "cash_apr", "purchase_apr", "special"]) + apr_type_validator = EnumAttributeValidator.new('String', ["balance_transfer_apr", "cash_apr", "penalty_apr", "purchase_apr", "special"]) return false unless apr_type_validator.valid?(@apr_type) true end @@ -143,7 +143,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] apr_type Object to be assigned def apr_type=(apr_type) - validator = EnumAttributeValidator.new('String', ["balance_transfer_apr", "cash_apr", "purchase_apr", "special"]) + validator = EnumAttributeValidator.new('String', ["balance_transfer_apr", "cash_apr", "penalty_apr", "purchase_apr", "special"]) unless validator.valid?(apr_type) fail ArgumentError, "invalid value for \"apr_type\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/asset.rb b/lib/plaid/models/asset.rb index 7f332c54d4..9155b8e969 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 09669000a9..d58cb56281 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 814a3d61fe..c54846631f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a6251a1e80..c1d0b5e34b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holding.rb b/lib/plaid/models/asset_holding.rb index 4bd3ef0529..fccfe11ab6 100644 --- a/lib/plaid/models/asset_holding.rb +++ b/lib/plaid/models/asset_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_holdings.rb b/lib/plaid/models/asset_holdings.rb index 7d0bf31072..87113b3d64 100644 --- a/lib/plaid/models/asset_holdings.rb +++ b/lib/plaid/models/asset_holdings.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_investment_transaction_type.rb b/lib/plaid/models/asset_investment_transaction_type.rb index 3741a9131a..228d5be4ee 100644 --- a/lib/plaid/models/asset_investment_transaction_type.rb +++ b/lib/plaid/models/asset_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e1326ca874..8c5c130a54 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0652b6725..0b676d00e5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b4e2ec652a..4dcce76fec 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 73446357b6..b383184328 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8002724e96..2bba460f29 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 74042bf435..14c5b8de16 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da5eb49bee..260dff0d65 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 03f618894e..409edc1098 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_audit_copy_pdf_get_request.rb b/lib/plaid/models/asset_report_audit_copy_pdf_get_request.rb index d8d6c1f397..ac1a32b1e1 100644 --- a/lib/plaid/models/asset_report_audit_copy_pdf_get_request.rb +++ b/lib/plaid/models/asset_report_audit_copy_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4aa8a3087b..bebbfb865c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 48a1221764..a26064d818 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f4198f61f7..b8f79b1bf5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e650214488..fe250adeb5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_create_response.rb b/lib/plaid/models/asset_report_create_response.rb index 5aa8bfcf13..05bcbb3bef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b7fbc14ad..fb16142148 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f1805d3be3..51af8db777 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 00e303bc08..91088d97fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0b2317f2a9..1df6cc53f9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 50da8e9ba3..7bece1cac6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef98b8e8fe..f1b8bbfa13 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 47491efcbd..01903eaf1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b7907d7f44..c4a9661681 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 77a8844de8..aafea72695 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -46,6 +46,9 @@ class AssetReportInvestmentHolding # The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. 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 + # Per-lot acquisition data for this holding. This field is absent when lot-level data is not available for the holding — either the institution does not provide it, or the report was generated before lot-level data was supported. Refresh the report if you expect lots. + attr_accessor :tax_lots + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -58,7 +61,8 @@ def self.attribute_map :'cost_basis' => :'cost_basis', :'quantity' => :'quantity', :'iso_currency_code' => :'iso_currency_code', - :'unofficial_currency_code' => :'unofficial_currency_code' + :'unofficial_currency_code' => :'unofficial_currency_code', + :'tax_lots' => :'tax_lots' } end @@ -79,7 +83,8 @@ def self.openapi_types :'cost_basis' => :'Float', :'quantity' => :'Float', :'iso_currency_code' => :'String', - :'unofficial_currency_code' => :'String' + :'unofficial_currency_code' => :'String', + :'tax_lots' => :'Array' } end @@ -90,7 +95,7 @@ def self.openapi_nullable :'institution_price_as_of', :'cost_basis', :'iso_currency_code', - :'unofficial_currency_code' + :'unofficial_currency_code', ]) end @@ -148,6 +153,12 @@ def initialize(attributes = {}) if attributes.key?(:'unofficial_currency_code') self.unofficial_currency_code = attributes[:'unofficial_currency_code'] end + + if attributes.key?(:'tax_lots') + if (value = attributes[:'tax_lots']).is_a?(Array) + self.tax_lots = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -202,7 +213,8 @@ def ==(o) cost_basis == o.cost_basis && quantity == o.quantity && iso_currency_code == o.iso_currency_code && - unofficial_currency_code == o.unofficial_currency_code + unofficial_currency_code == o.unofficial_currency_code && + tax_lots == o.tax_lots end # @see the `==` method @@ -214,7 +226,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, security_id, ticker_symbol, institution_price, institution_price_as_of, institution_value, cost_basis, quantity, iso_currency_code, unofficial_currency_code].hash + [account_id, security_id, ticker_symbol, institution_price, institution_price_as_of, institution_value, cost_basis, quantity, iso_currency_code, unofficial_currency_code, tax_lots].hash end # Builds the object from hash diff --git a/lib/plaid/models/asset_report_investment_security.rb b/lib/plaid/models/asset_report_investment_security.rb index aa40e449ab..2b503a2fdb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/asset_report_investment_transaction.rb b/lib/plaid/models/asset_report_investment_transaction.rb index 5c43001e22..1724728e63 100644 --- a/lib/plaid/models/asset_report_investment_transaction.rb +++ b/lib/plaid/models/asset_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3a821d706a..d19e3b3d06 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 32eaa3b1ca..2ae6dcee75 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c192c9ccf1..09045a6cb8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7ef08c3f27..62ed9a9e98 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 747862840a..6765dfbcc4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1c24b78a9f..45dbd5ff11 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 51c790c6cd..3fce6da57f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e3f0515d0c..45bdc25487 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 60997fa56a..1445589655 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c6d41d6556..633640c2bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 35b0de411c..35aec291c1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4a8ef5e3a7..718bf6854b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e6473c17a..f9e3b91329 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 46beccbe14..42069529a0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6329839de9..6fa111c26e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 944edbc0a1..660efc017e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9712a3e250..819ce190ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ff8236e848..90ed8dc41a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 68f3f8f521..c816c69701 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 74885a1364..4a0653db27 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c435c0ae0..55041b09dc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 65af0a259c..bd580fbe41 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d8ef44051b..e00d35e160 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 58d726f3f8..94cf270ae9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_get_numbers.rb b/lib/plaid/models/auth_get_numbers.rb index c101fc426d..13e0e4813e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 70b25e3237..afcb090189 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2fd435c815..133b07009d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 45df1dc1fd..6e668784ed 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 965493a944..85b6cdb66e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3aba415f63..8385e0c3a6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d91ea836d6..663fe5bb69 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_verify_numbers_ach.rb b/lib/plaid/models/auth_verify_numbers_ach.rb index 9fb4fbe214..b7fb526051 100644 --- a/lib/plaid/models/auth_verify_numbers_ach.rb +++ b/lib/plaid/models/auth_verify_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_verify_request.rb b/lib/plaid/models/auth_verify_request.rb index e1c0912bee..24c1874815 100644 --- a/lib/plaid/models/auth_verify_request.rb +++ b/lib/plaid/models/auth_verify_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_verify_request_numbers.rb b/lib/plaid/models/auth_verify_request_numbers.rb index 12abdfd460..258f5ec082 100644 --- a/lib/plaid/models/auth_verify_request_numbers.rb +++ b/lib/plaid/models/auth_verify_request_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/auth_verify_response.rb b/lib/plaid/models/auth_verify_response.rb index ede68a98bb..97aa01034d 100644 --- a/lib/plaid/models/auth_verify_response.rb +++ b/lib/plaid/models/auth_verify_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/authorization_guarantee_details.rb b/lib/plaid/models/authorization_guarantee_details.rb index 3e26c59691..784f12e745 100644 --- a/lib/plaid/models/authorization_guarantee_details.rb +++ b/lib/plaid/models/authorization_guarantee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/authorization_guarantee_schedule_item.rb b/lib/plaid/models/authorization_guarantee_schedule_item.rb index ffdbf0d795..e074b1ae93 100644 --- a/lib/plaid/models/authorization_guarantee_schedule_item.rb +++ b/lib/plaid/models/authorization_guarantee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d6c4f9f01a..f16dcd6a95 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2f0ee2fd84..f9c889b3ed 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6ae7dfb8ff..c6fdb23da6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 70cc8a889f..d0dd01ac3e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ba26516e2..3d70cb8ffb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 580fb50a3e..a992d45a71 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 47bde826f9..f09a5606bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/bank_penalties_indicators.rb b/lib/plaid/models/bank_penalties_indicators.rb index 1cb038b261..9b9326e5c0 100644 --- a/lib/plaid/models/bank_penalties_indicators.rb +++ b/lib/plaid/models/bank_penalties_indicators.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4325fff875..5f4e7d46e1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6261aabdea..370c0dc1f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2a9b888902..fb7bd295f8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ddaaf018a..48dd1c685c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e93c19b99f..81caa15221 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5180c6641a..002e960c54 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8f58ed71c5..6f68569203 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e574e3892..9757d1aaf5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 13f4fd4cb4..5775a7e7cc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6c6582a784..7533eeeec9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 72fe3c7d8d..058112d45e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 33761ea622..c24fa4739d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5b6707a973..cf7457b141 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 94c2f86f6f..d3c83f8bbb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ed4b09f56b..a2e8c91ac1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2c2afd9ceb..8d56ee523f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9f34597203..28de171984 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 16d9d67ca6..fecc9104ae 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1b87b81266..08609f5fd9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7bc204c800..3a59e9e97e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea71bf83b4..dcc46bcca0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 81fec0bfdd..a3983975e2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e44ecaec77..213d186e0f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da43ae7858..611a80a863 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b835ffe86f..123b445a0b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 87bdfd542f..87a6484493 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4b7a150dc6..45d930efbc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 afae4d993c..3f641025f7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 560ed611e4..de35c20225 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7a4b21230a..fd7589ed58 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 972f28cb23..83f274efd6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 952a22c0d2..38ac018bb1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c58386d006..0739e5b404 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bb9f4c376f..ea7b4527f0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c27530cf77..d0aec1970b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b258f72bee..250c7a4556 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 049157b2eb..8d2c5dd17e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_account_balances.rb b/lib/plaid/models/base_report_account_balances.rb index 03303e6d40..7654eb9ab8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_account_insights.rb b/lib/plaid/models/base_report_account_insights.rb index 407a6c12c6..aac6319d8b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_account_metadata.rb b/lib/plaid/models/base_report_account_metadata.rb index eba9103707..8023e01368 100644 --- a/lib/plaid/models/base_report_account_metadata.rb +++ b/lib/plaid/models/base_report_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_attributes.rb b/lib/plaid/models/base_report_attributes.rb index 57640f9e02..536fdca1fc 100644 --- a/lib/plaid/models/base_report_attributes.rb +++ b/lib/plaid/models/base_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_average_flow_insights.rb b/lib/plaid/models/base_report_average_flow_insights.rb index 233e8a62d5..9db9cb4ec5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_average_monthly_balances.rb b/lib/plaid/models/base_report_average_monthly_balances.rb index 4eb2d3e4ae..d7d906be82 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_historical_balance.rb b/lib/plaid/models/base_report_historical_balance.rb index 2817960074..ba339d964a 100644 --- a/lib/plaid/models/base_report_historical_balance.rb +++ b/lib/plaid/models/base_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ 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. + # 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 before 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`. diff --git a/lib/plaid/models/base_report_investment_holding.rb b/lib/plaid/models/base_report_investment_holding.rb index ec38754cac..ad1e1b7dba 100644 --- a/lib/plaid/models/base_report_investment_holding.rb +++ b/lib/plaid/models/base_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -43,6 +43,9 @@ class BaseReportInvestmentHolding # The unofficial currency code associated with the holding. Always `null` if `iso_currency_code` is non-`null`. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. 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 + # Per-lot acquisition data for this holding. This field is absent when lot-level data is not available for the holding — either the institution does not provide it, or the report was generated before lot-level data was supported. Refresh the report if you expect lots. + attr_accessor :tax_lots + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { @@ -54,7 +57,8 @@ def self.attribute_map :'cost_basis' => :'cost_basis', :'quantity' => :'quantity', :'iso_currency_code' => :'iso_currency_code', - :'unofficial_currency_code' => :'unofficial_currency_code' + :'unofficial_currency_code' => :'unofficial_currency_code', + :'tax_lots' => :'tax_lots' } end @@ -74,7 +78,8 @@ def self.openapi_types :'cost_basis' => :'Float', :'quantity' => :'Float', :'iso_currency_code' => :'String', - :'unofficial_currency_code' => :'String' + :'unofficial_currency_code' => :'String', + :'tax_lots' => :'Array' } end @@ -84,7 +89,7 @@ def self.openapi_nullable :'institution_price_as_of', :'cost_basis', :'iso_currency_code', - :'unofficial_currency_code' + :'unofficial_currency_code', ]) end @@ -138,6 +143,12 @@ def initialize(attributes = {}) if attributes.key?(:'unofficial_currency_code') self.unofficial_currency_code = attributes[:'unofficial_currency_code'] end + + if attributes.key?(:'tax_lots') + if (value = attributes[:'tax_lots']).is_a?(Array) + self.tax_lots = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -191,7 +202,8 @@ def ==(o) cost_basis == o.cost_basis && quantity == o.quantity && iso_currency_code == o.iso_currency_code && - unofficial_currency_code == o.unofficial_currency_code + unofficial_currency_code == o.unofficial_currency_code && + tax_lots == o.tax_lots end # @see the `==` method @@ -203,7 +215,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, security_id, institution_price, institution_price_as_of, institution_value, cost_basis, quantity, iso_currency_code, unofficial_currency_code].hash + [account_id, security_id, institution_price, institution_price_as_of, institution_value, cost_basis, quantity, iso_currency_code, unofficial_currency_code, tax_lots].hash end # Builds the object from hash diff --git a/lib/plaid/models/base_report_investment_security.rb b/lib/plaid/models/base_report_investment_security.rb index b313713f26..c2a3e83634 100644 --- a/lib/plaid/models/base_report_investment_security.rb +++ b/lib/plaid/models/base_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_investment_transaction.rb b/lib/plaid/models/base_report_investment_transaction.rb index 7eab498eed..6992d0fd7c 100644 --- a/lib/plaid/models/base_report_investment_transaction.rb +++ b/lib/plaid/models/base_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_investments.rb b/lib/plaid/models/base_report_investments.rb index 45a72b3872..ab6d390245 100644 --- a/lib/plaid/models/base_report_investments.rb +++ b/lib/plaid/models/base_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_item.rb b/lib/plaid/models/base_report_item.rb index b6f47b970f..12b0d4d751 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5b2714ad61..cd1582d22d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_number_flow_insights.rb b/lib/plaid/models/base_report_number_flow_insights.rb index 1cb5c80bc7..9219cf69b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_transaction.rb b/lib/plaid/models/base_report_transaction.rb index 203b97b326..bbc291897c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_transaction_personal_finance_category.rb b/lib/plaid/models/base_report_transaction_personal_finance_category.rb index 35fbf51800..12302be409 100644 --- a/lib/plaid/models/base_report_transaction_personal_finance_category.rb +++ b/lib/plaid/models/base_report_transaction_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_transaction_type.rb b/lib/plaid/models/base_report_transaction_type.rb index 6f4da90af8..a5ad57684b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/base_report_user_attributes.rb b/lib/plaid/models/base_report_user_attributes.rb index d1667d5a5c..d9d9d2f043 100644 --- a/lib/plaid/models/base_report_user_attributes.rb +++ b/lib/plaid/models/base_report_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 398cdeef96..d789b92cd2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 502d13e75a..89762dd85b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 424667f97c..3ba2951da3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 39a1ac9db4..ea281584d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c6da31509a..ee730b3944 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b4892f9ad2..ce607d6d7a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f7f41e9a85..83b6a13366 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1cbfb2d3d2..89be0e5390 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b92e5bbc32..7949441976 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0f9e13dc5b..df3b940f12 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 90a27f800b..3b5cc7b8cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 84a8244d08..cc5c1f5c32 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 276ed33e3c..6da2867acb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2c784d4a65..4163d7537d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 19d9d2ec94..5667eeb3e2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a1b3054256..a4aca5c240 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 44cae0edd8..dcc63e71f3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 be66056cda..a2f0f5f9e5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c70efeebe..5c41a206ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c66fc1b2dd..b514f75ec3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_create_request.rb b/lib/plaid/models/beacon_report_create_request.rb index 9b1a6b933d..615a0a20ac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_create_response.rb b/lib/plaid/models/beacon_report_create_response.rb index 6e2f67109b..96977bc52e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_create_type.rb b/lib/plaid/models/beacon_report_create_type.rb index fb2a045ec0..1b0da59b0f 100644 --- a/lib/plaid/models/beacon_report_create_type.rb +++ b/lib/plaid/models/beacon_report_create_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_created_webhook.rb b/lib/plaid/models/beacon_report_created_webhook.rb index b24a42d4d9..6aa16b1ce3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4f460610e5..7cd286f671 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 343c29277b..c38882c6a5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_list_request.rb b/lib/plaid/models/beacon_report_list_request.rb index b26d9a73fd..fcae5dbf4b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d030210e68..cebcb1876e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b778cb902e..e42fb78009 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 70b4acad69..d0e19cac9d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_syndication_created_webhook.rb b/lib/plaid/models/beacon_report_syndication_created_webhook.rb index e53d076869..343ef5e388 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4e3072a8b8..0cb4626b33 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0ec5688ce0..3612f21965 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d60bcf3eab..42ddba52a8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aa02efcc54..cfb9b59efc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b35f708e40..382100d042 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_type.rb b/lib/plaid/models/beacon_report_type.rb index 52a5b0dd05..cddafb3983 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_report_updated_webhook.rb b/lib/plaid/models/beacon_report_updated_webhook.rb index f66996b4c4..45f6df4229 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 429180f99c..788c0a0e1d 100644 --- a/lib/plaid/models/beacon_syndicated_report_depository_account_match_analysis.rb +++ b/lib/plaid/models/beacon_syndicated_report_depository_account_match_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user.rb b/lib/plaid/models/beacon_user.rb index 48b9ed13c2..9bc27d9b93 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 25a406a768..9aed76d70a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d839ad2557..18d7f9984f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c155227f3..e96f6f3e51 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_create_request.rb b/lib/plaid/models/beacon_user_create_request.rb index e57502de46..081146885a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_create_response.rb b/lib/plaid/models/beacon_user_create_response.rb index 790ac00312..2cf9d45860 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b629392725..2f20d57d58 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_depository_account.rb b/lib/plaid/models/beacon_user_depository_account.rb index eb650f7695..ad521a623e 100644 --- a/lib/plaid/models/beacon_user_depository_account.rb +++ b/lib/plaid/models/beacon_user_depository_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_get_request.rb b/lib/plaid/models/beacon_user_get_request.rb index 2cb146dc7b..c9ea84cd56 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b77ea1fbc4..b3c72f1a3a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 629b68dd29..634f0d6271 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d915a1f871..9440841870 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4aad58792c..1972c4149a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7106e87e6f..452117c5d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ac40888aac..52e9ce4881 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 02f200c696..6051b43680 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_request_address_nullable.rb b/lib/plaid/models/beacon_user_request_address_nullable.rb index 0f3b6d32a3..2cd2e6707e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_request_data.rb b/lib/plaid/models/beacon_user_request_data.rb index 259225f09b..a25501be21 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_request_depository_account.rb b/lib/plaid/models/beacon_user_request_depository_account.rb index 4f766596ad..6e67ff6dfb 100644 --- a/lib/plaid/models/beacon_user_request_depository_account.rb +++ b/lib/plaid/models/beacon_user_request_depository_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_review_request.rb b/lib/plaid/models/beacon_user_review_request.rb index e2a8fe64cb..2f4e898d7c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dbe5fe1957..32e384246d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a07911e23c..cae8111226 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d5a61462e0..d608b38732 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a24d18714a..b737ecffad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cc2dc4bb40..50ee6a7358 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beacon_user_update_response.rb b/lib/plaid/models/beacon_user_update_response.rb index ca3f2a6063..011590f2d2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_ewa_report_v1_get_request.rb b/lib/plaid/models/beta_ewa_report_v1_get_request.rb index f75a306268..61519559d0 100644 --- a/lib/plaid/models/beta_ewa_report_v1_get_request.rb +++ b/lib/plaid/models/beta_ewa_report_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_ewa_report_v1_get_response.rb b/lib/plaid/models/beta_ewa_report_v1_get_response.rb index 05d41825e2..80f6c9c32f 100644 --- a/lib/plaid/models/beta_ewa_report_v1_get_response.rb +++ b/lib/plaid/models/beta_ewa_report_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_issues_v1_get_request.rb b/lib/plaid/models/beta_issues_v1_get_request.rb new file mode 100644 index 0000000000..1a554ffbe1 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1GetRequest defines the request schema for `/beta/issues/v1/get`. + class BetaIssuesV1GetRequest + # 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 KI- or INC-prefixed identifier of the issue to retrieve. + attr_accessor :issue_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'issue_id' => :'issue_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', + :'issue_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::BetaIssuesV1GetRequest` 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::BetaIssuesV1GetRequest`. 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?(:'issue_id') + self.issue_id = attributes[:'issue_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 @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_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 @issue_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 && + issue_id == o.issue_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, issue_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/beta_issues_v1_get_response.rb b/lib/plaid/models/beta_issues_v1_get_response.rb new file mode 100644 index 0000000000..3f7bdd9084 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_get_response.rb @@ -0,0 +1,499 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1GetResponse defines the response schema for `/beta/issues/v1/get`. + class BetaIssuesV1GetResponse + # The customer-visible identifier of the issue. + attr_accessor :issue_id + + attr_accessor :issue_type + + attr_accessor :severity + + # The identifier of the institution affected by the issue. + attr_accessor :institution_id + + # The name of the institution affected by the issue. + attr_accessor :institution_name + + # The customer-visible effects of the issue. + attr_accessor :behaviors + + # The API error type associated with the issue if available. Mirrors the `error_type` field on `PlaidError` returned on error responses and is safe for programmatic use. Always null or non-null together with `issue_error_code`. + attr_accessor :issue_error_type + + # The API error code associated with the issue if available. Always null or non-null together with `issue_error_type`. + attr_accessor :issue_error_code + + # A customer-facing explanation of the issue. + attr_accessor :description + + attr_accessor :attribution + + attr_accessor :status + + # Guidance for an end user affected by the issue, or null when no guidance is available. + attr_accessor :user_guidance + + # The estimated resolution time, or null when no estimate is available. + attr_accessor :estimated_resolution_time + + # The time the issue began, or null when it is unknown. Only populated for incidents. + attr_accessor :start_time + + # The time the issue ended, or null while it remains active. + attr_accessor :end_time + + attr_accessor :impact + + # The Plaid products affected by the issue. + attr_accessor :affected_products + + # Resolution events recorded for the issue. + attr_accessor :resolution_log + + # 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 + { + :'issue_id' => :'issue_id', + :'issue_type' => :'issue_type', + :'severity' => :'severity', + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name', + :'behaviors' => :'behaviors', + :'issue_error_type' => :'issue_error_type', + :'issue_error_code' => :'issue_error_code', + :'description' => :'description', + :'attribution' => :'attribution', + :'status' => :'status', + :'user_guidance' => :'user_guidance', + :'estimated_resolution_time' => :'estimated_resolution_time', + :'start_time' => :'start_time', + :'end_time' => :'end_time', + :'impact' => :'impact', + :'affected_products' => :'affected_products', + :'resolution_log' => :'resolution_log', + :'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 + { + :'issue_id' => :'String', + :'issue_type' => :'BetaIssuesV1IssueType', + :'severity' => :'BetaIssuesV1IssueSeverity', + :'institution_id' => :'String', + :'institution_name' => :'String', + :'behaviors' => :'Array', + :'issue_error_type' => :'String', + :'issue_error_code' => :'String', + :'description' => :'String', + :'attribution' => :'BetaIssuesV1IssueAttribution', + :'status' => :'BetaIssuesV1IssueStatus', + :'user_guidance' => :'String', + :'estimated_resolution_time' => :'Time', + :'start_time' => :'Time', + :'end_time' => :'Time', + :'impact' => :'BetaIssuesV1IssueImpact', + :'affected_products' => :'Array', + :'resolution_log' => :'Array', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'issue_error_type', + :'issue_error_code', + :'user_guidance', + :'estimated_resolution_time', + :'start_time', + :'end_time', + :'impact', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'BetaIssuesV1Issue', + :'PaymentInitiationRecipientGetResponseAllOf' + ] + 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::BetaIssuesV1GetResponse` 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::BetaIssuesV1GetResponse`. 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?(:'issue_id') + self.issue_id = attributes[:'issue_id'] + end + + if attributes.key?(:'issue_type') + self.issue_type = attributes[:'issue_type'] + end + + if attributes.key?(:'severity') + self.severity = attributes[:'severity'] + 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 + + if attributes.key?(:'behaviors') + if (value = attributes[:'behaviors']).is_a?(Array) + self.behaviors = value + end + end + + if attributes.key?(:'issue_error_type') + self.issue_error_type = attributes[:'issue_error_type'] + end + + if attributes.key?(:'issue_error_code') + self.issue_error_code = attributes[:'issue_error_code'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'attribution') + self.attribution = attributes[:'attribution'] + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'user_guidance') + self.user_guidance = attributes[:'user_guidance'] + end + + if attributes.key?(:'estimated_resolution_time') + self.estimated_resolution_time = attributes[:'estimated_resolution_time'] + end + + if attributes.key?(:'start_time') + self.start_time = attributes[:'start_time'] + end + + if attributes.key?(:'end_time') + self.end_time = attributes[:'end_time'] + end + + if attributes.key?(:'impact') + self.impact = attributes[:'impact'] + end + + if attributes.key?(:'affected_products') + if (value = attributes[:'affected_products']).is_a?(Array) + self.affected_products = value + end + end + + if attributes.key?(:'resolution_log') + if (value = attributes[:'resolution_log']).is_a?(Array) + self.resolution_log = value + end + 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 @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_id cannot be nil.') + end + + if @issue_type.nil? + invalid_properties.push('invalid value for "issue_type", issue_type cannot be nil.') + end + + if @severity.nil? + invalid_properties.push('invalid value for "severity", severity 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 + + if @behaviors.nil? + invalid_properties.push('invalid value for "behaviors", behaviors cannot be nil.') + end + + if @description.nil? + invalid_properties.push('invalid value for "description", description cannot be nil.') + end + + if @attribution.nil? + invalid_properties.push('invalid value for "attribution", attribution cannot be nil.') + end + + if @status.nil? + invalid_properties.push('invalid value for "status", status cannot be nil.') + end + + if @affected_products.nil? + invalid_properties.push('invalid value for "affected_products", affected_products cannot be nil.') + end + + if @resolution_log.nil? + invalid_properties.push('invalid value for "resolution_log", resolution_log 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 @issue_id.nil? + return false if @issue_type.nil? + return false if @severity.nil? + return false if @institution_id.nil? + return false if @institution_name.nil? + return false if @behaviors.nil? + return false if @description.nil? + return false if @attribution.nil? + return false if @status.nil? + return false if @affected_products.nil? + return false if @resolution_log.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 && + issue_id == o.issue_id && + issue_type == o.issue_type && + severity == o.severity && + institution_id == o.institution_id && + institution_name == o.institution_name && + behaviors == o.behaviors && + issue_error_type == o.issue_error_type && + issue_error_code == o.issue_error_code && + description == o.description && + attribution == o.attribution && + status == o.status && + user_guidance == o.user_guidance && + estimated_resolution_time == o.estimated_resolution_time && + start_time == o.start_time && + end_time == o.end_time && + impact == o.impact && + affected_products == o.affected_products && + resolution_log == o.resolution_log && + 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 + [issue_id, issue_type, severity, institution_id, institution_name, behaviors, issue_error_type, issue_error_code, description, attribution, status, user_guidance, estimated_resolution_time, start_time, end_time, impact, affected_products, resolution_log, 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/beta_issues_v1_issue.rb b/lib/plaid/models/beta_issues_v1_issue.rb new file mode 100644 index 0000000000..cf027b7415 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue.rb @@ -0,0 +1,476 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A customer-facing institution issue. + class BetaIssuesV1Issue + # The customer-visible identifier of the issue. + attr_accessor :issue_id + + attr_accessor :issue_type + + attr_accessor :severity + + # The identifier of the institution affected by the issue. + attr_accessor :institution_id + + # The name of the institution affected by the issue. + attr_accessor :institution_name + + # The customer-visible effects of the issue. + attr_accessor :behaviors + + # The API error type associated with the issue if available. Mirrors the `error_type` field on `PlaidError` returned on error responses and is safe for programmatic use. Always null or non-null together with `issue_error_code`. + attr_accessor :issue_error_type + + # The API error code associated with the issue if available. Always null or non-null together with `issue_error_type`. + attr_accessor :issue_error_code + + # A customer-facing explanation of the issue. + attr_accessor :description + + attr_accessor :attribution + + attr_accessor :status + + # Guidance for an end user affected by the issue, or null when no guidance is available. + attr_accessor :user_guidance + + # The estimated resolution time, or null when no estimate is available. + attr_accessor :estimated_resolution_time + + # The time the issue began, or null when it is unknown. Only populated for incidents. + attr_accessor :start_time + + # The time the issue ended, or null while it remains active. + attr_accessor :end_time + + attr_accessor :impact + + # The Plaid products affected by the issue. + attr_accessor :affected_products + + # Resolution events recorded for the issue. + attr_accessor :resolution_log + + 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 + { + :'issue_id' => :'issue_id', + :'issue_type' => :'issue_type', + :'severity' => :'severity', + :'institution_id' => :'institution_id', + :'institution_name' => :'institution_name', + :'behaviors' => :'behaviors', + :'issue_error_type' => :'issue_error_type', + :'issue_error_code' => :'issue_error_code', + :'description' => :'description', + :'attribution' => :'attribution', + :'status' => :'status', + :'user_guidance' => :'user_guidance', + :'estimated_resolution_time' => :'estimated_resolution_time', + :'start_time' => :'start_time', + :'end_time' => :'end_time', + :'impact' => :'impact', + :'affected_products' => :'affected_products', + :'resolution_log' => :'resolution_log' + } + 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 + { + :'issue_id' => :'String', + :'issue_type' => :'BetaIssuesV1IssueType', + :'severity' => :'BetaIssuesV1IssueSeverity', + :'institution_id' => :'String', + :'institution_name' => :'String', + :'behaviors' => :'Array', + :'issue_error_type' => :'String', + :'issue_error_code' => :'String', + :'description' => :'String', + :'attribution' => :'BetaIssuesV1IssueAttribution', + :'status' => :'BetaIssuesV1IssueStatus', + :'user_guidance' => :'String', + :'estimated_resolution_time' => :'Time', + :'start_time' => :'Time', + :'end_time' => :'Time', + :'impact' => :'BetaIssuesV1IssueImpact', + :'affected_products' => :'Array', + :'resolution_log' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'issue_error_type', + :'issue_error_code', + :'user_guidance', + :'estimated_resolution_time', + :'start_time', + :'end_time', + :'impact', + ]) + 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::BetaIssuesV1Issue` 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::BetaIssuesV1Issue`. 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?(:'issue_id') + self.issue_id = attributes[:'issue_id'] + end + + if attributes.key?(:'issue_type') + self.issue_type = attributes[:'issue_type'] + end + + if attributes.key?(:'severity') + self.severity = attributes[:'severity'] + 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 + + if attributes.key?(:'behaviors') + if (value = attributes[:'behaviors']).is_a?(Array) + self.behaviors = value + end + end + + if attributes.key?(:'issue_error_type') + self.issue_error_type = attributes[:'issue_error_type'] + end + + if attributes.key?(:'issue_error_code') + self.issue_error_code = attributes[:'issue_error_code'] + end + + if attributes.key?(:'description') + self.description = attributes[:'description'] + end + + if attributes.key?(:'attribution') + self.attribution = attributes[:'attribution'] + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'user_guidance') + self.user_guidance = attributes[:'user_guidance'] + end + + if attributes.key?(:'estimated_resolution_time') + self.estimated_resolution_time = attributes[:'estimated_resolution_time'] + end + + if attributes.key?(:'start_time') + self.start_time = attributes[:'start_time'] + end + + if attributes.key?(:'end_time') + self.end_time = attributes[:'end_time'] + end + + if attributes.key?(:'impact') + self.impact = attributes[:'impact'] + end + + if attributes.key?(:'affected_products') + if (value = attributes[:'affected_products']).is_a?(Array) + self.affected_products = value + end + end + + if attributes.key?(:'resolution_log') + if (value = attributes[:'resolution_log']).is_a?(Array) + self.resolution_log = 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 @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_id cannot be nil.') + end + + if @issue_type.nil? + invalid_properties.push('invalid value for "issue_type", issue_type cannot be nil.') + end + + if @severity.nil? + invalid_properties.push('invalid value for "severity", severity 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 + + if @behaviors.nil? + invalid_properties.push('invalid value for "behaviors", behaviors cannot be nil.') + end + + if @description.nil? + invalid_properties.push('invalid value for "description", description cannot be nil.') + end + + if @attribution.nil? + invalid_properties.push('invalid value for "attribution", attribution cannot be nil.') + end + + if @status.nil? + invalid_properties.push('invalid value for "status", status cannot be nil.') + end + + if @affected_products.nil? + invalid_properties.push('invalid value for "affected_products", affected_products cannot be nil.') + end + + if @resolution_log.nil? + invalid_properties.push('invalid value for "resolution_log", resolution_log 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 @issue_id.nil? + return false if @issue_type.nil? + return false if @severity.nil? + return false if @institution_id.nil? + return false if @institution_name.nil? + return false if @behaviors.nil? + return false if @description.nil? + return false if @attribution.nil? + return false if @status.nil? + return false if @affected_products.nil? + return false if @resolution_log.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 && + issue_id == o.issue_id && + issue_type == o.issue_type && + severity == o.severity && + institution_id == o.institution_id && + institution_name == o.institution_name && + behaviors == o.behaviors && + issue_error_type == o.issue_error_type && + issue_error_code == o.issue_error_code && + description == o.description && + attribution == o.attribution && + status == o.status && + user_guidance == o.user_guidance && + estimated_resolution_time == o.estimated_resolution_time && + start_time == o.start_time && + end_time == o.end_time && + impact == o.impact && + affected_products == o.affected_products && + resolution_log == o.resolution_log + 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 + [issue_id, issue_type, severity, institution_id, institution_name, behaviors, issue_error_type, issue_error_code, description, attribution, status, user_guidance, estimated_resolution_time, start_time, end_time, impact, affected_products, resolution_log].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/beta_issues_v1_issue_attribution.rb b/lib/plaid/models/beta_issues_v1_issue_attribution.rb new file mode 100644 index 0000000000..b4940a3f54 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_attribution.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueAttribution + USER = "USER".freeze + PLAID = "PLAID".freeze + DATA_PARTNER = "DATA_PARTNER".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/beta_issues_v1_issue_behavior.rb b/lib/plaid/models/beta_issues_v1_issue_behavior.rb new file mode 100644 index 0000000000..c22d032ad7 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_behavior.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueBehavior + NEW_CONNECTIONS_CANNOT_BE_ESTABLISHED = "NEW_CONNECTIONS_CANNOT_BE_ESTABLISHED".freeze + EXISTING_CONNECTIONS_WILL_NOT_RECEIVE_UPDATES = "EXISTING_CONNECTIONS_WILL_NOT_RECEIVE_UPDATES".freeze + EXISTING_CONNECTIONS_WILL_BE_DISCONNECTED = "EXISTING_CONNECTIONS_WILL_BE_DISCONNECTED".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/beta_issues_v1_issue_impact.rb b/lib/plaid/models/beta_issues_v1_issue_impact.rb new file mode 100644 index 0000000000..8df64e438c --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_impact.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The client-specific impact of an error issue. + class BetaIssuesV1IssueImpact + attr_accessor :affected_new_item_count + + attr_accessor :affected_existing_item_count + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'affected_new_item_count' => :'affected_new_item_count', + :'affected_existing_item_count' => :'affected_existing_item_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 + { + :'affected_new_item_count' => :'Integer', + :'affected_existing_item_count' => :'Integer' + } + 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::BetaIssuesV1IssueImpact` 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::BetaIssuesV1IssueImpact`. 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?(:'affected_new_item_count') + self.affected_new_item_count = attributes[:'affected_new_item_count'] + end + + if attributes.key?(:'affected_existing_item_count') + self.affected_existing_item_count = attributes[:'affected_existing_item_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 @affected_new_item_count.nil? + invalid_properties.push('invalid value for "affected_new_item_count", affected_new_item_count cannot be nil.') + end + + if @affected_existing_item_count.nil? + invalid_properties.push('invalid value for "affected_existing_item_count", affected_existing_item_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 @affected_new_item_count.nil? + return false if @affected_existing_item_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 && + affected_new_item_count == o.affected_new_item_count && + affected_existing_item_count == o.affected_existing_item_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 + [affected_new_item_count, affected_existing_item_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/beta_issues_v1_issue_resolution_event.rb b/lib/plaid/models/beta_issues_v1_issue_resolution_event.rb new file mode 100644 index 0000000000..efbacc2754 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_resolution_event.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A recorded reduction in the impact of an issue. + class BetaIssuesV1IssueResolutionEvent + attr_accessor :resolution_time + + 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 + { + :'resolution_time' => :'resolution_time', + :'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 + { + :'resolution_time' => :'Time', + :'type' => :'BetaIssuesV1IssueResolutionType' + } + 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::BetaIssuesV1IssueResolutionEvent` 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::BetaIssuesV1IssueResolutionEvent`. 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?(:'resolution_time') + self.resolution_time = attributes[:'resolution_time'] + 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 + if @resolution_time.nil? + invalid_properties.push('invalid value for "resolution_time", resolution_time cannot be nil.') + end + + if @type.nil? + invalid_properties.push('invalid value for "type", type cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @resolution_time.nil? + return false if @type.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + resolution_time == o.resolution_time && + 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 + [resolution_time, 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/beta_issues_v1_issue_resolution_type.rb b/lib/plaid/models/beta_issues_v1_issue_resolution_type.rb new file mode 100644 index 0000000000..4e22a42939 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_resolution_type.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueResolutionType + MANUAL_RESOLUTION = "MANUAL_RESOLUTION".freeze + AUTOMATED_RESOLUTION = "AUTOMATED_RESOLUTION".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/beta_issues_v1_issue_severity.rb b/lib/plaid/models/beta_issues_v1_issue_severity.rb new file mode 100644 index 0000000000..4bec88c125 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_severity.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueSeverity + CRITICAL = "CRITICAL".freeze + HIGH = "HIGH".freeze + MEDIUM = "MEDIUM".freeze + LOW = "LOW".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/beta_issues_v1_issue_status.rb b/lib/plaid/models/beta_issues_v1_issue_status.rb new file mode 100644 index 0000000000..45682a17f9 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_status.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueStatus + USER_ACTION_REQUIRED = "USER_ACTION_REQUIRED".freeze + BACKLOGGED = "BACKLOGGED".freeze + LIKELY_TO_BE_PRIORITIZED = "LIKELY_TO_BE_PRIORITIZED".freeze + IN_PROGRESS = "IN_PROGRESS".freeze + RESOLVED = "RESOLVED".freeze + PENDING_NOTIFICATION = "PENDING_NOTIFICATION".freeze + DATA_PARTNER_NOTIFIED = "DATA_PARTNER_NOTIFIED".freeze + DATA_PARTNER_FIX_IN_PROGRESS = "DATA_PARTNER_FIX_IN_PROGRESS".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/beta_issues_v1_issue_type.rb b/lib/plaid/models/beta_issues_v1_issue_type.rb new file mode 100644 index 0000000000..c567df9d99 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_issue_type.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1IssueType + ERROR = "ERROR".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/beta_issues_v1_list_request.rb b/lib/plaid/models/beta_issues_v1_list_request.rb new file mode 100644 index 0000000000..3d2dd5a977 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_list_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1ListRequest defines the request schema for `/beta/issues/v1/list`. + class BetaIssuesV1ListRequest + # 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 identifier of the institution whose issues should be returned. + attr_accessor :institution_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'institution_id' => :'institution_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', + :'institution_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::BetaIssuesV1ListRequest` 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::BetaIssuesV1ListRequest`. 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?(:'institution_id') + self.institution_id = attributes[:'institution_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 + + 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? + 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 && + institution_id == o.institution_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, institution_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/beta_issues_v1_list_response.rb b/lib/plaid/models/beta_issues_v1_list_response.rb new file mode 100644 index 0000000000..db61d79fb2 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_list_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1ListResponse defines the response schema for `/beta/issues/v1/list`. + class BetaIssuesV1ListResponse + # Critical and high-severity issues that are active or were resolved in the past 14 days. An empty list indicates that no matching issues were found. + attr_accessor :issues + + # 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 + { + :'issues' => :'issues', + :'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 + { + :'issues' => :'Array', + :'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::BetaIssuesV1ListResponse` 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::BetaIssuesV1ListResponse`. 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?(:'issues') + if (value = attributes[:'issues']).is_a?(Array) + self.issues = value + end + 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 @issues.nil? + invalid_properties.push('invalid value for "issues", issues 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 @issues.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 && + issues == o.issues && + 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 + [issues, 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/beta_issues_v1_match_identifier_type.rb b/lib/plaid/models/beta_issues_v1_match_identifier_type.rb new file mode 100644 index 0000000000..730fa2a28c --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_match_identifier_type.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class BetaIssuesV1MatchIdentifierType + ITEM_ID = "ITEM_ID".freeze + REQUEST_ID = "REQUEST_ID".freeze + LINK_SESSION_ID = "LINK_SESSION_ID".freeze + ACCOUNT_ID = "ACCOUNT_ID".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/beta_issues_v1_match_request.rb b/lib/plaid/models/beta_issues_v1_match_request.rb new file mode 100644 index 0000000000..789844d8c3 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_match_request.rb @@ -0,0 +1,282 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1MatchRequest defines the request schema for `/beta/issues/v1/match`. + class BetaIssuesV1MatchRequest + # 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 :identifier_type + + # The Item, request, Link session, or Account identifier to match. + attr_accessor :identifier + + 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 + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'identifier_type' => :'identifier_type', + :'identifier' => :'identifier' + } + 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', + :'identifier_type' => :'BetaIssuesV1MatchIdentifierType', + :'identifier' => :'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::BetaIssuesV1MatchRequest` 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::BetaIssuesV1MatchRequest`. 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?(:'identifier_type') + self.identifier_type = attributes[:'identifier_type'] + end + + if attributes.key?(:'identifier') + self.identifier = attributes[:'identifier'] + 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 @identifier_type.nil? + invalid_properties.push('invalid value for "identifier_type", identifier_type cannot be nil.') + end + + if @identifier.nil? + invalid_properties.push('invalid value for "identifier", identifier 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 @identifier_type.nil? + return false if @identifier.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 && + identifier_type == o.identifier_type && + identifier == o.identifier + 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, identifier_type, identifier].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/beta_issues_v1_match_response.rb b/lib/plaid/models/beta_issues_v1_match_response.rb new file mode 100644 index 0000000000..c68ff17558 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_match_response.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1MatchResponse defines the response schema for `/beta/issues/v1/match`. + class BetaIssuesV1MatchResponse + # The identifier of the Item used to match issues. + attr_accessor :item_id + + # Issues matched to the Item. An empty list indicates that no matching issues were found. + attr_accessor :issues + + # 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 + { + :'item_id' => :'item_id', + :'issues' => :'issues', + :'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 + { + :'item_id' => :'String', + :'issues' => :'Array', + :'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::BetaIssuesV1MatchResponse` 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::BetaIssuesV1MatchResponse`. 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?(:'issues') + if (value = attributes[:'issues']).is_a?(Array) + self.issues = value + end + 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 @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @issues.nil? + invalid_properties.push('invalid value for "issues", issues 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 @item_id.nil? + return false if @issues.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 && + item_id == o.item_id && + issues == o.issues && + 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 + [item_id, issues, 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/beta_issues_v1_subscribe_request.rb b/lib/plaid/models/beta_issues_v1_subscribe_request.rb new file mode 100644 index 0000000000..82581e956e --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1SubscribeRequest defines the request schema for `/beta/issues/v1/subscribe`. + class BetaIssuesV1SubscribeRequest + # 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 KI- or INC-prefixed identifier of the issue to subscribe to. + attr_accessor :issue_id + + # The URL that will receive issue resolution webhooks. + attr_accessor :webhook + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'issue_id' => :'issue_id', + :'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', + :'issue_id' => :'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::BetaIssuesV1SubscribeRequest` 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::BetaIssuesV1SubscribeRequest`. 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?(:'issue_id') + self.issue_id = attributes[:'issue_id'] + 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 @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_id 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 @issue_id.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 && + issue_id == o.issue_id && + 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, issue_id, 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/beta_issues_v1_subscribe_response.rb b/lib/plaid/models/beta_issues_v1_subscribe_response.rb new file mode 100644 index 0000000000..fb6e940bc3 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_subscribe_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1SubscribeResponse defines the response schema for `/beta/issues/v1/subscribe`. + class BetaIssuesV1SubscribeResponse + # 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::BetaIssuesV1SubscribeResponse` 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::BetaIssuesV1SubscribeResponse`. 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/beta_issues_v1_unsubscribe_request.rb b/lib/plaid/models/beta_issues_v1_unsubscribe_request.rb new file mode 100644 index 0000000000..aaa513d709 --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1UnsubscribeRequest defines the request schema for `/beta/issues/v1/unsubscribe`. + class BetaIssuesV1UnsubscribeRequest + # 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 customer-visible KI- or INC-prefixed identifier of the issue to unsubscribe from. + attr_accessor :issue_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'issue_id' => :'issue_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', + :'issue_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::BetaIssuesV1UnsubscribeRequest` 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::BetaIssuesV1UnsubscribeRequest`. 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?(:'issue_id') + self.issue_id = attributes[:'issue_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 @issue_id.nil? + invalid_properties.push('invalid value for "issue_id", issue_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 @issue_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 && + issue_id == o.issue_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, issue_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/beta_issues_v1_unsubscribe_response.rb b/lib/plaid/models/beta_issues_v1_unsubscribe_response.rb new file mode 100644 index 0000000000..d678823ddd --- /dev/null +++ b/lib/plaid/models/beta_issues_v1_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaIssuesV1UnsubscribeResponse defines the response schema for `/beta/issues/v1/unsubscribe`. + class BetaIssuesV1UnsubscribeResponse + # 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::BetaIssuesV1UnsubscribeResponse` 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::BetaIssuesV1UnsubscribeResponse`. 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/beta_partner_customer_v1_create_request.rb b/lib/plaid/models/beta_partner_customer_v1_create_request.rb index 7f84ad9a54..8a6f16f34d 100644 --- a/lib/plaid/models/beta_partner_customer_v1_create_request.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_create_response.rb b/lib/plaid/models/beta_partner_customer_v1_create_response.rb index 757d8a9c11..c2d2f1b986 100644 --- a/lib/plaid/models/beta_partner_customer_v1_create_response.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_enable_request.rb b/lib/plaid/models/beta_partner_customer_v1_enable_request.rb index b6f531ea14..749ade42b4 100644 --- a/lib/plaid/models/beta_partner_customer_v1_enable_request.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_enable_response.rb b/lib/plaid/models/beta_partner_customer_v1_enable_response.rb index 789fc0325f..ad3c8b2205 100644 --- a/lib/plaid/models/beta_partner_customer_v1_enable_response.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_get_request.rb b/lib/plaid/models/beta_partner_customer_v1_get_request.rb index 732f0bcd68..aedca9faa8 100644 --- a/lib/plaid/models/beta_partner_customer_v1_get_request.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_get_response.rb b/lib/plaid/models/beta_partner_customer_v1_get_response.rb index 7f429d7416..0321c5613e 100644 --- a/lib/plaid/models/beta_partner_customer_v1_get_response.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_update_request.rb b/lib/plaid/models/beta_partner_customer_v1_update_request.rb index e72c891556..9867aecc09 100644 --- a/lib/plaid/models/beta_partner_customer_v1_update_request.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_customer_v1_update_response.rb b/lib/plaid/models/beta_partner_customer_v1_update_response.rb index 1fd051ee84..5212b95e96 100644 --- a/lib/plaid/models/beta_partner_customer_v1_update_response.rb +++ b/lib/plaid/models/beta_partner_customer_v1_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_end_customer.rb b/lib/plaid/models/beta_partner_end_customer.rb index 9a03b3dba2..6555793220 100644 --- a/lib/plaid/models/beta_partner_end_customer.rb +++ b/lib/plaid/models/beta_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_partner_end_customer_with_secrets.rb b/lib/plaid/models/beta_partner_end_customer_with_secrets.rb index f58eef25a1..df4165225c 100644 --- a/lib/plaid/models/beta_partner_end_customer_with_secrets.rb +++ b/lib/plaid/models/beta_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/beta_webhook_events_list_request.rb b/lib/plaid/models/beta_webhook_events_list_request.rb new file mode 100644 index 0000000000..6ffc6dacca --- /dev/null +++ b/lib/plaid/models/beta_webhook_events_list_request.rb @@ -0,0 +1,356 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaWebhookEventsListRequest defines the request schema for `/beta/webhook_events/list` + class BetaWebhookEventsListRequest + # 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 + + # Opaque cursor from a prior `/beta/webhook_events/list` response `next_cursor`. Use this on subsequent requests to continue forward. Mutually exclusive with `start_time`. + attr_accessor :cursor + + # ISO-8601 timestamp. Returns webhook events with `sent_time` greater than or equal to this value. Must fall within the last 7 days (the retention window). Mutually exclusive with `cursor`. Omit to begin from the oldest retained event. + attr_accessor :start_time + + # Page size. Default 100, maximum 100. + attr_accessor :count + + # Filter by webhook type. Multiple values are OR'd. Combined with other filters using AND. + attr_accessor :webhook_types + + # Filter by webhook code. Multiple values are OR'd. Combined with other filters using AND. + attr_accessor :webhook_codes + + # Filter to specific Items. Multiple values are OR'd. Combined with other filters using AND. + attr_accessor :item_ids + + # Filter by delivery status. Returns webhook events whose latest delivery state matches any of the supplied values. Combined with other filters using AND. + attr_accessor :delivery_statuses + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'cursor' => :'cursor', + :'start_time' => :'start_time', + :'count' => :'count', + :'webhook_types' => :'webhook_types', + :'webhook_codes' => :'webhook_codes', + :'item_ids' => :'item_ids', + :'delivery_statuses' => :'delivery_statuses' + } + 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', + :'cursor' => :'String', + :'start_time' => :'Time', + :'count' => :'Integer', + :'webhook_types' => :'Array', + :'webhook_codes' => :'Array', + :'item_ids' => :'Array', + :'delivery_statuses' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'start_time', + :'count', + ]) + 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::BetaWebhookEventsListRequest` 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::BetaWebhookEventsListRequest`. 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?(:'cursor') + self.cursor = attributes[:'cursor'] + end + + if attributes.key?(:'start_time') + self.start_time = attributes[:'start_time'] + end + + if attributes.key?(:'count') + self.count = attributes[:'count'] + else + self.count = 100 + end + + if attributes.key?(:'webhook_types') + if (value = attributes[:'webhook_types']).is_a?(Array) + self.webhook_types = value + end + end + + if attributes.key?(:'webhook_codes') + if (value = attributes[:'webhook_codes']).is_a?(Array) + self.webhook_codes = value + end + end + + if attributes.key?(:'item_ids') + if (value = attributes[:'item_ids']).is_a?(Array) + self.item_ids = value + end + end + + if attributes.key?(:'delivery_statuses') + if (value = attributes[:'delivery_statuses']).is_a?(Array) + self.delivery_statuses = 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 !@cursor.nil? && @cursor.to_s.length > 512 + invalid_properties.push('invalid value for "cursor", the character length must be smaller than or equal to 512.') + end + + + if !@count.nil? && @count > 100 + invalid_properties.push('invalid value for "count", must be smaller than or equal to 100.') + end + + if !@count.nil? && @count < 1 + invalid_properties.push('invalid value for "count", must be greater than or equal to 1.') + 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 !@cursor.nil? && @cursor.to_s.length > 512 + return false if !@count.nil? && @count > 100 + return false if !@count.nil? && @count < 1 + true + end + + # Custom attribute writer method with validation + # @param [Object] cursor Value to be assigned + def cursor=(cursor) + if !cursor.nil? && cursor.to_s.length > 512 + fail ArgumentError, 'invalid value for "cursor", the character length must be smaller than or equal to 512.' + end + + + @cursor = cursor + end + + # Custom attribute writer method with validation + # @param [Object] count Value to be assigned + def count=(count) + if !count.nil? && count > 100 + fail ArgumentError, 'invalid value for "count", must be smaller than or equal to 100.' + end + + if !count.nil? && count < 1 + fail ArgumentError, 'invalid value for "count", must be greater than or equal to 1.' + end + + + @count = count + 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 && + cursor == o.cursor && + start_time == o.start_time && + count == o.count && + webhook_types == o.webhook_types && + webhook_codes == o.webhook_codes && + item_ids == o.item_ids && + delivery_statuses == o.delivery_statuses + 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, cursor, start_time, count, webhook_types, webhook_codes, item_ids, delivery_statuses].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/beta_webhook_events_list_response.rb b/lib/plaid/models/beta_webhook_events_list_response.rb new file mode 100644 index 0000000000..7698d78646 --- /dev/null +++ b/lib/plaid/models/beta_webhook_events_list_response.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # BetaWebhookEventsListResponse defines the response schema for `/beta/webhook_events/list` + class BetaWebhookEventsListResponse + # Webhook events sent to the calling client. + attr_accessor :webhook_events + + # Indicates whether another page of webhook events is available. + attr_accessor :has_more + + # Cursor to pass as `cursor` on a later `/beta/webhook_events/list` request to continue forward. Persist and reuse this value even when `has_more` is `false` so the next poll only returns newer events. + attr_accessor :next_cursor + + # 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 + { + :'webhook_events' => :'webhook_events', + :'has_more' => :'has_more', + :'next_cursor' => :'next_cursor', + :'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 + { + :'webhook_events' => :'Array', + :'has_more' => :'Boolean', + :'next_cursor' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::BetaWebhookEventsListResponse` 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::BetaWebhookEventsListResponse`. 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_events') + if (value = attributes[:'webhook_events']).is_a?(Array) + self.webhook_events = value + end + end + + if attributes.key?(:'has_more') + self.has_more = attributes[:'has_more'] + end + + if attributes.key?(:'next_cursor') + self.next_cursor = attributes[:'next_cursor'] + 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 @webhook_events.nil? + invalid_properties.push('invalid value for "webhook_events", webhook_events cannot be nil.') + end + + if @has_more.nil? + invalid_properties.push('invalid value for "has_more", has_more cannot be nil.') + end + + if @next_cursor.nil? + invalid_properties.push('invalid value for "next_cursor", next_cursor 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 @webhook_events.nil? + return false if @has_more.nil? + return false if @next_cursor.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 && + webhook_events == o.webhook_events && + has_more == o.has_more && + next_cursor == o.next_cursor && + 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 + [webhook_events, has_more, next_cursor, 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/business_account.rb b/lib/plaid/models/business_account.rb index 5786e2a458..413ab69908 100644 --- a/lib/plaid/models/business_account.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,6 +41,9 @@ class BusinessAccount # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category # Data returned by the financial institution about the account owner or owners. For business accounts, the name reported may be either the name of the individual or the name of the business, depending on the institution. Multiple owners on a single account will be represented in the same owner object, not in multiple owner objects within the array. @@ -82,6 +85,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category', :'owners' => :'owners' } @@ -106,6 +110,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory', :'owners' => :'Array' } @@ -117,6 +122,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category', ]) end @@ -188,6 +194,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -260,6 +270,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category && owners == o.owners end @@ -273,7 +284,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category, owners].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category, owners].hash end # Builds the object from hash diff --git a/lib/plaid/models/business_account_all_of.rb b/lib/plaid/models/business_account_all_of.rb index 84ee99aae9..412b663300 100644 --- a/lib/plaid/models/business_account_all_of.rb +++ b/lib/plaid/models/business_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_check_boolean_status.rb b/lib/plaid/models/business_check_boolean_status.rb index a33cf87f41..248f318256 100644 --- a/lib/plaid/models/business_check_boolean_status.rb +++ b/lib/plaid/models/business_check_boolean_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_digital_presence_check.rb b/lib/plaid/models/business_digital_presence_check.rb index d9753b521e..b4ee86cd59 100644 --- a/lib/plaid/models/business_digital_presence_check.rb +++ b/lib/plaid/models/business_digital_presence_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_email_address.rb b/lib/plaid/models/business_email_address.rb index 62a42bdb8f..e59245c55f 100644 --- a/lib/plaid/models/business_email_address.rb +++ b/lib/plaid/models/business_email_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_entity_type.rb b/lib/plaid/models/business_entity_type.rb index 40673ebba3..43dda3a704 100644 --- a/lib/plaid/models/business_entity_type.rb +++ b/lib/plaid/models/business_entity_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_field_match_summary.rb b/lib/plaid/models/business_field_match_summary.rb index 4451b61aa3..56ad33e996 100644 --- a/lib/plaid/models/business_field_match_summary.rb +++ b/lib/plaid/models/business_field_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_finance_category.rb b/lib/plaid/models/business_finance_category.rb index 59a164d52f..500fbf4d68 100644 --- a/lib/plaid/models/business_finance_category.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_industry_prediction.rb b/lib/plaid/models/business_industry_prediction.rb index 046d10cf2c..57411889aa 100644 --- a/lib/plaid/models/business_industry_prediction.rb +++ b/lib/plaid/models/business_industry_prediction.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_industry_prediction_nullable.rb b/lib/plaid/models/business_industry_prediction_nullable.rb index 0bee38eb23..d83b846d0f 100644 --- a/lib/plaid/models/business_industry_prediction_nullable.rb +++ b/lib/plaid/models/business_industry_prediction_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_kyb_check.rb b/lib/plaid/models/business_kyb_check.rb index 018dc88814..cd23ead413 100644 --- a/lib/plaid/models/business_kyb_check.rb +++ b/lib/plaid/models/business_kyb_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_kyb_match_details.rb b/lib/plaid/models/business_kyb_match_details.rb index 2459efe15b..c0dc6e0191 100644 --- a/lib/plaid/models/business_kyb_match_details.rb +++ b/lib/plaid/models/business_kyb_match_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_phone_number.rb b/lib/plaid/models/business_phone_number.rb index b6470914c0..3dec615363 100644 --- a/lib/plaid/models/business_phone_number.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_risk_check.rb b/lib/plaid/models/business_risk_check.rb index bdb23986e9..5c5d0d8744 100644 --- a/lib/plaid/models/business_risk_check.rb +++ b/lib/plaid/models/business_risk_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_search_terms.rb b/lib/plaid/models/business_search_terms.rb index 7fb6d1686b..5d006c93e7 100644 --- a/lib/plaid/models/business_search_terms.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_create_request.rb b/lib/plaid/models/business_verification_create_request.rb index ea0e2401ee..c893526282 100644 --- a/lib/plaid/models/business_verification_create_request.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_create_request_business.rb b/lib/plaid/models/business_verification_create_request_business.rb index 9893e62ec9..8e11e3a7eb 100644 --- a/lib/plaid/models/business_verification_create_request_business.rb +++ b/lib/plaid/models/business_verification_create_request_business.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_create_response.rb b/lib/plaid/models/business_verification_create_response.rb index dda0a5809b..41ed00b555 100644 --- a/lib/plaid/models/business_verification_create_response.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_get_request.rb b/lib/plaid/models/business_verification_get_request.rb index a1b86838c7..ea8cec6a71 100644 --- a/lib/plaid/models/business_verification_get_request.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_get_response.rb b/lib/plaid/models/business_verification_get_response.rb index 96cf031955..6c70cde149 100644 --- a/lib/plaid/models/business_verification_get_response.rb +++ b/lib/plaid/models/business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_status_kyb_check.rb b/lib/plaid/models/business_verification_status_kyb_check.rb index c2f2e58f1f..ea9a45d140 100644 --- a/lib/plaid/models/business_verification_status_kyb_check.rb +++ b/lib/plaid/models/business_verification_status_kyb_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_status_overall.rb b/lib/plaid/models/business_verification_status_overall.rb index 1ab75b246a..f058de92e9 100644 --- a/lib/plaid/models/business_verification_status_overall.rb +++ b/lib/plaid/models/business_verification_status_overall.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_status_risk_check.rb b/lib/plaid/models/business_verification_status_risk_check.rb index 38353466ef..3987db7cd6 100644 --- a/lib/plaid/models/business_verification_status_risk_check.rb +++ b/lib/plaid/models/business_verification_status_risk_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_verification_status_web_presence_check.rb b/lib/plaid/models/business_verification_status_web_presence_check.rb index b0be7b1a5b..3e9001dfe5 100644 --- a/lib/plaid/models/business_verification_status_web_presence_check.rb +++ b/lib/plaid/models/business_verification_status_web_presence_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_website.rb b/lib/plaid/models/business_website.rb index e598cfcd0b..792341d016 100644 --- a/lib/plaid/models/business_website.rb +++ b/lib/plaid/models/business_website.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_website_analysis.rb b/lib/plaid/models/business_website_analysis.rb index 65a8c862c6..f079c28513 100644 --- a/lib/plaid/models/business_website_analysis.rb +++ b/lib/plaid/models/business_website_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_website_build_status.rb b/lib/plaid/models/business_website_build_status.rb index e237029f3d..8354ab0d77 100644 --- a/lib/plaid/models/business_website_build_status.rb +++ b/lib/plaid/models/business_website_build_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_website_ssl.rb b/lib/plaid/models/business_website_ssl.rb index d68ec171cf..e666cdb0b2 100644 --- a/lib/plaid/models/business_website_ssl.rb +++ b/lib/plaid/models/business_website_ssl.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/business_whois_record.rb b/lib/plaid/models/business_whois_record.rb index c8ea204ecc..50f9e9f8a2 100644 --- a/lib/plaid/models/business_whois_record.rb +++ b/lib/plaid/models/business_whois_record.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_advance_decision_outcome.rb b/lib/plaid/models/cash_advance_decision_outcome.rb new file mode 100644 index 0000000000..25d9190930 --- /dev/null +++ b/lib/plaid/models/cash_advance_decision_outcome.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CashAdvanceDecisionOutcome + APPROVED = "APPROVED".freeze + DECLINED = "DECLINED".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/cash_advance_details.rb b/lib/plaid/models/cash_advance_details.rb new file mode 100644 index 0000000000..fe56dcfccd --- /dev/null +++ b/lib/plaid/models/cash_advance_details.rb @@ -0,0 +1,259 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The details of a cash-advance associated with an approved cash-advance decision. Required when a cash-advance has been approved. + class CashAdvanceDetails + attr_accessor :amount_approved + + attr_accessor :amount_due + + # The date the cash-advance is due, in ISO 8601 format (`YYYY-MM-DD`). Required if `is_taken` is `true`. + attr_accessor :due_date + + # Whether the end user took the approved cash-advance. `True` if taken, `False` if not. + attr_accessor :is_taken + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'amount_approved' => :'amount_approved', + :'amount_due' => :'amount_due', + :'due_date' => :'due_date', + :'is_taken' => :'is_taken' + } + 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 + { + :'amount_approved' => :'CashAdvanceDetailsAmountApproved', + :'amount_due' => :'CashAdvanceDetailsAmountDue', + :'due_date' => :'Date', + :'is_taken' => :'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::CashAdvanceDetails` 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::CashAdvanceDetails`. 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?(:'amount_approved') + self.amount_approved = attributes[:'amount_approved'] + end + + if attributes.key?(:'amount_due') + self.amount_due = attributes[:'amount_due'] + end + + if attributes.key?(:'due_date') + self.due_date = attributes[:'due_date'] + end + + if attributes.key?(:'is_taken') + self.is_taken = attributes[:'is_taken'] + 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 @amount_approved.nil? + invalid_properties.push('invalid value for "amount_approved", amount_approved cannot be nil.') + end + + if @is_taken.nil? + invalid_properties.push('invalid value for "is_taken", is_taken 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_approved.nil? + return false if @is_taken.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 && + amount_approved == o.amount_approved && + amount_due == o.amount_due && + due_date == o.due_date && + is_taken == o.is_taken + 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 + [amount_approved, amount_due, due_date, is_taken].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/cash_advance_details_amount_approved.rb b/lib/plaid/models/cash_advance_details_amount_approved.rb new file mode 100644 index 0000000000..5f5621156b --- /dev/null +++ b/lib/plaid/models/cash_advance_details_amount_approved.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The amount a user was approved for in a cash-advance. + class CashAdvanceDetailsAmountApproved + # The ISO-4217 currency code of the amount. Defaults to USD if not specified. + attr_accessor :iso_currency_code + + # The amount value. + attr_accessor :value + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'value' => :'value' + } + 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 + { + :'iso_currency_code' => :'String', + :'value' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'Amount' + ] + 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::CashAdvanceDetailsAmountApproved` 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::CashAdvanceDetailsAmountApproved`. 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?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + else + self.iso_currency_code = 'USD' + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + 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 @value.nil? + invalid_properties.push('invalid value for "value", value 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 @value.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 && + iso_currency_code == o.iso_currency_code && + value == o.value + 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 + [iso_currency_code, value].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/cash_advance_details_amount_due.rb b/lib/plaid/models/cash_advance_details_amount_due.rb new file mode 100644 index 0000000000..e71241a263 --- /dev/null +++ b/lib/plaid/models/cash_advance_details_amount_due.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The amount a user is required to pay, including any fees or additional amounts. Required if `is_taken` is `true`. + class CashAdvanceDetailsAmountDue + # The ISO-4217 currency code of the amount. Defaults to USD if not specified. + attr_accessor :iso_currency_code + + # The amount value. + attr_accessor :value + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'value' => :'value' + } + 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 + { + :'iso_currency_code' => :'String', + :'value' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'Amount' + ] + 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::CashAdvanceDetailsAmountDue` 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::CashAdvanceDetailsAmountDue`. 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?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + else + self.iso_currency_code = 'USD' + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + 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 @value.nil? + invalid_properties.push('invalid value for "value", value 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 @value.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 && + iso_currency_code == o.iso_currency_code && + value == o.value + 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 + [iso_currency_code, value].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/cash_advance_repayment.rb b/lib/plaid/models/cash_advance_repayment.rb new file mode 100644 index 0000000000..fe7afb8800 --- /dev/null +++ b/lib/plaid/models/cash_advance_repayment.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The repayment details for a cash-advance. + class CashAdvanceRepayment + attr_accessor :amount_paid + + attr_accessor :amount_due + + # The date the cash-advance is due, in ISO 8601 format (`YYYY-MM-DD`). + attr_accessor :due_date + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'amount_paid' => :'amount_paid', + :'amount_due' => :'amount_due', + :'due_date' => :'due_date' + } + 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 + { + :'amount_paid' => :'CashAdvanceRepaymentAmountPaid', + :'amount_due' => :'CashAdvanceRepaymentAmountDue', + :'due_date' => :'Date' + } + 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::CashAdvanceRepayment` 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::CashAdvanceRepayment`. 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?(:'amount_paid') + self.amount_paid = attributes[:'amount_paid'] + end + + if attributes.key?(:'amount_due') + self.amount_due = attributes[:'amount_due'] + end + + if attributes.key?(:'due_date') + self.due_date = attributes[:'due_date'] + 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 @amount_paid.nil? + invalid_properties.push('invalid value for "amount_paid", amount_paid cannot be nil.') + end + + if @amount_due.nil? + invalid_properties.push('invalid value for "amount_due", amount_due cannot be nil.') + end + + if @due_date.nil? + invalid_properties.push('invalid value for "due_date", due_date 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_paid.nil? + return false if @amount_due.nil? + return false if @due_date.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 && + amount_paid == o.amount_paid && + amount_due == o.amount_due && + due_date == o.due_date + 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 + [amount_paid, amount_due, due_date].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/cash_advance_repayment_amount_due.rb b/lib/plaid/models/cash_advance_repayment_amount_due.rb new file mode 100644 index 0000000000..4a7975a116 --- /dev/null +++ b/lib/plaid/models/cash_advance_repayment_amount_due.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The amount a user is required to pay, including any fees or additional amounts. + class CashAdvanceRepaymentAmountDue + # The ISO-4217 currency code of the amount. Defaults to USD if not specified. + attr_accessor :iso_currency_code + + # The amount value. + attr_accessor :value + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'value' => :'value' + } + 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 + { + :'iso_currency_code' => :'String', + :'value' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'Amount' + ] + 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::CashAdvanceRepaymentAmountDue` 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::CashAdvanceRepaymentAmountDue`. 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?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + else + self.iso_currency_code = 'USD' + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + 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 @value.nil? + invalid_properties.push('invalid value for "value", value 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 @value.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 && + iso_currency_code == o.iso_currency_code && + value == o.value + 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 + [iso_currency_code, value].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/cash_advance_repayment_amount_paid.rb b/lib/plaid/models/cash_advance_repayment_amount_paid.rb new file mode 100644 index 0000000000..9a5c4e4e96 --- /dev/null +++ b/lib/plaid/models/cash_advance_repayment_amount_paid.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The amount a user paid. + class CashAdvanceRepaymentAmountPaid + # The ISO-4217 currency code of the amount. Defaults to USD if not specified. + attr_accessor :iso_currency_code + + # The amount value. + attr_accessor :value + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'value' => :'value' + } + 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 + { + :'iso_currency_code' => :'String', + :'value' => :'Float' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'Amount' + ] + 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::CashAdvanceRepaymentAmountPaid` 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::CashAdvanceRepaymentAmountPaid`. 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?(:'iso_currency_code') + self.iso_currency_code = attributes[:'iso_currency_code'] + else + self.iso_currency_code = 'USD' + end + + if attributes.key?(:'value') + self.value = attributes[:'value'] + 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 @value.nil? + invalid_properties.push('invalid value for "value", value 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 @value.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 && + iso_currency_code == o.iso_currency_code && + value == o.value + 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 + [iso_currency_code, value].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/cash_advance_repayment_status.rb b/lib/plaid/models/cash_advance_repayment_status.rb new file mode 100644 index 0000000000..d8b2d149fd --- /dev/null +++ b/lib/plaid/models/cash_advance_repayment_status.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CashAdvanceRepaymentStatus + REPAID = "REPAID".freeze + DELIVERED = "DELIVERED".freeze + UNPAID = "UNPAID".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/cash_flow_insight.rb b/lib/plaid/models/cash_flow_insight.rb index cffef55d5e..71991f078d 100644 --- a/lib/plaid/models/cash_flow_insight.rb +++ b/lib/plaid/models/cash_flow_insight.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_event_webhook_codes.rb b/lib/plaid/models/cash_flow_updates_event_webhook_codes.rb index f0f534274b..bcfaa00e74 100644 --- a/lib/plaid/models/cash_flow_updates_event_webhook_codes.rb +++ b/lib/plaid/models/cash_flow_updates_event_webhook_codes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_expected_deposit_missed_webhook.rb b/lib/plaid/models/cash_flow_updates_expected_deposit_missed_webhook.rb index 9cf657ca89..fe36ead18a 100644 --- a/lib/plaid/models/cash_flow_updates_expected_deposit_missed_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_expected_deposit_missed_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_insights_v2_webhook.rb b/lib/plaid/models/cash_flow_updates_insights_v2_webhook.rb index 4321fee80e..3e7a3193fe 100644 --- a/lib/plaid/models/cash_flow_updates_insights_v2_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_insights_v2_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_insights_webhook.rb b/lib/plaid/models/cash_flow_updates_insights_webhook.rb index e81fae7f8a..675b9351b5 100644 --- a/lib/plaid/models/cash_flow_updates_insights_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_large_deposit_webhook.rb b/lib/plaid/models/cash_flow_updates_large_deposit_webhook.rb index 2b9a2aa159..2132424cd7 100644 --- a/lib/plaid/models/cash_flow_updates_large_deposit_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_large_deposit_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_low_balance_webhook.rb b/lib/plaid/models/cash_flow_updates_low_balance_webhook.rb index 6fac1359a6..0ffff7e6da 100644 --- a/lib/plaid/models/cash_flow_updates_low_balance_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_low_balance_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_new_income_stream_webhook.rb b/lib/plaid/models/cash_flow_updates_new_income_stream_webhook.rb index 40a71e373d..dd7ec37be7 100644 --- a/lib/plaid/models/cash_flow_updates_new_income_stream_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_new_income_stream_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_new_loan_payment_webhook.rb b/lib/plaid/models/cash_flow_updates_new_loan_payment_webhook.rb index 2138d74a57..309c6a553b 100644 --- a/lib/plaid/models/cash_flow_updates_new_loan_payment_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_new_loan_payment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cash_flow_updates_nsf_webhook.rb b/lib/plaid/models/cash_flow_updates_nsf_webhook.rb index 283c30425b..663c163802 100644 --- a/lib/plaid/models/cash_flow_updates_nsf_webhook.rb +++ b/lib/plaid/models/cash_flow_updates_nsf_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 19b6c9d692..9b382b023d 100644 --- a/lib/plaid/models/cashflow_attributes_version.rb +++ b/lib/plaid/models/cashflow_attributes_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_account_insights.rb b/lib/plaid/models/cashflow_report_account_insights.rb index 24b190e821..01d51b1f62 100644 --- a/lib/plaid/models/cashflow_report_account_insights.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_get_request.rb b/lib/plaid/models/cashflow_report_get_request.rb index 7aee79aec6..c7d57d1f76 100644 --- a/lib/plaid/models/cashflow_report_get_request.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_get_request_options.rb b/lib/plaid/models/cashflow_report_get_request_options.rb index 6f6d96ae73..6811bbfaf3 100644 --- a/lib/plaid/models/cashflow_report_get_request_options.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_get_response.rb b/lib/plaid/models/cashflow_report_get_response.rb index f2fba6db5e..c0bf59d4c0 100644 --- a/lib/plaid/models/cashflow_report_get_response.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_historical_balance.rb b/lib/plaid/models/cashflow_report_historical_balance.rb index e017aba849..58c407088a 100644 --- a/lib/plaid/models/cashflow_report_historical_balance.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class CashflowReportHistoricalBalance # 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. + # 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 before 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 :amount # The ISO-4217 currency code of the balance. Always `null` if `unofficial_currency_code` is non-`null`. diff --git a/lib/plaid/models/cashflow_report_insights_get_request.rb b/lib/plaid/models/cashflow_report_insights_get_request.rb index 7c692e6f67..5061ab2e75 100644 --- a/lib/plaid/models/cashflow_report_insights_get_request.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_insights_get_response.rb b/lib/plaid/models/cashflow_report_insights_get_response.rb index 8b2bfd965b..725e30a0f8 100644 --- a/lib/plaid/models/cashflow_report_insights_get_response.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary.rb b/lib/plaid/models/cashflow_report_monthly_summary.rb index 9a2b9b814b..42026e2e7a 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary.rb +++ b/lib/plaid/models/cashflow_report_monthly_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_ending_balance.rb b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_ending_balance.rb index 296170be2c..302b51663e 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_ending_balance.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_ending_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_inflow_amount.rb b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_inflow_amount.rb index 398ff3f428..2a772e7603 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_inflow_amount.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_inflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_net_cashflow_amount.rb b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_net_cashflow_amount.rb index e41bcc359c..dd858faa1b 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_net_cashflow_amount.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_net_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_outflow_amount.rb b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_outflow_amount.rb index 1396a3b7cb..ba996df1b8 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_average_daily_outflow_amount.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_average_daily_outflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_ending_balance.rb b/lib/plaid/models/cashflow_report_monthly_summary_ending_balance.rb index 18ef4c0727..f5a2527bcd 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_ending_balance.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_ending_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_starting_balance.rb b/lib/plaid/models/cashflow_report_monthly_summary_starting_balance.rb index acf6f10033..1627cbaad5 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_starting_balance.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_starting_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_total_loan_payment.rb b/lib/plaid/models/cashflow_report_monthly_summary_total_loan_payment.rb index c942d70c4c..73cd683de6 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_total_loan_payment.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_total_loan_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_total_payroll.rb b/lib/plaid/models/cashflow_report_monthly_summary_total_payroll.rb index 5f4edadd9b..8c2c118084 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_total_payroll.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_total_payroll.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_total_revenue.rb b/lib/plaid/models/cashflow_report_monthly_summary_total_revenue.rb index 5b5d3b9ea8..1371d31ef7 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_total_revenue.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_total_revenue.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_monthly_summary_total_variable_expense.rb b/lib/plaid/models/cashflow_report_monthly_summary_total_variable_expense.rb index 34c595c670..3be1ec01b4 100644 --- a/lib/plaid/models/cashflow_report_monthly_summary_total_variable_expense.rb +++ b/lib/plaid/models/cashflow_report_monthly_summary_total_variable_expense.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_payment_meta.rb b/lib/plaid/models/cashflow_report_payment_meta.rb index 59a2ca3234..57d2766b71 100644 --- a/lib/plaid/models/cashflow_report_payment_meta.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_refresh_request.rb b/lib/plaid/models/cashflow_report_refresh_request.rb index 31a3755071..7f0b61f046 100644 --- a/lib/plaid/models/cashflow_report_refresh_request.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_refresh_response.rb b/lib/plaid/models/cashflow_report_refresh_response.rb index c27d9e9bd2..3289ae4bf8 100644 --- a/lib/plaid/models/cashflow_report_refresh_response.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_transaction.rb b/lib/plaid/models/cashflow_report_transaction.rb index 23d9947e1f..f2b6d66e5b 100644 --- a/lib/plaid/models/cashflow_report_transaction.rb +++ b/lib/plaid/models/cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_transactions_get_request.rb b/lib/plaid/models/cashflow_report_transactions_get_request.rb index 551c178e82..3897b41ae7 100644 --- a/lib/plaid/models/cashflow_report_transactions_get_request.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_transactions_get_request_options.rb b/lib/plaid/models/cashflow_report_transactions_get_request_options.rb index 7ce4a4b752..17dfe2193b 100644 --- a/lib/plaid/models/cashflow_report_transactions_get_request_options.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cashflow_report_transactions_get_response.rb b/lib/plaid/models/cashflow_report_transactions_get_response.rb index 5efa5094cc..1085273496 100644 --- a/lib/plaid/models/cashflow_report_transactions_get_response.rb +++ b/lib/plaid/models/cashflow_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/categories_get_response.rb b/lib/plaid/models/categories_get_response.rb index 4e539056fe..efaa8a6f2b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef7ec0e882..8730e987ff 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/category_expenses.rb b/lib/plaid/models/category_expenses.rb index ab1f747803..33f35e6877 100644 --- a/lib/plaid/models/category_expenses.rb +++ b/lib/plaid/models/category_expenses.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e9ac167255..c986de467c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e998d3aaad..0281012ef1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 02090af72e..3df6ff0a5e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cause_all_of.rb b/lib/plaid/models/cause_all_of.rb index fda83048af..eab6eac38a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/check_report_repairable_item.rb b/lib/plaid/models/check_report_repairable_item.rb index b047c492f2..8ddca134de 100644 --- a/lib/plaid/models/check_report_repairable_item.rb +++ b/lib/plaid/models/check_report_repairable_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/check_report_warning.rb b/lib/plaid/models/check_report_warning.rb index 44f438903e..17b1a56cca 100644 --- a/lib/plaid/models/check_report_warning.rb +++ b/lib/plaid/models/check_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/check_report_warning_code.rb b/lib/plaid/models/check_report_warning_code.rb index 52728bc18e..8c9d9491bd 100644 --- a/lib/plaid/models/check_report_warning_code.rb +++ b/lib/plaid/models/check_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_customization.rb b/lib/plaid/models/client_customization.rb index 36c7ba1605..88e6c4c115 100644 --- a/lib/plaid/models/client_customization.rb +++ b/lib/plaid/models/client_customization.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a39f0c570f..4a0c8c89d3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 daf10fec28..5834727063 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ee168423ab..ba00e41b9f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bea625354c..ced858dbb3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ccab9c2e0c..e13f55b488 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_user_identity.rb b/lib/plaid/models/client_user_identity.rb index 1b57e1070b..eb38e0449d 100644 --- a/lib/plaid/models/client_user_identity.rb +++ b/lib/plaid/models/client_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_user_identity_address.rb b/lib/plaid/models/client_user_identity_address.rb index 4e6624250c..169750a53f 100644 --- a/lib/plaid/models/client_user_identity_address.rb +++ b/lib/plaid/models/client_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_user_identity_email.rb b/lib/plaid/models/client_user_identity_email.rb index 84de1f53a9..48c6db6c17 100644 --- a/lib/plaid/models/client_user_identity_email.rb +++ b/lib/plaid/models/client_user_identity_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_user_identity_name.rb b/lib/plaid/models/client_user_identity_name.rb index aeedb1ef76..105309c775 100644 --- a/lib/plaid/models/client_user_identity_name.rb +++ b/lib/plaid/models/client_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/client_user_identity_phone_number.rb b/lib/plaid/models/client_user_identity_phone_number.rb index e490642b30..1301fec150 100644 --- a/lib/plaid/models/client_user_identity_phone_number.rb +++ b/lib/plaid/models/client_user_identity_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 214290e838..8671a0b0fa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_event.rb b/lib/plaid/models/consent_event.rb index 8ae7608521..a463072b26 100644 --- a/lib/plaid/models/consent_event.rb +++ b/lib/plaid/models/consent_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_event_code.rb b/lib/plaid/models/consent_event_code.rb index 784ef25909..8e7fd42d7a 100644 --- a/lib/plaid/models/consent_event_code.rb +++ b/lib/plaid/models/consent_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_event_initiator.rb b/lib/plaid/models/consent_event_initiator.rb index d38924d631..b4d07ac97d 100644 --- a/lib/plaid/models/consent_event_initiator.rb +++ b/lib/plaid/models/consent_event_initiator.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_event_type.rb b/lib/plaid/models/consent_event_type.rb index 2b82996f3d..5c3a61b845 100644 --- a/lib/plaid/models/consent_event_type.rb +++ b/lib/plaid/models/consent_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_events_get_request.rb b/lib/plaid/models/consent_events_get_request.rb index 6cc48c17dd..e211ce4964 100644 --- a/lib/plaid/models/consent_events_get_request.rb +++ b/lib/plaid/models/consent_events_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consent_events_get_response.rb b/lib/plaid/models/consent_events_get_response.rb index f414170942..e0668fc2ea 100644 --- a/lib/plaid/models/consent_events_get_response.rb +++ b/lib/plaid/models/consent_events_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consented_account.rb b/lib/plaid/models/consented_account.rb index 3726935083..9de9aa402c 100644 --- a/lib/plaid/models/consented_account.rb +++ b/lib/plaid/models/consented_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 93b971556d..802276b6ee 100644 --- a/lib/plaid/models/consumer_dispute.rb +++ b/lib/plaid/models/consumer_dispute.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_dispute_category.rb b/lib/plaid/models/consumer_dispute_category.rb index 43a045bc5a..cd061911c7 100644 --- a/lib/plaid/models/consumer_dispute_category.rb +++ b/lib/plaid/models/consumer_dispute_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/consumer_report_pdf_get_request.rb b/lib/plaid/models/consumer_report_pdf_get_request.rb index 6af7f82f59..43032313b5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 97da574fed..0e413524ad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d7e4b9457a..3c6daded46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty.rb b/lib/plaid/models/counterparty.rb index ce321043d1..9cf03d7590 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 549b17fe32..81f94823b7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_numbers.rb b/lib/plaid/models/counterparty_numbers.rb index 20a9aadaea..7cdc0a790a 100644 --- a/lib/plaid/models/counterparty_numbers.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_numbers_bacs.rb b/lib/plaid/models/counterparty_numbers_bacs.rb index 5d057ad61a..9694e91719 100644 --- a/lib/plaid/models/counterparty_numbers_bacs.rb +++ b/lib/plaid/models/counterparty_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/counterparty_numbers_international.rb b/lib/plaid/models/counterparty_numbers_international.rb index 1bce12b869..975076b2a1 100644 --- a/lib/plaid/models/counterparty_numbers_international.rb +++ b/lib/plaid/models/counterparty_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ac47d4161..9925b91a12 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1d76706a9d..e1319ecd2a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_annual_income_values.rb b/lib/plaid/models/cra_annual_income_values.rb index b096bdd5b2..64179fee71 100644 --- a/lib/plaid/models/cra_annual_income_values.rb +++ b/lib/plaid/models/cra_annual_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_account.rb b/lib/plaid/models/cra_bank_income_account.rb index 826fa3786e..ad2a6f1c9e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_account_metadata.rb b/lib/plaid/models/cra_bank_income_account_metadata.rb index b83725d2e0..e1a06c379f 100644 --- a/lib/plaid/models/cra_bank_income_account_metadata.rb +++ b/lib/plaid/models/cra_bank_income_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 96fcdc2e70..02c736c39e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_cause.rb b/lib/plaid/models/cra_bank_income_cause.rb index a0bbb716b0..c079526938 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bd0f26f1e1..8682d7b0b5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0cc54333ba..b740646471 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cd34ee155f..117ba3db1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 731b35f161..d28429d2e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6ebd48309..c771a30945 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_income_provider.rb b/lib/plaid/models/cra_bank_income_income_provider.rb index d918bb24a2..0e42333ef1 100644 --- a/lib/plaid/models/cra_bank_income_income_provider.rb +++ b/lib/plaid/models/cra_bank_income_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6ce23aef21..4025ce4f95 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_source.rb b/lib/plaid/models/cra_bank_income_source.rb index de585aabcb..1c99e29e30 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_status.rb b/lib/plaid/models/cra_bank_income_status.rb index 796ffdb467..41cd78de43 100644 --- a/lib/plaid/models/cra_bank_income_status.rb +++ b/lib/plaid/models/cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dbdc30c882..55305bf23c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_transaction.rb b/lib/plaid/models/cra_bank_income_transaction.rb index 61ac8b906d..e183147790 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_warning.rb b/lib/plaid/models/cra_bank_income_warning.rb index 88da41a7b6..379a238346 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_bank_income_warning_code.rb b/lib/plaid/models/cra_bank_income_warning_code.rb index 91700b24e6..b4b309e250 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_base_report_product_config.rb b/lib/plaid/models/cra_base_report_product_config.rb new file mode 100644 index 0000000000..a991067e5c --- /dev/null +++ b/lib/plaid/models/cra_base_report_product_config.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The Base Report product at a given version. Base Report accepts no additional configuration today. + class CraBaseReportProductConfig + # The Base Report product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :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 + { + :'product' => :'product', + :'version' => :'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 + { + :'product' => :'String', + :'version' => :'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::CraBaseReportProductConfig` 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::CraBaseReportProductConfig`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = 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 + if @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_base_report"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_base_report"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.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 + [product, 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_cashflow_insights_report.rb b/lib/plaid/models/cra_cashflow_insights_report.rb index a924dd6551..643ad79253 100644 --- a/lib/plaid/models/cra_cashflow_insights_report.rb +++ b/lib/plaid/models/cra_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class CraCashflowInsightsReport # The time when the report was generated. attr_accessor :generated_time - # A map of cash flow attributes, where the key is a string, and the value is a string, float, int, or boolean. The specific list of attributes will depend on the cash flow attributes version used. For a full list of attributes, contact your account manager. + # A map of cash flow attributes, where the key is a string, and the value is a string, float, int, or boolean. The specific list of attributes will depend on the cash flow attributes version used. For a full list of all ~2,000 attributes, contact your account manager. attr_accessor :attributes # Attribute mapping from ruby-style variable name to JSON key. 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 1fef0ef361..b03320dbe6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1f43b89caf..6d47f2f35b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 index b3a7116785..c6160b4b75 100644 --- a/lib/plaid/models/cra_check_report_cashflow_insights_get_options.rb +++ b/lib/plaid/models/cra_check_report_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_cashflow_insights_get_request.rb b/lib/plaid/models/cra_check_report_cashflow_insights_get_request.rb index 564a69d372..66ae30ef7e 100644 --- a/lib/plaid/models/cra_check_report_cashflow_insights_get_request.rb +++ b/lib/plaid/models/cra_check_report_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_cashflow_insights_get_response.rb b/lib/plaid/models/cra_check_report_cashflow_insights_get_response.rb index c117780b6f..fc0043d362 100644 --- a/lib/plaid/models/cra_check_report_cashflow_insights_get_response.rb +++ b/lib/plaid/models/cra_check_report_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_base_report_options.rb b/lib/plaid/models/cra_check_report_create_base_report_options.rb index 13d74f2e72..09791f83c6 100644 --- a/lib/plaid/models/cra_check_report_create_base_report_options.rb +++ b/lib/plaid/models/cra_check_report_create_base_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_cashflow_insights_options.rb b/lib/plaid/models/cra_check_report_create_cashflow_insights_options.rb index e2d7a4eb4a..c05f5076d9 100644 --- a/lib/plaid/models/cra_check_report_create_cashflow_insights_options.rb +++ b/lib/plaid/models/cra_check_report_create_cashflow_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_employment_refresh_options.rb b/lib/plaid/models/cra_check_report_create_employment_refresh_options.rb index 3f4591f5a7..79854eb1bb 100644 --- a/lib/plaid/models/cra_check_report_create_employment_refresh_options.rb +++ b/lib/plaid/models/cra_check_report_create_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_income_insights_options.rb b/lib/plaid/models/cra_check_report_create_income_insights_options.rb index 445479d3bc..4f0f4373ce 100644 --- a/lib/plaid/models/cra_check_report_create_income_insights_options.rb +++ b/lib/plaid/models/cra_check_report_create_income_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_lend_score_options.rb b/lib/plaid/models/cra_check_report_create_lend_score_options.rb index 3fffd0131c..7cf51b6a73 100644 --- a/lib/plaid/models/cra_check_report_create_lend_score_options.rb +++ b/lib/plaid/models/cra_check_report_create_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_network_insights_options.rb b/lib/plaid/models/cra_check_report_create_network_insights_options.rb index 8915b944e6..5ad4749a61 100644 --- a/lib/plaid/models/cra_check_report_create_network_insights_options.rb +++ b/lib/plaid/models/cra_check_report_create_network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_partner_insights_options.rb b/lib/plaid/models/cra_check_report_create_partner_insights_options.rb index 7fe90b947e..fdec2ea488 100644 --- a/lib/plaid/models/cra_check_report_create_partner_insights_options.rb +++ b/lib/plaid/models/cra_check_report_create_partner_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_request.rb b/lib/plaid/models/cra_check_report_create_request.rb index b240e7be42..1b6d2df3e9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_create_response.rb b/lib/plaid/models/cra_check_report_create_response.rb index ac1be5c516..11c59a57ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b166bf9ef6..dabd68d88e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_failed_webhook_error.rb b/lib/plaid/models/cra_check_report_failed_webhook_error.rb index a75606dd5d..7ca4c50fa7 100644 --- a/lib/plaid/models/cra_check_report_failed_webhook_error.rb +++ b/lib/plaid/models/cra_check_report_failed_webhook_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_freddie_mac_get_request.rb b/lib/plaid/models/cra_check_report_freddie_mac_get_request.rb index f3b89495c7..0400aec4d4 100644 --- a/lib/plaid/models/cra_check_report_freddie_mac_get_request.rb +++ b/lib/plaid/models/cra_check_report_freddie_mac_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_freddie_mac_get_response.rb b/lib/plaid/models/cra_check_report_freddie_mac_get_response.rb index e062f04583..686f5d2deb 100644 --- a/lib/plaid/models/cra_check_report_freddie_mac_get_response.rb +++ b/lib/plaid/models/cra_check_report_freddie_mac_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_freddie_mac_verification_of_assets_deal.rb b/lib/plaid/models/cra_check_report_freddie_mac_verification_of_assets_deal.rb index 62a8d89876..872f892b34 100644 --- a/lib/plaid/models/cra_check_report_freddie_mac_verification_of_assets_deal.rb +++ b/lib/plaid/models/cra_check_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_gse_options.rb b/lib/plaid/models/cra_check_report_gse_options.rb index f0904f6f69..d6f1249b0c 100644 --- a/lib/plaid/models/cra_check_report_gse_options.rb +++ b/lib/plaid/models/cra_check_report_gse_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_home_lending_report_options.rb b/lib/plaid/models/cra_check_report_home_lending_report_options.rb index eb8ba6058f..c2673a9465 100644 --- a/lib/plaid/models/cra_check_report_home_lending_report_options.rb +++ b/lib/plaid/models/cra_check_report_home_lending_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_income_insights_get_options.rb b/lib/plaid/models/cra_check_report_income_insights_get_options.rb index 6433e36ce2..4f88416812 100644 --- a/lib/plaid/models/cra_check_report_income_insights_get_options.rb +++ b/lib/plaid/models/cra_check_report_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 86cd81fb30..8723cd8128 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 31a37f2436..63b6017cb9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_lend_score_get_options.rb b/lib/plaid/models/cra_check_report_lend_score_get_options.rb index f0b26f8dbf..fa16e40b8b 100644 --- a/lib/plaid/models/cra_check_report_lend_score_get_options.rb +++ b/lib/plaid/models/cra_check_report_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_lend_score_get_request.rb b/lib/plaid/models/cra_check_report_lend_score_get_request.rb index c956bd19d5..5dd14b8abc 100644 --- a/lib/plaid/models/cra_check_report_lend_score_get_request.rb +++ b/lib/plaid/models/cra_check_report_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_lend_score_get_response.rb b/lib/plaid/models/cra_check_report_lend_score_get_response.rb index 7f76b03da4..9ce65f8c3c 100644 --- a/lib/plaid/models/cra_check_report_lend_score_get_response.rb +++ b/lib/plaid/models/cra_check_report_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_network_insights_get_options.rb b/lib/plaid/models/cra_check_report_network_insights_get_options.rb index 4efcbfdb61..c7fa521fca 100644 --- a/lib/plaid/models/cra_check_report_network_insights_get_options.rb +++ b/lib/plaid/models/cra_check_report_network_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_network_insights_get_request.rb b/lib/plaid/models/cra_check_report_network_insights_get_request.rb index f5c0dffe59..6c77db2d6a 100644 --- a/lib/plaid/models/cra_check_report_network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_network_insights_get_response.rb b/lib/plaid/models/cra_check_report_network_insights_get_response.rb index e9cf0852ed..3f0e46d0bf 100644 --- a/lib/plaid/models/cra_check_report_network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 f43f78ea3f..54da4a3a7e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_partner_insights_get_partner_insights.rb b/lib/plaid/models/cra_check_report_partner_insights_get_partner_insights.rb index 8a28052e90..25efb381cb 100644 --- a/lib/plaid/models/cra_check_report_partner_insights_get_partner_insights.rb +++ b/lib/plaid/models/cra_check_report_partner_insights_get_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 d91749ce38..8c69519291 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7658a93af3..e09bf9ba3f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eb3e1dde3c..df51ac9fdf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_permissible_purpose.rb b/lib/plaid/models/cra_check_report_permissible_purpose.rb index 001eee0bfc..0f43b76260 100644 --- a/lib/plaid/models/cra_check_report_permissible_purpose.rb +++ b/lib/plaid/models/cra_check_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 941dc568b7..c54f981ef8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_get_employment_refresh_options.rb b/lib/plaid/models/cra_check_report_verification_get_employment_refresh_options.rb index 63661ab615..ec2f36a51e 100644 --- a/lib/plaid/models/cra_check_report_verification_get_employment_refresh_options.rb +++ b/lib/plaid/models/cra_check_report_verification_get_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_get_report_type.rb b/lib/plaid/models/cra_check_report_verification_get_report_type.rb index 78c9aa5024..3d4bd63656 100644 --- a/lib/plaid/models/cra_check_report_verification_get_report_type.rb +++ b/lib/plaid/models/cra_check_report_verification_get_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_get_request.rb b/lib/plaid/models/cra_check_report_verification_get_request.rb index 61087d323f..bdb652dd40 100644 --- a/lib/plaid/models/cra_check_report_verification_get_request.rb +++ b/lib/plaid/models/cra_check_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_get_response.rb b/lib/plaid/models/cra_check_report_verification_get_response.rb index b7eb3a93f3..e0831610a3 100644 --- a/lib/plaid/models/cra_check_report_verification_get_response.rb +++ b/lib/plaid/models/cra_check_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_pdf_get_request.rb b/lib/plaid/models/cra_check_report_verification_pdf_get_request.rb index f09998df25..713e0b17c3 100644 --- a/lib/plaid/models/cra_check_report_verification_pdf_get_request.rb +++ b/lib/plaid/models/cra_check_report_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_check_report_verification_pdf_report_type.rb b/lib/plaid/models/cra_check_report_verification_pdf_report_type.rb index 64a6957b26..112c11a28e 100644 --- a/lib/plaid/models/cra_check_report_verification_pdf_report_type.rb +++ b/lib/plaid/models/cra_check_report_verification_pdf_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_inquiry_type.rb b/lib/plaid/models/cra_credit_profile_inquiry_type.rb index e1a17ee37c..d9784ffba7 100644 --- a/lib/plaid/models/cra_credit_profile_inquiry_type.rb +++ b/lib/plaid/models/cra_credit_profile_inquiry_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_lend_score.rb b/lib/plaid/models/cra_credit_profile_lend_score.rb index 1c80e54349..bf0c374346 100644 --- a/lib/plaid/models/cra_credit_profile_lend_score.rb +++ b/lib/plaid/models/cra_credit_profile_lend_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_report.rb b/lib/plaid/models/cra_credit_profile_report.rb index 067205a9a8..59ede0ceed 100644 --- a/lib/plaid/models/cra_credit_profile_report.rb +++ b/lib/plaid/models/cra_credit_profile_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -27,7 +27,7 @@ class CraCreditProfileReport # The LendScore results for the credit profile report. attr_accessor :lend_scores - # A map of cash flow attributes, where the key is a string, and the value is a string, float, int, or boolean. The specific list of attributes will depend on the cash flow attributes version used. For a full list of attributes, contact your account manager. + # A map of cash flow attributes, where the key is a string, and the value is a string, float, int, or boolean. The specific list of attributes will depend on the cash flow attributes version used. For a full list of all ~2,000 attributes, contact your account manager. attr_accessor :cashflow_insights_attributes # A map of network attributes, where the key is a string, and the value is a float, int, or boolean. For a full list of attributes, contact your account manager. diff --git a/lib/plaid/models/cra_credit_profile_report_get_request.rb b/lib/plaid/models/cra_credit_profile_report_get_request.rb index c6751784a9..266406b170 100644 --- a/lib/plaid/models/cra_credit_profile_report_get_request.rb +++ b/lib/plaid/models/cra_credit_profile_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_report_get_response.rb b/lib/plaid/models/cra_credit_profile_report_get_response.rb index 3080057c2f..cd0039694b 100644 --- a/lib/plaid/models/cra_credit_profile_report_get_response.rb +++ b/lib/plaid/models/cra_credit_profile_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_report_metadata.rb b/lib/plaid/models/cra_credit_profile_report_metadata.rb index 0cc97432ad..80e38b3890 100644 --- a/lib/plaid/models/cra_credit_profile_report_metadata.rb +++ b/lib/plaid/models/cra_credit_profile_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_report_type.rb b/lib/plaid/models/cra_credit_profile_report_type.rb index 1fbfe91aee..e23b49d475 100644 --- a/lib/plaid/models/cra_credit_profile_report_type.rb +++ b/lib/plaid/models/cra_credit_profile_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_credit_profile_report_version.rb b/lib/plaid/models/cra_credit_profile_report_version.rb index 037b088cd8..b0aecf5104 100644 --- a/lib/plaid/models/cra_credit_profile_report_version.rb +++ b/lib/plaid/models/cra_credit_profile_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_current_modeled_income.rb b/lib/plaid/models/cra_current_modeled_income.rb index cae46d5f77..96bb3597eb 100644 --- a/lib/plaid/models/cra_current_modeled_income.rb +++ b/lib/plaid/models/cra_current_modeled_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_employment_refresh_report.rb b/lib/plaid/models/cra_employment_refresh_report.rb index 7d16edd122..013eff64c3 100644 --- a/lib/plaid/models/cra_employment_refresh_report.rb +++ b/lib/plaid/models/cra_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_employment_refresh_report_account.rb b/lib/plaid/models/cra_employment_refresh_report_account.rb index 2b81619286..219e64a7a5 100644 --- a/lib/plaid/models/cra_employment_refresh_report_account.rb +++ b/lib/plaid/models/cra_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_employment_refresh_report_item.rb b/lib/plaid/models/cra_employment_refresh_report_item.rb index 605e6f1c2a..b8be04527d 100644 --- a/lib/plaid/models/cra_employment_refresh_report_item.rb +++ b/lib/plaid/models/cra_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_employment_refresh_report_transaction.rb b/lib/plaid/models/cra_employment_refresh_report_transaction.rb index 4a911d3893..5d1d2bac96 100644 --- a/lib/plaid/models/cra_employment_refresh_report_transaction.rb +++ b/lib/plaid/models/cra_employment_refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_home_lending_product.rb b/lib/plaid/models/cra_home_lending_product.rb new file mode 100644 index 0000000000..64bd35d0b1 --- /dev/null +++ b/lib/plaid/models/cra_home_lending_product.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Names the Home Lending product at a given version. + class CraHomeLendingProduct + # The Home Lending product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :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 + { + :'product' => :'product', + :'version' => :'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 + { + :'product' => :'String', + :'version' => :'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::CraHomeLendingProduct` 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::CraHomeLendingProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = 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 + if @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_home_lending"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_home_lending"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.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 + [product, 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_income_category.rb b/lib/plaid/models/cra_income_category.rb index ce6f7cd7ae..4cb9911ec1 100644 --- a/lib/plaid/models/cra_income_category.rb +++ b/lib/plaid/models/cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a1b57683e3..7bd2f06853 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_insights_product.rb b/lib/plaid/models/cra_income_insights_product.rb new file mode 100644 index 0000000000..4a1bb43f25 --- /dev/null +++ b/lib/plaid/models/cra_income_insights_product.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Names the Income Insights product at a given version. + class CraIncomeInsightsProduct + # The Income Insights product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :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 + { + :'product' => :'product', + :'version' => :'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 + { + :'product' => :'String', + :'version' => :'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::CraIncomeInsightsProduct` 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::CraIncomeInsightsProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = 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 + if @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.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 + [product, 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_income_insights_product_config.rb b/lib/plaid/models/cra_income_insights_product_config.rb new file mode 100644 index 0000000000..09d7c40ead --- /dev/null +++ b/lib/plaid/models/cra_income_insights_product_config.rb @@ -0,0 +1,285 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The Income Insights product at a given version, together with options for additional configuration. + class CraIncomeInsightsProductConfig + # The Income Insights product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :version + + attr_accessor :options + + 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 + { + :'product' => :'product', + :'version' => :'version', + :'options' => :'options' + } + 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 + { + :'product' => :'String', + :'version' => :'String', + :'options' => :'CraCheckReportCreateIncomeInsightsOptions' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'options' + ]) + 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::CraIncomeInsightsProductConfig` 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::CraIncomeInsightsProductConfig`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = attributes[:'version'] + end + + if attributes.key?(:'options') + self.options = attributes[:'options'] + 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 @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.version && + options == o.options + 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 + [product, version, options].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_income_insights_user_summary.rb b/lib/plaid/models/cra_income_insights_user_summary.rb index 80f79f5dda..b0264e6f5c 100644 --- a/lib/plaid/models/cra_income_insights_user_summary.rb +++ b/lib/plaid/models/cra_income_insights_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_metrics.rb b/lib/plaid/models/cra_income_metrics.rb index 6b4625dc46..c2eb356ae4 100644 --- a/lib/plaid/models/cra_income_metrics.rb +++ b/lib/plaid/models/cra_income_metrics.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_next_payment.rb b/lib/plaid/models/cra_income_next_payment.rb index daecb57f64..6ee0c527a7 100644 --- a/lib/plaid/models/cra_income_next_payment.rb +++ b/lib/plaid/models/cra_income_next_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_stream.rb b/lib/plaid/models/cra_income_stream.rb index c17917eb68..d522c43f2c 100644 --- a/lib/plaid/models/cra_income_stream.rb +++ b/lib/plaid/models/cra_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_stream_insights.rb b/lib/plaid/models/cra_income_stream_insights.rb index 1539332230..84fc46a10f 100644 --- a/lib/plaid/models/cra_income_stream_insights.rb +++ b/lib/plaid/models/cra_income_stream_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_transaction.rb b/lib/plaid/models/cra_income_transaction.rb index 42c70342a8..68468d4f6a 100644 --- a/lib/plaid/models/cra_income_transaction.rb +++ b/lib/plaid/models/cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_income_transaction_outlier.rb b/lib/plaid/models/cra_income_transaction_outlier.rb index e16f8b74e3..7347b6f293 100644 --- a/lib/plaid/models/cra_income_transaction_outlier.rb +++ b/lib/plaid/models/cra_income_transaction_outlier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_lend_score_report.rb b/lib/plaid/models/cra_lend_score_report.rb index bc3b88b124..b804d7f332 100644 --- a/lib/plaid/models/cra_lend_score_report.rb +++ b/lib/plaid/models/cra_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_loan_application.rb b/lib/plaid/models/cra_loan_application.rb index 421809bc3d..fcd5d383fe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88fb8168be..ca039d974f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bceb3a6d52..568c870fe9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 36702a7721..414e5e1df6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e01593412c..59df2a174e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f243b1fa57..c8612bfc96 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 daabb172e4..d9f00c9ec5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a0d78edbe3..659cd2d24c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a8f3d20d45..320744f187 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5581de3d49..0ca4307fc2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d533fd131e..50ff67c2b3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bbfa93d74e..850e53dde9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 61680f4aea..dc55076810 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf1bd36ac9..7fa0066bf3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 374040d971..5e734d0627 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd0ccbea56..d898a7df98 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6b23209310..ccb561c91e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3401b01975..1d560c6de3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2fc79afb40..ee4c7f2928 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 57a2585580..dd852c36ab 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9a0f22d776..e15e5549da 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 891138070a..dd84c1398d 100644 --- a/lib/plaid/models/cra_monitoring_insights_get_request.rb +++ b/lib/plaid/models/cra_monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_get_response.rb b/lib/plaid/models/cra_monitoring_insights_get_response.rb index a4d92d0f5b..ed1e3ff16f 100644 --- a/lib/plaid/models/cra_monitoring_insights_get_response.rb +++ b/lib/plaid/models/cra_monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_item.rb b/lib/plaid/models/cra_monitoring_insights_item.rb index 23fd867d33..5b1e4f387c 100644 --- a/lib/plaid/models/cra_monitoring_insights_item.rb +++ b/lib/plaid/models/cra_monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb index 17b3cc34a1..b97139dd93 100644 --- a/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb index 4195daeeb3..1f40211c57 100644 --- a/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb +++ b/lib/plaid/models/cra_monitoring_insights_subscribe_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb index a469dd815f..ce9995d1f5 100644 --- a/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb index bb7e24c078..6926abcad7 100644 --- a/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb +++ b/lib/plaid/models/cra_monitoring_insights_unsubscribe_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_monthly_income_values.rb b/lib/plaid/models/cra_monthly_income_values.rb index 0e6f10f60e..a904ded279 100644 --- a/lib/plaid/models/cra_monthly_income_values.rb +++ b/lib/plaid/models/cra_monthly_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_network_insights_item.rb b/lib/plaid/models/cra_network_insights_item.rb index e36ffb8e33..ed9ccdc830 100644 --- a/lib/plaid/models/cra_network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_network_insights_report.rb b/lib/plaid/models/cra_network_insights_report.rb index 72c5d1f2e4..842c0bb743 100644 --- a/lib/plaid/models/cra_network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights.rb b/lib/plaid/models/cra_partner_insights.rb index 2323ae1b76..ce111d2ee9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_base_fico_score.rb b/lib/plaid/models/cra_partner_insights_base_fico_score.rb index f022d741be..7c560af3db 100644 --- a/lib/plaid/models/cra_partner_insights_base_fico_score.rb +++ b/lib/plaid/models/cra_partner_insights_base_fico_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_base_fico_score_version.rb b/lib/plaid/models/cra_partner_insights_base_fico_score_version.rb index b2c33b3b16..1bb4deeed7 100644 --- a/lib/plaid/models/cra_partner_insights_base_fico_score_version.rb +++ b/lib/plaid/models/cra_partner_insights_base_fico_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_bureau.rb b/lib/plaid/models/cra_partner_insights_bureau.rb index dba28ca716..9cdc279337 100644 --- a/lib/plaid/models/cra_partner_insights_bureau.rb +++ b/lib/plaid/models/cra_partner_insights_bureau.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 332881a3fd..b73ce1ceb3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 60d9d415a8..05b40eef96 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_fico_input.rb b/lib/plaid/models/cra_partner_insights_fico_input.rb index bd6ab1155a..cb1b50fb9c 100644 --- a/lib/plaid/models/cra_partner_insights_fico_input.rb +++ b/lib/plaid/models/cra_partner_insights_fico_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_fico_report_characteristics.rb b/lib/plaid/models/cra_partner_insights_fico_report_characteristics.rb index b72185754e..6b3f77bd18 100644 --- a/lib/plaid/models/cra_partner_insights_fico_report_characteristics.rb +++ b/lib/plaid/models/cra_partner_insights_fico_report_characteristics.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_fico_results.rb b/lib/plaid/models/cra_partner_insights_fico_results.rb index dc3edf1592..f1ff46a197 100644 --- a/lib/plaid/models/cra_partner_insights_fico_results.rb +++ b/lib/plaid/models/cra_partner_insights_fico_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3f09ab21e1..fd400fc406 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7cb4b84495..f6d4d96240 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 028b9cc941..cf1d8fef17 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a2da0785b..9a22fcbc09 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_item_account_metadata.rb b/lib/plaid/models/cra_partner_insights_item_account_metadata.rb index 3a21a9d355..a22b33ba9e 100644 --- a/lib/plaid/models/cra_partner_insights_item_account_metadata.rb +++ b/lib/plaid/models/cra_partner_insights_item_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf7eb0ac83..fbe9fd7d53 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_ultra_fico_score.rb b/lib/plaid/models/cra_partner_insights_ultra_fico_score.rb index 7de4e7de82..cb800fd681 100644 --- a/lib/plaid/models/cra_partner_insights_ultra_fico_score.rb +++ b/lib/plaid/models/cra_partner_insights_ultra_fico_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_ultra_fico_score_request.rb b/lib/plaid/models/cra_partner_insights_ultra_fico_score_request.rb index ec36ff2b35..177bd7dd12 100644 --- a/lib/plaid/models/cra_partner_insights_ultra_fico_score_request.rb +++ b/lib/plaid/models/cra_partner_insights_ultra_fico_score_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_ultra_fico_score_result.rb b/lib/plaid/models/cra_partner_insights_ultra_fico_score_result.rb index e2d9417401..50033e552b 100644 --- a/lib/plaid/models/cra_partner_insights_ultra_fico_score_result.rb +++ b/lib/plaid/models/cra_partner_insights_ultra_fico_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_partner_insights_ultra_fico_score_version.rb b/lib/plaid/models/cra_partner_insights_ultra_fico_score_version.rb index f911e85b9b..f00601d205 100644 --- a/lib/plaid/models/cra_partner_insights_ultra_fico_score_version.rb +++ b/lib/plaid/models/cra_partner_insights_ultra_fico_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 99d47508ea..21cad54af2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 29f4b37ce8..f3cace71db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_projected_modeled_income.rb b/lib/plaid/models/cra_projected_modeled_income.rb index 0689a5bf43..127595447d 100644 --- a/lib/plaid/models/cra_projected_modeled_income.rb +++ b/lib/plaid/models/cra_projected_modeled_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_qualify_product.rb b/lib/plaid/models/cra_qualify_product.rb new file mode 100644 index 0000000000..c245c543fa --- /dev/null +++ b/lib/plaid/models/cra_qualify_product.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Names the Qualify product at a given version. + class CraQualifyProduct + # The Qualify product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :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 + { + :'product' => :'product', + :'version' => :'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 + { + :'product' => :'String', + :'version' => :'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::CraQualifyProduct` 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::CraQualifyProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = 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 + if @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.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 + [product, 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_qualify_product_config.rb b/lib/plaid/models/cra_qualify_product_config.rb new file mode 100644 index 0000000000..0777391c8b --- /dev/null +++ b/lib/plaid/models/cra_qualify_product_config.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # The Qualify product at a given version. Qualify accepts no additional configuration today. + class CraQualifyProductConfig + # The Qualify product discriminator. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :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 + { + :'product' => :'product', + :'version' => :'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 + { + :'product' => :'String', + :'version' => :'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::CraQualifyProductConfig` 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::CraQualifyProductConfig`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = 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 + if @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.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 + [product, 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_report_decision_stage.rb b/lib/plaid/models/cra_report_decision_stage.rb index 8111da09b7..9bf0a12659 100644 --- a/lib/plaid/models/cra_report_decision_stage.rb +++ b/lib/plaid/models/cra_report_decision_stage.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_report_get_home_lending_attributes.rb b/lib/plaid/models/cra_report_get_home_lending_attributes.rb new file mode 100644 index 0000000000..7b1eeeca57 --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_attributes.rb @@ -0,0 +1,300 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Home Lending attribute data returned by `/cra/report/get`. + class CraReportGetHomeLendingAttributes + # Modeled income metrics, one entry per currency observed across the user's income streams. + attr_accessor :income_metrics + + # Modeled income broken down by income category, one entry per currency observed across the user's income streams. + attr_accessor :income_by_categories + + attr_accessor :income_sources + + # The number of cash advance loan payments observed in the trailing 90 days. + attr_accessor :loan_payments_cash_advance_count_90d + + # The number of buy-now-pay-later loan payments observed in the trailing 90 days. + attr_accessor :loan_payments_bnpl_count_90d + + # A flag indicating whether non-sufficient-funds or late fees were observed in the trailing 90 days. + attr_accessor :payment_behavior_nsf_late_fees_flag_90d + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_metrics' => :'income_metrics', + :'income_by_categories' => :'income_by_categories', + :'income_sources' => :'income_sources', + :'loan_payments_cash_advance_count_90d' => :'loan_payments_cash_advance_count_90d', + :'loan_payments_bnpl_count_90d' => :'loan_payments_bnpl_count_90d', + :'payment_behavior_nsf_late_fees_flag_90d' => :'payment_behavior_nsf_late_fees_flag_90d' + } + 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_metrics' => :'Array', + :'income_by_categories' => :'Array', + :'income_sources' => :'CraReportGetHomeLendingIncomeSources', + :'loan_payments_cash_advance_count_90d' => :'Integer', + :'loan_payments_bnpl_count_90d' => :'Integer', + :'payment_behavior_nsf_late_fees_flag_90d' => :'Integer' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'income_sources', + ]) + 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::CraReportGetHomeLendingAttributes` 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::CraReportGetHomeLendingAttributes`. 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_metrics') + if (value = attributes[:'income_metrics']).is_a?(Array) + self.income_metrics = value + end + end + + if attributes.key?(:'income_by_categories') + if (value = attributes[:'income_by_categories']).is_a?(Array) + self.income_by_categories = value + end + end + + if attributes.key?(:'income_sources') + self.income_sources = attributes[:'income_sources'] + end + + if attributes.key?(:'loan_payments_cash_advance_count_90d') + self.loan_payments_cash_advance_count_90d = attributes[:'loan_payments_cash_advance_count_90d'] + end + + if attributes.key?(:'loan_payments_bnpl_count_90d') + self.loan_payments_bnpl_count_90d = attributes[:'loan_payments_bnpl_count_90d'] + end + + if attributes.key?(:'payment_behavior_nsf_late_fees_flag_90d') + self.payment_behavior_nsf_late_fees_flag_90d = attributes[:'payment_behavior_nsf_late_fees_flag_90d'] + 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_metrics.nil? + invalid_properties.push('invalid value for "income_metrics", income_metrics cannot be nil.') + end + + if @income_by_categories.nil? + invalid_properties.push('invalid value for "income_by_categories", income_by_categories cannot be nil.') + end + + if @loan_payments_cash_advance_count_90d.nil? + invalid_properties.push('invalid value for "loan_payments_cash_advance_count_90d", loan_payments_cash_advance_count_90d cannot be nil.') + end + + if @loan_payments_bnpl_count_90d.nil? + invalid_properties.push('invalid value for "loan_payments_bnpl_count_90d", loan_payments_bnpl_count_90d cannot be nil.') + end + + if @payment_behavior_nsf_late_fees_flag_90d.nil? + invalid_properties.push('invalid value for "payment_behavior_nsf_late_fees_flag_90d", payment_behavior_nsf_late_fees_flag_90d 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_metrics.nil? + return false if @income_by_categories.nil? + return false if @loan_payments_cash_advance_count_90d.nil? + return false if @loan_payments_bnpl_count_90d.nil? + return false if @payment_behavior_nsf_late_fees_flag_90d.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_metrics == o.income_metrics && + income_by_categories == o.income_by_categories && + income_sources == o.income_sources && + loan_payments_cash_advance_count_90d == o.loan_payments_cash_advance_count_90d && + loan_payments_bnpl_count_90d == o.loan_payments_bnpl_count_90d && + payment_behavior_nsf_late_fees_flag_90d == o.payment_behavior_nsf_late_fees_flag_90d + 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_metrics, income_by_categories, income_sources, loan_payments_cash_advance_count_90d, loan_payments_bnpl_count_90d, payment_behavior_nsf_late_fees_flag_90d].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_report_get_home_lending_category_income.rb b/lib/plaid/models/cra_report_get_home_lending_category_income.rb new file mode 100644 index 0000000000..50af3e5a2d --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_category_income.rb @@ -0,0 +1,235 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Modeled current income for a single income category. + class CraReportGetHomeLendingCategoryIncome + attr_accessor :income_category + + attr_accessor :current + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_category' => :'income_category', + :'current' => :'current' + } + 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_category' => :'CraIncomeCategory', + :'current' => :'CraCurrentModeledIncome' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'current' + ]) + 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::CraReportGetHomeLendingCategoryIncome` 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::CraReportGetHomeLendingCategoryIncome`. 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_category') + self.income_category = attributes[:'income_category'] + end + + if attributes.key?(:'current') + self.current = attributes[:'current'] + 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_category.nil? + invalid_properties.push('invalid value for "income_category", income_category 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_category.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_category == o.income_category && + current == o.current + 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_category, current].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_report_get_home_lending_income_by_categories.rb b/lib/plaid/models/cra_report_get_home_lending_income_by_categories.rb new file mode 100644 index 0000000000..730aa06576 --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_income_by_categories.rb @@ -0,0 +1,250 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Modeled income for one currency, broken down by income category. + class CraReportGetHomeLendingIncomeByCategories + # The ISO 4217 currency code of the amount or balance. + attr_accessor :iso_currency_code + + # The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. + attr_accessor :unofficial_currency_code + + # The income categories observed for this currency, ordered by primary and then secondary category. + attr_accessor :categories + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'iso_currency_code' => :'iso_currency_code', + :'unofficial_currency_code' => :'unofficial_currency_code', + :'categories' => :'categories' + } + 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 + { + :'iso_currency_code' => :'String', + :'unofficial_currency_code' => :'String', + :'categories' => :'Array' + } + 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::CraReportGetHomeLendingIncomeByCategories` 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::CraReportGetHomeLendingIncomeByCategories`. 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?(:'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 + + if attributes.key?(:'categories') + if (value = attributes[:'categories']).is_a?(Array) + self.categories = 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 @categories.nil? + invalid_properties.push('invalid value for "categories", categories 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 @categories.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 && + iso_currency_code == o.iso_currency_code && + unofficial_currency_code == o.unofficial_currency_code && + categories == o.categories + 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 + [iso_currency_code, unofficial_currency_code, categories].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_report_get_home_lending_income_metrics.rb b/lib/plaid/models/cra_report_get_home_lending_income_metrics.rb new file mode 100644 index 0000000000..6c2e6d97dc --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_income_metrics.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Modeled current income for a given currency. Home Lending reports current income only; there is no projected income figure. + class CraReportGetHomeLendingIncomeMetrics + attr_accessor :current + + # The ISO 4217 currency code of the amount or balance. + attr_accessor :iso_currency_code + + # The unofficial currency code associated with the amount or balance. Always `null` if `iso_currency_code` is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries. + attr_accessor :unofficial_currency_code + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'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 + { + :'current' => :'CraCurrentModeledIncome', + :'iso_currency_code' => :'String', + :'unofficial_currency_code' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'current', + :'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::CraReportGetHomeLendingIncomeMetrics` 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::CraReportGetHomeLendingIncomeMetrics`. 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?(:'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 + 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 && + 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 + [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/cra_report_get_home_lending_income_sources.rb b/lib/plaid/models/cra_report_get_home_lending_income_sources.rb new file mode 100644 index 0000000000..5672822b01 --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_income_sources.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Summary of the income sources backing the Home Lending report. + class CraReportGetHomeLendingIncomeSources + # The number of income streams detected for the user. + attr_accessor :income_stream_count + + # The income providers observed across the user's income streams, ordered by provider name. + attr_accessor :income_providers + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_stream_count' => :'income_stream_count', + :'income_providers' => :'income_providers' + } + 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_stream_count' => :'Integer', + :'income_providers' => :'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::CraReportGetHomeLendingIncomeSources` 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::CraReportGetHomeLendingIncomeSources`. 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_stream_count') + self.income_stream_count = attributes[:'income_stream_count'] + end + + if attributes.key?(:'income_providers') + if (value = attributes[:'income_providers']).is_a?(Array) + self.income_providers = 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 @income_stream_count.nil? + invalid_properties.push('invalid value for "income_stream_count", income_stream_count cannot be nil.') + end + + if @income_providers.nil? + invalid_properties.push('invalid value for "income_providers", income_providers 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_stream_count.nil? + return false if @income_providers.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_stream_count == o.income_stream_count && + income_providers == o.income_providers + 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_stream_count, income_providers].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_report_get_home_lending_metadata.rb b/lib/plaid/models/cra_report_get_home_lending_metadata.rb new file mode 100644 index 0000000000..e08647325d --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_metadata.rb @@ -0,0 +1,276 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Home Lending report metadata returned by `/cra/report/get`. + class CraReportGetHomeLendingMetadata + # The time the report was generated. May be `null` if unavailable. + attr_accessor :generated_time + + # The number of Items used to generate the report. + attr_accessor :item_count + + # The number of accounts used to generate the report. + attr_accessor :account_count + + # The institution IDs of the Items used to generate the report. + attr_accessor :institution_ids + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'generated_time' => :'generated_time', + :'item_count' => :'item_count', + :'account_count' => :'account_count', + :'institution_ids' => :'institution_ids' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'generated_time' => :'Time', + :'item_count' => :'Integer', + :'account_count' => :'Integer', + :'institution_ids' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'generated_time', + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'CraReportGetProductBaseMetadata' + ] + 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::CraReportGetHomeLendingMetadata` 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::CraReportGetHomeLendingMetadata`. 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?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'item_count') + self.item_count = attributes[:'item_count'] + end + + if attributes.key?(:'account_count') + self.account_count = attributes[:'account_count'] + end + + if attributes.key?(:'institution_ids') + if (value = attributes[:'institution_ids']).is_a?(Array) + self.institution_ids = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @item_count.nil? + invalid_properties.push('invalid value for "item_count", item_count cannot be nil.') + end + + if @account_count.nil? + invalid_properties.push('invalid value for "account_count", account_count cannot be nil.') + end + + if @institution_ids.nil? + invalid_properties.push('invalid value for "institution_ids", institution_ids cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @item_count.nil? + return false if @account_count.nil? + return false if @institution_ids.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + generated_time == o.generated_time && + item_count == o.item_count && + account_count == o.account_count && + institution_ids == o.institution_ids + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [generated_time, item_count, account_count, institution_ids].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_report_get_home_lending_response_product.rb b/lib/plaid/models/cra_report_get_home_lending_response_product.rb new file mode 100644 index 0000000000..40d73a3bb0 --- /dev/null +++ b/lib/plaid/models/cra_report_get_home_lending_response_product.rb @@ -0,0 +1,312 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Home Lending data returned by `/cra/report/get`. + class CraReportGetHomeLendingResponseProduct + # The Home Lending product. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :version + + attr_accessor :metadata + + attr_accessor :attributes + + # Product-level errors. Non-empty when this product failed to generate; empty on success. + attr_accessor :errors + + 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 + { + :'product' => :'product', + :'version' => :'version', + :'metadata' => :'metadata', + :'attributes' => :'attributes', + :'errors' => :'errors' + } + 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 + { + :'product' => :'String', + :'version' => :'String', + :'metadata' => :'CraReportGetHomeLendingMetadata', + :'attributes' => :'CraReportGetHomeLendingAttributes', + :'errors' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'metadata', + :'attributes', + ]) + 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::CraReportGetHomeLendingResponseProduct` 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::CraReportGetHomeLendingResponseProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = attributes[:'version'] + end + + if attributes.key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'errors') + if (value = attributes[:'errors']).is_a?(Array) + self.errors = 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 @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version cannot be nil.') + end + + if @errors.nil? + invalid_properties.push('invalid value for "errors", errors 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_home_lending"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + return false if @errors.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_home_lending"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.version && + metadata == o.metadata && + attributes == o.attributes && + errors == o.errors + 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 + [product, version, metadata, attributes, errors].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_report_get_income_insights_attributes.rb b/lib/plaid/models/cra_report_get_income_insights_attributes.rb new file mode 100644 index 0000000000..bfa1493254 --- /dev/null +++ b/lib/plaid/models/cra_report_get_income_insights_attributes.rb @@ -0,0 +1,238 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Income Insights attribute data returned by `/cra/report/get`. + class CraReportGetIncomeInsightsAttributes + # The income streams detected for the user. + attr_accessor :income_streams + + attr_accessor :user_summary + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_streams' => :'income_streams', + :'user_summary' => :'user_summary' + } + 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_streams' => :'Array', + :'user_summary' => :'CraIncomeInsightsUserSummary' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'user_summary' + ]) + 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::CraReportGetIncomeInsightsAttributes` 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::CraReportGetIncomeInsightsAttributes`. 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_streams') + if (value = attributes[:'income_streams']).is_a?(Array) + self.income_streams = value + end + end + + if attributes.key?(:'user_summary') + self.user_summary = attributes[:'user_summary'] + 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_streams.nil? + invalid_properties.push('invalid value for "income_streams", income_streams 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_streams.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_streams == o.income_streams && + user_summary == o.user_summary + 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_streams, user_summary].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_report_get_income_insights_metadata.rb b/lib/plaid/models/cra_report_get_income_insights_metadata.rb new file mode 100644 index 0000000000..c8613f34f5 --- /dev/null +++ b/lib/plaid/models/cra_report_get_income_insights_metadata.rb @@ -0,0 +1,374 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Income Insights report metadata returned by `/cra/report/get`. + class CraReportGetIncomeInsightsMetadata + # The time the report was generated. May be `null` if unavailable. + attr_accessor :generated_time + + # The number of Items used to generate the report. + attr_accessor :item_count + + # The number of accounts used to generate the report. + attr_accessor :account_count + + # The institution IDs of the Items used to generate the report. + attr_accessor :institution_ids + + # The number of accounts carrying Plaid's primary account indicator. + attr_accessor :primary_account_count + + # The number of depository accounts used to generate the report. + attr_accessor :depository_account_type_count + + # The number of credit accounts used to generate the report. + attr_accessor :credit_account_type_count + + # The number of accounts that are neither depository nor credit. + attr_accessor :other_account_type_count + + # The number of accounts with multiple owners. + attr_accessor :multiple_owner_account_count + + # The earliest transaction date across the accounts the report was generated from. May be `null` if the producer could not compute a transaction range. + attr_accessor :oldest_transaction_date + + # The latest transaction date across the accounts the report was generated from. May be `null` if the producer could not compute a transaction range. + attr_accessor :most_recent_transaction_date + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'generated_time' => :'generated_time', + :'item_count' => :'item_count', + :'account_count' => :'account_count', + :'institution_ids' => :'institution_ids', + :'primary_account_count' => :'primary_account_count', + :'depository_account_type_count' => :'depository_account_type_count', + :'credit_account_type_count' => :'credit_account_type_count', + :'other_account_type_count' => :'other_account_type_count', + :'multiple_owner_account_count' => :'multiple_owner_account_count', + :'oldest_transaction_date' => :'oldest_transaction_date', + :'most_recent_transaction_date' => :'most_recent_transaction_date' + } + 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 + { + :'generated_time' => :'Time', + :'item_count' => :'Integer', + :'account_count' => :'Integer', + :'institution_ids' => :'Array', + :'primary_account_count' => :'Integer', + :'depository_account_type_count' => :'Integer', + :'credit_account_type_count' => :'Integer', + :'other_account_type_count' => :'Integer', + :'multiple_owner_account_count' => :'Integer', + :'oldest_transaction_date' => :'Date', + :'most_recent_transaction_date' => :'Date' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'generated_time', + :'oldest_transaction_date', + :'most_recent_transaction_date' + ]) + end + + # List of class defined in allOf (OpenAPI v3) + def self.openapi_all_of + [ + :'CraReportGetIncomeInsightsMetadataAllOf', + :'CraReportGetProductBaseMetadata' + ] + 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::CraReportGetIncomeInsightsMetadata` 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::CraReportGetIncomeInsightsMetadata`. 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?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'item_count') + self.item_count = attributes[:'item_count'] + end + + if attributes.key?(:'account_count') + self.account_count = attributes[:'account_count'] + end + + if attributes.key?(:'institution_ids') + if (value = attributes[:'institution_ids']).is_a?(Array) + self.institution_ids = value + end + end + + if attributes.key?(:'primary_account_count') + self.primary_account_count = attributes[:'primary_account_count'] + end + + if attributes.key?(:'depository_account_type_count') + self.depository_account_type_count = attributes[:'depository_account_type_count'] + end + + if attributes.key?(:'credit_account_type_count') + self.credit_account_type_count = attributes[:'credit_account_type_count'] + end + + if attributes.key?(:'other_account_type_count') + self.other_account_type_count = attributes[:'other_account_type_count'] + end + + if attributes.key?(:'multiple_owner_account_count') + self.multiple_owner_account_count = attributes[:'multiple_owner_account_count'] + end + + if attributes.key?(:'oldest_transaction_date') + self.oldest_transaction_date = attributes[:'oldest_transaction_date'] + end + + if attributes.key?(:'most_recent_transaction_date') + self.most_recent_transaction_date = attributes[:'most_recent_transaction_date'] + 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_count.nil? + invalid_properties.push('invalid value for "item_count", item_count cannot be nil.') + end + + if @account_count.nil? + invalid_properties.push('invalid value for "account_count", account_count cannot be nil.') + end + + if @institution_ids.nil? + invalid_properties.push('invalid value for "institution_ids", institution_ids cannot be nil.') + end + + if @primary_account_count.nil? + invalid_properties.push('invalid value for "primary_account_count", primary_account_count cannot be nil.') + end + + if @depository_account_type_count.nil? + invalid_properties.push('invalid value for "depository_account_type_count", depository_account_type_count cannot be nil.') + end + + if @credit_account_type_count.nil? + invalid_properties.push('invalid value for "credit_account_type_count", credit_account_type_count cannot be nil.') + end + + if @other_account_type_count.nil? + invalid_properties.push('invalid value for "other_account_type_count", other_account_type_count cannot be nil.') + end + + if @multiple_owner_account_count.nil? + invalid_properties.push('invalid value for "multiple_owner_account_count", multiple_owner_account_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 @item_count.nil? + return false if @account_count.nil? + return false if @institution_ids.nil? + return false if @primary_account_count.nil? + return false if @depository_account_type_count.nil? + return false if @credit_account_type_count.nil? + return false if @other_account_type_count.nil? + return false if @multiple_owner_account_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 && + generated_time == o.generated_time && + item_count == o.item_count && + account_count == o.account_count && + institution_ids == o.institution_ids && + primary_account_count == o.primary_account_count && + depository_account_type_count == o.depository_account_type_count && + credit_account_type_count == o.credit_account_type_count && + other_account_type_count == o.other_account_type_count && + multiple_owner_account_count == o.multiple_owner_account_count && + oldest_transaction_date == o.oldest_transaction_date && + most_recent_transaction_date == o.most_recent_transaction_date + 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 + [generated_time, item_count, account_count, institution_ids, primary_account_count, depository_account_type_count, credit_account_type_count, other_account_type_count, multiple_owner_account_count, oldest_transaction_date, most_recent_transaction_date].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_report_get_income_insights_metadata_all_of.rb b/lib/plaid/models/cra_report_get_income_insights_metadata_all_of.rb new file mode 100644 index 0000000000..99746ce6b5 --- /dev/null +++ b/lib/plaid/models/cra_report_get_income_insights_metadata_all_of.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CraReportGetIncomeInsightsMetadataAllOf + # The number of accounts carrying Plaid's primary account indicator. + attr_accessor :primary_account_count + + # The number of depository accounts used to generate the report. + attr_accessor :depository_account_type_count + + # The number of credit accounts used to generate the report. + attr_accessor :credit_account_type_count + + # The number of accounts that are neither depository nor credit. + attr_accessor :other_account_type_count + + # The number of accounts with multiple owners. + attr_accessor :multiple_owner_account_count + + # The earliest transaction date across the accounts the report was generated from. May be `null` if the producer could not compute a transaction range. + attr_accessor :oldest_transaction_date + + # The latest transaction date across the accounts the report was generated from. May be `null` if the producer could not compute a transaction range. + attr_accessor :most_recent_transaction_date + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'primary_account_count' => :'primary_account_count', + :'depository_account_type_count' => :'depository_account_type_count', + :'credit_account_type_count' => :'credit_account_type_count', + :'other_account_type_count' => :'other_account_type_count', + :'multiple_owner_account_count' => :'multiple_owner_account_count', + :'oldest_transaction_date' => :'oldest_transaction_date', + :'most_recent_transaction_date' => :'most_recent_transaction_date' + } + 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 + { + :'primary_account_count' => :'Integer', + :'depository_account_type_count' => :'Integer', + :'credit_account_type_count' => :'Integer', + :'other_account_type_count' => :'Integer', + :'multiple_owner_account_count' => :'Integer', + :'oldest_transaction_date' => :'Date', + :'most_recent_transaction_date' => :'Date' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'oldest_transaction_date', + :'most_recent_transaction_date' + ]) + 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::CraReportGetIncomeInsightsMetadataAllOf` 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::CraReportGetIncomeInsightsMetadataAllOf`. 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?(:'primary_account_count') + self.primary_account_count = attributes[:'primary_account_count'] + end + + if attributes.key?(:'depository_account_type_count') + self.depository_account_type_count = attributes[:'depository_account_type_count'] + end + + if attributes.key?(:'credit_account_type_count') + self.credit_account_type_count = attributes[:'credit_account_type_count'] + end + + if attributes.key?(:'other_account_type_count') + self.other_account_type_count = attributes[:'other_account_type_count'] + end + + if attributes.key?(:'multiple_owner_account_count') + self.multiple_owner_account_count = attributes[:'multiple_owner_account_count'] + end + + if attributes.key?(:'oldest_transaction_date') + self.oldest_transaction_date = attributes[:'oldest_transaction_date'] + end + + if attributes.key?(:'most_recent_transaction_date') + self.most_recent_transaction_date = attributes[:'most_recent_transaction_date'] + 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 @primary_account_count.nil? + invalid_properties.push('invalid value for "primary_account_count", primary_account_count cannot be nil.') + end + + if @depository_account_type_count.nil? + invalid_properties.push('invalid value for "depository_account_type_count", depository_account_type_count cannot be nil.') + end + + if @credit_account_type_count.nil? + invalid_properties.push('invalid value for "credit_account_type_count", credit_account_type_count cannot be nil.') + end + + if @other_account_type_count.nil? + invalid_properties.push('invalid value for "other_account_type_count", other_account_type_count cannot be nil.') + end + + if @multiple_owner_account_count.nil? + invalid_properties.push('invalid value for "multiple_owner_account_count", multiple_owner_account_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 @primary_account_count.nil? + return false if @depository_account_type_count.nil? + return false if @credit_account_type_count.nil? + return false if @other_account_type_count.nil? + return false if @multiple_owner_account_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 && + primary_account_count == o.primary_account_count && + depository_account_type_count == o.depository_account_type_count && + credit_account_type_count == o.credit_account_type_count && + other_account_type_count == o.other_account_type_count && + multiple_owner_account_count == o.multiple_owner_account_count && + oldest_transaction_date == o.oldest_transaction_date && + most_recent_transaction_date == o.most_recent_transaction_date + 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 + [primary_account_count, depository_account_type_count, credit_account_type_count, other_account_type_count, multiple_owner_account_count, oldest_transaction_date, most_recent_transaction_date].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_report_get_income_insights_response_product.rb b/lib/plaid/models/cra_report_get_income_insights_response_product.rb new file mode 100644 index 0000000000..ac630c0728 --- /dev/null +++ b/lib/plaid/models/cra_report_get_income_insights_response_product.rb @@ -0,0 +1,312 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Income Insights data returned by `/cra/report/get`. + class CraReportGetIncomeInsightsResponseProduct + # The Income Insights product. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :version + + attr_accessor :metadata + + attr_accessor :attributes + + # Product-level errors. Non-empty when this product failed to generate; empty on success. + attr_accessor :errors + + 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 + { + :'product' => :'product', + :'version' => :'version', + :'metadata' => :'metadata', + :'attributes' => :'attributes', + :'errors' => :'errors' + } + 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 + { + :'product' => :'String', + :'version' => :'String', + :'metadata' => :'CraReportGetIncomeInsightsMetadata', + :'attributes' => :'CraReportGetIncomeInsightsAttributes', + :'errors' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'metadata', + :'attributes', + ]) + 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::CraReportGetIncomeInsightsResponseProduct` 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::CraReportGetIncomeInsightsResponseProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = attributes[:'version'] + end + + if attributes.key?(:'metadata') + self.metadata = attributes[:'metadata'] + end + + if attributes.key?(:'attributes') + self.attributes = attributes[:'attributes'] + end + + if attributes.key?(:'errors') + if (value = attributes[:'errors']).is_a?(Array) + self.errors = 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 @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version cannot be nil.') + end + + if @errors.nil? + invalid_properties.push('invalid value for "errors", errors 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + return false if @errors.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_income_insights"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.version && + metadata == o.metadata && + attributes == o.attributes && + errors == o.errors + 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 + [product, version, metadata, attributes, errors].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_report_get_income_insights_stream.rb b/lib/plaid/models/cra_report_get_income_insights_stream.rb new file mode 100644 index 0000000000..54a98a2032 --- /dev/null +++ b/lib/plaid/models/cra_report_get_income_insights_stream.rb @@ -0,0 +1,276 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # An income stream detected for the user. + class CraReportGetIncomeInsightsStream + # A unique identifier for an income stream. If the report is regenerated and a new `report_id` is created, the new report will have a new set of `income_stream_id`s. + attr_accessor :income_stream_id + + # Minimum of all dates within the specific income stream. The date will be returned in an ISO 8601 format (YYYY-MM-DD). May be `null` if the producer could not compute a date range. + attr_accessor :start_date + + # Maximum of all dates within the specific income stream. The date will be returned in an ISO 8601 format (YYYY-MM-DD). May be `null` if the producer could not compute a date range. + attr_accessor :end_date + + attr_accessor :insights + + attr_accessor :income_metrics + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'income_stream_id' => :'income_stream_id', + :'start_date' => :'start_date', + :'end_date' => :'end_date', + :'insights' => :'insights', + :'income_metrics' => :'income_metrics' + } + 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_stream_id' => :'String', + :'start_date' => :'Date', + :'end_date' => :'Date', + :'insights' => :'CraIncomeStreamInsights', + :'income_metrics' => :'CraIncomeMetrics' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'start_date', + :'end_date', + ]) + 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::CraReportGetIncomeInsightsStream` 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::CraReportGetIncomeInsightsStream`. 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_stream_id') + self.income_stream_id = attributes[:'income_stream_id'] + end + + if attributes.key?(:'start_date') + self.start_date = attributes[:'start_date'] + end + + if attributes.key?(:'end_date') + self.end_date = attributes[:'end_date'] + end + + if attributes.key?(:'insights') + self.insights = attributes[:'insights'] + end + + if attributes.key?(:'income_metrics') + self.income_metrics = attributes[:'income_metrics'] + 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_stream_id.nil? + invalid_properties.push('invalid value for "income_stream_id", income_stream_id cannot be nil.') + end + + if @insights.nil? + invalid_properties.push('invalid value for "insights", insights cannot be nil.') + end + + if @income_metrics.nil? + invalid_properties.push('invalid value for "income_metrics", income_metrics 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_stream_id.nil? + return false if @insights.nil? + return false if @income_metrics.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_stream_id == o.income_stream_id && + start_date == o.start_date && + end_date == o.end_date && + insights == o.insights && + income_metrics == o.income_metrics + 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_stream_id, start_date, end_date, insights, income_metrics].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_report_get_product_base_metadata.rb b/lib/plaid/models/cra_report_get_product_base_metadata.rb new file mode 100644 index 0000000000..791f12eed7 --- /dev/null +++ b/lib/plaid/models/cra_report_get_product_base_metadata.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fields common to every /cra/report/get product's metadata. + class CraReportGetProductBaseMetadata + # The time the report was generated. May be `null` if unavailable. + attr_accessor :generated_time + + # The number of Items used to generate the report. + attr_accessor :item_count + + # The number of accounts used to generate the report. + attr_accessor :account_count + + # The institution IDs of the Items used to generate the report. + attr_accessor :institution_ids + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'generated_time' => :'generated_time', + :'item_count' => :'item_count', + :'account_count' => :'account_count', + :'institution_ids' => :'institution_ids' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'generated_time' => :'Time', + :'item_count' => :'Integer', + :'account_count' => :'Integer', + :'institution_ids' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'generated_time', + ]) + 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::CraReportGetProductBaseMetadata` 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::CraReportGetProductBaseMetadata`. 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?(:'generated_time') + self.generated_time = attributes[:'generated_time'] + end + + if attributes.key?(:'item_count') + self.item_count = attributes[:'item_count'] + end + + if attributes.key?(:'account_count') + self.account_count = attributes[:'account_count'] + end + + if attributes.key?(:'institution_ids') + if (value = attributes[:'institution_ids']).is_a?(Array) + self.institution_ids = value + end + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @item_count.nil? + invalid_properties.push('invalid value for "item_count", item_count cannot be nil.') + end + + if @account_count.nil? + invalid_properties.push('invalid value for "account_count", account_count cannot be nil.') + end + + if @institution_ids.nil? + invalid_properties.push('invalid value for "institution_ids", institution_ids cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @item_count.nil? + return false if @account_count.nil? + return false if @institution_ids.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + generated_time == o.generated_time && + item_count == o.item_count && + account_count == o.account_count && + institution_ids == o.institution_ids + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [generated_time, item_count, account_count, institution_ids].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_report_get_qualify_response_product.rb b/lib/plaid/models/cra_report_get_qualify_response_product.rb new file mode 100644 index 0000000000..54acb5d519 --- /dev/null +++ b/lib/plaid/models/cra_report_get_qualify_response_product.rb @@ -0,0 +1,318 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Qualify data returned by `/cra/report/get`. + class CraReportGetQualifyResponseProduct + # The Qualify product. + attr_accessor :product + + # A string that specifies a particular version of a CRA product. + attr_accessor :version + + # A map of product report metadata, where the key is a string and the value varies by product. For a full list of metadata fields per product, see the data dictionary. May be `null` if metadata was not available. + attr_accessor :metadata + + # A map of product attributes, where the key is a string and the value can be any JSON value. The specific list of attributes depends on the product and version. For a full list, see the data dictionary. May be `null` if attributes were not available. + attr_accessor :attributes + + # Product-level errors. Non-empty when this product failed to generate; empty on success. + attr_accessor :errors + + 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 + { + :'product' => :'product', + :'version' => :'version', + :'metadata' => :'metadata', + :'attributes' => :'attributes', + :'errors' => :'errors' + } + 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 + { + :'product' => :'String', + :'version' => :'String', + :'metadata' => :'Hash', + :'attributes' => :'Hash', + :'errors' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'metadata', + :'attributes', + ]) + 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::CraReportGetQualifyResponseProduct` 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::CraReportGetQualifyResponseProduct`. 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?(:'product') + self.product = attributes[:'product'] + end + + if attributes.key?(:'version') + self.version = attributes[:'version'] + end + + if attributes.key?(:'metadata') + if (value = attributes[:'metadata']).is_a?(Hash) + self.metadata = value + end + end + + if attributes.key?(:'attributes') + if (value = attributes[:'attributes']).is_a?(Hash) + self.attributes = value + end + end + + if attributes.key?(:'errors') + if (value = attributes[:'errors']).is_a?(Array) + self.errors = 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 @product.nil? + invalid_properties.push('invalid value for "product", product cannot be nil.') + end + + if @version.nil? + invalid_properties.push('invalid value for "version", version cannot be nil.') + end + + if @errors.nil? + invalid_properties.push('invalid value for "errors", errors 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 @product.nil? + product_validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + return false unless product_validator.valid?(@product) + return false if @version.nil? + return false if @errors.nil? + true + end + + # Custom attribute writer method checking allowed values (enum). + # @param [Object] product Object to be assigned + def product=(product) + validator = EnumAttributeValidator.new('String', ["cra_qualify"]) + unless validator.valid?(product) + fail ArgumentError, "invalid value for \"product\", must be one of #{validator.allowable_values}." + end + @product = product + 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 && + product == o.product && + version == o.version && + metadata == o.metadata && + attributes == o.attributes && + errors == o.errors + 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 + [product, version, metadata, attributes, errors].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_report_get_report.rb b/lib/plaid/models/cra_report_get_report.rb index bc9a6c4b6e..6e7d001ed7 100644 --- a/lib/plaid/models/cra_report_get_report.rb +++ b/lib/plaid/models/cra_report_get_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_report_get_request.rb b/lib/plaid/models/cra_report_get_request.rb index 28d5be39de..d886a2c3ac 100644 --- a/lib/plaid/models/cra_report_get_request.rb +++ b/lib/plaid/models/cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -34,6 +34,8 @@ class CraReportGetRequest attr_accessor :consumer_report_permissible_purpose + attr_accessor :report_id + class EnumAttributeValidator attr_reader :datatype attr_reader :allowable_values @@ -65,7 +67,8 @@ def self.attribute_map :'products' => :'products', :'scope' => :'scope', :'decision_stage' => :'decision_stage', - :'consumer_report_permissible_purpose' => :'consumer_report_permissible_purpose' + :'consumer_report_permissible_purpose' => :'consumer_report_permissible_purpose', + :'report_id' => :'report_id' } end @@ -83,7 +86,8 @@ def self.openapi_types :'products' => :'Array', :'scope' => :'CraReportScope', :'decision_stage' => :'CraReportDecisionStage', - :'consumer_report_permissible_purpose' => :'ConsumerReportPermissiblePurpose' + :'consumer_report_permissible_purpose' => :'ConsumerReportPermissiblePurpose', + :'report_id' => :'String' } end @@ -137,6 +141,10 @@ def initialize(attributes = {}) if attributes.key?(:'consumer_report_permissible_purpose') self.consumer_report_permissible_purpose = attributes[:'consumer_report_permissible_purpose'] end + + if attributes.key?(:'report_id') + self.report_id = attributes[:'report_id'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -204,7 +212,8 @@ def ==(o) products == o.products && scope == o.scope && decision_stage == o.decision_stage && - consumer_report_permissible_purpose == o.consumer_report_permissible_purpose + consumer_report_permissible_purpose == o.consumer_report_permissible_purpose && + report_id == o.report_id end # @see the `==` method @@ -216,7 +225,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, user_id, products, scope, decision_stage, consumer_report_permissible_purpose].hash + [client_id, secret, user_id, products, scope, decision_stage, consumer_report_permissible_purpose, report_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/cra_report_get_request_product.rb b/lib/plaid/models/cra_report_get_request_product.rb index 81ecb6348e..d01efbc96b 100644 --- a/lib/plaid/models/cra_report_get_request_product.rb +++ b/lib/plaid/models/cra_report_get_request_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,227 +14,61 @@ require 'time' module Plaid - # CraReportGetRequestProduct specifies a product and version for a `/cra/report/get` call. - class CraReportGetRequestProduct - attr_accessor :product - - # The version of the product that was generated. - attr_accessor :version - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'product' => :'product', - :'version' => :'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 - { - :'product' => :'Products', - :'version' => :'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::CraReportGetRequestProduct` 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::CraReportGetRequestProduct`. 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?(:'product') - self.product = attributes[:'product'] + # CraReportGetRequestProduct specifies one product and version requested from `/cra/report/get`, selected by the `product` discriminator. + module CraReportGetRequestProduct + class << self + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'CraHomeLendingProduct', + :'CraIncomeInsightsProduct', + :'CraQualifyProduct' + ] end - if attributes.key?(:'version') - self.version = 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 - if @product.nil? - invalid_properties.push('invalid value for "product", product cannot be nil.') + # Discriminator's property name (OpenAPI v3) + def openapi_discriminator_name + :'product' end - if @version.nil? - invalid_properties.push('invalid value for "version", version cannot be nil.') + # Maps wire discriminator values to branch models. + def openapi_discriminator_mapping + { + :'cra_home_lending' => :'CraHomeLendingProduct', + :'cra_income_insights' => :'CraIncomeInsightsProduct', + :'cra_qualify' => :'CraQualifyProduct' + } 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 @product.nil? - return false if @version.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 && - product == o.product && - version == o.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 - [product, 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]])) + # Builds the object + # @param [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + unless data.is_a?(Hash) + raise ArgumentError, 'Expected an object for CraReportGetRequestProduct' 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 + discriminator_key = openapi_discriminator_name + if data.key?(discriminator_key) + discriminator_value = data[discriminator_key] + elsif data.key?(discriminator_key.to_s) + discriminator_value = data[discriminator_key.to_s] else - false + raise ArgumentError, "Missing discriminator '#{discriminator_key}' for CraReportGetRequestProduct" 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 + unless discriminator_value.is_a?(String) && !discriminator_value.empty? + raise ArgumentError, "Invalid discriminator '#{discriminator_key}' for CraReportGetRequestProduct" 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}")) + klass = openapi_discriminator_mapping[discriminator_value.to_sym] + unless klass + raise ArgumentError, + "Unknown discriminator '#{discriminator_key}=#{discriminator_value}' for CraReportGetRequestProduct" end - hash[param] = _to_hash(value) + Plaid.const_get(klass).build_from_hash(data) 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_report_get_response.rb b/lib/plaid/models/cra_report_get_response.rb index 4da314b98c..2017aaffb6 100644 --- a/lib/plaid/models/cra_report_get_response.rb +++ b/lib/plaid/models/cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_report_get_response_product.rb b/lib/plaid/models/cra_report_get_response_product.rb index abb0b99f66..cd25c22ef5 100644 --- a/lib/plaid/models/cra_report_get_response_product.rb +++ b/lib/plaid/models/cra_report_get_response_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,270 +14,61 @@ require 'time' module Plaid - # Per-product report data. `attributes` is an opaque map of key-value pairs; for a full list of attributes per product and version, see the data dictionary. - class CraReportGetResponseProduct - attr_accessor :product - - # The version of the product that was generated. - attr_accessor :version - - # A map of product report metadata, where the key is a string and the value varies by product. For a full list of metadata fields per product, see the data dictionary. May be `null` if metadata was not available. - attr_accessor :metadata - - # A map of product attributes, where the key is a string and the value can be any JSON value. The specific list of attributes depends on the product and version. For a full list, see the data dictionary. May be `null` if attributes were not available. - attr_accessor :attributes - - # Product-level errors. Non-empty when this product failed to generate; empty on success. - attr_accessor :errors - - # Attribute mapping from ruby-style variable name to JSON key. - def self.attribute_map - { - :'product' => :'product', - :'version' => :'version', - :'metadata' => :'metadata', - :'attributes' => :'attributes', - :'errors' => :'errors' - } - 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 - { - :'product' => :'Products', - :'version' => :'String', - :'metadata' => :'Hash', - :'attributes' => :'Hash', - :'errors' => :'Array' - } - end - - # List of attributes with nullable: true - def self.openapi_nullable - Set.new([ - :'metadata', - :'attributes', - ]) - 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::CraReportGetResponseProduct` initialize method" + # Per-product report data, selected by the `product` discriminator. + module CraReportGetResponseProduct + class << self + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'CraReportGetHomeLendingResponseProduct', + :'CraReportGetIncomeInsightsResponseProduct', + :'CraReportGetQualifyResponseProduct' + ] 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::CraReportGetResponseProduct`. 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?(:'product') - self.product = attributes[:'product'] + # Discriminator's property name (OpenAPI v3) + def openapi_discriminator_name + :'product' end - if attributes.key?(:'version') - self.version = attributes[:'version'] + # Maps wire discriminator values to branch models. + def openapi_discriminator_mapping + { + :'cra_home_lending' => :'CraReportGetHomeLendingResponseProduct', + :'cra_income_insights' => :'CraReportGetIncomeInsightsResponseProduct', + :'cra_qualify' => :'CraReportGetQualifyResponseProduct' + } end - if attributes.key?(:'metadata') - if (value = attributes[:'metadata']).is_a?(Hash) - self.metadata = value + # Builds the object + # @param [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + unless data.is_a?(Hash) + raise ArgumentError, 'Expected an object for CraReportGetResponseProduct' end - end - - if attributes.key?(:'attributes') - if (value = attributes[:'attributes']).is_a?(Hash) - self.attributes = value - end - end - - if attributes.key?(:'errors') - if (value = attributes[:'errors']).is_a?(Array) - self.errors = 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 @product.nil? - invalid_properties.push('invalid value for "product", product cannot be nil.') - end - - if @version.nil? - invalid_properties.push('invalid value for "version", version cannot be nil.') - end - - if @errors.nil? - invalid_properties.push('invalid value for "errors", errors 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 @product.nil? - return false if @version.nil? - return false if @errors.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 && - product == o.product && - version == o.version && - metadata == o.metadata && - attributes == o.attributes && - errors == o.errors - 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 - [product, version, metadata, attributes, errors].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 + discriminator_key = openapi_discriminator_name + if data.key?(discriminator_key) + discriminator_value = data[discriminator_key] + elsif data.key?(discriminator_key.to_s) + discriminator_value = data[discriminator_key.to_s] else - false + raise ArgumentError, "Missing discriminator '#{discriminator_key}' for CraReportGetResponseProduct" 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 + unless discriminator_value.is_a?(String) && !discriminator_value.empty? + raise ArgumentError, "Invalid discriminator '#{discriminator_key}' for CraReportGetResponseProduct" 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}")) + klass = openapi_discriminator_mapping[discriminator_value.to_sym] + unless klass + raise ArgumentError, + "Unknown discriminator '#{discriminator_key}=#{discriminator_value}' for CraReportGetResponseProduct" end - hash[param] = _to_hash(value) + Plaid.const_get(klass).build_from_hash(data) 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_report_scope.rb b/lib/plaid/models/cra_report_scope.rb index dd01c72ca8..45232a9b0c 100644 --- a/lib/plaid/models/cra_report_scope.rb +++ b/lib/plaid/models/cra_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_servicing_subscription.rb b/lib/plaid/models/cra_servicing_subscription.rb new file mode 100644 index 0000000000..6a9b465550 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription.rb @@ -0,0 +1,315 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A single CRA servicing subscription. + class CraServicingSubscription + # A CRA servicing subscription identifier, in the format `cra-sub--`. + attr_accessor :subscription_id + + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + attr_accessor :scope + + attr_accessor :cadence + + # The webhook URL Plaid sends report-update notifications to for this subscription, or null if none is set. + attr_accessor :webhook + + # The products this subscription covers, each with the options it is configured with. + attr_accessor :products + + 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 + { + :'subscription_id' => :'subscription_id', + :'user_id' => :'user_id', + :'scope' => :'scope', + :'cadence' => :'cadence', + :'webhook' => :'webhook', + :'products' => :'products' + } + 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 + { + :'subscription_id' => :'String', + :'user_id' => :'String', + :'scope' => :'CraReportScope', + :'cadence' => :'CraSubscriptionCadence', + :'webhook' => :'String', + :'products' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'cadence', + :'webhook', + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraServicingSubscription` 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::CraServicingSubscription`. 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?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'scope') + self.scope = attributes[:'scope'] + end + + if attributes.key?(:'cadence') + self.cadence = attributes[:'cadence'] + end + + if attributes.key?(:'webhook') + self.webhook = attributes[:'webhook'] + end + + if attributes.key?(:'products') + if (value = attributes[:'products']).is_a?(Array) + self.products = 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 @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id cannot be nil.') + end + + if @user_id.nil? + invalid_properties.push('invalid value for "user_id", user_id cannot be nil.') + end + + if @scope.nil? + invalid_properties.push('invalid value for "scope", scope cannot be nil.') + end + + if @products.nil? + invalid_properties.push('invalid value for "products", products cannot be nil.') + end + + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + return false if @subscription_id.nil? + return false if @user_id.nil? + return false if @scope.nil? + return false if @products.nil? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + subscription_id == o.subscription_id && + user_id == o.user_id && + scope == o.scope && + cadence == o.cadence && + webhook == o.webhook && + products == o.products + 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 + [subscription_id, user_id, scope, cadence, webhook, products].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_servicing_subscription_create_request.rb b/lib/plaid/models/cra_servicing_subscription_create_request.rb new file mode 100644 index 0000000000..323ab77551 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_create_request.rb @@ -0,0 +1,340 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionCreateRequest defines the request schema for `/cra/servicing/subscription/create`. + class CraServicingSubscriptionCreateRequest + # 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 user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + attr_accessor :scope + + attr_accessor :cadence + + # The URL to which the webhook should be sent. If provided, this will override the URL set in the dashboard. + attr_accessor :webhook + + # The products included in this subscription. + attr_accessor :products + + 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 + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_id' => :'user_id', + :'scope' => :'scope', + :'cadence' => :'cadence', + :'webhook' => :'webhook', + :'products' => :'products' + } + 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_id' => :'String', + :'scope' => :'CraReportScope', + :'cadence' => :'CraSubscriptionCadence', + :'webhook' => :'String', + :'products' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'cadence', + ]) + 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::CraServicingSubscriptionCreateRequest` 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::CraServicingSubscriptionCreateRequest`. 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_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'scope') + self.scope = attributes[:'scope'] + end + + if attributes.key?(:'cadence') + self.cadence = attributes[:'cadence'] + end + + if attributes.key?(:'webhook') + self.webhook = attributes[:'webhook'] + end + + if attributes.key?(:'products') + if (value = attributes[:'products']).is_a?(Array) + self.products = 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 @user_id.nil? + invalid_properties.push('invalid value for "user_id", user_id cannot be nil.') + end + + if @scope.nil? + invalid_properties.push('invalid value for "scope", scope cannot be nil.') + end + + if @products.nil? + invalid_properties.push('invalid value for "products", products cannot be nil.') + end + + + if @products.length < 1 + invalid_properties.push('invalid value for "products", number of items must be greater than or equal to 1.') + 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_id.nil? + return false if @scope.nil? + return false if @products.nil? + return false if @products.length < 1 + true + end + + # Custom attribute writer method with validation + # @param [Object] products Value to be assigned + def products=(products) + if products.nil? + fail ArgumentError, 'products cannot be nil' + end + + + if products.length < 1 + fail ArgumentError, 'invalid value for "products", number of items must be greater than or equal to 1.' + end + + @products = products + 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_id == o.user_id && + scope == o.scope && + cadence == o.cadence && + webhook == o.webhook && + products == o.products + 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_id, scope, cadence, webhook, products].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_servicing_subscription_create_response.rb b/lib/plaid/models/cra_servicing_subscription_create_response.rb new file mode 100644 index 0000000000..0cbdfafa89 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_create_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionCreateResponse defines the response schema for `/cra/servicing/subscription/create`. + class CraServicingSubscriptionCreateResponse + # A CRA servicing subscription identifier, in the format `cra-sub--`. + attr_accessor :subscription_id + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'subscription_id' => :'subscription_id', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'subscription_id' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraServicingSubscriptionCreateResponse` 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::CraServicingSubscriptionCreateResponse`. 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?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id 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 @subscription_id.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 && + subscription_id == o.subscription_id && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [subscription_id, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_servicing_subscription_delete_request.rb b/lib/plaid/models/cra_servicing_subscription_delete_request.rb new file mode 100644 index 0000000000..01fd67a1c1 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_delete_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionDeleteRequest defines the request schema for `/cra/servicing/subscription/delete`. Removes the subscription identified by `subscription_id`. + class CraServicingSubscriptionDeleteRequest + # 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 CRA servicing subscription identifier, in the format `cra-sub--`. + 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::CraServicingSubscriptionDeleteRequest` 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::CraServicingSubscriptionDeleteRequest`. 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_servicing_subscription_delete_response.rb b/lib/plaid/models/cra_servicing_subscription_delete_response.rb new file mode 100644 index 0000000000..a175c77c99 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_delete_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionDeleteResponse defines the response schema for `/cra/servicing/subscription/delete`. + class CraServicingSubscriptionDeleteResponse + # A CRA servicing subscription identifier, in the format `cra-sub--`. + attr_accessor :subscription_id + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'subscription_id' => :'subscription_id', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'subscription_id' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraServicingSubscriptionDeleteResponse` 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::CraServicingSubscriptionDeleteResponse`. 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?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id 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 @subscription_id.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 && + subscription_id == o.subscription_id && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [subscription_id, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_servicing_subscription_get_request.rb b/lib/plaid/models/cra_servicing_subscription_get_request.rb new file mode 100644 index 0000000000..1b064ced5c --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionGetRequest defines the request schema for `/cra/servicing/subscription/get`. Returns the subscription identified by `subscription_id`. + class CraServicingSubscriptionGetRequest + # 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 CRA servicing subscription identifier, in the format `cra-sub--`. + 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::CraServicingSubscriptionGetRequest` 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::CraServicingSubscriptionGetRequest`. 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_servicing_subscription_get_response.rb b/lib/plaid/models/cra_servicing_subscription_get_response.rb new file mode 100644 index 0000000000..3644ca5224 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionGetResponse defines the response schema for `/cra/servicing/subscription/get`. + class CraServicingSubscriptionGetResponse + attr_accessor :subscription + + # 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 + { + :'subscription' => :'subscription', + :'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 + { + :'subscription' => :'CraServicingSubscription', + :'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::CraServicingSubscriptionGetResponse` 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::CraServicingSubscriptionGetResponse`. 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?(:'subscription') + self.subscription = attributes[:'subscription'] + 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 @subscription.nil? + invalid_properties.push('invalid value for "subscription", subscription 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 @subscription.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 && + subscription == o.subscription && + 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 + [subscription, 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_servicing_subscription_list_request.rb b/lib/plaid/models/cra_servicing_subscription_list_request.rb new file mode 100644 index 0000000000..ab518ca41a --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_list_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionListRequest defines the request schema for `/cra/servicing/subscription/list`. + class CraServicingSubscriptionListRequest + # 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 user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_id' => :'user_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', + :'user_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::CraServicingSubscriptionListRequest` 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::CraServicingSubscriptionListRequest`. 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_id') + self.user_id = attributes[:'user_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 @user_id.nil? + invalid_properties.push('invalid value for "user_id", user_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 @user_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 && + user_id == o.user_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, user_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_servicing_subscription_list_response.rb b/lib/plaid/models/cra_servicing_subscription_list_response.rb new file mode 100644 index 0000000000..5b51069477 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_list_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionListResponse defines the response schema for `/cra/servicing/subscription/list`. + class CraServicingSubscriptionListResponse + # All CRA servicing subscriptions for the user, across scopes. + attr_accessor :subscriptions + + # 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 + { + :'subscriptions' => :'subscriptions', + :'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 + { + :'subscriptions' => :'Array', + :'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::CraServicingSubscriptionListResponse` 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::CraServicingSubscriptionListResponse`. 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?(:'subscriptions') + if (value = attributes[:'subscriptions']).is_a?(Array) + self.subscriptions = value + end + 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 @subscriptions.nil? + invalid_properties.push('invalid value for "subscriptions", subscriptions 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 @subscriptions.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 && + subscriptions == o.subscriptions && + 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 + [subscriptions, 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_servicing_subscription_update_request.rb b/lib/plaid/models/cra_servicing_subscription_update_request.rb new file mode 100644 index 0000000000..b0473fb204 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_update_request.rb @@ -0,0 +1,281 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionUpdateRequest defines the request schema for `/cra/servicing/subscription/update`. It follows field-mask semantics: omitted fields are left unchanged, while provided fields overwrite the current value. To clear a field, include its name in `reset_fields`. + class CraServicingSubscriptionUpdateRequest + # 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 CRA servicing subscription identifier, in the format `cra-sub--`. + attr_accessor :subscription_id + + # The URL to which the webhook should be sent. If provided, this will override the URL set in the dashboard. + attr_accessor :webhook + + # The products included in this subscription. If provided, this replaces the subscription's entire product list. + attr_accessor :products + + # A list of fields to reset back to their default value. Fields named here take precedence over any value provided for the same field elsewhere in the request. + attr_accessor :reset_fields + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'subscription_id' => :'subscription_id', + :'webhook' => :'webhook', + :'products' => :'products', + :'reset_fields' => :'reset_fields' + } + 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', + :'webhook' => :'String', + :'products' => :'Array', + :'reset_fields' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'reset_fields' + ]) + 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::CraServicingSubscriptionUpdateRequest` 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::CraServicingSubscriptionUpdateRequest`. 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 + + if attributes.key?(:'webhook') + self.webhook = attributes[:'webhook'] + end + + if attributes.key?(:'products') + if (value = attributes[:'products']).is_a?(Array) + self.products = value + end + end + + if attributes.key?(:'reset_fields') + if (value = attributes[:'reset_fields']).is_a?(Array) + self.reset_fields = 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 @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 && + webhook == o.webhook && + products == o.products && + reset_fields == o.reset_fields + 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, webhook, products, reset_fields].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_servicing_subscription_update_request_resettable_field.rb b/lib/plaid/models/cra_servicing_subscription_update_request_resettable_field.rb new file mode 100644 index 0000000000..6b750e9e63 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_update_request_resettable_field.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CraServicingSubscriptionUpdateRequestResettableField + WEBHOOK = "webhook".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/cra_servicing_subscription_update_response.rb b/lib/plaid/models/cra_servicing_subscription_update_response.rb new file mode 100644 index 0000000000..ec1fa1f5a8 --- /dev/null +++ b/lib/plaid/models/cra_servicing_subscription_update_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # CraServicingSubscriptionUpdateResponse defines the response schema for `/cra/servicing/subscription/update`. + class CraServicingSubscriptionUpdateResponse + # A CRA servicing subscription identifier, in the format `cra-sub--`. + attr_accessor :subscription_id + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'subscription_id' => :'subscription_id', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'subscription_id' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::CraServicingSubscriptionUpdateResponse` 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::CraServicingSubscriptionUpdateResponse`. 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?(:'subscription_id') + self.subscription_id = attributes[:'subscription_id'] + end + + if attributes.key?(:'request_id') + self.request_id = attributes[:'request_id'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @subscription_id.nil? + invalid_properties.push('invalid value for "subscription_id", subscription_id 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 @subscription_id.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 && + subscription_id == o.subscription_id && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [subscription_id, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_subscription_cadence.rb b/lib/plaid/models/cra_subscription_cadence.rb new file mode 100644 index 0000000000..6eb6dcd193 --- /dev/null +++ b/lib/plaid/models/cra_subscription_cadence.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class CraSubscriptionCadence + DAILY = "DAILY".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/cra_subscription_product_config.rb b/lib/plaid/models/cra_subscription_product_config.rb new file mode 100644 index 0000000000..9dc166e115 --- /dev/null +++ b/lib/plaid/models/cra_subscription_product_config.rb @@ -0,0 +1,74 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A product and its configuration, for use with CRA servicing subscription endpoints. + module CraSubscriptionProductConfig + class << self + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + :'CraBaseReportProductConfig', + :'CraIncomeInsightsProductConfig', + :'CraQualifyProductConfig' + ] + end + + # Discriminator's property name (OpenAPI v3) + def openapi_discriminator_name + :'product' + end + + # Maps wire discriminator values to branch models. + def openapi_discriminator_mapping + { + :'cra_base_report' => :'CraBaseReportProductConfig', + :'cra_income_insights' => :'CraIncomeInsightsProductConfig', + :'cra_qualify' => :'CraQualifyProductConfig' + } + end + + # Builds the object + # @param [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + unless data.is_a?(Hash) + raise ArgumentError, 'Expected an object for CraSubscriptionProductConfig' + end + + discriminator_key = openapi_discriminator_name + if data.key?(discriminator_key) + discriminator_value = data[discriminator_key] + elsif data.key?(discriminator_key.to_s) + discriminator_value = data[discriminator_key.to_s] + else + raise ArgumentError, "Missing discriminator '#{discriminator_key}' for CraSubscriptionProductConfig" + end + unless discriminator_value.is_a?(String) && !discriminator_value.empty? + raise ArgumentError, "Invalid discriminator '#{discriminator_key}' for CraSubscriptionProductConfig" + end + + klass = openapi_discriminator_mapping[discriminator_value.to_sym] + unless klass + raise ArgumentError, + "Unknown discriminator '#{discriminator_key}=#{discriminator_value}' for CraSubscriptionProductConfig" + end + + Plaid.const_get(klass).build_from_hash(data) + end + end + end + +end diff --git a/lib/plaid/models/cra_upgrade_failed_webhook.rb b/lib/plaid/models/cra_upgrade_failed_webhook.rb index a1205f7d85..d6368c0b37 100644 --- a/lib/plaid/models/cra_upgrade_failed_webhook.rb +++ b/lib/plaid/models/cra_upgrade_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_user_check_report_failed_webhook.rb b/lib/plaid/models/cra_user_check_report_failed_webhook.rb index 2c862d21b9..7c1ae86d54 100644 --- a/lib/plaid/models/cra_user_check_report_failed_webhook.rb +++ b/lib/plaid/models/cra_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_user_check_report_ready_webhook.rb b/lib/plaid/models/cra_user_check_report_ready_webhook.rb index c6cfe172db..5edb356af4 100644 --- a/lib/plaid/models/cra_user_check_report_ready_webhook.rb +++ b/lib/plaid/models/cra_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_user_tier.rb b/lib/plaid/models/cra_user_tier.rb index 3b165d0eb2..f55c4d9006 100644 --- a/lib/plaid/models/cra_user_tier.rb +++ b/lib/plaid/models/cra_user_tier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_account.rb b/lib/plaid/models/cra_verification_income_account.rb index e69663dc89..9c69cc62ad 100644 --- a/lib/plaid/models/cra_verification_income_account.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_category.rb b/lib/plaid/models/cra_verification_income_category.rb index 6096fcef97..e2c7ac09a6 100644 --- a/lib/plaid/models/cra_verification_income_category.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_item.rb b/lib/plaid/models/cra_verification_income_item.rb index 0c993a276f..ccbf9c6c42 100644 --- a/lib/plaid/models/cra_verification_income_item.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_metrics.rb b/lib/plaid/models/cra_verification_income_metrics.rb index 1d575db05a..10929c5d4d 100644 --- a/lib/plaid/models/cra_verification_income_metrics.rb +++ b/lib/plaid/models/cra_verification_income_metrics.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_next_payment.rb b/lib/plaid/models/cra_verification_income_next_payment.rb index 83f226f1b6..d85c8fb446 100644 --- a/lib/plaid/models/cra_verification_income_next_payment.rb +++ b/lib/plaid/models/cra_verification_income_next_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_pay_frequency.rb b/lib/plaid/models/cra_verification_income_pay_frequency.rb index dbfbd10a90..78016e474b 100644 --- a/lib/plaid/models/cra_verification_income_pay_frequency.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_provider.rb b/lib/plaid/models/cra_verification_income_provider.rb index cb1e07fd83..d3832863db 100644 --- a/lib/plaid/models/cra_verification_income_provider.rb +++ b/lib/plaid/models/cra_verification_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_report.rb b/lib/plaid/models/cra_verification_income_report.rb index 50f3784c17..9c0015a4f3 100644 --- a/lib/plaid/models/cra_verification_income_report.rb +++ b/lib/plaid/models/cra_verification_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_status.rb b/lib/plaid/models/cra_verification_income_status.rb index b93385767e..bd1cef7e5f 100644 --- a/lib/plaid/models/cra_verification_income_status.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_stream.rb b/lib/plaid/models/cra_verification_income_stream.rb index 9272521ba4..b7e82a2333 100644 --- a/lib/plaid/models/cra_verification_income_stream.rb +++ b/lib/plaid/models/cra_verification_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_stream_insights.rb b/lib/plaid/models/cra_verification_income_stream_insights.rb index b7f352349e..5056dd3c28 100644 --- a/lib/plaid/models/cra_verification_income_stream_insights.rb +++ b/lib/plaid/models/cra_verification_income_stream_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_transaction.rb b/lib/plaid/models/cra_verification_income_transaction.rb index 3b58ef4a91..4973e970a4 100644 --- a/lib/plaid/models/cra_verification_income_transaction.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_transaction_outlier.rb b/lib/plaid/models/cra_verification_income_transaction_outlier.rb index a0fbce39b9..8a4cc0d4a1 100644 --- a/lib/plaid/models/cra_verification_income_transaction_outlier.rb +++ b/lib/plaid/models/cra_verification_income_transaction_outlier.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_user_summary.rb b/lib/plaid/models/cra_verification_income_user_summary.rb index 6adc25832b..603adf148e 100644 --- a/lib/plaid/models/cra_verification_income_user_summary.rb +++ b/lib/plaid/models/cra_verification_income_user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_income_values.rb b/lib/plaid/models/cra_verification_income_values.rb index 7f7c16fc91..356be8ff3f 100644 --- a/lib/plaid/models/cra_verification_income_values.rb +++ b/lib/plaid/models/cra_verification_income_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_modeled_income.rb b/lib/plaid/models/cra_verification_modeled_income.rb index 5aa6ec2b37..b352544c8e 100644 --- a/lib/plaid/models/cra_verification_modeled_income.rb +++ b/lib/plaid/models/cra_verification_modeled_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_verification_report.rb b/lib/plaid/models/cra_verification_report.rb index 677820cfc3..f55b6c7648 100644 --- a/lib/plaid/models/cra_verification_report.rb +++ b/lib/plaid/models/cra_verification_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report.rb b/lib/plaid/models/cra_voa_report.rb index 253fc32fa7..4d6008a024 100644 --- a/lib/plaid/models/cra_voa_report.rb +++ b/lib/plaid/models/cra_voa_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_account.rb b/lib/plaid/models/cra_voa_report_account.rb index a80c24204a..224914d180 100644 --- a/lib/plaid/models/cra_voa_report_account.rb +++ b/lib/plaid/models/cra_voa_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_account_balances.rb b/lib/plaid/models/cra_voa_report_account_balances.rb index 5ebf0374dd..a7898c167f 100644 --- a/lib/plaid/models/cra_voa_report_account_balances.rb +++ b/lib/plaid/models/cra_voa_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_account_historical_balance.rb b/lib/plaid/models/cra_voa_report_account_historical_balance.rb index 55ae9b76fb..1d58606708 100644 --- a/lib/plaid/models/cra_voa_report_account_historical_balance.rb +++ b/lib/plaid/models/cra_voa_report_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_attributes.rb b/lib/plaid/models/cra_voa_report_attributes.rb index 363c2b23b9..e12b85dea6 100644 --- a/lib/plaid/models/cra_voa_report_attributes.rb +++ b/lib/plaid/models/cra_voa_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_item.rb b/lib/plaid/models/cra_voa_report_item.rb index 8b8dc6f13c..8c451b6682 100644 --- a/lib/plaid/models/cra_voa_report_item.rb +++ b/lib/plaid/models/cra_voa_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/cra_voa_report_transactions_insights.rb b/lib/plaid/models/cra_voa_report_transactions_insights.rb index 19bcf51251..df8dbb0444 100644 --- a/lib/plaid/models/cra_voa_report_transactions_insights.rb +++ b/lib/plaid/models/cra_voa_report_transactions_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e50ec422af..b12a58b72f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 35e231378a..845ee84862 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9371612c97..4327c149c1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 66f7f8bcb9..e36bb0df8d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 38606ad810..5c03d2973b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,6 +15,7 @@ module Plaid class CreditAccountSubtype + CHARGE_CARD = "charge card".freeze CREDIT_CARD = "credit card".freeze PAYPAL = "paypal".freeze ALL = "all".freeze diff --git a/lib/plaid/models/credit_ach_class.rb b/lib/plaid/models/credit_ach_class.rb index 98dd46760e..f8abd3c807 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 10c9114355..54ff93babb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 574879aafd..dfb5c116de 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fdd9a8bdfb..195e44f097 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7465516ffb..527ecd12b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fc71f0ad72..9eceed3aa0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b6283b90a0..205539ea74 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8e075cdfce..90cced1aed 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 afa45a05c7..573be146ab 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a290d730bc..25b1098df0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 711743c388..32fa9eb6ce 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 315bc36070..b679edfbce 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf18fecfed..2a39d3e2ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a609bc3392..dcd66548b9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9604fc6669..8fc7c63c91 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1c7569e067..a409977d48 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 093f3f5aae..fcca5dc8d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_bank_income_account.rb b/lib/plaid/models/credit_bank_income_account.rb index 09ce16e40e..b83c4c2f7b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b83db79aab..28df78b10b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4c32992f64..898fc34eb3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cc61658e13..5d78402a7f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 806e0bf971..e62e4a9f1d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 94e0a7cf56..1f5cfff48d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditBankIncomeGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id attr_accessor :options 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 9618b7e697..244cd3ed43 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b4baf99857..ddac9554e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a4445920f..5167b325a4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 401485f9d3..e8992477ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 757b94cade..b45ca171f0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 60ba771ee6..d4b26950b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditBankIncomePDFGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id # Attribute mapping from ruby-style variable name to JSON key. @@ -94,17 +95,12 @@ def initialize(attributes = {}) # @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 diff --git a/lib/plaid/models/credit_bank_income_refresh_request.rb b/lib/plaid/models/credit_bank_income_refresh_request.rb index f94cca359d..3fecf859fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9f8038a23b..e755042417 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9f77620df1..4f4a855594 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8da0b7ae3e..2d87a69938 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c3192f1f18..da86b8bb1f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 66949a0ffb..298d3eb4c8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6e6bd3b700..8be87fab51 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6567f2f11b..535338eaa2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bdcb67ffad..5b8755d32b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e9ce66eaf..8de592937a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 701740cf6f..b6cfc652fe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ca9d3a80fd..9b27f8dd92 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 795fbe2c96..8d7f187942 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 25f30c1705..e6b3d865c7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ae2094ecf7..cab74a7544 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 853548d66b..dd9aabf205 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 af49ddf6f3..331b9c30c1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2b6a721933..359eb805ad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ba5d1c29ed..0bc0969fed 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditBankStatementsUploadsGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id attr_accessor :options @@ -102,17 +103,12 @@ def initialize(attributes = {}) # @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 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 0f8744fb31..7de71e9de0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # An optional object for `/credit/bank_statements/uploads/get` request options. class CreditBankStatementsUploadsGetRequestOptions - # An array of `item_id`s whose bank statements information is returned. Each `item_id` should uniquely identify a bank statements uploaded item. If this field is not provided, all `item_id`s associated with the `user_token` will be returned in the response. + # An array of `item_id`s whose bank statements information is returned. Each `item_id` should uniquely identify a bank statements uploaded item. If this field is not provided, all `item_id`s associated with the user will be returned in the response. attr_accessor :item_ids # Attribute mapping from ruby-style variable name to JSON key. 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 0f224add4f..db6bab1cbe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6674c061bc..5e3dd0e04c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d69efff189..4688179f0e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c557a5f605..ec493d1282 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fd884ac1da..82210cfe76 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f5229d5d42..b13f1d9bad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,12 +25,16 @@ class CreditEmploymentGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'client_id' => :'client_id', :'secret' => :'secret', - :'user_token' => :'user_token' + :'user_token' => :'user_token', + :'user_id' => :'user_id' } end @@ -44,7 +48,8 @@ def self.openapi_types { :'client_id' => :'String', :'secret' => :'String', - :'user_token' => :'String' + :'user_token' => :'String', + :'user_id' => :'String' } end @@ -80,23 +85,22 @@ def initialize(attributes = {}) if attributes.key?(:'user_token') self.user_token = attributes[:'user_token'] end + + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_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 @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 @@ -107,7 +111,8 @@ def ==(o) self.class == o.class && client_id == o.client_id && secret == o.secret && - user_token == o.user_token + user_token == o.user_token && + user_id == o.user_id end # @see the `==` method @@ -119,7 +124,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, user_token].hash + [client_id, secret, user_token, user_id].hash end # Builds the object from hash diff --git a/lib/plaid/models/credit_employment_get_response.rb b/lib/plaid/models/credit_employment_get_response.rb index d7cdb5238c..2ed0786690 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 54bdcad3a7..027da66ba1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0d1fc8c16..da69ff647a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd1a150955..9fc373d370 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a7ab9d4e52..80a00b4c0e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e80cd5eff2..5e81c8d08e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 27a88b9cea..099b599e54 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 817c87351d..3166786c53 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5689127ce2..fd9bd1d33b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0a00fdc781..53555927f8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6f3dd44319..2c23f78101 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 61f52c4295..d8ccbc9b63 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1e850ba4ba..03c5786b55 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d3134213d7..a9cd9ff38e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 51bf9cc89c..4018bf90cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e8cc25de1..8b8ff6a206 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dce8f24e2b..ba2e3c180a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2bd2a1cbf9..a070dc7419 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3ea0877d10..26fafb0834 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 288984140f..2970d6836f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1e1b8eab2c..dd29222cfa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 913d260d5a..ef66969a31 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bdf047e280..21ff1eb75b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_i20.rb b/lib/plaid/models/credit_i20.rb index fc2586bf93..f337e1ff13 100644 --- a/lib/plaid/models/credit_i20.rb +++ b/lib/plaid/models/credit_i20.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/credit_i20_student.rb b/lib/plaid/models/credit_i20_student.rb index 2392148263..c92f9bba1c 100644 --- a/lib/plaid/models/credit_i20_student.rb +++ b/lib/plaid/models/credit_i20_student.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9dd09100cc..4e3a2ad4f5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f0d1ce9afb..7f3faae0cb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0aa41180b1..3cc02d3759 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c3f9fc3de..3c39ff988e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 27156f14fe..74ef69efd4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 278f277464..8a4f9ee82a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c51b8fbdc9..d6b6d882d6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c93c836b4f..6a8604edcf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e7a4d8007..512b95c2a9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditPayrollIncomeGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id attr_accessor :options 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 c6f89f5c9c..d555451d0f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # An optional object for `/credit/payroll_income/get` request options. class CreditPayrollIncomeGetRequestOptions - # An array of `item_id`s whose payroll information is returned. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the `user_token` will be returned in the response. + # An array of `item_id`s whose payroll information is returned. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the user will be returned in the response. attr_accessor :item_ids # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/credit_payroll_income_get_response.rb b/lib/plaid/models/credit_payroll_income_get_response.rb index 9768720403..9b9c6c3696 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8e5e46e75c..a171aa030f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditPayrollIncomeParsingConfigUpdateRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id # The `item_id` of the Item associated with this webhook, warning, or error @@ -114,10 +115,6 @@ def initialize(attributes = {}) # @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 @parsing_config.nil? invalid_properties.push('invalid value for "parsing_config", parsing_config cannot be nil.') end @@ -128,7 +125,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 @user_token.nil? return false if @parsing_config.nil? true end 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 e71549caaf..2c55f5d05d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 71c46acedb..b0b81efc9f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2855e091a3..7073d67b6e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e71b5b8fbf..a99b0db04e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditPayrollIncomeRefreshRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id attr_accessor :options @@ -102,17 +103,12 @@ def initialize(attributes = {}) # @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 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 1fd319a885..4b40175246 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,7 +16,7 @@ module Plaid # An optional object for `/credit/payroll_income/refresh` request options. class CreditPayrollIncomeRefreshRequestOptions - # An array of `item_id`s to be refreshed. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the `user_token` will be refreshed. + # An array of `item_id`s to be refreshed. Each `item_id` should uniquely identify a payroll income item. If this field is not provided, all `item_id`s associated with the user will be refreshed. attr_accessor :item_ids # The URL where Plaid will send the payroll income refresh webhook. diff --git a/lib/plaid/models/credit_payroll_income_refresh_response.rb b/lib/plaid/models/credit_payroll_income_refresh_response.rb index 6d5bad86b7..cbed9be8ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e2319de446..53d39ceb46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditPayrollIncomeRiskSignalsGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id # Attribute mapping from ruby-style variable name to JSON key. 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 91e4aa3290..a38fad5a89 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 18090ecd24..4fca9937a8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f43f086da0..186d461edb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dabf45cd71..e602273e98 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dfea776c0c..eff9f292e5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 90cb21a557..939e410db4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 16cc6adc25..4bbb35774d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aaf34fb5e9..82c13b348b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 341983e9d2..29eebbe3c5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a510e2ac08..510a6d95e1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1bf8ad6ca4..6020681aa6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 91d5ebd228..c450d1d180 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf2f1c2c7a..9dd8323f7c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6a393239b..aaa7f01af1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 23bea81d8d..0d8de280d2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cfb8569017..5a98dc326c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4471fd292a..5254b8ea08 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 61cfaea85d..e6df2c282e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5553491c0f..3944901f7b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7a6d26e003..d835ed404c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2774124d9d..c08c799fa6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,7 @@ class CreditSessionsGetRequest # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_token + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). attr_accessor :user_id # Attribute mapping from ruby-style variable name to JSON key. @@ -94,17 +95,12 @@ def initialize(attributes = {}) # @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 diff --git a/lib/plaid/models/credit_sessions_get_response.rb b/lib/plaid/models/credit_sessions_get_response.rb index fa0045e101..f60adc73f7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 165f9fa29a..948f6f0e81 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/custom_sandbox_transaction.rb b/lib/plaid/models/custom_sandbox_transaction.rb index 935a92a51e..a9a5ecf133 100644 --- a/lib/plaid/models/custom_sandbox_transaction.rb +++ b/lib/plaid/models/custom_sandbox_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8039a04a8b..e77804ac38 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bda1b161c7..92c0fe86a7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_get_request.rb b/lib/plaid/models/dashboard_user_get_request.rb index dda04de101..d8d8abebc3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a6c7e7d1ec..c0672d2787 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/dashboard_user_list_request.rb b/lib/plaid/models/dashboard_user_list_request.rb index 77a09fe34e..fa86eb5f79 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e210b0908a..82e4dc1857 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6967158775..576c083d32 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/data_sources.rb b/lib/plaid/models/data_sources.rb index 08c0958628..dd8e9ff0e0 100644 --- a/lib/plaid/models/data_sources.rb +++ b/lib/plaid/models/data_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 926004dcd0..d452e42537 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2478f427f3..fd39e5083d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6dc01f9931..9fcbe798b9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 55c72b0ee8..97a032b219 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f4df5972c2..437451f10c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9b36ba8479..b717b9214d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8f38ba6f90..c447e51e65 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1503b77a7b..35af42221f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 abc14582b9..00240b7688 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/device_id.rb b/lib/plaid/models/device_id.rb index 108e7d7b4b..c58e517389 100644 --- a/lib/plaid/models/device_id.rb +++ b/lib/plaid/models/device_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/disconnected_application.rb b/lib/plaid/models/disconnected_application.rb new file mode 100644 index 0000000000..f779973e00 --- /dev/null +++ b/lib/plaid/models/disconnected_application.rb @@ -0,0 +1,285 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Describes an application that a particular end user previously connected and has since disconnected. + class DisconnectedApplication + # This field will map to the application ID that is returned from `/item/application/list`, or provided to the institution in an oauth redirect. + attr_accessor :application_id + + # The name of the application + attr_accessor :name + + # A human-readable name of the application for display purposes + attr_accessor :display_name + + # A URL that links to the application logo image. + attr_accessor :logo_url + + # The URL for the application's website + attr_accessor :application_url + + # A string provided by the connected app stating why they use their respective enabled products. + attr_accessor :reason_for_access + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'application_id' => :'application_id', + :'name' => :'name', + :'display_name' => :'display_name', + :'logo_url' => :'logo_url', + :'application_url' => :'application_url', + :'reason_for_access' => :'reason_for_access' + } + 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 + { + :'application_id' => :'String', + :'name' => :'String', + :'display_name' => :'String', + :'logo_url' => :'String', + :'application_url' => :'String', + :'reason_for_access' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'display_name', + :'logo_url', + :'application_url', + :'reason_for_access' + ]) + 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::DisconnectedApplication` 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::DisconnectedApplication`. 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?(:'application_id') + self.application_id = attributes[:'application_id'] + end + + if attributes.key?(:'name') + self.name = attributes[:'name'] + end + + if attributes.key?(:'display_name') + self.display_name = attributes[:'display_name'] + end + + if attributes.key?(:'logo_url') + self.logo_url = attributes[:'logo_url'] + end + + if attributes.key?(:'application_url') + self.application_url = attributes[:'application_url'] + end + + if attributes.key?(:'reason_for_access') + self.reason_for_access = attributes[:'reason_for_access'] + 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 @application_id.nil? + invalid_properties.push('invalid value for "application_id", application_id cannot be nil.') + end + + if @name.nil? + invalid_properties.push('invalid value for "name", 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 @application_id.nil? + return false if @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 && + application_id == o.application_id && + name == o.name && + display_name == o.display_name && + logo_url == o.logo_url && + application_url == o.application_url && + reason_for_access == o.reason_for_access + 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 + [application_id, name, display_name, logo_url, application_url, reason_for_access].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/distribution_breakdown.rb b/lib/plaid/models/distribution_breakdown.rb index 27e2b5b01f..d9bc28d459 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 436ad1a580..065c6df6a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a07cb4abb5..8e85858363 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 84e90de13e..f72d3dadfd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 316f37d6f5..bb567de36c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3f119347c0..deb06bdbd2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 86e8a97ce0..03050585df 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 918727d518..68715762f6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 82902ffc8d..c61cff9716 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 29d913d7b8..da880adda2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b83c1d1b63..4d6b179c6f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4d11860396..afe2da0874 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 943b856114..48296a3c4f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d319f522e6..6534e0877a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 df8153e215..19c08ab27e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 953e0c16d5..5885e1d8a3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b8bcd41aec..464acc8d20 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 986871bcfa..c9b5ff8785 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 660ee681a4..e9859a0caf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 34de3676e8..207d0337f5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d97d2585d8..3d3322d3a0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf0ad88a58..bf3a2fc23c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7cdcf7a7fc..bc4ea607ef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 428c75b63b..66939c2d4b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 31d87ca97d..68286e78ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea9a0a2c44..0542aa41c3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f12556adc0..9df556b0a6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8a4e40781f..f1d6f2568c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 926f807dff..eb1d213b16 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d07d4646c2..317cc70f6c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e56d55c600..fcc97b2d62 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7fb66a3d68..8a495d90cc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 639350a543..fe823c17a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7e7bff73e6..e23384aa3f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2f70e9092b..3b5457717e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0d41ccdd1..3f801e606d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d46439244a..4be412ba60 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_document_type.rb b/lib/plaid/models/entity_document_type.rb index 0115c17e7b..e9c1392d08 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9686f2c2fe..c48a0e43a7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6bcea124b6..23dd9aa21a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cfa340d7f8..193e8595a9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ede2b3eee9..b25f809537 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_screening_hit_emails_items.rb b/lib/plaid/models/entity_screening_hit_emails_items.rb index 69c7940f7c..585bbf8eb0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1f42fe1b3b..b090ab7579 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 78f6b8e101..3f946b4c09 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 553e2a19d0..e9bf5b551c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cb43150ac1..dc8346233c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c8ba4b7fb5..c49f008dad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9a80e121da..901ff1b8b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5d4357be28..7227201e5f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d92e92ace2..65d487a46c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 81239153c8..4c9c58d2f9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 045fa2db5d..b760355010 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 001c4bf7ad..7b45634591 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5d6e322b95..50e6907580 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef393bb61e..31e5801c37 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/entity_watchlist_search_terms.rb b/lib/plaid/models/entity_watchlist_search_terms.rb index 4483b6aa17..4fec01f2c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ewa_score.rb b/lib/plaid/models/ewa_score.rb index e5314366d1..b365924bf7 100644 --- a/lib/plaid/models/ewa_score.rb +++ b/lib/plaid/models/ewa_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/expenditure_insights.rb b/lib/plaid/models/expenditure_insights.rb index c49d169689..87e3af0652 100644 --- a/lib/plaid/models/expenditure_insights.rb +++ b/lib/plaid/models/expenditure_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/expenditure_insights_cash_flow.rb b/lib/plaid/models/expenditure_insights_cash_flow.rb index 25b7fa4b2b..496cc463b3 100644 --- a/lib/plaid/models/expenditure_insights_cash_flow.rb +++ b/lib/plaid/models/expenditure_insights_cash_flow.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/expenditure_summary.rb b/lib/plaid/models/expenditure_summary.rb index 3a2132c91c..d09ebcea0b 100644 --- a/lib/plaid/models/expenditure_summary.rb +++ b/lib/plaid/models/expenditure_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/expiration_date.rb b/lib/plaid/models/expiration_date.rb index 497ae3ded8..8e91c42d75 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 9553302b0a..2695300fcc 100644 --- a/lib/plaid/models/extended_recipient_metadata.rb +++ b/lib/plaid/models/extended_recipient_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,25 +16,25 @@ module Plaid # Plaid and FDX-defined recipient metadata fields class ExtendedRecipientMetadata - # The recipient identifier + # The recipient's (application's) identifier attr_accessor :recipient_id - # The recipient name displayed by the Data Provider during the consent flow + # The recipient's (application's) name, as displayed to your customers during the consent flow attr_accessor :client_name - # Data Recipient Logo URL location + # URL for the recipient's (application's) logo attr_accessor :logo_uri - # The legal name of the recipient + # The recipient's (application's) legal entity name attr_accessor :third_party_legal_name - # The category that the recipient falls under + # The category the recipient (application) falls under attr_accessor :category - # The date at which the recipient gained production access to Plaid + # The date the recipient (application) gained production access to Plaid attr_accessor :joined_date - # The number of consumers connected to the recipient through this Data Partner + # The number of your customers connected to this recipient (application) attr_accessor :connection_count # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/extended_recipient_metadata_all_of.rb b/lib/plaid/models/extended_recipient_metadata_all_of.rb index c433e5db3f..c65698156b 100644 --- a/lib/plaid/models/extended_recipient_metadata_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,13 +15,13 @@ module Plaid class ExtendedRecipientMetadataAllOf - # The category that the recipient falls under + # The category the recipient (application) falls under attr_accessor :category - # The date at which the recipient gained production access to Plaid + # The date the recipient (application) gained production access to Plaid attr_accessor :joined_date - # The number of consumers connected to the recipient through this Data Partner + # The number of your customers connected to this recipient (application) attr_accessor :connection_count # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/external_payment_initiation_consent_options.rb b/lib/plaid/models/external_payment_initiation_consent_options.rb index 72813ab8b5..148a053bce 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7b7daa3a3a..bf3000231e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 be5be9235a..17f32c7d51 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 766352394e..173e0ac333 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a3135d169d..4578b374fa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4737de078e..9326c6d614 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 594a7c54b6..9fa891501b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d44e7e83ba..2a09b1202f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_grant.rb b/lib/plaid/models/fdx_consent_grant.rb index a0ea1d8c15..598e089d31 100644 --- a/lib/plaid/models/fdx_consent_grant.rb +++ b/lib/plaid/models/fdx_consent_grant.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_grant_resource.rb b/lib/plaid/models/fdx_consent_grant_resource.rb index d7c8717741..ac0d2f3fc7 100644 --- a/lib/plaid/models/fdx_consent_grant_resource.rb +++ b/lib/plaid/models/fdx_consent_grant_resource.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_grant_status.rb b/lib/plaid/models/fdx_consent_grant_status.rb index cff4ae8474..89a9425199 100644 --- a/lib/plaid/models/fdx_consent_grant_status.rb +++ b/lib/plaid/models/fdx_consent_grant_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_resource_type.rb b/lib/plaid/models/fdx_consent_resource_type.rb index 45c4e86129..73e51178a5 100644 --- a/lib/plaid/models/fdx_consent_resource_type.rb +++ b/lib/plaid/models/fdx_consent_resource_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_revocation.rb b/lib/plaid/models/fdx_consent_revocation.rb index 9dab2d118a..4476bce63f 100644 --- a/lib/plaid/models/fdx_consent_revocation.rb +++ b/lib/plaid/models/fdx_consent_revocation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_revocation_record.rb b/lib/plaid/models/fdx_consent_revocation_record.rb index 375709588c..a6cdba6d53 100644 --- a/lib/plaid/models/fdx_consent_revocation_record.rb +++ b/lib/plaid/models/fdx_consent_revocation_record.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_consent_revocations.rb b/lib/plaid/models/fdx_consent_revocations.rb index 1320d99f7c..15e5447b5a 100644 --- a/lib/plaid/models/fdx_consent_revocations.rb +++ b/lib/plaid/models/fdx_consent_revocations.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d91e141465..26f7ddf11e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_data_cluster.rb b/lib/plaid/models/fdx_data_cluster.rb index b82cc53a77..d5a1c4acfe 100644 --- a/lib/plaid/models/fdx_data_cluster.rb +++ b/lib/plaid/models/fdx_data_cluster.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_error.rb b/lib/plaid/models/fdx_error.rb new file mode 100644 index 0000000000..f772c0c28b --- /dev/null +++ b/lib/plaid/models/fdx_error.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Error response for the FDX Consent API. These endpoints use the FDX error format rather than Plaid's standard error object. + class FDXError + # Broad categorization of the error. Stable, and safe for programmatic use. Common values are `BAD_REQUEST`, `NOT_FOUND`, `CONFLICT`, and `INTERNAL_SERVER_ERROR`. + attr_accessor :error_type + + # The particular error code. Stable, and safe for programmatic use. For example `32` for a malformed request, `1107` when the consent grant is not found, `409` when the grant is already in a terminal state, and `01` for an internal error. + attr_accessor :error_code + + # A developer-friendly description of the error code. Subject to change, so it is not safe for programmatic use. + attr_accessor :error_message + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'error_type' => :'error_type', + :'error_code' => :'error_code', + :'error_message' => :'error_message' + } + 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 + { + :'error_type' => :'String', + :'error_code' => :'String', + :'error_message' => :'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::FDXError` 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::FDXError`. 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?(:'error_type') + self.error_type = attributes[:'error_type'] + end + + if attributes.key?(:'error_code') + self.error_code = attributes[:'error_code'] + end + + if attributes.key?(:'error_message') + self.error_message = attributes[:'error_message'] + 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 @error_type.nil? + invalid_properties.push('invalid value for "error_type", error_type cannot be nil.') + end + + if @error_code.nil? + invalid_properties.push('invalid value for "error_code", error_code cannot be nil.') + end + + if @error_message.nil? + invalid_properties.push('invalid value for "error_message", error_message 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 @error_type.nil? + return false if @error_code.nil? + return false if @error_message.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 && + error_type == o.error_type && + error_code == o.error_code && + error_message == o.error_message + 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 + [error_type, error_code, error_message].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/fdx_event_status.rb b/lib/plaid/models/fdx_event_status.rb index 9cd9925c40..9a83cf7e6b 100644 --- a/lib/plaid/models/fdx_event_status.rb +++ b/lib/plaid/models/fdx_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8dd8688c4a..329863bfdd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ac1cb5f46..f957425a4d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0a247b8b45..e10a2e07fe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdx_lifecycle_event.rb b/lib/plaid/models/fdx_lifecycle_event.rb index 24a9a16247..0d4958076f 100644 --- a/lib/plaid/models/fdx_lifecycle_event.rb +++ b/lib/plaid/models/fdx_lifecycle_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 864746b151..16f297bbb3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 26e307bbd7..d263f012d0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 605a07b517..c9f9f8aa00 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d58f9cc5a0..6b87d6dbe4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8fc8ec14c2..59b80c17e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8c2b790b61..cd752c0476 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a41910c5db..93d4c512b4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e6428a6805..3562340396 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3a5aac5d50..7bc83f0ff0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d87e98ba2f..75d585e202 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index c1dbb74206..3c297e41e6 100644 --- a/lib/plaid/models/fdx_recipient_metadata.rb +++ b/lib/plaid/models/fdx_recipient_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,16 +16,16 @@ module Plaid # Recipient metadata fields that are defined by FDX. class FDXRecipientMetadata - # The recipient identifier + # The recipient's (application's) identifier attr_accessor :recipient_id - # The recipient name displayed by the Data Provider during the consent flow + # The recipient's (application's) name, as displayed to your customers during the consent flow attr_accessor :client_name - # Data Recipient Logo URL location + # URL for the recipient's (application's) logo attr_accessor :logo_uri - # The legal name of the recipient + # The recipient's (application's) legal entity name attr_accessor :third_party_legal_name # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/fdx_update_reason.rb b/lib/plaid/models/fdx_update_reason.rb index c448d0661a..2d3d95c216 100644 --- a/lib/plaid/models/fdx_update_reason.rb +++ b/lib/plaid/models/fdx_update_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fdxfi_attribute.rb b/lib/plaid/models/fdxfi_attribute.rb index 88664dc5e4..def0bd9848 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5971d56d7c..5de0a087db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fixed_income.rb b/lib/plaid/models/fixed_income.rb index fd49575112..bfb263f63b 100644 --- a/lib/plaid/models/fixed_income.rb +++ b/lib/plaid/models/fixed_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index ed1aef9296..1ec2016513 100644 --- a/lib/plaid/models/forecasted_monthly_income.rb +++ b/lib/plaid/models/forecasted_monthly_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/form1099_type.rb b/lib/plaid/models/form1099_type.rb index 778cfd4d74..8e0e6e633c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/forwarded_json_response.rb b/lib/plaid/models/forwarded_json_response.rb index aa012c54cd..e35cd1c406 100644 --- a/lib/plaid/models/forwarded_json_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fraud_amount.rb b/lib/plaid/models/fraud_amount.rb index ad4dbc38c5..b5075aba7f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fraud_analysis_details.rb b/lib/plaid/models/fraud_analysis_details.rb index 764598922b..c1cbe73f1f 100644 --- a/lib/plaid/models/fraud_analysis_details.rb +++ b/lib/plaid/models/fraud_analysis_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fraud_check_outcome.rb b/lib/plaid/models/fraud_check_outcome.rb index 674ccc6674..7ff1ca2296 100644 --- a/lib/plaid/models/fraud_check_outcome.rb +++ b/lib/plaid/models/fraud_check_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/fraud_check_outcome_with_no_data.rb b/lib/plaid/models/fraud_check_outcome_with_no_data.rb index e5059b1160..bfb740f522 100644 --- a/lib/plaid/models/fraud_check_outcome_with_no_data.rb +++ b/lib/plaid/models/fraud_check_outcome_with_no_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/gambling_indicators.rb b/lib/plaid/models/gambling_indicators.rb index da11e922d0..c78728248c 100644 --- a/lib/plaid/models/gambling_indicators.rb +++ b/lib/plaid/models/gambling_indicators.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fba67b5df4..0ef1ff8090 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/get_consents_response.rb b/lib/plaid/models/get_consents_response.rb index 926b5c2f0f..3515738c0b 100644 --- a/lib/plaid/models/get_consents_response.rb +++ b/lib/plaid/models/get_consents_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 8e7b2b25fd..605f7bdca7 100644 --- a/lib/plaid/models/get_recipient_response.rb +++ b/lib/plaid/models/get_recipient_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,16 +16,16 @@ module Plaid # GetRecipientResponse defines the response schema for `/fdx/recipient/{recipientId}` class GetRecipientResponse - # The recipient identifier + # The recipient's (application's) identifier attr_accessor :recipient_id - # The recipient name displayed by the Data Provider during the consent flow + # The recipient's (application's) name, as displayed to your customers during the consent flow attr_accessor :client_name - # Data Recipient Logo URL location + # URL for the recipient's (application's) logo attr_accessor :logo_uri - # The legal name of the recipient + # The recipient's (application's) legal entity name attr_accessor :third_party_legal_name # Attribute mapping from ruby-style variable name to JSON key. diff --git a/lib/plaid/models/get_recipients_response.rb b/lib/plaid/models/get_recipients_response.rb index 7ad3fa3b5b..96c71ed591 100644 --- a/lib/plaid/models/get_recipients_response.rb +++ b/lib/plaid/models/get_recipients_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/gse_report_type.rb b/lib/plaid/models/gse_report_type.rb index 0dc2ad4196..2fa969a314 100644 --- a/lib/plaid/models/gse_report_type.rb +++ b/lib/plaid/models/gse_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/health_incident.rb b/lib/plaid/models/health_incident.rb index 2ef83db5ba..4df0284ef7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 0e836d9b13..46e933cb21 100644 --- a/lib/plaid/models/hidden_match_summary_code.rb +++ b/lib/plaid/models/hidden_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/historical_annual_income.rb b/lib/plaid/models/historical_annual_income.rb index ec6b0eebb9..8fff98d481 100644 --- a/lib/plaid/models/historical_annual_income.rb +++ b/lib/plaid/models/historical_annual_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/historical_balance.rb b/lib/plaid/models/historical_balance.rb index bd9c1d7729..2cbfdf50c3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -19,7 +19,7 @@ class HistoricalBalance # 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. + # 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 before 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`. diff --git a/lib/plaid/models/historical_update_webhook.rb b/lib/plaid/models/historical_update_webhook.rb index 6aafd33993..e92c6a70d5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holding.rb b/lib/plaid/models/holding.rb index 77c1179bf3..cf6ccf4ea8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holding_tax_lot.rb b/lib/plaid/models/holding_tax_lot.rb index 0c593981cd..4508263709 100644 --- a/lib/plaid/models/holding_tax_lot.rb +++ b/lib/plaid/models/holding_tax_lot.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/holding_tax_lot_position_type.rb b/lib/plaid/models/holding_tax_lot_position_type.rb index bf0e9836b5..b67ae3e65a 100644 --- a/lib/plaid/models/holding_tax_lot_position_type.rb +++ b/lib/plaid/models/holding_tax_lot_position_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e2b4d2cc79..7be6c7ec80 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da202a639d..b1fe2accc4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 389f71c911..9fd0664e47 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 147cf8f277..428f0c1ba2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/human_review.rb b/lib/plaid/models/human_review.rb index 7c170d72bf..8b76c6cb80 100644 --- a/lib/plaid/models/human_review.rb +++ b/lib/plaid/models/human_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/human_review_status.rb b/lib/plaid/models/human_review_status.rb index ffd738bf5b..28bb876e72 100644 --- a/lib/plaid/models/human_review_status.rb +++ b/lib/plaid/models/human_review_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 26e3040fab..2704330e49 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 21b94083a9..27d985e333 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e367c554f6..ef4f16981a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 84ee9c2a6b..9da4858147 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 67468f057d..cae28cc9a3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f5c71e73e5..a906e3632c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 036fc7f735..b7fd457483 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8499c37ed8..626dae6585 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1da351ddd4..aeec92f35e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9d5cc4bf57..61d893bf6e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 533173a1e0..501b6df8d0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3596947936..77d368b501 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b853865acb..4d81d76b85 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 44789c607d..d58c3383e9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_match_list_attempt.rb b/lib/plaid/models/identity_match_list_attempt.rb new file mode 100644 index 0000000000..8984db9e37 --- /dev/null +++ b/lib/plaid/models/identity_match_list_attempt.rb @@ -0,0 +1,386 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A Link-originated Identity Match attempt. + class IdentityMatchListAttempt + # Identifier for the Identity Match attempt. + attr_accessor :attempt_id + + # The `item_id` of the Item associated with this webhook, warning, or error + attr_accessor :item_id + + # Time at which the attempt was created. + attr_accessor :created_at + + # Link session that produced the attempt. + attr_accessor :link_session_id + + # Link customization that supplied the ruleset. + attr_accessor :link_customization_name + + # Revision of the Identity Match ruleset that was applied. + attr_accessor :ruleset_revision + + attr_accessor :outcome + + # Account ID associated with a `PASS` outcome. Null for `FAIL` or `UNKNOWN` outcomes. + attr_accessor :outcome_account_id + + # Per-account match scores. Empty if the attempt data is unavailable. + attr_accessor :scores + + 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 + { + :'attempt_id' => :'attempt_id', + :'item_id' => :'item_id', + :'created_at' => :'created_at', + :'link_session_id' => :'link_session_id', + :'link_customization_name' => :'link_customization_name', + :'ruleset_revision' => :'ruleset_revision', + :'outcome' => :'outcome', + :'outcome_account_id' => :'outcome_account_id', + :'scores' => :'scores' + } + 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 + { + :'attempt_id' => :'String', + :'item_id' => :'String', + :'created_at' => :'Time', + :'link_session_id' => :'String', + :'link_customization_name' => :'String', + :'ruleset_revision' => :'Integer', + :'outcome' => :'IdentityMatchListOutcome', + :'outcome_account_id' => :'String', + :'scores' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'outcome_account_id', + ]) + 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::IdentityMatchListAttempt` 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::IdentityMatchListAttempt`. 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?(:'attempt_id') + self.attempt_id = attributes[:'attempt_id'] + end + + if attributes.key?(:'item_id') + self.item_id = attributes[:'item_id'] + end + + if attributes.key?(:'created_at') + self.created_at = attributes[:'created_at'] + end + + if attributes.key?(:'link_session_id') + self.link_session_id = attributes[:'link_session_id'] + end + + if attributes.key?(:'link_customization_name') + self.link_customization_name = attributes[:'link_customization_name'] + end + + if attributes.key?(:'ruleset_revision') + self.ruleset_revision = attributes[:'ruleset_revision'] + end + + if attributes.key?(:'outcome') + self.outcome = attributes[:'outcome'] + end + + if attributes.key?(:'outcome_account_id') + self.outcome_account_id = attributes[:'outcome_account_id'] + end + + if attributes.key?(:'scores') + if (value = attributes[:'scores']).is_a?(Array) + self.scores = 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 @attempt_id.nil? + invalid_properties.push('invalid value for "attempt_id", attempt_id cannot be nil.') + end + + if @item_id.nil? + invalid_properties.push('invalid value for "item_id", item_id cannot be nil.') + end + + if @created_at.nil? + invalid_properties.push('invalid value for "created_at", created_at cannot be nil.') + end + + if @link_session_id.nil? + invalid_properties.push('invalid value for "link_session_id", link_session_id cannot be nil.') + end + + if @link_customization_name.nil? + invalid_properties.push('invalid value for "link_customization_name", link_customization_name cannot be nil.') + end + + if @ruleset_revision.nil? + invalid_properties.push('invalid value for "ruleset_revision", ruleset_revision cannot be nil.') + end + + if @ruleset_revision < 0 + invalid_properties.push('invalid value for "ruleset_revision", must be greater than or equal to 0.') + end + + + if @outcome.nil? + invalid_properties.push('invalid value for "outcome", outcome cannot be nil.') + end + + if @scores.nil? + invalid_properties.push('invalid value for "scores", scores 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 @attempt_id.nil? + return false if @item_id.nil? + return false if @created_at.nil? + return false if @link_session_id.nil? + return false if @link_customization_name.nil? + return false if @ruleset_revision.nil? + return false if @ruleset_revision < 0 + return false if @outcome.nil? + return false if @scores.nil? + true + end + + # Custom attribute writer method with validation + # @param [Object] ruleset_revision Value to be assigned + def ruleset_revision=(ruleset_revision) + if ruleset_revision.nil? + fail ArgumentError, 'ruleset_revision cannot be nil' + end + + if ruleset_revision < 0 + fail ArgumentError, 'invalid value for "ruleset_revision", must be greater than or equal to 0.' + end + + + @ruleset_revision = ruleset_revision + 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 && + attempt_id == o.attempt_id && + item_id == o.item_id && + created_at == o.created_at && + link_session_id == o.link_session_id && + link_customization_name == o.link_customization_name && + ruleset_revision == o.ruleset_revision && + outcome == o.outcome && + outcome_account_id == o.outcome_account_id && + scores == o.scores + 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 + [attempt_id, item_id, created_at, link_session_id, link_customization_name, ruleset_revision, outcome, outcome_account_id, scores].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_match_list_attempt_score.rb b/lib/plaid/models/identity_match_list_attempt_score.rb new file mode 100644 index 0000000000..5ebee41478 --- /dev/null +++ b/lib/plaid/models/identity_match_list_attempt_score.rb @@ -0,0 +1,282 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Identity Match scores for one account. + class IdentityMatchListAttemptScore + # Plaid account ID for the account that was scored. + attr_accessor :account_id + + attr_accessor :legal_name + + attr_accessor :phone_number + + attr_accessor :email_address + + attr_accessor :address + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_id' => :'account_id', + :'legal_name' => :'legal_name', + :'phone_number' => :'phone_number', + :'email_address' => :'email_address', + :'address' => :'address' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'account_id' => :'String', + :'legal_name' => :'NameMatchScore', + :'phone_number' => :'PhoneNumberMatchScore', + :'email_address' => :'EmailAddressMatchScore', + :'address' => :'AddressMatchScore' + } + 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::IdentityMatchListAttemptScore` 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::IdentityMatchListAttemptScore`. 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_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'legal_name') + self.legal_name = attributes[:'legal_name'] + end + + if attributes.key?(:'phone_number') + self.phone_number = attributes[:'phone_number'] + end + + if attributes.key?(:'email_address') + self.email_address = attributes[:'email_address'] + end + + if attributes.key?(:'address') + self.address = attributes[:'address'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + if @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @legal_name.nil? + invalid_properties.push('invalid value for "legal_name", legal_name cannot be nil.') + end + + if @phone_number.nil? + invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.') + end + + if @email_address.nil? + invalid_properties.push('invalid value for "email_address", email_address cannot be nil.') + end + + if @address.nil? + invalid_properties.push('invalid value for "address", address 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_id.nil? + return false if @legal_name.nil? + return false if @phone_number.nil? + return false if @email_address.nil? + return false if @address.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_id == o.account_id && + legal_name == o.legal_name && + phone_number == o.phone_number && + email_address == o.email_address && + address == o.address + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [account_id, legal_name, phone_number, email_address, address].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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_match_list_outcome.rb b/lib/plaid/models/identity_match_list_outcome.rb new file mode 100644 index 0000000000..12a34baeb2 --- /dev/null +++ b/lib/plaid/models/identity_match_list_outcome.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class IdentityMatchListOutcome + PASS = "PASS".freeze + FAIL = "FAIL".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/identity_match_list_request.rb b/lib/plaid/models/identity_match_list_request.rb new file mode 100644 index 0000000000..c5379bf658 --- /dev/null +++ b/lib/plaid/models/identity_match_list_request.rb @@ -0,0 +1,309 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # IdentityMatchListRequest defines the request schema for `/identity/match/list` + class IdentityMatchListRequest + # 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 + + # Inclusive start of the query window in RFC 3339 format. + attr_accessor :start_time + + # Inclusive end of the query window in RFC 3339 format. + attr_accessor :end_time + + # Maximum number of attempts to return in one page. + attr_accessor :count + + # Opaque pagination cursor. Omit on the first request. For subsequent requests, set this field to the `next_cursor` from the previous response and use the same `start_time` and `end_time`. + attr_accessor :cursor + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'start_time' => :'start_time', + :'end_time' => :'end_time', + :'count' => :'count', + :'cursor' => :'cursor' + } + 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', + :'start_time' => :'Time', + :'end_time' => :'Time', + :'count' => :'Integer', + :'cursor' => :'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::IdentityMatchListRequest` 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::IdentityMatchListRequest`. 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?(:'start_time') + self.start_time = attributes[:'start_time'] + end + + if attributes.key?(:'end_time') + self.end_time = attributes[:'end_time'] + end + + if attributes.key?(:'count') + self.count = attributes[:'count'] + else + self.count = 25 + end + + if attributes.key?(:'cursor') + self.cursor = attributes[:'cursor'] + 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 @start_time.nil? + invalid_properties.push('invalid value for "start_time", start_time cannot be nil.') + end + + if @end_time.nil? + invalid_properties.push('invalid value for "end_time", end_time cannot be nil.') + end + + if !@count.nil? && @count > 25 + invalid_properties.push('invalid value for "count", must be smaller than or equal to 25.') + end + + if !@count.nil? && @count < 1 + invalid_properties.push('invalid value for "count", must be greater than or equal to 1.') + 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_time.nil? + return false if @end_time.nil? + return false if !@count.nil? && @count > 25 + return false if !@count.nil? && @count < 1 + true + end + + # Custom attribute writer method with validation + # @param [Object] count Value to be assigned + def count=(count) + if !count.nil? && count > 25 + fail ArgumentError, 'invalid value for "count", must be smaller than or equal to 25.' + end + + if !count.nil? && count < 1 + fail ArgumentError, 'invalid value for "count", must be greater than or equal to 1.' + end + + + @count = count + 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 && + start_time == o.start_time && + end_time == o.end_time && + count == o.count && + cursor == o.cursor + 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, start_time, end_time, count, cursor].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_match_list_response.rb b/lib/plaid/models/identity_match_list_response.rb new file mode 100644 index 0000000000..725af51ae5 --- /dev/null +++ b/lib/plaid/models/identity_match_list_response.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # IdentityMatchListResponse defines the response schema for `/identity/match/list` + class IdentityMatchListResponse + # Page of Link-originated Identity Match attempts ordered by creation time, oldest first. + attr_accessor :identity_match_attempts + + # Cursor for the next page. Null when there are no more pages. + attr_accessor :next_cursor + + # Whether more attempts remain in the query window. + attr_accessor :has_more + + # 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 + { + :'identity_match_attempts' => :'identity_match_attempts', + :'next_cursor' => :'next_cursor', + :'has_more' => :'has_more', + :'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 + { + :'identity_match_attempts' => :'Array', + :'next_cursor' => :'String', + :'has_more' => :'Boolean', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'next_cursor', + ]) + 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::IdentityMatchListResponse` 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::IdentityMatchListResponse`. 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?(:'identity_match_attempts') + if (value = attributes[:'identity_match_attempts']).is_a?(Array) + self.identity_match_attempts = value + end + end + + if attributes.key?(:'next_cursor') + self.next_cursor = attributes[:'next_cursor'] + end + + if attributes.key?(:'has_more') + self.has_more = attributes[:'has_more'] + 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 @identity_match_attempts.nil? + invalid_properties.push('invalid value for "identity_match_attempts", identity_match_attempts cannot be nil.') + end + + if @has_more.nil? + invalid_properties.push('invalid value for "has_more", has_more 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 @identity_match_attempts.nil? + return false if @has_more.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 && + identity_match_attempts == o.identity_match_attempts && + next_cursor == o.next_cursor && + has_more == o.has_more && + 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 + [identity_match_attempts, next_cursor, has_more, 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/identity_match_request.rb b/lib/plaid/models/identity_match_request.rb index 6962c9f079..16b4deed30 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 727539e236..a833399e83 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1ae3158b30..c3205e77c3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b8e1617630..bb909b787b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_refresh_request.rb b/lib/plaid/models/identity_refresh_request.rb index e7dbe19287..c1198dff57 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 493babc4be..183c6aa220 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3d2014473a..fc79abfb44 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f02ee7d9b4..fbc2411c42 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 819cd1e778..8fa675bfef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_autofill_create_request.rb b/lib/plaid/models/identity_verification_autofill_create_request.rb index ec8ac1f18a..81ebd3ef85 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 477d312fe5..ec3e674d4a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6c28266732..25e8f187e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da569e3987..51fde99556 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 805c1600c7..2d77aa5e23 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c931dc83ec..e2b4c0ed46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_create_response.rb b/lib/plaid/models/identity_verification_create_response.rb index 66624d1d7a..9fb13d19ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 52fc8db654..e3b58efc54 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index e16c1fb8d9..f7da323044 100644 --- a/lib/plaid/models/identity_verification_document_name_response.rb +++ b/lib/plaid/models/identity_verification_document_name_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_get_request.rb b/lib/plaid/models/identity_verification_get_request.rb index 1a80aa5219..0d0941699d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c6103f4dae..d5c2ff5c90 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef53ed0ef5..8a8c7053b0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 57da6fb1c5..5a90f8ce63 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 57515d46f3..18041eed46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_request_user_name.rb b/lib/plaid/models/identity_verification_request_user_name.rb index a61ddd1457..77cdadf3d1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7fb641d4ac..2ffa3c4590 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 56e12ff481..af8f1c292a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3842bdd673..5967dbbaea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 02ef05a73c..d2ff54d1dd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c25dd8c004..1b3eafd255 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 812185221a..47ca0fc105 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9e71d8e7fb..1301db4609 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 481214ebb5..c2fc5bcc72 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7a21a18e40..ce69f0ce5c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a23bfd8281..9ccdf31d64 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f5665fd1c9..92cd009f8b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2f2bc07ec5..cb8121a536 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/identity_verification_user_data.rb b/lib/plaid/models/identity_verification_user_data.rb index e8315984e3..f0d98adc19 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/idv_protect_event.rb b/lib/plaid/models/idv_protect_event.rb index 0388d872aa..d241fb57d1 100644 --- a/lib/plaid/models/idv_protect_event.rb +++ b/lib/plaid/models/idv_protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/image_quality.rb b/lib/plaid/models/image_quality.rb index 8f8e602d71..7d772a9a10 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/image_quality_details.rb b/lib/plaid/models/image_quality_details.rb index 3330f9a91a..491b78293d 100644 --- a/lib/plaid/models/image_quality_details.rb +++ b/lib/plaid/models/image_quality_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/image_quality_outcome.rb b/lib/plaid/models/image_quality_outcome.rb index 44ec2b5652..f6db59a73d 100644 --- a/lib/plaid/models/image_quality_outcome.rb +++ b/lib/plaid/models/image_quality_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1881e8a61a..3b9cc3d496 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 958fb72838..e74e38a31a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 983f4fb1e3..e5abdcbb4d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights.rb b/lib/plaid/models/income_insights.rb index 7dcc45a3a2..fdd946d927 100644 --- a/lib/plaid/models/income_insights.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights_filter.rb b/lib/plaid/models/income_insights_filter.rb index aa1b389fe5..a9868825de 100644 --- a/lib/plaid/models/income_insights_filter.rb +++ b/lib/plaid/models/income_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights_income_excluding_transfers.rb b/lib/plaid/models/income_insights_income_excluding_transfers.rb index 74f14024e4..e18344808e 100644 --- a/lib/plaid/models/income_insights_income_excluding_transfers.rb +++ b/lib/plaid/models/income_insights_income_excluding_transfers.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights_total_income.rb b/lib/plaid/models/income_insights_total_income.rb index 6a15bd7d22..f6a7709dd0 100644 --- a/lib/plaid/models/income_insights_total_income.rb +++ b/lib/plaid/models/income_insights_total_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights_transfers_in.rb b/lib/plaid/models/income_insights_transfers_in.rb index 98d08e6ebc..2213a0a22b 100644 --- a/lib/plaid/models/income_insights_transfers_in.rb +++ b/lib/plaid/models/income_insights_transfers_in.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_insights_version.rb b/lib/plaid/models/income_insights_version.rb index 21241a11fd..9ba82e6f96 100644 --- a/lib/plaid/models/income_insights_version.rb +++ b/lib/plaid/models/income_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a3de288ba..e9938b6db7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 9b627bde47..38b7472299 100644 --- a/lib/plaid/models/income_sources_counts.rb +++ b/lib/plaid/models/income_sources_counts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/income_summary.rb b/lib/plaid/models/income_summary.rb index 892c40a905..5dc4cb7c6a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4a789aea1a..5673c5ca04 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8e0ac56235..7f3398b64b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 767bc59a4a..608cf1a765 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b2221f9cf0..c05c50a304 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 568cc8abc5..e84134b81a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d9a415c1fc..2a90865d2c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0ee24c15e4..59235868f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 df611870de..f9177478b6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ddc85b6ce3..a5463c7cb1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 80c841d407..69f2911d87 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 02da30ef9c..9df362da27 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dafe5960d8..ca5f1bad3e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 43326e0ca6..9439ad7db8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5eded05fe2..cf586e5287 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 96d47e7d1b..e0f4e79326 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0f8e30c08..3a14cfd372 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6193136afd..deaa2a4c24 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ad0e796554..e833f91038 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a682578fb8..8cd48a9d41 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fc9b13554b..5d8fae3ea0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b41c69c0a2..0901daaaaa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b5d07a237..98150f98bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 16c3f53ba4..3a63603bc2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cb4a6f141f..3983b16357 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3784bcb88a..446fa7d1a0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 989444fb96..ffd474cb36 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9c8e54462a..b335371e02 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8438120f70..e2fe6a9fe0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0178e8a3f7..f5c765dcd1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 25be27c31a..c92659676d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 23c496fd57..bea544cb3f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7bb0457428..4e394f122d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/institution.rb b/lib/plaid/models/institution.rb index 983071d029..e141599f20 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 634b718e2d..8b0ed6769d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c9d3eb74be..ed6f5f915f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7422e0d873..dd3b07d362 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f01f22176f..1a2fefa79a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4d0c2f43ae..46eb21ccda 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ada085257b..28a97f04fa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 993636b498..5b6f6ba0ac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bece536ea2..eb62b37212 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 974970ff3b..3a5afff2fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8f222d95ca..9ffeb33145 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 78c47b8273..f750411dba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5e46bbb9d3..4b3694e9e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f96fe76d4c..89d0d097af 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e60be28521..0296bf99f5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_account.rb b/lib/plaid/models/investment_account.rb index b056da07b6..62fafc047a 100644 --- a/lib/plaid/models/investment_account.rb +++ b/lib/plaid/models/investment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -41,6 +41,9 @@ class InvestmentAccount # A unique and persistent identifier for accounts that can be used to trace multiple instances of the same account across different Items for depository accounts. This field is currently supported only for Items at institutions that use Tokenized Account Numbers (i.e., Chase, PNC, and US Bank). Because these accounts have a different account number each time they are linked, this field may be used instead of the account number to uniquely identify an account across multiple Items for payments use cases, helping to reduce duplicate Items or attempted fraud. In Sandbox, this field is populated for TAN-based institutions (`ins_56`, `ins_13`, `ins_127990`) as well as the OAuth Sandbox institution (`ins_127287`); in Production, it will only be populated for accounts at applicable institutions. attr_accessor :persistent_account_id + # The annual percentage yield (APY) on an interest-bearing deposit account, expressed as a percentage (e.g. `4.25` means 4.25%). In the event that the APY is not provided by the financial institution, Plaid will return a value of `null`. + attr_accessor :apy + attr_accessor :holder_category class EnumAttributeValidator @@ -79,6 +82,7 @@ def self.attribute_map :'verification_name' => :'verification_name', :'verification_insights' => :'verification_insights', :'persistent_account_id' => :'persistent_account_id', + :'apy' => :'apy', :'holder_category' => :'holder_category' } end @@ -102,6 +106,7 @@ def self.openapi_types :'verification_name' => :'String', :'verification_insights' => :'AccountVerificationInsights', :'persistent_account_id' => :'String', + :'apy' => :'Float', :'holder_category' => :'AccountHolderCategory' } end @@ -112,6 +117,7 @@ def self.openapi_nullable :'mask', :'official_name', :'subtype', + :'apy', :'holder_category' ]) end @@ -183,6 +189,10 @@ def initialize(attributes = {}) self.persistent_account_id = attributes[:'persistent_account_id'] end + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end + if attributes.key?(:'holder_category') self.holder_category = attributes[:'holder_category'] end @@ -249,6 +259,7 @@ def ==(o) verification_name == o.verification_name && verification_insights == o.verification_insights && persistent_account_id == o.persistent_account_id && + apy == o.apy && holder_category == o.holder_category end @@ -261,7 +272,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, verification_status, verification_name, verification_insights, persistent_account_id, holder_category].hash + [account_id, balances, mask, name, official_name, type, subtype, verification_status, verification_name, verification_insights, persistent_account_id, apy, holder_category].hash end # Builds the object from hash diff --git a/lib/plaid/models/investment_account_all_of.rb b/lib/plaid/models/investment_account_all_of.rb index 13f9fec162..7d23a88c18 100644 --- a/lib/plaid/models/investment_account_all_of.rb +++ b/lib/plaid/models/investment_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_account_balance.rb b/lib/plaid/models/investment_account_balance.rb index 019330b36e..20422099fd 100644 --- a/lib/plaid/models/investment_account_balance.rb +++ b/lib/plaid/models/investment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investment_account_balance_all_of.rb b/lib/plaid/models/investment_account_balance_all_of.rb index e70edf5890..97446452f9 100644 --- a/lib/plaid/models/investment_account_balance_all_of.rb +++ b/lib/plaid/models/investment_account_balance_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b73854b2ea..a16033e58e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -45,6 +45,7 @@ class InvestmentAccountSubtype OTHER_ANNUITY = "other annuity".freeze OTHER_INSURANCE = "other insurance".freeze PENSION = "pension".freeze + PREDICTION_MARKET = "prediction market".freeze PRIF = "prif".freeze PROFIT_SHARING_PLAN = "profit sharing plan".freeze QSHR = "qshr".freeze diff --git a/lib/plaid/models/investment_filter.rb b/lib/plaid/models/investment_filter.rb index 387570a082..3d4d7c0993 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 991b656cc1..40d7dd0d1a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9a29327326..c1f5dff65e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -31,7 +31,7 @@ class InvestmentTransaction # The [ISO 8601](https://wikipedia.org/wiki/ISO_8601) posting date for the transaction. This is typically the settlement date. attr_accessor :date - # Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) representing when the order type was initiated. This field is returned for select financial institutions and reflects the value provided by the institution. + # Timestamp in [ISO 8601](https://wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ssZ`) representing when the order was initiated. This field is returned for select financial institutions and reflects the value provided by the institution. When the institution only provides a date without time-of-day information, this field will reflect the date that the order was initiated with a time component that defaults to `T00:00:00Z`. This does not indicate that the order was initiated at midnight UTC. attr_accessor :transaction_datetime # The institution's description of the transaction. diff --git a/lib/plaid/models/investment_transaction_subtype.rb b/lib/plaid/models/investment_transaction_subtype.rb index 4c5584589d..bce04c05a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5fe4c02e4f..a4c46a13e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth401k_contribution_details.rb b/lib/plaid/models/investments_auth401k_contribution_details.rb index cb29f6d710..148d8cfe1a 100644 --- a/lib/plaid/models/investments_auth401k_contribution_details.rb +++ b/lib/plaid/models/investments_auth401k_contribution_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth401k_fee_details.rb b/lib/plaid/models/investments_auth401k_fee_details.rb index 290add8a0c..545d6d8961 100644 --- a/lib/plaid/models/investments_auth401k_fee_details.rb +++ b/lib/plaid/models/investments_auth401k_fee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_account_details401k.rb b/lib/plaid/models/investments_auth_account_details401k.rb index 26d03da2a2..d97a94a20c 100644 --- a/lib/plaid/models/investments_auth_account_details401k.rb +++ b/lib/plaid/models/investments_auth_account_details401k.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/investments_auth_data_sources.rb b/lib/plaid/models/investments_auth_data_sources.rb index 33824ee024..796ad851ca 100644 --- a/lib/plaid/models/investments_auth_data_sources.rb +++ b/lib/plaid/models/investments_auth_data_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 92e9bdd3b3..c37dbd1806 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 05db615ad2..dfdd6eeacb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8bf90c4461..ede76f08a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2adefaeaae..0242dfb688 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 afdfa45155..5fcd188671 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6c2c2d2f6e..f2c549c638 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b182faf11e..48afe8ef11 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a700d6e6b6..737d65e4fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4bb10a4cc7..1b52662fac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 be1459891d..babff3954d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 91faa9a9f2..fe3c9a6d4d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 20e92028c7..5759bda3d2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d29560cb01..993bdc7567 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6e6e36bc0a..dd14fba80a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5f290e57f5..c91777d383 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 83781c7247..c230250fb8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issue.rb b/lib/plaid/models/issue.rb index dc9ce697a1..317cb028ed 100644 --- a/lib/plaid/models/issue.rb +++ b/lib/plaid/models/issue.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 0d949477dd..6b64f86475 100644 --- a/lib/plaid/models/issue_resolved_webhook.rb +++ b/lib/plaid/models/issue_resolved_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_get_request.rb b/lib/plaid/models/issues_get_request.rb index 9a1f033a28..5e63a10137 100644 --- a/lib/plaid/models/issues_get_request.rb +++ b/lib/plaid/models/issues_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_get_response.rb b/lib/plaid/models/issues_get_response.rb index 1619b7b5d0..5dfb42b210 100644 --- a/lib/plaid/models/issues_get_response.rb +++ b/lib/plaid/models/issues_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_search_request.rb b/lib/plaid/models/issues_search_request.rb index f10cb09116..666817308d 100644 --- a/lib/plaid/models/issues_search_request.rb +++ b/lib/plaid/models/issues_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_search_response.rb b/lib/plaid/models/issues_search_response.rb index b84781f03b..e7b0dddf42 100644 --- a/lib/plaid/models/issues_search_response.rb +++ b/lib/plaid/models/issues_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_status.rb b/lib/plaid/models/issues_status.rb index 431d9e5b76..6f61915be1 100644 --- a/lib/plaid/models/issues_status.rb +++ b/lib/plaid/models/issues_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_subscribe_request.rb b/lib/plaid/models/issues_subscribe_request.rb index d7c638ce2d..431dfe78d5 100644 --- a/lib/plaid/models/issues_subscribe_request.rb +++ b/lib/plaid/models/issues_subscribe_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issues_subscribe_response.rb b/lib/plaid/models/issues_subscribe_response.rb index 3fb2af0d4f..ce02b3b918 100644 --- a/lib/plaid/models/issues_subscribe_response.rb +++ b/lib/plaid/models/issues_subscribe_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/issuing_country.rb b/lib/plaid/models/issuing_country.rb index 84a3f66e00..35b56acd29 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 12ffa1cbcc..a6e559bbcd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fca4d9d784..55bb0a4805 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 40ea142f84..1eb154a953 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5b2fff822b..c6691b8bfc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 adb0bb597e..6aa47fdcdc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -48,7 +48,7 @@ def self.openapi_types { :'request_id' => :'String', :'activities' => :'Array', - :'last_data_access_times' => :'Array', + :'last_data_access_times' => :'Array', :'cursor' => :'String' } end diff --git a/lib/plaid/models/item_add_result_webhook.rb b/lib/plaid/models/item_add_result_webhook.rb index e88a2e88e4..a825e9546e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_application_list_request.rb b/lib/plaid/models/item_application_list_request.rb index 46ffef4536..358c2522f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7fe37cdbb9..a5a3233212 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,11 +22,15 @@ class ItemApplicationListResponse # A list of connected applications. attr_accessor :applications + # A list of applications that the user previously connected and has since disconnected. Disconnected applications carry no `scopes` or `created_at`, since the user has revoked their access. + attr_accessor :disconnected_applications + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'request_id' => :'request_id', - :'applications' => :'applications' + :'applications' => :'applications', + :'disconnected_applications' => :'disconnected_applications' } end @@ -39,7 +43,8 @@ def self.acceptable_attributes def self.openapi_types { :'request_id' => :'String', - :'applications' => :'Array' + :'applications' => :'Array', + :'disconnected_applications' => :'Array' } end @@ -73,6 +78,12 @@ def initialize(attributes = {}) self.applications = value end end + + if attributes.key?(:'disconnected_applications') + if (value = attributes[:'disconnected_applications']).is_a?(Array) + self.disconnected_applications = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -99,7 +110,8 @@ def ==(o) return true if self.equal?(o) self.class == o.class && request_id == o.request_id && - applications == o.applications + applications == o.applications && + disconnected_applications == o.disconnected_applications end # @see the `==` method @@ -111,7 +123,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [request_id, applications].hash + [request_id, applications, disconnected_applications].hash end # Builds the object from hash diff --git a/lib/plaid/models/item_application_list_user_auth.rb b/lib/plaid/models/item_application_list_user_auth.rb index 53dda89abe..a518a20d0c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6a49c578f6..85cb9e7ae5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 21665cf7aa..8e29b3bc4a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a60c65b57..63a23f9dd0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 05eb8d51de..2879f8a248 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_auth_method.rb b/lib/plaid/models/item_auth_method.rb index 3d974ad54f..42f621b5ad 100644 --- a/lib/plaid/models/item_auth_method.rb +++ b/lib/plaid/models/item_auth_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_consented_data_scope.rb b/lib/plaid/models/item_consented_data_scope.rb index 2a9869cb37..6b6681ec3e 100644 --- a/lib/plaid/models/item_consented_data_scope.rb +++ b/lib/plaid/models/item_consented_data_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_create_authentication.rb b/lib/plaid/models/item_create_authentication.rb index b5d459658b..b332806df0 100644 --- a/lib/plaid/models/item_create_authentication.rb +++ b/lib/plaid/models/item_create_authentication.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 25aa54748c..c0f03577a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6140e925f5..1153dc3054 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 babe709ed2..dfe0efaeb4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d8dc0bf94a..3d02d0c358 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,10 +22,10 @@ class ItemImportRequest # 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 Plaid Institution ID associated with the Item. + # The Plaid Institution ID associated with the Item. Most callers omit this field; Plaid resolves your institution automatically. If your organization has multiple institutions, contact Plaid to determine whether you should send it. attr_accessor :institution_id - # Array of product strings + # Array of product strings. Sent only by a Plaid-internal caller, the Data Partner Dashboard validation tool; external callers never need it. Not required for Permissions Manager callers, who authenticate with `user_auth.user_id`. attr_accessor :products attr_accessor :user_auth @@ -113,12 +113,8 @@ def initialize(attributes = {}) # @return Array for valid properties with the reasons def list_invalid_properties invalid_properties = Array.new - if @products.nil? - invalid_properties.push('invalid value for "products", products cannot be nil.') - end - - if @products.length < 1 + if !@products.nil? && @products.length < 1 invalid_properties.push('invalid value for "products", number of items must be greater than or equal to 1.') end @@ -132,8 +128,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 @products.nil? - return false if @products.length < 1 + return false if !@products.nil? && @products.length < 1 return false if @user_auth.nil? true end @@ -141,12 +136,8 @@ def valid? # Custom attribute writer method with validation # @param [Object] products Value to be assigned def products=(products) - if products.nil? - fail ArgumentError, 'products cannot be nil' - end - - if products.length < 1 + if !products.nil? && products.length < 1 fail ArgumentError, 'invalid value for "products", number of items must be greater than or equal to 1.' end diff --git a/lib/plaid/models/item_import_request_options.rb b/lib/plaid/models/item_import_request_options.rb index 33dcd73b06..a8d90d3ce2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # An optional object to configure `/item/import` request. + # An optional object to configure `/item/import` request. Retained for the legacy Plaid Exchange integration; not required for Permissions Manager callers. class ItemImportRequestOptions # Specifies a webhook URL to associate with an Item. Plaid fires a webhook if credentials fail. attr_accessor :webhook diff --git a/lib/plaid/models/item_import_request_user_auth.rb b/lib/plaid/models/item_import_request_user_auth.rb index 1284e38f1c..c169b1c4a6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -16,10 +16,10 @@ module Plaid # Object of user ID and auth token pair, permitting Plaid to aggregate a user's accounts class ItemImportRequestUserAuth - # Opaque user identifier + # Your persistent, unique identifier for the customer. attr_accessor :user_id - # Authorization token Plaid will use to aggregate this user's accounts + # Authorization token used by the legacy Plaid Exchange integration; not required for Permissions Manager callers. attr_accessor :auth_token # Attribute mapping from ruby-style variable name to JSON key. @@ -81,10 +81,6 @@ def list_invalid_properties invalid_properties.push('invalid value for "user_id", user_id cannot be nil.') end - if @auth_token.nil? - invalid_properties.push('invalid value for "auth_token", auth_token cannot be nil.') - end - invalid_properties end @@ -92,7 +88,6 @@ def list_invalid_properties # @return true if the model is valid def valid? return false if @user_id.nil? - return false if @auth_token.nil? true end diff --git a/lib/plaid/models/item_import_response.rb b/lib/plaid/models/item_import_response.rb index 3af076c2b6..b188f386dd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1b1a2fc7e6..f3fc0547a5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8db5b7fe77..34b6aa1f75 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_products_terminate_request.rb b/lib/plaid/models/item_products_terminate_request.rb index 8e856504bb..d9fbabea75 100644 --- a/lib/plaid/models/item_products_terminate_request.rb +++ b/lib/plaid/models/item_products_terminate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_products_terminate_response.rb b/lib/plaid/models/item_products_terminate_response.rb index 3eb425411c..d9f6f4c3a9 100644 --- a/lib/plaid/models/item_products_terminate_response.rb +++ b/lib/plaid/models/item_products_terminate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 673dcad0ef..2f0000fa39 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0afe636561..22d97bc6e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cb6e4820db..f24fb98bcf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2a402f3e43..4d0d657152 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_remove_reason_code.rb b/lib/plaid/models/item_remove_reason_code.rb index ceb118ef41..7fe5c6ecae 100644 --- a/lib/plaid/models/item_remove_reason_code.rb +++ b/lib/plaid/models/item_remove_reason_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 54a1061bd9..c8d30582c7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ea0470228..060f2a17f0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5cecd978ea..f35c810669 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9059909da8..71be7fecce 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 11b4e6ae5b..119b110319 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2143fe7604..6d7e88e277 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f008b3b907..445728ce17 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 df98cdcd10..8dc7fa4e1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 acb41c5615..6d497cbba6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_with_consent_fields.rb b/lib/plaid/models/item_with_consent_fields.rb index 2215590e88..a463429d35 100644 --- a/lib/plaid/models/item_with_consent_fields.rb +++ b/lib/plaid/models/item_with_consent_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/item_with_consent_fields_all_of.rb b/lib/plaid/models/item_with_consent_fields_all_of.rb index c0dc833559..46c594c2be 100644 --- a/lib/plaid/models/item_with_consent_fields_all_of.rb +++ b/lib/plaid/models/item_with_consent_fields_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a497131bd4..597b5dfef3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a72cfcd6e9..a11bc576c2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 650e995456..a366ac14dc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 183909e334..0c7e83f16c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_details.rb b/lib/plaid/models/kyc_check_details.rb index a1502049a3..1ebb4b0d3e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index bf67d0f080..721cabf78e 100644 --- a/lib/plaid/models/kyc_check_details_international_address.rb +++ b/lib/plaid/models/kyc_check_details_international_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_id_number_summary.rb b/lib/plaid/models/kyc_check_id_number_summary.rb index 53193e2358..098491ad59 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ccd47e8144..385d96760f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/kyc_check_phone_summary.rb b/lib/plaid/models/kyc_check_phone_summary.rb index 61fa9918ab..911f656ccf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/latest_scored_event.rb b/lib/plaid/models/latest_scored_event.rb index 11545bef1d..2966e744e6 100644 --- a/lib/plaid/models/latest_scored_event.rb +++ b/lib/plaid/models/latest_scored_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/layer_authentication_passed_webhook.rb b/lib/plaid/models/layer_authentication_passed_webhook.rb index 5972e2aae7..c06e5a3041 100644 --- a/lib/plaid/models/layer_authentication_passed_webhook.rb +++ b/lib/plaid/models/layer_authentication_passed_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/ledger_event_source_type.rb b/lib/plaid/models/ledger_event_source_type.rb index 7598d1ba37..03c80feca1 100644 --- a/lib/plaid/models/ledger_event_source_type.rb +++ b/lib/plaid/models/ledger_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/lend_score.rb b/lib/plaid/models/lend_score.rb index 48b152082e..9f293f0208 100644 --- a/lib/plaid/models/lend_score.rb +++ b/lib/plaid/models/lend_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a82a1683c1..7f60590fc5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ad1571ea8c..b368e63933 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5cd74a4e7c..5ba7c1813a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3157ddc015..64569a846c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 201a36818e..56f47596b9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,12 +25,20 @@ class LiabilitiesObject # The student loan accounts returned. attr_accessor :student + # The closed-end loan accounts returned. + attr_accessor :loan + + # The line of credit accounts returned. + attr_accessor :line_of_credit + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'credit' => :'credit', :'mortgage' => :'mortgage', - :'student' => :'student' + :'student' => :'student', + :'loan' => :'loan', + :'line_of_credit' => :'line_of_credit' } end @@ -44,7 +52,9 @@ def self.openapi_types { :'credit' => :'Array', :'mortgage' => :'Array', - :'student' => :'Array' + :'student' => :'Array', + :'loan' => :'Array', + :'line_of_credit' => :'Array' } end @@ -53,7 +63,9 @@ def self.openapi_nullable Set.new([ :'credit', :'mortgage', - :'student' + :'student', + :'loan', + :'line_of_credit' ]) end @@ -89,6 +101,18 @@ def initialize(attributes = {}) self.student = value end end + + if attributes.key?(:'loan') + if (value = attributes[:'loan']).is_a?(Array) + self.loan = value + end + end + + if attributes.key?(:'line_of_credit') + if (value = attributes[:'line_of_credit']).is_a?(Array) + self.line_of_credit = value + end + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -111,7 +135,9 @@ def ==(o) self.class == o.class && credit == o.credit && mortgage == o.mortgage && - student == o.student + student == o.student && + loan == o.loan && + line_of_credit == o.line_of_credit end # @see the `==` method @@ -123,7 +149,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [credit, mortgage, student].hash + [credit, mortgage, student, loan, line_of_credit].hash end # Builds the object from hash diff --git a/lib/plaid/models/liability_override.rb b/lib/plaid/models/liability_override.rb index 5bc5f893bf..7560a87d4e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/limited_purpose_type.rb b/lib/plaid/models/limited_purpose_type.rb index 260a95446f..8d0a1b719b 100644 --- a/lib/plaid/models/limited_purpose_type.rb +++ b/lib/plaid/models/limited_purpose_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/line_of_credit_liability.rb b/lib/plaid/models/line_of_credit_liability.rb new file mode 100644 index 0000000000..38bf865652 --- /dev/null +++ b/lib/plaid/models/line_of_credit_liability.rb @@ -0,0 +1,396 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains details about a line of credit account. + class LineOfCreditLiability + # The ID of the account that this liability belongs to. + attr_accessor :account_id + + attr_accessor :interest_rate + + # The maximum amount of credit available on the account. + attr_accessor :credit_limit + + # The amount of credit currently available on the account. + attr_accessor :available_credit + + # The outstanding principal balance on the account. + attr_accessor :principal_balance + + # The minimum payment due for the next billing cycle. + attr_accessor :minimum_payment_amount + + # The amount of the next scheduled payment. + attr_accessor :next_payment_amount + + # The due date of the next payment, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :next_payment_due_date + + # The amount of the most recent payment. + attr_accessor :last_payment_amount + + # The date of the most recent payment, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :last_payment_date + + # The total amount owed as of the last statement issued. + attr_accessor :last_statement_balance + + # The date of the last statement, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :last_statement_issue_date + + # The amount of the payment that is currently past due. + attr_accessor :past_due_amount + + # The finance charges assessed on the account. + attr_accessor :finance_charges + + # The date on which the draw period ends, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :draw_period_end_date + + # The various interest rates that apply to the account. + attr_accessor :aprs + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'account_id' => :'account_id', + :'interest_rate' => :'interest_rate', + :'credit_limit' => :'credit_limit', + :'available_credit' => :'available_credit', + :'principal_balance' => :'principal_balance', + :'minimum_payment_amount' => :'minimum_payment_amount', + :'next_payment_amount' => :'next_payment_amount', + :'next_payment_due_date' => :'next_payment_due_date', + :'last_payment_amount' => :'last_payment_amount', + :'last_payment_date' => :'last_payment_date', + :'last_statement_balance' => :'last_statement_balance', + :'last_statement_issue_date' => :'last_statement_issue_date', + :'past_due_amount' => :'past_due_amount', + :'finance_charges' => :'finance_charges', + :'draw_period_end_date' => :'draw_period_end_date', + :'aprs' => :'aprs' + } + 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_id' => :'String', + :'interest_rate' => :'LoanInterestRate', + :'credit_limit' => :'Float', + :'available_credit' => :'Float', + :'principal_balance' => :'Float', + :'minimum_payment_amount' => :'Float', + :'next_payment_amount' => :'Float', + :'next_payment_due_date' => :'Date', + :'last_payment_amount' => :'Float', + :'last_payment_date' => :'Date', + :'last_statement_balance' => :'Float', + :'last_statement_issue_date' => :'Date', + :'past_due_amount' => :'Float', + :'finance_charges' => :'Float', + :'draw_period_end_date' => :'Date', + :'aprs' => :'Array' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'interest_rate', + :'credit_limit', + :'available_credit', + :'principal_balance', + :'minimum_payment_amount', + :'next_payment_amount', + :'next_payment_due_date', + :'last_payment_amount', + :'last_payment_date', + :'last_statement_balance', + :'last_statement_issue_date', + :'past_due_amount', + :'finance_charges', + :'draw_period_end_date', + ]) + 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::LineOfCreditLiability` 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::LineOfCreditLiability`. 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_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'interest_rate') + self.interest_rate = attributes[:'interest_rate'] + end + + if attributes.key?(:'credit_limit') + self.credit_limit = attributes[:'credit_limit'] + end + + if attributes.key?(:'available_credit') + self.available_credit = attributes[:'available_credit'] + end + + if attributes.key?(:'principal_balance') + self.principal_balance = attributes[:'principal_balance'] + end + + if attributes.key?(:'minimum_payment_amount') + self.minimum_payment_amount = attributes[:'minimum_payment_amount'] + end + + if attributes.key?(:'next_payment_amount') + self.next_payment_amount = attributes[:'next_payment_amount'] + end + + if attributes.key?(:'next_payment_due_date') + self.next_payment_due_date = attributes[:'next_payment_due_date'] + end + + if attributes.key?(:'last_payment_amount') + self.last_payment_amount = attributes[:'last_payment_amount'] + end + + if attributes.key?(:'last_payment_date') + self.last_payment_date = attributes[:'last_payment_date'] + end + + if attributes.key?(:'last_statement_balance') + self.last_statement_balance = attributes[:'last_statement_balance'] + end + + if attributes.key?(:'last_statement_issue_date') + self.last_statement_issue_date = attributes[:'last_statement_issue_date'] + end + + if attributes.key?(:'past_due_amount') + self.past_due_amount = attributes[:'past_due_amount'] + end + + if attributes.key?(:'finance_charges') + self.finance_charges = attributes[:'finance_charges'] + end + + if attributes.key?(:'draw_period_end_date') + self.draw_period_end_date = attributes[:'draw_period_end_date'] + end + + if attributes.key?(:'aprs') + if (value = attributes[:'aprs']).is_a?(Array) + self.aprs = 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 @account_id.nil? + invalid_properties.push('invalid value for "account_id", account_id cannot be nil.') + end + + if @aprs.nil? + invalid_properties.push('invalid value for "aprs", aprs 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_id.nil? + return false if @aprs.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_id == o.account_id && + interest_rate == o.interest_rate && + credit_limit == o.credit_limit && + available_credit == o.available_credit && + principal_balance == o.principal_balance && + minimum_payment_amount == o.minimum_payment_amount && + next_payment_amount == o.next_payment_amount && + next_payment_due_date == o.next_payment_due_date && + last_payment_amount == o.last_payment_amount && + last_payment_date == o.last_payment_date && + last_statement_balance == o.last_statement_balance && + last_statement_issue_date == o.last_statement_issue_date && + past_due_amount == o.past_due_amount && + finance_charges == o.finance_charges && + draw_period_end_date == o.draw_period_end_date && + aprs == o.aprs + 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_id, interest_rate, credit_limit, available_credit, principal_balance, minimum_payment_amount, next_payment_amount, next_payment_due_date, last_payment_amount, last_payment_date, last_statement_balance, last_statement_issue_date, past_due_amount, finance_charges, draw_period_end_date, aprs].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_callback_metadata.rb b/lib/plaid/models/link_callback_metadata.rb index 5f45e600ff..9dfed38617 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf08e9470b..5f1493d1b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 448196088c..502bb894b4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1477c0f4a0..c7b9590da7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f90a7a2eb1..07e1cbca9a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 91ceebb203..c9b3625340 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9133b8b72f..3374995d33 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 42e7c4bc4c..558bec1006 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e4d097d94..7e275fec3c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 611889db8d..fbd0c9c512 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cbc2ab642a..82d5467544 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e90977740d..b00fd2db32 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 14eb9479b0..9f7059c1ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da34d79744..c27095d219 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8831982087..0ea0cff4e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8cf3c0a04e..10830143d0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 30e1b31f79..de9d4ef6de 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ec64a7b3a3..c229b2b406 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 697792dca2..a36f5723e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d1c6f80b1b..eb7a6e3c4b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 801e362809..83b0d2950a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_events_webhook.rb b/lib/plaid/models/link_events_webhook.rb index 8eebe6a119..cff8278a8a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6c0a0a7018..0f392f498f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 537c8e8b99..f649bb4ee0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aa98be8016..574a905740 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cc3e7eeda0..6161b427c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_cra_document_upload_result.rb b/lib/plaid/models/link_session_cra_document_upload_result.rb index 1a385f26d8..6edcffd42a 100644 --- a/lib/plaid/models/link_session_cra_document_upload_result.rb +++ b/lib/plaid/models/link_session_cra_document_upload_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index baaa91a605..08b406d8ad 100644 --- a/lib/plaid/models/link_session_cra_item_add_result.rb +++ b/lib/plaid/models/link_session_cra_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_cra_update_result.rb b/lib/plaid/models/link_session_cra_update_result.rb index 04400243b6..948330df8f 100644 --- a/lib/plaid/models/link_session_cra_update_result.rb +++ b/lib/plaid/models/link_session_cra_update_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit.rb b/lib/plaid/models/link_session_exit.rb index f01a0e623b..7012edfaef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ce196e700c..0df3eb0c75 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_exit_metadata.rb b/lib/plaid/models/link_session_exit_metadata.rb index d71936dd85..1e23b46e9e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da14b0bba2..c3905b7efa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e40f50806d..c0c8a9bc49 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_item_add_result.rb b/lib/plaid/models/link_session_item_add_result.rb index c15763777d..d1e7428bf8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 85dc94ac36..46e3a892a5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4e59ec857f..eb262c223b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success.rb b/lib/plaid/models/link_session_success.rb index 957ee5b953..88a7286b1a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_session_success_metadata.rb b/lib/plaid/models/link_session_success_metadata.rb index 02971071f3..909ded2501 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -24,6 +24,9 @@ class LinkSessionSuccessMetadata # A unique identifier associated with a user's actions and events through the Link flow. Include this identifier when opening a support ticket for faster turnaround. attr_accessor :link_session_id + # An identifier used to group related Layer sessions. + attr_accessor :session_group_id + attr_accessor :transfer_status class EnumAttributeValidator @@ -54,6 +57,7 @@ def self.attribute_map :'institution' => :'institution', :'accounts' => :'accounts', :'link_session_id' => :'link_session_id', + :'session_group_id' => :'session_group_id', :'transfer_status' => :'transfer_status' } end @@ -69,6 +73,7 @@ def self.openapi_types :'institution' => :'LinkSessionSuccessMetadataInstitution', :'accounts' => :'Array', :'link_session_id' => :'String', + :'session_group_id' => :'String', :'transfer_status' => :'LinkSessionSuccessMetadataTransferStatus' } end @@ -110,6 +115,10 @@ def initialize(attributes = {}) self.link_session_id = attributes[:'link_session_id'] end + if attributes.key?(:'session_group_id') + self.session_group_id = attributes[:'session_group_id'] + end + if attributes.key?(:'transfer_status') self.transfer_status = attributes[:'transfer_status'] end @@ -136,6 +145,7 @@ def ==(o) institution == o.institution && accounts == o.accounts && link_session_id == o.link_session_id && + session_group_id == o.session_group_id && transfer_status == o.transfer_status end @@ -148,7 +158,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [institution, accounts, link_session_id, transfer_status].hash + [institution, accounts, link_session_id, session_group_id, transfer_status].hash end # Builds the object from hash diff --git a/lib/plaid/models/link_session_success_metadata_account.rb b/lib/plaid/models/link_session_success_metadata_account.rb index ef225d923b..3e87100511 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a751508c4..06c4df5de0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a4eb94c5c4..9913dd29c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_account_filters.rb b/lib/plaid/models/link_token_account_filters.rb index 87d58d5ee2..54bbff81e5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_cashflow_report.rb b/lib/plaid/models/link_token_cashflow_report.rb index f95d93d03e..3909e9721a 100644 --- a/lib/plaid/models/link_token_cashflow_report.rb +++ b/lib/plaid/models/link_token_cashflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2f12b4f6e8..b4017aa33b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 42025c7cb8..71082f5aad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8a8271d056..1d2a45fb90 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3ad41e7e6a..3e703ddad0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_identity.rb b/lib/plaid/models/link_token_create_identity.rb index b45cd3852a..38ec3b9099 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f0c84574c5..d1b6f54376 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3b67c038dd..00bc113e7a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7877098cee..4f6ff8179f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 298da0da30..c2ca4acbf0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -33,7 +33,7 @@ class LinkTokenCreateRequest attr_accessor :user - # A `user_id` generated using `/user/create`. Required for integrations that began using Plaid Protect, Multi-Item Link, or Plaid Check Consumer Report after December 10, 2025. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). One of either the `user_id` or the `user` field is required. + # A `user_id` generated using `/user/create`. Required for integrations that began using Plaid Protect, Multi-Item Link, or Plaid Check Consumer Report after December 10, 2025. Required for new integrations that use Payment Initiation, Variable Recurring Payments, or Virtual Accounts. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). One of either the `user_id` or the `user` field is required. attr_accessor :user_id # List of Plaid product(s) that the linked Item must support. If launching Link in update mode, should be omitted (unless you are using update mode to add a credit product, such as Assets, Statements, Income, or Plaid Check Consumer Report, to an existing Item); at least one `product` is required otherwise. To maximize the number of institutions and accounts available, initialize Link with the minimal product set required for your use case, as the products specified will limit which institutions and account types will be available to your users in Link. Only institutions that support *all* requested products can be selected; 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. For each specified product, the Item connected by the user must contain at least one compatible account. For details on compatible product / account type combinations, see [the account type/product support matrix](https://plaid.com/docs/api/accounts/#account-type--product-support-matrix). To add products without limiting the institution list or account types, use the [`optional_products`](https://plaid.com/docs/api/link/#link-token-create-request-optional-products) or [`required_if_supported_products`](https://plaid.com/docs/api/link/#link-token-create-request-required-if-supported-products) fields. Products can also be added to an Item by calling the product endpoint after obtaining an access token; this may require the product to be listed in the [`additional_consented_products`](https://plaid.com/docs/api/link/#link-token-create-request-additional-consented-products) array. For details, see [Choosing when to initialize products](https://plaid.com/docs/link/initializing-products/). `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. If launching Link with CRA products, `cra_base_report` is required and must be included in the `products` array. 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`. 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 123aa35c1f..f77972383e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_appearance_mode.rb b/lib/plaid/models/link_token_create_request_appearance_mode.rb index ce16c1233c..1e40b9d7ca 100644 --- a/lib/plaid/models/link_token_create_request_appearance_mode.rb +++ b/lib/plaid/models/link_token_create_request_appearance_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4395831605..249880ab5c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -37,7 +37,7 @@ class LinkTokenCreateRequestAuth # Database Match has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth. attr_accessor :database_match_enabled - # Database Insights has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth. In Canada, Database Auth is in early availability and cannot yet be managed via the Dashboard; it must be enabled by passing `database_insights_enabled: true` in `/link/token/create`. + # Database Insights has been deprecated and replaced with Database Auth. Use the [Account Verification Dashboard](https://dashboard.plaid.com/account-verification) to enable Database Auth. attr_accessor :database_insights_enabled # This field has been deprecated in favor of `auth_type_select_enabled`. 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 b61b42ee84..cd655c9bd8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1c9f2763f4..1ec151a0b6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 bf91575714..da851d0083 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_base_report_gse_options.rb b/lib/plaid/models/link_token_create_request_cra_options_base_report_gse_options.rb index 98af185bef..9557d125ee 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_base_report_gse_options.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_base_report_gse_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index c725b1135f..f05526347e 100644 --- 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 @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_income_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_income_insights.rb index a720b91c79..4108c943d1 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_income_insights.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_lend_score.rb b/lib/plaid/models/link_token_create_request_cra_options_lend_score.rb index e6a3800cde..864c630051 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_lend_score.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_lend_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_cra_options_network_insights.rb b/lib/plaid/models/link_token_create_request_cra_options_network_insights.rb index 78bdf34765..d376651f0f 100644 --- a/lib/plaid/models/link_token_create_request_cra_options_network_insights.rb +++ b/lib/plaid/models/link_token_create_request_cra_options_network_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 b547c556c2..fe8fb9a6a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 56f51a9299..2b11242e9d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 1ccf219a26..6c294ba25c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cfb92c03bb..e600c94066 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3367dc4aa7..86088e9e7b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 daff5b7c45..0544af7d6d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b107516be6..fd0931a6c6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 fce3ad8e3e..341ec0d432 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 c8ffa2fc03..b4917d53d8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_payment_configuration.rb b/lib/plaid/models/link_token_create_request_payment_configuration.rb index 62230412d0..fd9b388e7d 100644 --- a/lib/plaid/models/link_token_create_request_payment_configuration.rb +++ b/lib/plaid/models/link_token_create_request_payment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4e49018a66..6f960b19bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e5495de50..e8af1a9ebb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_transfer.rb b/lib/plaid/models/link_token_create_request_transfer.rb index fea60757ee..7de3784c1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d710de39e2..09e121555a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_create_request_user.rb b/lib/plaid/models/link_token_create_request_user.rb index e2b6c0df88..d325dde03c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6d02e35b7b..8c57c61209 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 79fa0dae65..526a624e74 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7b5d56b91a..0bc60aba01 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ce06317ac..a3c3515b3f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 702b32a833..cd46c5d9eb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a5c98b76d1..f37554bd53 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 623cf3970b..e41c75a95d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aa6167fcc8..beb81b6b2c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a8e0f076be..9c91cae729 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 02b66b6909..fbacaf7543 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d785b765ed..d04437dfb4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f12bc5522b..334458ad25 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_token_transactions.rb b/lib/plaid/models/link_token_transactions.rb index 0d2072aeb5..8fa7007a6b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/link_user_delivery_status_webhook.rb b/lib/plaid/models/link_user_delivery_status_webhook.rb index 2e2617abbc..7b7af54fa9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6328cb9cd7..b1d5e45b70 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c780d326f7..c726e38b3b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -18,9 +18,12 @@ class LoanAccountSubtype AUTO = "auto".freeze BUSINESS = "business".freeze COMMERCIAL = "commercial".freeze + COMMERCIAL_LINE_OF_CREDIT = "commercial line of credit".freeze CONSTRUCTION = "construction".freeze CONSUMER = "consumer".freeze HOME_EQUITY = "home equity".freeze + HOME_EQUITY_LOAN = "home equity loan".freeze + INSTALLMENT = "installment".freeze LOAN = "loan".freeze MORTGAGE = "mortgage".freeze OVERDRAFT = "overdraft".freeze diff --git a/lib/plaid/models/loan_compounding_period.rb b/lib/plaid/models/loan_compounding_period.rb new file mode 100644 index 0000000000..92c24098ec --- /dev/null +++ b/lib/plaid/models/loan_compounding_period.rb @@ -0,0 +1,44 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LoanCompoundingPeriod + DAILY = "daily".freeze + WEEKLY = "weekly".freeze + BIWEEKLY = "biweekly".freeze + SEMIMONTHLY = "semimonthly".freeze + MONTHLY = "monthly".freeze + SEMIANNUALLY = "semiannually".freeze + ANNUALLY = "annually".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/loan_disbursements_indicators.rb b/lib/plaid/models/loan_disbursements_indicators.rb index 8077b00931..e83511626a 100644 --- a/lib/plaid/models/loan_disbursements_indicators.rb +++ b/lib/plaid/models/loan_disbursements_indicators.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b73fed706..2b35668f8a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c19c07908..a1915843e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9ecf43f8c8..f69a34bd14 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7be6a8a5bf..c9f0572338 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_interest_rate.rb b/lib/plaid/models/loan_interest_rate.rb new file mode 100644 index 0000000000..72efc52cb0 --- /dev/null +++ b/lib/plaid/models/loan_interest_rate.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Information about the interest rate on a loan or line of credit. + class LoanInterestRate + # The interest rate percentage. + attr_accessor :percentage + + 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 + { + :'percentage' => :'percentage', + :'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 + { + :'percentage' => :'Float', + :'type' => :'LoanInterestRateType' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'percentage', + :'type' + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::LoanInterestRate` 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::LoanInterestRate`. 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?(:'percentage') + self.percentage = attributes[:'percentage'] + end + + if attributes.key?(:'type') + self.type = attributes[:'type'] + end + end + + # Show invalid properties with the reasons. Usually used together with valid? + # @return Array for valid properties with the reasons + def list_invalid_properties + invalid_properties = Array.new + invalid_properties + end + + # Check to see if the all the properties in the model are valid + # @return true if the model is valid + def valid? + true + end + + # Checks equality by comparing each attribute. + # @param [Object] Object to be compared + def ==(o) + return true if self.equal?(o) + self.class == o.class && + percentage == o.percentage && + 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 + [percentage, 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/loan_interest_rate_type.rb b/lib/plaid/models/loan_interest_rate_type.rb new file mode 100644 index 0000000000..a142d60a5c --- /dev/null +++ b/lib/plaid/models/loan_interest_rate_type.rb @@ -0,0 +1,39 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LoanInterestRateType + FIXED = "fixed".freeze + VARIABLE = "variable".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/loan_liability.rb b/lib/plaid/models/loan_liability.rb new file mode 100644 index 0000000000..60c4a4244e --- /dev/null +++ b/lib/plaid/models/loan_liability.rb @@ -0,0 +1,421 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Contains details about a closed-end loan account. + class LoanLiability + # The ID of the account that this liability belongs to. + attr_accessor :account_id + + # The account number of the loan. For some institutions, this may be a masked version of the number (e.g., the last 4 digits instead of the entire number). + attr_accessor :account_number + + attr_accessor :interest_rate + + # The outstanding principal balance of the loan. + attr_accessor :principal_balance + + # The original principal amount of the loan. + attr_accessor :origination_principal_amount + + # The date on which the loan was originated, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :origination_date + + # The length of the loan term in months. + attr_accessor :loan_term_months + + # The date on which the loan is scheduled to be fully paid, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :maturity_date + + # The total number of payments scheduled for the loan. + attr_accessor :payment_count + + attr_accessor :payment_frequency + + # The amount of the next scheduled payment. + attr_accessor :next_payment_amount + + # The due date of the next payment, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :next_payment_due_date + + # The amount of the most recent payment. + attr_accessor :last_payment_amount + + # The date of the most recent payment, in ISO 8601 format (YYYY-MM-DD). + attr_accessor :last_payment_date + + # The amount required to fully pay off the loan. + attr_accessor :payoff_amount + + # The year-to-date interest paid on the loan. + attr_accessor :ytd_interest_paid + + attr_accessor :compounding_period + + 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_id' => :'account_id', + :'account_number' => :'account_number', + :'interest_rate' => :'interest_rate', + :'principal_balance' => :'principal_balance', + :'origination_principal_amount' => :'origination_principal_amount', + :'origination_date' => :'origination_date', + :'loan_term_months' => :'loan_term_months', + :'maturity_date' => :'maturity_date', + :'payment_count' => :'payment_count', + :'payment_frequency' => :'payment_frequency', + :'next_payment_amount' => :'next_payment_amount', + :'next_payment_due_date' => :'next_payment_due_date', + :'last_payment_amount' => :'last_payment_amount', + :'last_payment_date' => :'last_payment_date', + :'payoff_amount' => :'payoff_amount', + :'ytd_interest_paid' => :'ytd_interest_paid', + :'compounding_period' => :'compounding_period' + } + 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_id' => :'String', + :'account_number' => :'String', + :'interest_rate' => :'LoanInterestRate', + :'principal_balance' => :'Float', + :'origination_principal_amount' => :'Float', + :'origination_date' => :'Date', + :'loan_term_months' => :'Integer', + :'maturity_date' => :'Date', + :'payment_count' => :'Integer', + :'payment_frequency' => :'LoanPaymentFrequency', + :'next_payment_amount' => :'Float', + :'next_payment_due_date' => :'Date', + :'last_payment_amount' => :'Float', + :'last_payment_date' => :'Date', + :'payoff_amount' => :'Float', + :'ytd_interest_paid' => :'Float', + :'compounding_period' => :'LoanCompoundingPeriod' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'account_number', + :'interest_rate', + :'principal_balance', + :'origination_principal_amount', + :'origination_date', + :'loan_term_months', + :'maturity_date', + :'payment_count', + :'payment_frequency', + :'next_payment_amount', + :'next_payment_due_date', + :'last_payment_amount', + :'last_payment_date', + :'payoff_amount', + :'ytd_interest_paid', + :'compounding_period' + ]) + 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::LoanLiability` 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::LoanLiability`. 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_id') + self.account_id = attributes[:'account_id'] + end + + if attributes.key?(:'account_number') + self.account_number = attributes[:'account_number'] + end + + if attributes.key?(:'interest_rate') + self.interest_rate = attributes[:'interest_rate'] + end + + if attributes.key?(:'principal_balance') + self.principal_balance = attributes[:'principal_balance'] + end + + if attributes.key?(:'origination_principal_amount') + self.origination_principal_amount = attributes[:'origination_principal_amount'] + end + + if attributes.key?(:'origination_date') + self.origination_date = attributes[:'origination_date'] + end + + if attributes.key?(:'loan_term_months') + self.loan_term_months = attributes[:'loan_term_months'] + end + + if attributes.key?(:'maturity_date') + self.maturity_date = attributes[:'maturity_date'] + end + + if attributes.key?(:'payment_count') + self.payment_count = attributes[:'payment_count'] + end + + if attributes.key?(:'payment_frequency') + self.payment_frequency = attributes[:'payment_frequency'] + end + + if attributes.key?(:'next_payment_amount') + self.next_payment_amount = attributes[:'next_payment_amount'] + end + + if attributes.key?(:'next_payment_due_date') + self.next_payment_due_date = attributes[:'next_payment_due_date'] + end + + if attributes.key?(:'last_payment_amount') + self.last_payment_amount = attributes[:'last_payment_amount'] + end + + if attributes.key?(:'last_payment_date') + self.last_payment_date = attributes[:'last_payment_date'] + end + + if attributes.key?(:'payoff_amount') + self.payoff_amount = attributes[:'payoff_amount'] + end + + if attributes.key?(:'ytd_interest_paid') + self.ytd_interest_paid = attributes[:'ytd_interest_paid'] + end + + if attributes.key?(:'compounding_period') + self.compounding_period = attributes[:'compounding_period'] + 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_id.nil? + invalid_properties.push('invalid value for "account_id", account_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 @account_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 && + account_id == o.account_id && + account_number == o.account_number && + interest_rate == o.interest_rate && + principal_balance == o.principal_balance && + origination_principal_amount == o.origination_principal_amount && + origination_date == o.origination_date && + loan_term_months == o.loan_term_months && + maturity_date == o.maturity_date && + payment_count == o.payment_count && + payment_frequency == o.payment_frequency && + next_payment_amount == o.next_payment_amount && + next_payment_due_date == o.next_payment_due_date && + last_payment_amount == o.last_payment_amount && + last_payment_date == o.last_payment_date && + payoff_amount == o.payoff_amount && + ytd_interest_paid == o.ytd_interest_paid && + compounding_period == o.compounding_period + 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_id, account_number, interest_rate, principal_balance, origination_principal_amount, origination_date, loan_term_months, maturity_date, payment_count, payment_frequency, next_payment_amount, next_payment_due_date, last_payment_amount, last_payment_date, payoff_amount, ytd_interest_paid, compounding_period].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_payment_frequency.rb b/lib/plaid/models/loan_payment_frequency.rb new file mode 100644 index 0000000000..23499a922f --- /dev/null +++ b/lib/plaid/models/loan_payment_frequency.rb @@ -0,0 +1,44 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class LoanPaymentFrequency + DAILY = "daily".freeze + WEEKLY = "weekly".freeze + BIWEEKLY = "biweekly".freeze + SEMIMONTHLY = "semimonthly".freeze + MONTHLY = "monthly".freeze + SEMIANNUALLY = "semiannually".freeze + ANNUALLY = "annually".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/loan_payments_counts.rb b/lib/plaid/models/loan_payments_counts.rb index f654d2ff38..5e27aa11f2 100644 --- a/lib/plaid/models/loan_payments_counts.rb +++ b/lib/plaid/models/loan_payments_counts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_payments_indicators.rb b/lib/plaid/models/loan_payments_indicators.rb index c04073d37c..ee5bb5fe81 100644 --- a/lib/plaid/models/loan_payments_indicators.rb +++ b/lib/plaid/models/loan_payments_indicators.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loan_payments_merchant_counts.rb b/lib/plaid/models/loan_payments_merchant_counts.rb index 90bc07c9a6..e24febe2ca 100644 --- a/lib/plaid/models/loan_payments_merchant_counts.rb +++ b/lib/plaid/models/loan_payments_merchant_counts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/loans.rb b/lib/plaid/models/loans.rb index cd475cf0ad..3bebedff3a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 76e33253e7..515f38c55c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a03f71b08..463cfb0861 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d6fa961cee..e66b9f05e5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aad3e413cd..089e7b4870 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e8fd353839..b360e460af 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -28,13 +28,17 @@ class Meta # The account's mask. Should be an empty string or a string of 2-4 alphanumeric characters. This allows you to model a mask which does not match the account number (such as with a virtual account number). attr_accessor :mask + # The annual percentage yield (APY) to report on the account, expressed as a percentage (e.g. `4.25` means 4.25%). Applies to interest-bearing depository accounts; if omitted, the account reports no APY. + attr_accessor :apy + # Attribute mapping from ruby-style variable name to JSON key. def self.attribute_map { :'name' => :'name', :'official_name' => :'official_name', :'limit' => :'limit', - :'mask' => :'mask' + :'mask' => :'mask', + :'apy' => :'apy' } end @@ -49,7 +53,8 @@ def self.openapi_types :'name' => :'String', :'official_name' => :'String', :'limit' => :'Float', - :'mask' => :'String' + :'mask' => :'String', + :'apy' => :'Float' } end @@ -89,6 +94,10 @@ def initialize(attributes = {}) if attributes.key?(:'mask') self.mask = attributes[:'mask'] end + + if attributes.key?(:'apy') + self.apy = attributes[:'apy'] + end end # Show invalid properties with the reasons. Usually used together with valid? @@ -155,7 +164,8 @@ def ==(o) name == o.name && official_name == o.official_name && limit == o.limit && - mask == o.mask + mask == o.mask && + apy == o.apy end # @see the `==` method @@ -167,7 +177,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [name, official_name, limit, mask].hash + [name, official_name, limit, mask, apy].hash end # Builds the object from hash diff --git a/lib/plaid/models/mfa.rb b/lib/plaid/models/mfa.rb index 3a4e179de0..b42b716ba2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_consumer_report_permissible_purpose.rb b/lib/plaid/models/monitoring_consumer_report_permissible_purpose.rb index ceb2151a56..6257ad59f1 100644 --- a/lib/plaid/models/monitoring_consumer_report_permissible_purpose.rb +++ b/lib/plaid/models/monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 255bab17d0..0c6ddf8ad9 100644 --- a/lib/plaid/models/monitoring_income_insights.rb +++ b/lib/plaid/models/monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_income_source.rb b/lib/plaid/models/monitoring_income_source.rb index 88a0d83259..720334546e 100644 --- a/lib/plaid/models/monitoring_income_source.rb +++ b/lib/plaid/models/monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_insights.rb b/lib/plaid/models/monitoring_insights.rb index 1368f55774..c779d74cba 100644 --- a/lib/plaid/models/monitoring_insights.rb +++ b/lib/plaid/models/monitoring_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_insights_item_status.rb b/lib/plaid/models/monitoring_insights_item_status.rb index 902cacf3cc..22de5a824d 100644 --- a/lib/plaid/models/monitoring_insights_item_status.rb +++ b/lib/plaid/models/monitoring_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_insights_status.rb b/lib/plaid/models/monitoring_insights_status.rb index eb726b857d..afb8d49c0f 100644 --- a/lib/plaid/models/monitoring_insights_status.rb +++ b/lib/plaid/models/monitoring_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_item_status_code.rb b/lib/plaid/models/monitoring_item_status_code.rb index 7115a72512..68270de9f3 100644 --- a/lib/plaid/models/monitoring_item_status_code.rb +++ b/lib/plaid/models/monitoring_item_status_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monitoring_loan_insights.rb b/lib/plaid/models/monitoring_loan_insights.rb index cc628e571a..1608106c60 100644 --- a/lib/plaid/models/monitoring_loan_insights.rb +++ b/lib/plaid/models/monitoring_loan_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monthly_average.rb b/lib/plaid/models/monthly_average.rb index cf58d4ad6d..45143e21ca 100644 --- a/lib/plaid/models/monthly_average.rb +++ b/lib/plaid/models/monthly_average.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/monthly_summary.rb b/lib/plaid/models/monthly_summary.rb index ac4d7c95e5..5dc4348700 100644 --- a/lib/plaid/models/monthly_summary.rb +++ b/lib/plaid/models/monthly_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/mortgage_interest_rate.rb b/lib/plaid/models/mortgage_interest_rate.rb index 74d71738cd..b06ae2f1ef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b021525015..e1a4168839 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b19d783c6d..cd5fab435d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e1912a517c..cbc4684076 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b11bdbdfab..8008b3161b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/negative_balance_insights.rb b/lib/plaid/models/negative_balance_insights.rb index 7005d4fbdf..81c9226654 100644 --- a/lib/plaid/models/negative_balance_insights.rb +++ b/lib/plaid/models/negative_balance_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/negative_balance_occurrence.rb b/lib/plaid/models/negative_balance_occurrence.rb index e20fea4f88..f09c2b8848 100644 --- a/lib/plaid/models/negative_balance_occurrence.rb +++ b/lib/plaid/models/negative_balance_occurrence.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/net_pay.rb b/lib/plaid/models/net_pay.rb index 9bb3a62a19..5c2b6cf2e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_insights_version.rb b/lib/plaid/models/network_insights_version.rb index e66102f5f7..25bed4fb67 100644 --- a/lib/plaid/models/network_insights_version.rb +++ b/lib/plaid/models/network_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_status_get_request.rb b/lib/plaid/models/network_status_get_request.rb index 283abde6a1..f11fbc32e0 100644 --- a/lib/plaid/models/network_status_get_request.rb +++ b/lib/plaid/models/network_status_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_status_get_response.rb b/lib/plaid/models/network_status_get_response.rb index 98ee5c9d47..68b6cb79be 100644 --- a/lib/plaid/models/network_status_get_response.rb +++ b/lib/plaid/models/network_status_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_status_get_response_layer.rb b/lib/plaid/models/network_status_get_response_layer.rb index d1719b4dd3..66806d49a7 100644 --- a/lib/plaid/models/network_status_get_response_layer.rb +++ b/lib/plaid/models/network_status_get_response_layer.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_status_get_response_network_status.rb b/lib/plaid/models/network_status_get_response_network_status.rb index a543c5a7a6..d948e2ca30 100644 --- a/lib/plaid/models/network_status_get_response_network_status.rb +++ b/lib/plaid/models/network_status_get_response_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/network_status_get_user.rb b/lib/plaid/models/network_status_get_user.rb index f7fc9ac2d3..17314338d6 100644 --- a/lib/plaid/models/network_status_get_user.rb +++ b/lib/plaid/models/network_status_get_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/new_accounts_available_webhook.rb b/lib/plaid/models/new_accounts_available_webhook.rb index c25e028906..0656b07bbc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers.rb b/lib/plaid/models/numbers.rb index 15fa1728d1..b92f20cdbf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b02e989167..0dd82f27aa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7700e22c58..bebac3aceb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_ach_nullable.rb b/lib/plaid/models/numbers_ach_nullable.rb index d6899aed4a..374013e127 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_aton.rb b/lib/plaid/models/numbers_aton.rb index 248420ce3d..3fa06d014b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c507ed03ec..6fdb0db57a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e2f5c28b87..b7b2cad0d3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 16722a12c7..b683a018cc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f7a05263e9..151d2ab0f4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 20540ae030..88d660d216 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2b402c79da..64749102ef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2dd847582d..86cff6e5cb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4583d7446d..9652f5356f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/numbers_retirement401k.rb b/lib/plaid/models/numbers_retirement401k.rb index 05575a6922..af8fcce0f4 100644 --- a/lib/plaid/models/numbers_retirement401k.rb +++ b/lib/plaid/models/numbers_retirement401k.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_error_code.rb b/lib/plaid/models/o_auth_error_code.rb index e6defb6169..25f9574689 100644 --- a/lib/plaid/models/o_auth_error_code.rb +++ b/lib/plaid/models/o_auth_error_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_error_response.rb b/lib/plaid/models/o_auth_error_response.rb index 658c36416d..2ff90d41e5 100644 --- a/lib/plaid/models/o_auth_error_response.rb +++ b/lib/plaid/models/o_auth_error_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_grant_type.rb b/lib/plaid/models/o_auth_grant_type.rb index 17e2eaf172..758a381eeb 100644 --- a/lib/plaid/models/o_auth_grant_type.rb +++ b/lib/plaid/models/o_auth_grant_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_introspect_request.rb b/lib/plaid/models/o_auth_introspect_request.rb index f5d3d425c7..15d3ba6592 100644 --- a/lib/plaid/models/o_auth_introspect_request.rb +++ b/lib/plaid/models/o_auth_introspect_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_introspect_response.rb b/lib/plaid/models/o_auth_introspect_response.rb index 1fe5b608e0..094a695ba6 100644 --- a/lib/plaid/models/o_auth_introspect_response.rb +++ b/lib/plaid/models/o_auth_introspect_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_revoke_request.rb b/lib/plaid/models/o_auth_revoke_request.rb index 4807ae8af8..07c4a3b8a2 100644 --- a/lib/plaid/models/o_auth_revoke_request.rb +++ b/lib/plaid/models/o_auth_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_revoke_response.rb b/lib/plaid/models/o_auth_revoke_response.rb index 5fc48f450c..0f02b11048 100644 --- a/lib/plaid/models/o_auth_revoke_response.rb +++ b/lib/plaid/models/o_auth_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_subject_token_type.rb b/lib/plaid/models/o_auth_subject_token_type.rb index 4b1d113f66..0740edd8b4 100644 --- a/lib/plaid/models/o_auth_subject_token_type.rb +++ b/lib/plaid/models/o_auth_subject_token_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_token_request.rb b/lib/plaid/models/o_auth_token_request.rb index d0c4996f82..e8913a66de 100644 --- a/lib/plaid/models/o_auth_token_request.rb +++ b/lib/plaid/models/o_auth_token_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/o_auth_token_response.rb b/lib/plaid/models/o_auth_token_response.rb index 609ef567dd..3a5b280daf 100644 --- a/lib/plaid/models/o_auth_token_response.rb +++ b/lib/plaid/models/o_auth_token_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f12c3fb343..b6efa1f9a5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a99a24e8f9..5d5378fc47 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/originating_fund_source.rb b/lib/plaid/models/originating_fund_source.rb index 4331e32c96..c6ad5610fe 100644 --- a/lib/plaid/models/originating_fund_source.rb +++ b/lib/plaid/models/originating_fund_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 81c1b9f0cf..fcfa8fec4e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4c21e4d630..25c23c3bd1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 32f8da1cda..0aa28ce2c1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cb27de88ee..dd86c5e092 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/outlier_transactions_insights.rb b/lib/plaid/models/outlier_transactions_insights.rb index 7d2cc8ae2a..43f7d26c7f 100644 --- a/lib/plaid/models/outlier_transactions_insights.rb +++ b/lib/plaid/models/outlier_transactions_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ee8edd7b3a..c746360621 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e66df74ea9..b60810c80a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2ecb3d26f6..2dc7d5a88b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8096d5749d..5d1ba3ab7a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4d1ffcf42f..53508bc623 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2b4c3884a1..a9c26d35b4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fa0997bc01..c8e2a050dd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b1de066c6a..fb9cfa18bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 adef39c828..2c1e39a5e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a92a486348..c54edb93a7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3caa0e1209..63a40675aa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6de2fa92f9..834a05a83e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 770930d1d7..4427db44c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e2956fa485..d5edb3d09a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dfba25b21d..d037c84b4f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fcc432cc9d..097e93c66b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 56e64dc99c..3b88b02484 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cbf2297d21..724e426ba8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 54c31ca4ce..b8e4516bff 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_bank_addendum_acceptance.rb b/lib/plaid/models/partner_end_customer_bank_addendum_acceptance.rb index 856ec0d45e..cba8cc0f1e 100644 --- a/lib/plaid/models/partner_end_customer_bank_addendum_acceptance.rb +++ b/lib/plaid/models/partner_end_customer_bank_addendum_acceptance.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6d0f73a8bc..78044a7054 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_cra_purposes.rb b/lib/plaid/models/partner_end_customer_cra_purposes.rb index 884faea54d..205ab62cac 100644 --- a/lib/plaid/models/partner_end_customer_cra_purposes.rb +++ b/lib/plaid/models/partner_end_customer_cra_purposes.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_cra_questionnaire.rb b/lib/plaid/models/partner_end_customer_cra_questionnaire.rb index bf5bead3b8..a0eb933549 100644 --- a/lib/plaid/models/partner_end_customer_cra_questionnaire.rb +++ b/lib/plaid/models/partner_end_customer_cra_questionnaire.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_cra_use_case.rb b/lib/plaid/models/partner_end_customer_cra_use_case.rb index 2f05d27e99..1ab9f614cc 100644 --- a/lib/plaid/models/partner_end_customer_cra_use_case.rb +++ b/lib/plaid/models/partner_end_customer_cra_use_case.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_cra_use_cases.rb b/lib/plaid/models/partner_end_customer_cra_use_cases.rb index 0477bb399e..3023a98467 100644 --- a/lib/plaid/models/partner_end_customer_cra_use_cases.rb +++ b/lib/plaid/models/partner_end_customer_cra_use_cases.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fddfe7fe7c..7c610f1066 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8ff1d78988..b435576d75 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d65176c506..6b6ea8fec1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a72b64b228..35384d804a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 55f5932b33..e9351c966e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5fef579679..d927c84e65 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 034acb6242..0b3863663a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 57b3b407e0..0f496ffc51 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_questionnaires.rb b/lib/plaid/models/partner_end_customer_questionnaires.rb index 895e069ffe..b24a852c74 100644 --- a/lib/plaid/models/partner_end_customer_questionnaires.rb +++ b/lib/plaid/models/partner_end_customer_questionnaires.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/partner_end_customer_requirement_due.rb b/lib/plaid/models/partner_end_customer_requirement_due.rb index 1b8558239d..378aba29ad 100644 --- a/lib/plaid/models/partner_end_customer_requirement_due.rb +++ b/lib/plaid/models/partner_end_customer_requirement_due.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b7b877526f..80b5287fb2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4a031cdd22..955882eb8b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 910d035552..8b9480b5cc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2629e9ce55..7fd32d8529 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3a5f054e69..eacf0b2c39 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f65e4e0c67..a84773478d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e00bdf9d00..1b798c5ba5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1d1a007061..6fe52fca47 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3c9aaa4016..a82015b748 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b61782f6f0..22c58e155f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c0c56d01e5..73b307c495 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eb04c49451..0262b7421d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d8c790bfca..aa72a96d21 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6257574c5c..1e6f82767f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e87385aee1..8873ac0059 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1498609d66..d9d6575eb2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 edb4353f4d..8d2339839d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7fd0b72f5a..d50282c895 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 71383fab9f..cb2a514dd4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3786824800..045e91df84 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 93fbed389d..763831166c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a3fb38184..54882e09b8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d03730f281..8dffca3618 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 95a30462dc..6af26861a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 02af35599d..e555f77b86 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f9126c9cfa..84397c7685 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 582dee1a3c..014c209649 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0dd45e362d..42e8225abf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 09adc43d1a..c1f652e9ee 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 af51219465..66d7dd6662 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b308719c6a..6336b7747f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 96c9ae3850..94e3d48549 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dcf4096b12..d0bde627c3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1edcee31f1..8f3f69ebc8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b5ffc68aba..b6c58a56d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5e43cd97c1..86a53cb107 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,9 @@ class PaymentInitiationConsentCreateRequest # The ID of the recipient the payment consent is for. The created consent can be used to transfer funds to this recipient only. attr_accessor :recipient_id + # The `user_id` of the end user the payment consent is for, as returned by [`/user/create`](https://plaid.com/docs/api/users/#usercreate). The user must have a `name` and either an email address or a phone number. Payments created from this consent inherit this `user_id`. Required for new integrations. + attr_accessor :user_id + # A reference for the payment consent. This must be an alphanumeric string with at most 18 characters and must not contain any special characters. attr_accessor :reference @@ -67,6 +70,7 @@ def self.attribute_map :'client_id' => :'client_id', :'secret' => :'secret', :'recipient_id' => :'recipient_id', + :'user_id' => :'user_id', :'reference' => :'reference', :'scopes' => :'scopes', :'type' => :'type', @@ -87,6 +91,7 @@ def self.openapi_types :'client_id' => :'String', :'secret' => :'String', :'recipient_id' => :'String', + :'user_id' => :'String', :'reference' => :'String', :'scopes' => :'Array', :'type' => :'PaymentInitiationConsentType', @@ -131,6 +136,10 @@ def initialize(attributes = {}) self.recipient_id = attributes[:'recipient_id'] end + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + if attributes.key?(:'reference') self.reference = attributes[:'reference'] end @@ -241,6 +250,7 @@ def ==(o) client_id == o.client_id && secret == o.secret && recipient_id == o.recipient_id && + user_id == o.user_id && reference == o.reference && scopes == o.scopes && type == o.type && @@ -258,7 +268,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, recipient_id, reference, scopes, type, constraints, options, payer_details].hash + [client_id, secret, recipient_id, user_id, reference, scopes, type, constraints, options, payer_details].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_initiation_consent_create_response.rb b/lib/plaid/models/payment_initiation_consent_create_response.rb index 1cad573a69..893bc5e7bb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 85509c2e5c..ba9e41d94f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6f31878382..44b87a2b36 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payer_details.rb b/lib/plaid/models/payment_initiation_consent_payer_details.rb index bcf8c4fa50..e8ab1ef6ca 100644 --- a/lib/plaid/models/payment_initiation_consent_payer_details.rb +++ b/lib/plaid/models/payment_initiation_consent_payer_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_payer_numbers.rb b/lib/plaid/models/payment_initiation_consent_payer_numbers.rb index 747e1bde7f..f5efbf4f7c 100644 --- a/lib/plaid/models/payment_initiation_consent_payer_numbers.rb +++ b/lib/plaid/models/payment_initiation_consent_payer_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1ce1dc558d..77b90c9d58 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 79b89fc924..0440028527 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_processing_mode.rb b/lib/plaid/models/payment_initiation_consent_processing_mode.rb index 0a9aff1498..f73eefcd36 100644 --- a/lib/plaid/models/payment_initiation_consent_processing_mode.rb +++ b/lib/plaid/models/payment_initiation_consent_processing_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e83f77a4cf..a1c3591afa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b88844b05..a5a413b6eb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 199d47d0f6..e5b610d413 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6944a7ba8..98bfae96eb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_status_update_webhook.rb b/lib/plaid/models/payment_initiation_consent_status_update_webhook.rb index acdd43f5a6..33e8f24766 100644 --- a/lib/plaid/models/payment_initiation_consent_status_update_webhook.rb +++ b/lib/plaid/models/payment_initiation_consent_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/payment_initiation_consent_type.rb b/lib/plaid/models/payment_initiation_consent_type.rb index b7b583b233..ce8ab6be2b 100644 --- a/lib/plaid/models/payment_initiation_consent_type.rb +++ b/lib/plaid/models/payment_initiation_consent_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 46e4a00741..d6b0b0f04b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a3d6b0339c..b688c1c82a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1b951ffc45..31df452ea7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7d3c2265d1..68edda6814 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,6 +25,9 @@ class PaymentInitiationPaymentCreateRequest # The ID of the recipient the payment is for. attr_accessor :recipient_id + # The `user_id` of the end user the payment is initiated for, as returned by [`/user/create`](https://plaid.com/docs/api/users/#usercreate). The user must have a `name` and either an email address or a phone number. Required for new integrations. + attr_accessor :user_id + # A reference for the payment. This must be an alphanumeric string with at most 18 characters and must not contain any special characters (since not all institutions support them). In order to track settlement via Payment Confirmation, each payment must have a unique reference. If the reference provided through the API is not unique, Plaid will adjust it. Some institutions may limit the reference to less than 18 characters. If necessary, Plaid will adjust the reference by truncating it to fit the institution's requirements. Both the originally provided and automatically adjusted references (if any) can be found in the `reference` and `adjusted_reference` fields, respectively. attr_accessor :reference @@ -40,6 +43,7 @@ def self.attribute_map :'client_id' => :'client_id', :'secret' => :'secret', :'recipient_id' => :'recipient_id', + :'user_id' => :'user_id', :'reference' => :'reference', :'amount' => :'amount', :'schedule' => :'schedule', @@ -58,6 +62,7 @@ def self.openapi_types :'client_id' => :'String', :'secret' => :'String', :'recipient_id' => :'String', + :'user_id' => :'String', :'reference' => :'String', :'amount' => :'PaymentAmount', :'schedule' => :'ExternalPaymentScheduleRequest', @@ -99,6 +104,10 @@ def initialize(attributes = {}) self.recipient_id = attributes[:'recipient_id'] end + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + if attributes.key?(:'reference') self.reference = attributes[:'reference'] end @@ -182,6 +191,7 @@ def ==(o) client_id == o.client_id && secret == o.secret && recipient_id == o.recipient_id && + user_id == o.user_id && reference == o.reference && amount == o.amount && schedule == o.schedule && @@ -197,7 +207,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, recipient_id, reference, amount, schedule, options].hash + [client_id, secret, recipient_id, user_id, reference, amount, schedule, options].hash end # Builds the object from hash diff --git a/lib/plaid/models/payment_initiation_payment_create_response.rb b/lib/plaid/models/payment_initiation_payment_create_response.rb index 37fdd2d28c..ce18d2a875 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 055368794f..d718290877 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 71ba4cdac3..58c3309741 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7ccfba4c4b..30ebc7ae7b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a22cb66110..4beb47d2a4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ad1601bda..5a9a2de474 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ea2e435a2..db0c7c4526 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 af1a79a45e..f228e7face 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 31bc26e9bc..5e4d66f56a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1c00c11a00..91a2d8acb1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 32bb454326..f00036166a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7d48497b88..ae44ffc9ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0136de49a4..83c5809151 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c796a16b14..efe3efec2a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 163e41ae01..41cc2c3437 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cc268d3315..89689b6859 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c7c96bf638..2d20047520 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a4d27e80ff..a7d75b78a3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c6d7d572a0..a3c5463980 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3151200661..efa01e48d1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 906051f100..3b2e40b051 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6af44919ea..262a66dac0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 270d405dce..3adc64c9fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cfadbb3166..da98101dde 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b779398e6c..706c5d9158 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f7b0051bd2..1bbc3de014 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fbf5e47910..53905950fe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ddbfedf96b..ed98b15686 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3c4a56bd9f..369bf4101b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d0df5c0036..d354b76314 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a7af889f1..5958494e0f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 36c52c2e3e..e8acedfcde 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ed7e7c287c..10f7539b4e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 96afc0752f..ccca151f93 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 17e2599a0d..cad2353c36 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 351cdfce80..bf9198cb08 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f41b135f5b..0a41cb78c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1dbce57a81..8c24363ece 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ce3007d3c4..d39b62c072 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a7ea6aad04..90f313a8cf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf8327fe8d..7bbc27021d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ae9ecad90d..e99cbc8f92 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 00322fa91d..aa8ba9f16a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1251f45021..551e1d6352 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c71951667..b6513d16bc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 40a45b0b2e..dea92c5c5d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1e28b3f8ed..52813de9f0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 05a43d7ca0..e1904c236f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3b153b05ec..a1084e7567 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 33d008084b..54c76a3701 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/paystub_override_employee.rb b/lib/plaid/models/paystub_override_employee.rb index 772376d9e5..3b8d11ddc6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b53ed8fa62..d839581548 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4883310cb7..78b7fe2767 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf318107fb..001b0f5579 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cd7c8a56e1..f9c9ea69de 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 114c86b916..adba7dfed5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 51fd6dfb44..4e53a0b3d6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 18c3977fa7..c84e0d8fba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2086f36652..b8e3ae1278 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index affc67b540..67fcb20053 100644 --- a/lib/plaid/models/pending_disconnect_webhook.rb +++ b/lib/plaid/models/pending_disconnect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pending_disconnect_webhook_reason.rb b/lib/plaid/models/pending_disconnect_webhook_reason.rb index f94b3a36be..96579a8cb3 100644 --- a/lib/plaid/models/pending_disconnect_webhook_reason.rb +++ b/lib/plaid/models/pending_disconnect_webhook_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/pending_expiration_webhook.rb b/lib/plaid/models/pending_expiration_webhook.rb index 4ea4e109f4..030f0b2a35 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9b8c1a793e..f765f9b898 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/personal_finance_category_version.rb b/lib/plaid/models/personal_finance_category_version.rb index fa6109c41e..84ce677625 100644 --- a/lib/plaid/models/personal_finance_category_version.rb +++ b/lib/plaid/models/personal_finance_category_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 58077e8dfd..cef593ddd8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ac3824318c..b38047b0a3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f45c3a9a81..3a2826b562 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef8cb994bf..05ca6d5788 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f36024cfce..db8a487e43 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/physical_document_extracted_data_analysis.rb b/lib/plaid/models/physical_document_extracted_data_analysis.rb index 34e1ceb659..efe2b8b12e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd5382fb3f..a70b4fcd02 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/plaid_error.rb b/lib/plaid/models/plaid_error.rb index 8c73dc0e9d..455078a91f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/plaid_error_type.rb b/lib/plaid/models/plaid_error_type.rb index 44a0048b20..7bc17d462b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/plaid_lend_score_version.rb b/lib/plaid/models/plaid_lend_score_version.rb index 29d676aec7..250f4f027b 100644 --- a/lib/plaid/models/plaid_lend_score_version.rb +++ b/lib/plaid/models/plaid_lend_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/platform_ids.rb b/lib/plaid/models/platform_ids.rb index 776b062b2a..217d6a6758 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 423d0986ef..731242d8af 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 56a419c0b5..4e495a57ec 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ba24cec2e..3ea92f4920 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index b552958a29..f1afe42c56 100644 --- a/lib/plaid/models/prism_cash_score_version.rb +++ b/lib/plaid/models/prism_cash_score_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_detect.rb b/lib/plaid/models/prism_detect.rb index e26a721f52..5507cbafc4 100644 --- a/lib/plaid/models/prism_detect.rb +++ b/lib/plaid/models/prism_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_detect_version.rb b/lib/plaid/models/prism_detect_version.rb index 8c6574e9bf..e5b331ed03 100644 --- a/lib/plaid/models/prism_detect_version.rb +++ b/lib/plaid/models/prism_detect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_extend.rb b/lib/plaid/models/prism_extend.rb index f08a6708db..a8692928c0 100644 --- a/lib/plaid/models/prism_extend.rb +++ b/lib/plaid/models/prism_extend.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_extend_version.rb b/lib/plaid/models/prism_extend_version.rb index bb8784b08b..a65d524e34 100644 --- a/lib/plaid/models/prism_extend_version.rb +++ b/lib/plaid/models/prism_extend_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_first_detect.rb b/lib/plaid/models/prism_first_detect.rb index 0b4cef8fdc..bdcb2dd61d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index ba6140783c..342167ad20 100644 --- a/lib/plaid/models/prism_first_detect_version.rb +++ b/lib/plaid/models/prism_first_detect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_insights.rb b/lib/plaid/models/prism_insights.rb index 23fb76b715..12c7e35c81 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -22,7 +22,7 @@ class PrismInsights # The version of Prism Data's insights model used. attr_accessor :model_version - # The Insights Result object is a map of cash flow attributes, where the key is a string, and the value is a float or string. For a full list of attributes, contact your account manager. The attributes may vary depending on the Prism version used. + # The Insights Result object is a map of cash flow attributes, where the key is a string, and the value is a float or string. For a full list of all ~2,000 attributes, contact your account manager. The attributes may vary depending on the Prism version used. attr_accessor :result # The error returned by Prism for this product. diff --git a/lib/plaid/models/prism_insights_version.rb b/lib/plaid/models/prism_insights_version.rb index 2be2cb68bf..4d7b33ac63 100644 --- a/lib/plaid/models/prism_insights_version.rb +++ b/lib/plaid/models/prism_insights_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 88e1d0a3bc..66755ffec1 100644 --- a/lib/plaid/models/prism_versions.rb +++ b/lib/plaid/models/prism_versions.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/prism_versions_deprecated.rb b/lib/plaid/models/prism_versions_deprecated.rb index ee313340e6..4a6282514b 100644 --- a/lib/plaid/models/prism_versions_deprecated.rb +++ b/lib/plaid/models/prism_versions_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_account_get_request.rb b/lib/plaid/models/processor_account_get_request.rb index 10201db646..b84a52116d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7c850dfeb5..1d02b4c4f4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 51e14ad35f..d4375b79d8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 806a8ce26b..77263d9574 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 309f2fbe1f..e232a422f0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d3a3b33126..0e8efc7c69 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 be10a4a366..3bc7a9c909 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2764af101a..e3124f69d5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ab4dd2f47..cb8594a509 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 19bb63543c..38542b13b2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b57fb5a50a..0b7d62ca41 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7a3729b2e7..7ac578a046 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_identity_get_request.rb b/lib/plaid/models/processor_identity_get_request.rb index ee74a1ef04..1064708624 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d6b23c7845..3c6e3988c9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c6b43b4eb..dabda6bc7e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 67c5b198ae..6cf9044d49 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ca406f1a77..bb2852924c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_auth_get_request.rb b/lib/plaid/models/processor_investments_auth_get_request.rb index 7a9e021f87..21a631ae4d 100644 --- a/lib/plaid/models/processor_investments_auth_get_request.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_auth_get_response.rb b/lib/plaid/models/processor_investments_auth_get_response.rb index 988688c252..ab65dd3c74 100644 --- a/lib/plaid/models/processor_investments_auth_get_response.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_holdings_get_request.rb b/lib/plaid/models/processor_investments_holdings_get_request.rb index a77bc70c65..7bec48d286 100644 --- a/lib/plaid/models/processor_investments_holdings_get_request.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_holdings_get_response.rb b/lib/plaid/models/processor_investments_holdings_get_response.rb index b1d9d1e01c..f9cf819498 100644 --- a/lib/plaid/models/processor_investments_holdings_get_response.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_transactions_get_request.rb b/lib/plaid/models/processor_investments_transactions_get_request.rb index ed7d5f0fef..4bebdd8c77 100644 --- a/lib/plaid/models/processor_investments_transactions_get_request.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_investments_transactions_get_response.rb b/lib/plaid/models/processor_investments_transactions_get_response.rb index 836d53790f..aa92aeb29b 100644 --- a/lib/plaid/models/processor_investments_transactions_get_response.rb +++ b/lib/plaid/models/processor_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_liabilities_get_request.rb b/lib/plaid/models/processor_liabilities_get_request.rb index f3b783f2fe..609a75e129 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 55b415f1a4..99f214e912 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 193d766122..cc6f056379 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a1428be0c1..b8df777041 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 68f37af379..71b0f8c315 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88c85d51b6..213e9cd89c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d89e14238f..d6296f68f8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_evaluate_response.rb b/lib/plaid/models/processor_signal_evaluate_response.rb index 02e32986c8..90f7dac659 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/processor_signal_prepare_request.rb b/lib/plaid/models/processor_signal_prepare_request.rb index 2a3cbeb516..f97f97245c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eb1cfc24fa..857ac9b5e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c66cf3a595..b554f65383 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 37dfdeaa66..eaa3eb4726 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aa84a5b1c3..65dbb3e178 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 803695736f..176f70c9b5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b12ba34644..25a7a693e9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 83fba1296d..5dc98060db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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", "stake", "wedbush", "esusu", "ansa", "scribeup", "straddle", "loanpro", "bloom_credit", "sfox", "brale", "parafin", "cardless", "open_ledger", "valon", "gainbridge", "cardlytics", "pinwheel", "thread_bank", "array", "fiant", "oatfi", "curinos", "frame", "interchecks", "interchange", "atomicfi", "pay", "natural", "kanmon", "kick", "increase"]) + 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", "ansa", "scribeup", "straddle", "loanpro", "bloom_credit", "sfox", "brale", "parafin", "cardless", "open_ledger", "valon", "gainbridge", "cardlytics", "pinwheel", "thread_bank", "array", "fiant", "oatfi", "curinos", "frame", "interchecks", "interchange", "atomicfi", "pay", "natural", "kanmon", "kick", "increase", "airwallex", "cybrid", "bizcap", "webull"]) 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", "stake", "wedbush", "esusu", "ansa", "scribeup", "straddle", "loanpro", "bloom_credit", "sfox", "brale", "parafin", "cardless", "open_ledger", "valon", "gainbridge", "cardlytics", "pinwheel", "thread_bank", "array", "fiant", "oatfi", "curinos", "frame", "interchecks", "interchange", "atomicfi", "pay", "natural", "kanmon", "kick", "increase"]) + 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", "ansa", "scribeup", "straddle", "loanpro", "bloom_credit", "sfox", "brale", "parafin", "cardless", "open_ledger", "valon", "gainbridge", "cardlytics", "pinwheel", "thread_bank", "array", "fiant", "oatfi", "curinos", "frame", "interchecks", "interchange", "atomicfi", "pay", "natural", "kanmon", "kick", "increase", "airwallex", "cybrid", "bizcap", "webull"]) 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 4251787fe2..fdda06497c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0462b5e98..5a015dd275 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 976e18578e..e99536b9ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 07b2b98b97..d162d1bc5c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4a7012b400..5ec26c07bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f214025a3c..e2abe9bb3d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 894cad9680..4fe7807b2a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fc6a0b3ab2..f5e8f92204 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ce0687dda7..57034f9555 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b62f7b7717..1138158111 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4fd5e8d273..c424ee7d48 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8182887194..e3fae0a05c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 00440682fd..318b886894 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c8f897123..cd0440481e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0d44bca8d8..953b012be4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 142c7d9e63..7fb470ff73 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4da96370db..67a7283311 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 27a50fbbb9..46de9de66e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e011ffc9d1..cd4b228e22 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8759065a72..3521997204 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4587edd961..5f07de4eaf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 232d949a2d..2f8ec90723 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a02e623087..a1586b59e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/products.rb b/lib/plaid/models/products.rb index f65ab12a09..ae36450817 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -50,6 +50,7 @@ class Products CRA_LEND_SCORE = "cra_lend_score".freeze CRA_PLAID_CREDIT_SCORE = "cra_plaid_credit_score".freeze CRA_QUALIFY = "cra_qualify".freeze + CRA_HOME_LENDING = "cra_home_lending".freeze LAYER = "layer".freeze PAY_BY_BANK = "pay_by_bank".freeze PROTECT_LINKED_BANK = "protect_linked_bank".freeze diff --git a/lib/plaid/models/products_terminate_reason_code.rb b/lib/plaid/models/products_terminate_reason_code.rb index b22450f542..4451e381ea 100644 --- a/lib/plaid/models/products_terminate_reason_code.rb +++ b/lib/plaid/models/products_terminate_reason_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_network_status_get_request.rb b/lib/plaid/models/profile_network_status_get_request.rb index 5db60fa8d1..acabf646c9 100644 --- a/lib/plaid/models/profile_network_status_get_request.rb +++ b/lib/plaid/models/profile_network_status_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/profile_network_status_get_response.rb b/lib/plaid/models/profile_network_status_get_response.rb index 6b0ee12ecb..402b0cb951 100644 --- a/lib/plaid/models/profile_network_status_get_response.rb +++ b/lib/plaid/models/profile_network_status_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/program_name_sensitivity.rb b/lib/plaid/models/program_name_sensitivity.rb index 7e79d12f92..8da8246fc5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 47c2149008..2d779e36c1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_bank_account.rb b/lib/plaid/models/protect_bank_account.rb index c37a1c2a6f..7bd1ea0f1c 100644 --- a/lib/plaid/models/protect_bank_account.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_cash_advance_decision_create_request.rb b/lib/plaid/models/protect_cash_advance_decision_create_request.rb new file mode 100644 index 0000000000..37e0d48e7c --- /dev/null +++ b/lib/plaid/models/protect_cash_advance_decision_create_request.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Request object for `/protect/cash_advance/decision/create`. + class ProtectCashAdvanceDecisionCreateRequest + # 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 + + # Your unique identifier for a cash-advance. Provide when available. This should be the same id provided when recording a repayment. + attr_accessor :client_advance_id + + # The time the decision was made, in ISO 8601 / RFC 3339 format (`YYYY-MM-DDTHH:mm:ssZ`). + attr_accessor :decision_time + + attr_accessor :decision + + attr_accessor :cash_advance + + 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 + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user' => :'user', + :'client_advance_id' => :'client_advance_id', + :'decision_time' => :'decision_time', + :'decision' => :'decision', + :'cash_advance' => :'cash_advance' + } + 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' => :'ProtectUser', + :'client_advance_id' => :'String', + :'decision_time' => :'Time', + :'decision' => :'CashAdvanceDecisionOutcome', + :'cash_advance' => :'CashAdvanceDetails' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'client_advance_id', + :'cash_advance' + ]) + 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::ProtectCashAdvanceDecisionCreateRequest` 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::ProtectCashAdvanceDecisionCreateRequest`. 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 + + if attributes.key?(:'client_advance_id') + self.client_advance_id = attributes[:'client_advance_id'] + end + + if attributes.key?(:'decision_time') + self.decision_time = attributes[:'decision_time'] + end + + if attributes.key?(:'decision') + self.decision = attributes[:'decision'] + end + + if attributes.key?(:'cash_advance') + self.cash_advance = attributes[:'cash_advance'] + 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 + + if @decision_time.nil? + invalid_properties.push('invalid value for "decision_time", decision_time cannot be nil.') + end + + if @decision.nil? + invalid_properties.push('invalid value for "decision", decision 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? + return false if @decision_time.nil? + return false if @decision.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 && + client_advance_id == o.client_advance_id && + decision_time == o.decision_time && + decision == o.decision && + cash_advance == o.cash_advance + 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, client_advance_id, decision_time, decision, cash_advance].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/protect_cash_advance_decision_create_response.rb b/lib/plaid/models/protect_cash_advance_decision_create_response.rb new file mode 100644 index 0000000000..bf4c60bd9a --- /dev/null +++ b/lib/plaid/models/protect_cash_advance_decision_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Response object for `/protect/cash_advance/decision/create`. + class ProtectCashAdvanceDecisionCreateResponse + # 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::ProtectCashAdvanceDecisionCreateResponse` 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::ProtectCashAdvanceDecisionCreateResponse`. 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/protect_cash_advance_repayment_create_request.rb b/lib/plaid/models/protect_cash_advance_repayment_create_request.rb new file mode 100644 index 0000000000..195c224ca8 --- /dev/null +++ b/lib/plaid/models/protect_cash_advance_repayment_create_request.rb @@ -0,0 +1,321 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Request object for `/protect/cash_advance/repayment/create`. + class ProtectCashAdvanceRepaymentCreateRequest + # 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 + + # The client's unique identifier for the cash-advance. + attr_accessor :client_advance_id + + attr_accessor :status + + # The time the repayment occurred, in ISO 8601 / RFC 3339 format (`YYYY-MM-DDTHH:mm:ssZ`). + attr_accessor :repayment_time + + attr_accessor :repayment + + 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 + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user' => :'user', + :'client_advance_id' => :'client_advance_id', + :'status' => :'status', + :'repayment_time' => :'repayment_time', + :'repayment' => :'repayment' + } + 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' => :'ProtectUser', + :'client_advance_id' => :'String', + :'status' => :'CashAdvanceRepaymentStatus', + :'repayment_time' => :'Time', + :'repayment' => :'CashAdvanceRepayment' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'repayment_time', + ]) + 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::ProtectCashAdvanceRepaymentCreateRequest` 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::ProtectCashAdvanceRepaymentCreateRequest`. 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 + + if attributes.key?(:'client_advance_id') + self.client_advance_id = attributes[:'client_advance_id'] + end + + if attributes.key?(:'status') + self.status = attributes[:'status'] + end + + if attributes.key?(:'repayment_time') + self.repayment_time = attributes[:'repayment_time'] + end + + if attributes.key?(:'repayment') + self.repayment = attributes[:'repayment'] + 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 + + if @client_advance_id.nil? + invalid_properties.push('invalid value for "client_advance_id", client_advance_id cannot be nil.') + end + + if @status.nil? + invalid_properties.push('invalid value for "status", status cannot be nil.') + end + + if @repayment.nil? + invalid_properties.push('invalid value for "repayment", repayment 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? + return false if @client_advance_id.nil? + return false if @status.nil? + return false if @repayment.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 && + client_advance_id == o.client_advance_id && + status == o.status && + repayment_time == o.repayment_time && + repayment == o.repayment + 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, client_advance_id, status, repayment_time, repayment].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/protect_cash_advance_repayment_create_response.rb b/lib/plaid/models/protect_cash_advance_repayment_create_response.rb new file mode 100644 index 0000000000..4c41db2503 --- /dev/null +++ b/lib/plaid/models/protect_cash_advance_repayment_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Response object for `/protect/cash_advance/repayment/create`. + class ProtectCashAdvanceRepaymentCreateResponse + # 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::ProtectCashAdvanceRepaymentCreateResponse` 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::ProtectCashAdvanceRepaymentCreateResponse`. 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/protect_compute_request.rb b/lib/plaid/models/protect_compute_request.rb index 1ee31d487e..ce12c283b6 100644 --- a/lib/plaid/models/protect_compute_request.rb +++ b/lib/plaid/models/protect_compute_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_compute_response.rb b/lib/plaid/models/protect_compute_response.rb index d34eaa24ee..1ad97b2f51 100644 --- a/lib/plaid/models/protect_compute_response.rb +++ b/lib/plaid/models/protect_compute_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_compute_subscores.rb b/lib/plaid/models/protect_compute_subscores.rb index 39d3bb39bf..3fb2332269 100644 --- a/lib/plaid/models/protect_compute_subscores.rb +++ b/lib/plaid/models/protect_compute_subscores.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_event.rb b/lib/plaid/models/protect_event.rb index 6196e3c7ce..86ece79ac3 100644 --- a/lib/plaid/models/protect_event.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_event_get_request.rb b/lib/plaid/models/protect_event_get_request.rb index edb2e3f8ee..4d5337ad6d 100644 --- a/lib/plaid/models/protect_event_get_request.rb +++ b/lib/plaid/models/protect_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_event_get_response.rb b/lib/plaid/models/protect_event_get_response.rb index fb90398612..b8b69fa50e 100644 --- a/lib/plaid/models/protect_event_get_response.rb +++ b/lib/plaid/models/protect_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_event_send_request.rb b/lib/plaid/models/protect_event_send_request.rb index f3e9eb6038..dada6b5062 100644 --- a/lib/plaid/models/protect_event_send_request.rb +++ b/lib/plaid/models/protect_event_send_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_event_send_response.rb b/lib/plaid/models/protect_event_send_response.rb index 798f28d624..2c182dc707 100644 --- a/lib/plaid/models/protect_event_send_response.rb +++ b/lib/plaid/models/protect_event_send_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_incident_amount.rb b/lib/plaid/models/protect_incident_amount.rb index 4ed1bb239f..af3dc8a37b 100644 --- a/lib/plaid/models/protect_incident_amount.rb +++ b/lib/plaid/models/protect_incident_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_incident_event.rb b/lib/plaid/models/protect_incident_event.rb index ea9cef39de..66af0be76b 100644 --- a/lib/plaid/models/protect_incident_event.rb +++ b/lib/plaid/models/protect_incident_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_incident_event_response.rb b/lib/plaid/models/protect_incident_event_response.rb index 1fb6ee4cc1..ececf98c0b 100644 --- a/lib/plaid/models/protect_incident_event_response.rb +++ b/lib/plaid/models/protect_incident_event_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_link_model_inputs.rb b/lib/plaid/models/protect_link_model_inputs.rb index 4d9a7bd2ec..3250eb0df5 100644 --- a/lib/plaid/models/protect_link_model_inputs.rb +++ b/lib/plaid/models/protect_link_model_inputs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_model_inputs.rb b/lib/plaid/models/protect_model_inputs.rb index 6b84d7baa3..720bc2547c 100644 --- a/lib/plaid/models/protect_model_inputs.rb +++ b/lib/plaid/models/protect_model_inputs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_report.rb b/lib/plaid/models/protect_report.rb index 5fe3cc380f..4d40c62abb 100644 --- a/lib/plaid/models/protect_report.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_report_confidence.rb b/lib/plaid/models/protect_report_confidence.rb index fbd605f3cd..32ac25336d 100644 --- a/lib/plaid/models/protect_report_confidence.rb +++ b/lib/plaid/models/protect_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_report_create_request.rb b/lib/plaid/models/protect_report_create_request.rb index d2458df737..c40f8f2d28 100644 --- a/lib/plaid/models/protect_report_create_request.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -38,7 +38,7 @@ class ProtectReportCreateRequest # Must be a valid ACH return code (e.g. `R01`), required if `report_type` is `ACH_RETURN`. attr_accessor :ach_return_code - # Additional context or details about the report, required if `report_type` is `OTHER`. + # Additional context or details about the report. attr_accessor :notes class EnumAttributeValidator diff --git a/lib/plaid/models/protect_report_create_response.rb b/lib/plaid/models/protect_report_create_response.rb index 55c6857b3f..0b98de659e 100644 --- a/lib/plaid/models/protect_report_create_response.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_report_source.rb b/lib/plaid/models/protect_report_source.rb index 2ebfd0f55a..5707a4ee8d 100644 --- a/lib/plaid/models/protect_report_source.rb +++ b/lib/plaid/models/protect_report_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_report_type.rb b/lib/plaid/models/protect_report_type.rb index 51138a5287..ae22439df0 100644 --- a/lib/plaid/models/protect_report_type.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_sdk_model_inputs.rb b/lib/plaid/models/protect_sdk_model_inputs.rb index 1dbdf6f337..14c3c66013 100644 --- a/lib/plaid/models/protect_sdk_model_inputs.rb +++ b/lib/plaid/models/protect_sdk_model_inputs.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_user.rb b/lib/plaid/models/protect_user.rb index 9f1a2f3683..e29fb8198c 100644 --- a/lib/plaid/models/protect_user.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_user_event_webhook.rb b/lib/plaid/models/protect_user_event_webhook.rb index 6cde9889b1..47272a0b4d 100644 --- a/lib/plaid/models/protect_user_event_webhook.rb +++ b/lib/plaid/models/protect_user_event_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # Fired when there has been a new user event. The webhook payload contains limited information about the event. For full event details, call [`/protect/event/get`](https://plaid.com/docs/api/products/protect/#protecteventget). + # Fired when there has been a new user event. The webhook payload contains limited information about the event. class ProtectUserEventWebhook # `\"PROTECT\"` attr_accessor :webhook_type diff --git a/lib/plaid/models/protect_user_insights_get_request.rb b/lib/plaid/models/protect_user_insights_get_request.rb index b38c501f5c..7329576d1e 100644 --- a/lib/plaid/models/protect_user_insights_get_request.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/protect_user_insights_get_response.rb b/lib/plaid/models/protect_user_insights_get_response.rb index 0260c738b1..04c3f06f22 100644 --- a/lib/plaid/models/protect_user_insights_get_response.rb +++ b/lib/plaid/models/protect_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/provider_business_address.rb b/lib/plaid/models/provider_business_address.rb index 334231d4e3..df47613aa8 100644 --- a/lib/plaid/models/provider_business_address.rb +++ b/lib/plaid/models/provider_business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/provider_business_name.rb b/lib/plaid/models/provider_business_name.rb index 1205044347..0544a8d9ea 100644 --- a/lib/plaid/models/provider_business_name.rb +++ b/lib/plaid/models/provider_business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e204f1a65a..68f5791b2f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8cb8c8ae21..ea3b223722 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/reason_code.rb b/lib/plaid/models/reason_code.rb index 56c60869e3..5b6620fb4f 100644 --- a/lib/plaid/models/reason_code.rb +++ b/lib/plaid/models/reason_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recaptcha_required_error.rb b/lib/plaid/models/recaptcha_required_error.rb index 7a2541380d..e048e975db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/receiver_details.rb b/lib/plaid/models/receiver_details.rb index b3746c68ab..e7064b06af 100644 --- a/lib/plaid/models/receiver_details.rb +++ b/lib/plaid/models/receiver_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 46febf5349..d3b701e50d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d7a83f0ef0..c04383a237 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/recommendation_string.rb b/lib/plaid/models/recommendation_string.rb index 8fdc327ff5..fe541a21a4 100644 --- a/lib/plaid/models/recommendation_string.rb +++ b/lib/plaid/models/recommendation_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c920c4428c..73c11a2f56 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2d165ea5c2..159f002c38 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8e36a3d8e1..1b7727130f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8946bd95a8..aa1121cadb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 463dd6a8ec..414f8abbde 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 235a1c9523..58622777bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ceb1febfe5..dd8b03dc4e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e51538de8e..c8acdb88cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 30799e235d..c1780c8764 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/refresh_result.rb b/lib/plaid/models/refresh_result.rb index 3ad418226b..96605d2dbf 100644 --- a/lib/plaid/models/refresh_result.rb +++ b/lib/plaid/models/refresh_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3fa0cf93c0..77448a78e4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bc58bcb635..ab2e7f638f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5bbe11ddf7..f457527723 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/request_business_address.rb b/lib/plaid/models/request_business_address.rb index 155cfba358..291dc87335 100644 --- a/lib/plaid/models/request_business_address.rb +++ b/lib/plaid/models/request_business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/response_business_address.rb b/lib/plaid/models/response_business_address.rb index 978b913436..5bc55248e4 100644 --- a/lib/plaid/models/response_business_address.rb +++ b/lib/plaid/models/response_business_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ee807bd83a..17772a0c65 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eacd3c865f..c298fb00ac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fe2d9e9ba1..acb5f7d8c5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b095455e5c..d8d7d68c84 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 70566c7814..88836f846b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf82ad6a36..c0818383a9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 190613f180..5d6d0aad15 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 61f8f5cf41..ae884cd6d7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 df29ed8afe..1464b3a3fd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 94e025d03c..e834ee8b64 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_includes_date_of_birth.rb b/lib/plaid/models/risk_check_email_includes_date_of_birth.rb index eb0fc24d7f..ece5d0ff10 100644 --- a/lib/plaid/models/risk_check_email_includes_date_of_birth.rb +++ b/lib/plaid/models/risk_check_email_includes_date_of_birth.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 42ccfdec6f..d82eb7d09b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_is_edu.rb b/lib/plaid/models/risk_check_email_is_edu.rb index e27bef1c2e..c8fd161d2a 100644 --- a/lib/plaid/models/risk_check_email_is_edu.rb +++ b/lib/plaid/models/risk_check_email_is_edu.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_email_name.rb b/lib/plaid/models/risk_check_email_name.rb index d7c06d5ef1..dca30418ad 100644 --- a/lib/plaid/models/risk_check_email_name.rb +++ b/lib/plaid/models/risk_check_email_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b01e5c9a0e..93c4b1f3bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_facial_duplicate.rb b/lib/plaid/models/risk_check_facial_duplicate.rb index 2737447432..35dc1f0016 100644 --- a/lib/plaid/models/risk_check_facial_duplicate.rb +++ b/lib/plaid/models/risk_check_facial_duplicate.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 730678e0cd..27599b3e66 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f3dced99d6..d3e62e52e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_check_network.rb b/lib/plaid/models/risk_check_network.rb index 7af27abd43..19976007f5 100644 --- a/lib/plaid/models/risk_check_network.rb +++ b/lib/plaid/models/risk_check_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4c57a15635..c1e487e16b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3feb1bb7a7..c5111f60d3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fd70fbcd84..3cf93f0ad2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_indicators.rb b/lib/plaid/models/risk_indicators.rb index 497855c8c4..f35ee3bbb0 100644 --- a/lib/plaid/models/risk_indicators.rb +++ b/lib/plaid/models/risk_indicators.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_level.rb b/lib/plaid/models/risk_level.rb index c440c24398..59e16d6525 100644 --- a/lib/plaid/models/risk_level.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_level_with_no_data.rb b/lib/plaid/models/risk_level_with_no_data.rb index 9b9b603c13..691964826f 100644 --- a/lib/plaid/models/risk_level_with_no_data.rb +++ b/lib/plaid/models/risk_level_with_no_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2333d38e62..0dde2d1962 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9b1d1ed03b..810bc4ae35 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd3dede519..91db229bbf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/risk_signal_document_status.rb b/lib/plaid/models/risk_signal_document_status.rb index 4c198c52af..4a4e14a43e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ef3f9b8d90..35d9328937 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index dc07441280..a9fb159d82 100644 --- a/lib/plaid/models/risk_signal_file_type.rb +++ b/lib/plaid/models/risk_signal_file_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/role.rb b/lib/plaid/models/role.rb index 8c203f0d71..920a7fc406 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0e2e72578c..cab799b9ac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 95f03730b3..c905d39aaa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/rule_details.rb b/lib/plaid/models/rule_details.rb index e83a0386ee..af270ddc0c 100644 --- a/lib/plaid/models/rule_details.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/rule_result.rb b/lib/plaid/models/rule_result.rb index 25c2ea4be7..265fe86ac6 100644 --- a/lib/plaid/models/rule_result.rb +++ b/lib/plaid/models/rule_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c459eb816d..b12d6c83ee 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 56799fc840..3c6df8ac47 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e2efc7cb23..fd1aa6fdb0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8bd38e3709..5b156aad03 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 529276aae4..5267f6b10c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 396786a377..d2fdf0eb41 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ab32acc56..3d6aa9345b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f2563ba2f1..9046acd002 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dbcd1ae3b2..443cb2688d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_cra_cashflow_updates_update_request.rb b/lib/plaid/models/sandbox_cra_cashflow_updates_update_request.rb index 212f33a45c..ddef1a81ca 100644 --- a/lib/plaid/models/sandbox_cra_cashflow_updates_update_request.rb +++ b/lib/plaid/models/sandbox_cra_cashflow_updates_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_cra_cashflow_updates_update_response.rb b/lib/plaid/models/sandbox_cra_cashflow_updates_update_response.rb index e571e465c4..3df7b0bef5 100644 --- a/lib/plaid/models/sandbox_cra_cashflow_updates_update_response.rb +++ b/lib/plaid/models/sandbox_cra_cashflow_updates_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_cra_servicing_simulate_error_webhook_code.rb b/lib/plaid/models/sandbox_cra_servicing_simulate_error_webhook_code.rb new file mode 100644 index 0000000000..63e26297f3 --- /dev/null +++ b/lib/plaid/models/sandbox_cra_servicing_simulate_error_webhook_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class SandboxCraServicingSimulateErrorWebhookCode + USER_NOT_FOUND = "USER_NOT_FOUND".freeze + PRODUCT_GENERATION_FAILED = "PRODUCT_GENERATION_FAILED".freeze + UNMATCH = "UNMATCH".freeze + DATA_UNAVAILABLE = "DATA_UNAVAILABLE".freeze + NO_ELIGIBLE_ITEMS_ON_PROFILE = "NO_ELIGIBLE_ITEMS_ON_PROFILE".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/sandbox_cra_servicing_simulate_request.rb b/lib/plaid/models/sandbox_cra_servicing_simulate_request.rb new file mode 100644 index 0000000000..b91bdeb303 --- /dev/null +++ b/lib/plaid/models/sandbox_cra_servicing_simulate_request.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxCraServicingSimulateRequest defines the request schema for `/sandbox/cra/servicing/simulate` + class SandboxCraServicingSimulateRequest + # 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 Servicing subscription to simulate an update for. Upon calling this endpoint, Plaid will simulate a report creation for all products referenced by this subscription ID. + attr_accessor :subscription_id + + attr_accessor :options + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'subscription_id' => :'subscription_id', + :'options' => :'options' + } + 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', + :'options' => :'SandboxCraServicingSimulateRequestOptions' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'options' + ]) + 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::SandboxCraServicingSimulateRequest` 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::SandboxCraServicingSimulateRequest`. 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 + + if attributes.key?(:'options') + self.options = attributes[:'options'] + 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 && + options == o.options + 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, options].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/sandbox_cra_servicing_simulate_request_options.rb b/lib/plaid/models/sandbox_cra_servicing_simulate_request_options.rb new file mode 100644 index 0000000000..a3a5ac1d41 --- /dev/null +++ b/lib/plaid/models/sandbox_cra_servicing_simulate_request_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Optional parameters controlling the simulated report. + class SandboxCraServicingSimulateRequestOptions + # The end of the synthesized transaction window (\"the present\"), as a YYYY-MM-DD date. Accepts past or future dates up to 180 days ahead; defaults to today. A later value appends newer transactions without churning earlier ones. + attr_accessor :transactions_end_date + + attr_accessor :error_webhook_code + + 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 + { + :'transactions_end_date' => :'transactions_end_date', + :'error_webhook_code' => :'error_webhook_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 + { + :'transactions_end_date' => :'Date', + :'error_webhook_code' => :'SandboxCraServicingSimulateErrorWebhookCode' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'transactions_end_date', + :'error_webhook_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::SandboxCraServicingSimulateRequestOptions` 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::SandboxCraServicingSimulateRequestOptions`. 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?(:'transactions_end_date') + self.transactions_end_date = attributes[:'transactions_end_date'] + end + + if attributes.key?(:'error_webhook_code') + self.error_webhook_code = attributes[:'error_webhook_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 + 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 && + transactions_end_date == o.transactions_end_date && + error_webhook_code == o.error_webhook_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 + [transactions_end_date, error_webhook_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/sandbox_cra_servicing_simulate_response.rb b/lib/plaid/models/sandbox_cra_servicing_simulate_response.rb new file mode 100644 index 0000000000..1109c80fc9 --- /dev/null +++ b/lib/plaid/models/sandbox_cra_servicing_simulate_response.rb @@ -0,0 +1,237 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxCraServicingSimulateResponse defines the response schema for `/sandbox/cra/servicing/simulate` + class SandboxCraServicingSimulateResponse + # The `cra-report` token for the seeded snapshot. Pin as `report_id` on `/cra/check_report/base_report/get` or `/cra/check_report/income_insights/get`. Omitted when `error_webhook_code` was used. + attr_accessor :report_id + + # A unique identifier for the request, which can be used for troubleshooting. This identifier, like all Plaid identifiers, is case sensitive. + attr_accessor :request_id + + # Attribute mapping from ruby-style variable name to JSON key. + def self.attribute_map + { + :'report_id' => :'report_id', + :'request_id' => :'request_id' + } + end + + # Returns all the JSON keys this model knows about + def self.acceptable_attributes + attribute_map.values + end + + # Attribute type mapping. + def self.openapi_types + { + :'report_id' => :'String', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'report_id', + ]) + 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::SandboxCraServicingSimulateResponse` 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::SandboxCraServicingSimulateResponse`. 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?(:'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 && + report_id == o.report_id && + request_id == o.request_id + end + + # @see the `==` method + # @param [Object] Object to be compared + def eql?(o) + self == o + end + + # Calculates hash code according to all attributes. + # @return [Integer] Hash code + def hash + [report_id, request_id].hash + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def self.build_from_hash(attributes) + new.build_from_hash(attributes) + end + + # Builds the object from hash + # @param [Hash] attributes Model attributes in the form of hash + # @return [Object] Returns the model itself + def build_from_hash(attributes) + return nil unless attributes.is_a?(Hash) + 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/sandbox_fdx_consent_seed_request.rb b/lib/plaid/models/sandbox_fdx_consent_seed_request.rb index 778a4e1d23..25d4e1509a 100644 --- a/lib/plaid/models/sandbox_fdx_consent_seed_request.rb +++ b/lib/plaid/models/sandbox_fdx_consent_seed_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_fdx_consent_seed_response.rb b/lib/plaid/models/sandbox_fdx_consent_seed_response.rb index 86f8d34f2f..74d0d94554 100644 --- a/lib/plaid/models/sandbox_fdx_consent_seed_response.rb +++ b/lib/plaid/models/sandbox_fdx_consent_seed_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7bacdf39c1..78793c3e9f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class SandboxIncomeFireWebhookRequest # The Item ID associated with the verification. attr_accessor :item_id - # The Plaid `user_id` of the User associated with this webhook, warning, or error. + # The user identifier to include in the test webhook. For `USER_INCOME_VERIFICATION` and `USER_INCOME_VERIFICATION_RISK_SIGNALS`, use the `user_id` returned by `/user/create`, which begins with `usr_`. For `INCOME_VERIFICATION` and `INCOME_VERIFICATION_RISK_SIGNALS`, use the legacy webhook `user_id` associated with the user token. attr_accessor :user_id # The URL to which the webhook should be sent. diff --git a/lib/plaid/models/sandbox_income_fire_webhook_response.rb b/lib/plaid/models/sandbox_income_fire_webhook_response.rb index d2e096196f..b7601d94bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 05b7ab137b..3a24474dab 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -15,8 +15,10 @@ module Plaid class SandboxIncomeWebhookFireRequestWebhookCode - VERIFICATION = "INCOME_VERIFICATION".freeze - VERIFICATION_RISK_SIGNALS = "INCOME_VERIFICATION_RISK_SIGNALS".freeze + INCOME_VERIFICATION = "INCOME_VERIFICATION".freeze + USER_INCOME_VERIFICATION = "USER_INCOME_VERIFICATION".freeze + INCOME_VERIFICATION_RISK_SIGNALS = "INCOME_VERIFICATION_RISK_SIGNALS".freeze + USER_INCOME_VERIFICATION_RISK_SIGNALS = "USER_INCOME_VERIFICATION_RISK_SIGNALS".freeze # Builds the enum from string # @param [String] The enum value in the form of the string diff --git a/lib/plaid/models/sandbox_item_application_seed_request.rb b/lib/plaid/models/sandbox_item_application_seed_request.rb index a5c10d64df..27e660708e 100644 --- a/lib/plaid/models/sandbox_item_application_seed_request.rb +++ b/lib/plaid/models/sandbox_item_application_seed_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_application_seed_response.rb b/lib/plaid/models/sandbox_item_application_seed_response.rb index 97a1db41bc..3852140571 100644 --- a/lib/plaid/models/sandbox_item_application_seed_response.rb +++ b/lib/plaid/models/sandbox_item_application_seed_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 44c967afe2..b247bb11a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_item_fire_webhook_response.rb b/lib/plaid/models/sandbox_item_fire_webhook_response.rb index 67994673de..a67829a971 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f9e8e70c17..7121ca74ad 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 33fef8d706..8980739d06 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 af3f37eafc..f643ffa6a1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5b9244cca1..3eb2feaf0a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4b740c52fb..b64a2bd489 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7853079758..28f606573e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 227eb5bb8b..4ea2a5fe7a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_simulate_request.rb b/lib/plaid/models/sandbox_payment_simulate_request.rb index 0633ab37de..d30ce458c7 100644 --- a/lib/plaid/models/sandbox_payment_simulate_request.rb +++ b/lib/plaid/models/sandbox_payment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_payment_simulate_response.rb b/lib/plaid/models/sandbox_payment_simulate_response.rb index e2c9fdedfa..c29a68231f 100644 --- a/lib/plaid/models/sandbox_payment_simulate_response.rb +++ b/lib/plaid/models/sandbox_payment_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fe5e6e2eff..e6724b6e73 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1d081dd002..88f22d9ec3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 22c0c1f3d9..3eb42d4797 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 21824c4a3d..eb636290e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 36065bdee4..c85cff6116 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea85478248..7c46631373 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 959164eb6f..13428e31a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a6c69c7ef4..4dddef2ac3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7af5149189..7abb8ec2f4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a98a5c21e1..3a65a26f33 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transactions_create_request.rb b/lib/plaid/models/sandbox_transactions_create_request.rb index d6659b6ea1..dbdf81cbad 100644 --- a/lib/plaid/models/sandbox_transactions_create_request.rb +++ b/lib/plaid/models/sandbox_transactions_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transactions_create_response.rb b/lib/plaid/models/sandbox_transactions_create_response.rb index 82618a544d..bc2bd745c9 100644 --- a/lib/plaid/models/sandbox_transactions_create_response.rb +++ b/lib/plaid/models/sandbox_transactions_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 13fc2114da..84947d2ab4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8dda07b0a7..75f7f1ae5d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c9fbad7f9d..041dbae804 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aa58bb055b..5b81c14d19 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c41b9ce608..21c3e37432 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 4e681317f5..ead4d270d5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dda0b3ce58..02270fe084 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9cf423672b..94fd2b6215 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bf97cebb5a..49743b3074 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0dd73d93b4..817269ff7e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 68689d40b6..30d53cc3c8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bfe3c5ccc1..0773f1261f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_rfp_simulate_action.rb b/lib/plaid/models/sandbox_transfer_rfp_simulate_action.rb index 5520276916..857039c1b4 100644 --- a/lib/plaid/models/sandbox_transfer_rfp_simulate_action.rb +++ b/lib/plaid/models/sandbox_transfer_rfp_simulate_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_rfp_simulate_request.rb b/lib/plaid/models/sandbox_transfer_rfp_simulate_request.rb index 9de7839b09..58a9b1739b 100644 --- a/lib/plaid/models/sandbox_transfer_rfp_simulate_request.rb +++ b/lib/plaid/models/sandbox_transfer_rfp_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_transfer_rfp_simulate_response.rb b/lib/plaid/models/sandbox_transfer_rfp_simulate_response.rb index 7d62cb41fd..594aec42c1 100644 --- a/lib/plaid/models/sandbox_transfer_rfp_simulate_response.rb +++ b/lib/plaid/models/sandbox_transfer_rfp_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9a97f797dd..68c448d3d3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 868c951e95..d5bf056289 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f7fd306989..a2d8c647bb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cdf068b5b7..e898ed09e4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9f4f8eac95..8e87ae6ce7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 31ceb08219..5f61af2e45 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d0655d70ee..c849ce7a7e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f3cecc77f2..58bf0499c9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eb93d5d7da..6e17c06ff5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c2d42ec6a8..302fa0e669 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c05ba7f58f..dabadcd75a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 00621e9c31..3a9b812840 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sandbox_user_fire_webhook_code.rb b/lib/plaid/models/sandbox_user_fire_webhook_code.rb new file mode 100644 index 0000000000..230d738891 --- /dev/null +++ b/lib/plaid/models/sandbox_user_fire_webhook_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class SandboxUserFireWebhookCode + USER_CHECK_REPORT_READY = "USER_CHECK_REPORT_READY".freeze + USER_CHECK_REPORT_FAILED = "USER_CHECK_REPORT_FAILED".freeze + CHECK_REPORT_READY = "CHECK_REPORT_READY".freeze + CHECK_REPORT_FAILED = "CHECK_REPORT_FAILED".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/sandbox_user_fire_webhook_request.rb b/lib/plaid/models/sandbox_user_fire_webhook_request.rb new file mode 100644 index 0000000000..c8817e3636 --- /dev/null +++ b/lib/plaid/models/sandbox_user_fire_webhook_request.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxUserFireWebhookRequest defines the request schema for `/sandbox/user/fire_webhook` + class SandboxUserFireWebhookRequest + # 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 user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + # The user token associated with the user for which data is being requested. This field is used only by customers with pre-existing integrations that already use the `user_token` field. All other customers should use the `user_id` instead. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_token + + attr_accessor :webhook_type + + attr_accessor :webhook_code + + # The destination URL that the test webhook will be sent to. + attr_accessor :webhook + + 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 + { + :'client_id' => :'client_id', + :'secret' => :'secret', + :'user_id' => :'user_id', + :'user_token' => :'user_token', + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'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_id' => :'String', + :'user_token' => :'String', + :'webhook_type' => :'SandboxUserFireWebhookType', + :'webhook_code' => :'SandboxUserFireWebhookCode', + :'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::SandboxUserFireWebhookRequest` 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::SandboxUserFireWebhookRequest`. 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_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'user_token') + self.user_token = attributes[:'user_token'] + end + + 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?(:'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 @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 @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 @webhook_type.nil? + return false if @webhook_code.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_id == o.user_id && + user_token == o.user_token && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + 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_id, user_token, webhook_type, webhook_code, 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/sandbox_user_fire_webhook_response.rb b/lib/plaid/models/sandbox_user_fire_webhook_response.rb new file mode 100644 index 0000000000..8895022712 --- /dev/null +++ b/lib/plaid/models/sandbox_user_fire_webhook_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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # SandboxUserFireWebhookResponse defines the response schema for `/sandbox/user/fire_webhook` + class SandboxUserFireWebhookResponse + # Value is `true` if the test `webhook_code` was successfully fired. + attr_accessor :webhook_fired + + # 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 + { + :'webhook_fired' => :'webhook_fired', + :'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 + { + :'webhook_fired' => :'Boolean', + :'request_id' => :'String' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + ]) + end + + # Initializes the object + # @param [Hash] attributes Model attributes in the form of hash + def initialize(attributes = {}) + if (!attributes.is_a?(Hash)) + fail ArgumentError, "The input argument (attributes) must be a hash in `Plaid::SandboxUserFireWebhookResponse` 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::SandboxUserFireWebhookResponse`. 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_fired') + self.webhook_fired = attributes[:'webhook_fired'] + 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 @webhook_fired.nil? + invalid_properties.push('invalid value for "webhook_fired", webhook_fired 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 @webhook_fired.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 && + webhook_fired == o.webhook_fired && + 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 + [webhook_fired, 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/sandbox_user_fire_webhook_type.rb b/lib/plaid/models/sandbox_user_fire_webhook_type.rb new file mode 100644 index 0000000000..a6835f309a --- /dev/null +++ b/lib/plaid/models/sandbox_user_fire_webhook_type.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class SandboxUserFireWebhookType + CHECK_REPORT = "CHECK_REPORT".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/sandbox_user_reset_login_request.rb b/lib/plaid/models/sandbox_user_reset_login_request.rb index a7f992e3c5..f4a227bd2b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b0f19bd488..b5f734df1a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea9232fe5c..4fdc7da41d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a0dcf1742c..73ca77b43b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ccb09a818a..8cf2aa2e7a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a044a61f8b..a565f76031 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d18a0c6575..04e778c619 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88a0f8d48d..4d0954dbf2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ca88c91ae5..07d7a852c7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fd4a6cee67..78ec9920f5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 10faa4227f..a48c84f5e3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ae6ca11c07..a07d845811 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/security_override.rb b/lib/plaid/models/security_override.rb index 8f3df2e428..771adce091 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_age_check.rb b/lib/plaid/models/selfie_age_check.rb index 538f286ef7..b7c97377d2 100644 --- a/lib/plaid/models/selfie_age_check.rb +++ b/lib/plaid/models/selfie_age_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_age_check_status.rb b/lib/plaid/models/selfie_age_check_status.rb index e34a5c63fb..6ae2197845 100644 --- a/lib/plaid/models/selfie_age_check_status.rb +++ b/lib/plaid/models/selfie_age_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a453b690d5..75afa3ed20 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c51d820846..36b5c96412 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis_facial_analysis.rb b/lib/plaid/models/selfie_analysis_facial_analysis.rb index 6d77a7a7a2..3a4e6d1e4d 100644 --- a/lib/plaid/models/selfie_analysis_facial_analysis.rb +++ b/lib/plaid/models/selfie_analysis_facial_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis_facial_analysis_outcome.rb b/lib/plaid/models/selfie_analysis_facial_analysis_outcome.rb index 6f67cdca2d..925d656b22 100644 --- a/lib/plaid/models/selfie_analysis_facial_analysis_outcome.rb +++ b/lib/plaid/models/selfie_analysis_facial_analysis_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/selfie_analysis_liveness_check.rb b/lib/plaid/models/selfie_analysis_liveness_check.rb index b824195738..f995db0a11 100644 --- a/lib/plaid/models/selfie_analysis_liveness_check.rb +++ b/lib/plaid/models/selfie_analysis_liveness_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 97a302bef5..504aeebf48 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 80bf7b18dd..6d297e6016 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 67547d76c8..063c62c774 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4acf69256e..cd6416dd0a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 151569cc55..df4048e5f2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b5fcdc4055..9d14dc4f2e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b5c13c7824..d93ef891ef 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 269b26e921..fb258b245b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6028891b61..9b6383ec1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b7300b4d83..0a59635200 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8983fae610..97ba3c4f22 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b377bafde6..56a6f7d478 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/session_token_create_request.rb b/lib/plaid/models/session_token_create_request.rb index 525e67ab6e..54aef5b15f 100644 --- a/lib/plaid/models/session_token_create_request.rb +++ b/lib/plaid/models/session_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/session_token_create_request_user.rb b/lib/plaid/models/session_token_create_request_user.rb index 5162a9b046..b555d24503 100644 --- a/lib/plaid/models/session_token_create_request_user.rb +++ b/lib/plaid/models/session_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/session_token_create_response.rb b/lib/plaid/models/session_token_create_response.rb index e4c16405e8..6b18304e5c 100644 --- a/lib/plaid/models/session_token_create_response.rb +++ b/lib/plaid/models/session_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/session_token_create_response_link.rb b/lib/plaid/models/session_token_create_response_link.rb index e77256283f..f1d05bb3a0 100644 --- a/lib/plaid/models/session_token_create_response_link.rb +++ b/lib/plaid/models/session_token_create_response_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7b90bb8794..9840a6f502 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b536725221..39da4c24a9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ded6f8074d..c32e9a54a4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 97bc7ee0f7..5e4a7bf217 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5cd49a9a5e..30d6222566 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c6a52dc41e..93fdd2d6be 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cf4a4775d5..70a9edd057 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_evaluate_response.rb b/lib/plaid/models/signal_evaluate_response.rb index cc66e96901..bd2e03d08e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fd5cc5efcc..c444482c43 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3b4214c5e0..d3802ca598 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8931f5aef5..241f925134 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 31fdd0e67c..fb4713f9d4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7793174d2b..c9ec6cebaf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dae0f0e649..a1976bc972 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_schedule_default_payment_method.rb b/lib/plaid/models/signal_schedule_default_payment_method.rb index f4bb7a9fd2..948c4445ea 100644 --- a/lib/plaid/models/signal_schedule_default_payment_method.rb +++ b/lib/plaid/models/signal_schedule_default_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_schedule_recommendation.rb b/lib/plaid/models/signal_schedule_recommendation.rb index 23ea0a40cc..da94788e64 100644 --- a/lib/plaid/models/signal_schedule_recommendation.rb +++ b/lib/plaid/models/signal_schedule_recommendation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_schedule_request.rb b/lib/plaid/models/signal_schedule_request.rb index 32e30ce042..20882f9c55 100644 --- a/lib/plaid/models/signal_schedule_request.rb +++ b/lib/plaid/models/signal_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/signal_schedule_response.rb b/lib/plaid/models/signal_schedule_response.rb index 40b1c0e6f2..cead450f91 100644 --- a/lib/plaid/models/signal_schedule_response.rb +++ b/lib/plaid/models/signal_schedule_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8916f40d11..7fc56e8cb2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 84053784cf..a26be1ad3c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ed374a44e0..d68257e532 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 136efb9314..f6fdaa0fc3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/single_document_risk_signal.rb b/lib/plaid/models/single_document_risk_signal.rb index 1122491bad..32ed42a271 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sms_verification.rb b/lib/plaid/models/sms_verification.rb index 3430a435ea..a65ab392d3 100644 --- a/lib/plaid/models/sms_verification.rb +++ b/lib/plaid/models/sms_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sms_verification_status.rb b/lib/plaid/models/sms_verification_status.rb index 44b7817ab1..1f1d80bb1e 100644 --- a/lib/plaid/models/sms_verification_status.rb +++ b/lib/plaid/models/sms_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd3cbc984c..396da808fa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 196a4e25bf..5f2409c93d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/standalone_currency_code_list.rb b/lib/plaid/models/standalone_currency_code_list.rb index 56ac399010..e94c890407 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 69ca788f38..da2ffc5053 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 57466803c9..0034522444 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3255249263..60c36f0c46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1b80132824..d8d7c0d8ea 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d53ca7ff2d..aa8739aebe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 193d4b85e4..5d52b5406e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d5466e6b6e..79d366b591 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6d01c97e89..884d330b57 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/statements_refresh_response.rb b/lib/plaid/models/statements_refresh_response.rb index 5cdd873e49..b728a2addc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7dd6bf2d83..251d587be8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c60858ae50..31fa772ff5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a309f4d777..4ca7aa37d6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fb98042f7e..040e8921fb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b101f41e4..6bb2f81c90 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/student_loan_repayment_model.rb b/lib/plaid/models/student_loan_repayment_model.rb index a3f01c6844..cc530b10b1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 368a582afd..fd9fdd8a08 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0483a56349..e7e8d87040 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/sweep_failure.rb b/lib/plaid/models/sweep_failure.rb index 2852c3f144..e7f7cd351c 100644 --- a/lib/plaid/models/sweep_failure.rb +++ b/lib/plaid/models/sweep_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6b992e7afc..ce15568d67 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 764d6bb268..94195913c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d9519dba3b..eac96ef910 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/synthetic_fraud.rb b/lib/plaid/models/synthetic_fraud.rb index bd0ef33658..8e9659724f 100644 --- a/lib/plaid/models/synthetic_fraud.rb +++ b/lib/plaid/models/synthetic_fraud.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b775f91892..3d88574525 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a1c78ff434..9283d00c35 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 04c706a300..84d595a072 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b7d7b03e94..eae456e693 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a03d02037a..99a584e4f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a355a33d64..159977155c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a055ccccef..bc7e1f1d46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_inflow_amount.rb b/lib/plaid/models/total_inflow_amount.rb index 1bb0af6318..a9c047c10e 100644 --- a/lib/plaid/models/total_inflow_amount.rb +++ b/lib/plaid/models/total_inflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_inflow_amount30d.rb b/lib/plaid/models/total_inflow_amount30d.rb index 0f7b33d310..8b221acf66 100644 --- a/lib/plaid/models/total_inflow_amount30d.rb +++ b/lib/plaid/models/total_inflow_amount30d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_inflow_amount60d.rb b/lib/plaid/models/total_inflow_amount60d.rb index 563bbe4fbd..7e1cb3a75f 100644 --- a/lib/plaid/models/total_inflow_amount60d.rb +++ b/lib/plaid/models/total_inflow_amount60d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_inflow_amount90d.rb b/lib/plaid/models/total_inflow_amount90d.rb index 8d0ec7c9de..a1bbee7522 100644 --- a/lib/plaid/models/total_inflow_amount90d.rb +++ b/lib/plaid/models/total_inflow_amount90d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index eaaa174e3c..26ffaa85fa 100644 --- a/lib/plaid/models/total_monthly_income_insights.rb +++ b/lib/plaid/models/total_monthly_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_outflow_amount.rb b/lib/plaid/models/total_outflow_amount.rb index 4e7dd7fc0a..9cd99a90eb 100644 --- a/lib/plaid/models/total_outflow_amount.rb +++ b/lib/plaid/models/total_outflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_outflow_amount30d.rb b/lib/plaid/models/total_outflow_amount30d.rb index dc909ca165..31e638fc27 100644 --- a/lib/plaid/models/total_outflow_amount30d.rb +++ b/lib/plaid/models/total_outflow_amount30d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_outflow_amount60d.rb b/lib/plaid/models/total_outflow_amount60d.rb index 45d92b7be0..cc99b8b9c9 100644 --- a/lib/plaid/models/total_outflow_amount60d.rb +++ b/lib/plaid/models/total_outflow_amount60d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_outflow_amount90d.rb b/lib/plaid/models/total_outflow_amount90d.rb index bba81d4d10..4f7a9e759b 100644 --- a/lib/plaid/models/total_outflow_amount90d.rb +++ b/lib/plaid/models/total_outflow_amount90d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_inflow_amount.rb b/lib/plaid/models/total_report_inflow_amount.rb index 3ac3009806..2ca43bcec8 100644 --- a/lib/plaid/models/total_report_inflow_amount.rb +++ b/lib/plaid/models/total_report_inflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_inflow_amount30d.rb b/lib/plaid/models/total_report_inflow_amount30d.rb index a0ed0063c0..edc0762c51 100644 --- a/lib/plaid/models/total_report_inflow_amount30d.rb +++ b/lib/plaid/models/total_report_inflow_amount30d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_inflow_amount60d.rb b/lib/plaid/models/total_report_inflow_amount60d.rb index 28332091fe..dc4eba2397 100644 --- a/lib/plaid/models/total_report_inflow_amount60d.rb +++ b/lib/plaid/models/total_report_inflow_amount60d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_inflow_amount90d.rb b/lib/plaid/models/total_report_inflow_amount90d.rb index e377761e66..d2dab8d8c2 100644 --- a/lib/plaid/models/total_report_inflow_amount90d.rb +++ b/lib/plaid/models/total_report_inflow_amount90d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_outflow_amount.rb b/lib/plaid/models/total_report_outflow_amount.rb index cf973c4547..2e113844b9 100644 --- a/lib/plaid/models/total_report_outflow_amount.rb +++ b/lib/plaid/models/total_report_outflow_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_outflow_amount30d.rb b/lib/plaid/models/total_report_outflow_amount30d.rb index 66ee00f501..a14db44f1a 100644 --- a/lib/plaid/models/total_report_outflow_amount30d.rb +++ b/lib/plaid/models/total_report_outflow_amount30d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_outflow_amount60d.rb b/lib/plaid/models/total_report_outflow_amount60d.rb index 22c84f15be..da4fc24b95 100644 --- a/lib/plaid/models/total_report_outflow_amount60d.rb +++ b/lib/plaid/models/total_report_outflow_amount60d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/total_report_outflow_amount90d.rb b/lib/plaid/models/total_report_outflow_amount90d.rb index c049c0e5dc..0ebfeaa7e5 100644 --- a/lib/plaid/models/total_report_outflow_amount90d.rb +++ b/lib/plaid/models/total_report_outflow_amount90d.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction.rb b/lib/plaid/models/transaction.rb index f39fb1493e..f277fae434 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -101,6 +101,9 @@ class Transaction # A unique, stable, Plaid-generated ID that maps to the merchant. In the case of a merchant with multiple retail locations, this field will map to the broader merchant, not a specific location or store. attr_accessor :merchant_entity_id + # The merchant category code for the transaction, typically a four-digit [ISO 18245](https://www.iso.org/standard/33365.html) string. Not populated for every transaction. + attr_accessor :merchant_category_code + attr_accessor :client_customization class EnumAttributeValidator @@ -158,6 +161,7 @@ def self.attribute_map :'personal_finance_category_icon_url' => :'personal_finance_category_icon_url', :'counterparties' => :'counterparties', :'merchant_entity_id' => :'merchant_entity_id', + :'merchant_category_code' => :'merchant_category_code', :'client_customization' => :'client_customization' } end @@ -200,6 +204,7 @@ def self.openapi_types :'personal_finance_category_icon_url' => :'String', :'counterparties' => :'Array', :'merchant_entity_id' => :'String', + :'merchant_category_code' => :'String', :'client_customization' => :'ClientCustomization' } end @@ -225,6 +230,7 @@ def self.openapi_nullable :'business_finance_category', :'transaction_code', :'merchant_entity_id', + :'merchant_category_code', :'client_customization' ]) end @@ -376,6 +382,10 @@ def initialize(attributes = {}) self.merchant_entity_id = attributes[:'merchant_entity_id'] end + if attributes.key?(:'merchant_category_code') + self.merchant_category_code = attributes[:'merchant_category_code'] + end + if attributes.key?(:'client_customization') self.client_customization = attributes[:'client_customization'] end @@ -498,6 +508,7 @@ def ==(o) personal_finance_category_icon_url == o.personal_finance_category_icon_url && counterparties == o.counterparties && merchant_entity_id == o.merchant_entity_id && + merchant_category_code == o.merchant_category_code && client_customization == o.client_customization end @@ -510,7 +521,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [account_id, amount, iso_currency_code, unofficial_currency_code, category, category_id, check_number, date, location, name, merchant_name, original_description, payment_meta, pending, pending_transaction_id, account_owner, transaction_id, transaction_type, logo_url, website, authorized_date, authorized_datetime, datetime, payment_channel, personal_finance_category, business_finance_category, transaction_code, personal_finance_category_icon_url, counterparties, merchant_entity_id, client_customization].hash + [account_id, amount, iso_currency_code, unofficial_currency_code, category, category_id, check_number, date, location, name, merchant_name, original_description, payment_meta, pending, pending_transaction_id, account_owner, transaction_id, transaction_type, logo_url, website, authorized_date, authorized_datetime, datetime, payment_channel, personal_finance_category, business_finance_category, transaction_code, personal_finance_category_icon_url, counterparties, merchant_entity_id, merchant_category_code, client_customization].hash end # Builds the object from hash diff --git a/lib/plaid/models/transaction_all_of.rb b/lib/plaid/models/transaction_all_of.rb index 17f9f2de16..36c08a9e4f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -42,6 +42,9 @@ class TransactionAllOf # A unique, stable, Plaid-generated ID that maps to the merchant. In the case of a merchant with multiple retail locations, this field will map to the broader merchant, not a specific location or store. attr_accessor :merchant_entity_id + # The merchant category code for the transaction, typically a four-digit [ISO 18245](https://www.iso.org/standard/33365.html) string. Not populated for every transaction. + attr_accessor :merchant_category_code + attr_accessor :client_customization class EnumAttributeValidator @@ -79,6 +82,7 @@ def self.attribute_map :'personal_finance_category_icon_url' => :'personal_finance_category_icon_url', :'counterparties' => :'counterparties', :'merchant_entity_id' => :'merchant_entity_id', + :'merchant_category_code' => :'merchant_category_code', :'client_customization' => :'client_customization' } end @@ -101,6 +105,7 @@ def self.openapi_types :'personal_finance_category_icon_url' => :'String', :'counterparties' => :'Array', :'merchant_entity_id' => :'String', + :'merchant_category_code' => :'String', :'client_customization' => :'ClientCustomization' } end @@ -115,6 +120,7 @@ def self.openapi_nullable :'business_finance_category', :'transaction_code', :'merchant_entity_id', + :'merchant_category_code', :'client_customization' ]) end @@ -176,6 +182,10 @@ def initialize(attributes = {}) self.merchant_entity_id = attributes[:'merchant_entity_id'] end + if attributes.key?(:'merchant_category_code') + self.merchant_category_code = attributes[:'merchant_category_code'] + end + if attributes.key?(:'client_customization') self.client_customization = attributes[:'client_customization'] end @@ -226,6 +236,7 @@ def ==(o) personal_finance_category_icon_url == o.personal_finance_category_icon_url && counterparties == o.counterparties && merchant_entity_id == o.merchant_entity_id && + merchant_category_code == o.merchant_category_code && client_customization == o.client_customization end @@ -238,7 +249,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [authorized_date, authorized_datetime, datetime, payment_channel, personal_finance_category, business_finance_category, transaction_code, personal_finance_category_icon_url, counterparties, merchant_entity_id, client_customization].hash + [authorized_date, authorized_datetime, datetime, payment_channel, personal_finance_category, business_finance_category, transaction_code, personal_finance_category_icon_url, counterparties, merchant_entity_id, merchant_category_code, client_customization].hash end # Builds the object from hash diff --git a/lib/plaid/models/transaction_base.rb b/lib/plaid/models/transaction_base.rb index 2b8694dddc..80650cf0c5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transaction_code.rb b/lib/plaid/models/transaction_code.rb index effabb85ba..3d59b36cc9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c4019131e..36da20f568 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 30b621e94c..81775131ce 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a255d03d60..edf7f4da6e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 28304f547c..11b0d51be5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a7048f9e51..800882bce4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0198c43bf1..d5e694cc7e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 741255c9e5..edd790cfb7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 14687baa92..58f1d646e7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d99b009d78..7f7a9ae00c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eb06ceb1ca..ae9927ba2d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3e93287ffc..ac3920ab2b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7bda1f788a..9b0657ce69 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3769f2f14b..24f95ff9bc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 62de4517b1..2171f10719 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_get_response.rb b/lib/plaid/models/transactions_get_response.rb index 85f485738f..b05dc88d1b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 caafdde2f3..ba0fba3b53 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 86f62750e3..e28bb37002 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5c13230f8c..95e1ac9ad3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4bab78413b..4219619c15 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3cb81bac3f..9adcca0cec 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 07f56dc4e5..958c0bba01 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a3653d6726..a4c1d871f6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c62f456a22..84140f8fe2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b05c21a0e3..211ed33b72 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8914d1db5f..8df2bffad9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7e0b1865d9..16628bd6f4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6130f08deb..808d4ae9a6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 941f11b712..aec9eb94cf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5e735434e5..96a27e41ca 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d2ae5b9a91..0883ba9c12 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1616c062d4..354e3e31aa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8d7257b075..bd92de2fb6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5fe982721e..32edc60c91 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 41564d9233..d956734a29 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ff23c309cb..dffcf6354a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4013789028..ca00896aa9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a420824249..60c421ae28 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ebf6906a8f..7aa21fa480 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c025407afd..537beff304 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8797f6d037..004d8d4d31 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c18310d59a..374c51dfc6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transactions_sync_response.rb b/lib/plaid/models/transactions_sync_response.rb index 8aae4174e8..c59f1e04d9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea74df59ef..3fe7a984b8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5ad14206e0..aed9fbe03a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3bf34579f1..250b007b6b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 380841da4b..c60c14e429 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ach_network.rb b/lib/plaid/models/transfer_ach_network.rb index a19cd66c1b..539b2052bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 072de1934a..b6dbc48d15 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da7d2218d0..2933a81959 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3d7ee82fb9..90d07d3834 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 791a47545d..6448265ca1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_create_response.rb b/lib/plaid/models/transfer_authorization_create_response.rb index 56d90bbd01..fd49b35f53 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 55efa6a796..1ad641bb2f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3f285f0032..dc087b515b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bc524f1c03..49934a5a4a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d9aa28f09c..d662f768bc 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 693ccc4823..ee0577d2a3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0ce6fe8681..e2a814b6b7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b6c57a05c5..cfe80c3133 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1e045d197c..9423f71985 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8fd3716139..94093ea74a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_authorization_risk_level.rb b/lib/plaid/models/transfer_authorization_risk_level.rb index 9f9d6551d3..1a1474d294 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88ac1eb6d3..2661c0e9fa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3d85496fe9..7a1f73a0b6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c7985b2453..ecd16108c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4ae773669b..179a41923a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 20a9d62eb7..5c247907db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6b06348d93..5b90322e0e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4bda8845c3..e9eb82f671 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 609b93723f..a5e8922cb9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 92718d09de..37adbf9488 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_capabilities_get_rf_p.rb b/lib/plaid/models/transfer_capabilities_get_rf_p.rb index 084cbf78aa..609c946b96 100644 --- a/lib/plaid/models/transfer_capabilities_get_rf_p.rb +++ b/lib/plaid/models/transfer_capabilities_get_rf_p.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 330de31967..084f630844 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8dd3e1fe32..11ad149f35 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b19e50dee6..69bace9f45 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0153bf447a..b58ace6401 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ce30dd4ed7..507e8ef3ee 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a80510e117..cbf1de99e0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b1001309ac..0c58fff4f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4b5722ca51..922ae2f051 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 807ee0f789..d168d352cf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8f3c2a0fe1..eae3c8d338 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a2b487c062..be7d298506 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9c62e07e89..d65338c70d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2e03408717..28e12f1bb7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d2d192e3d0..96ec74ff22 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f559d79c2c..a2c6f8e386 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 253f0adc65..1b0d876e31 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_event_list_request.rb b/lib/plaid/models/transfer_event_list_request.rb index a3fd194133..fbab70e68a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8a50428fda..aec981666d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9dd7ca79d8..12e33cb107 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a114de4122..742695fb77 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6186751607..892104a26c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e87b3c6934..2fbfaf474f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bed3c798c5..f8136a5433 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6ca01a8bbe..daab99322e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b90c8a41bd..b8d06d8303 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b09d69a259..114a4e5223 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_funding_account_with_display_name.rb b/lib/plaid/models/transfer_funding_account_with_display_name.rb index b641d8f140..961f016371 100644 --- a/lib/plaid/models/transfer_funding_account_with_display_name.rb +++ b/lib/plaid/models/transfer_funding_account_with_display_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_funding_account_with_display_name_all_of.rb b/lib/plaid/models/transfer_funding_account_with_display_name_all_of.rb index 16e8edf159..6bd3bda6ea 100644 --- a/lib/plaid/models/transfer_funding_account_with_display_name_all_of.rb +++ b/lib/plaid/models/transfer_funding_account_with_display_name_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ea4152a97e..8177d3d4b7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88c798b911..1a1d206a21 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_guarantee_details.rb b/lib/plaid/models/transfer_guarantee_details.rb index ada4d3c499..24db0bb637 100644 --- a/lib/plaid/models/transfer_guarantee_details.rb +++ b/lib/plaid/models/transfer_guarantee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_guarantee_outcome.rb b/lib/plaid/models/transfer_guarantee_outcome.rb index 0335f96ab6..d0cf6eaf6f 100644 --- a/lib/plaid/models/transfer_guarantee_outcome.rb +++ b/lib/plaid/models/transfer_guarantee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_guarantee_schedule_item.rb b/lib/plaid/models/transfer_guarantee_schedule_item.rb index 45114a2a88..bf2cccda9f 100644 --- a/lib/plaid/models/transfer_guarantee_schedule_item.rb +++ b/lib/plaid/models/transfer_guarantee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_guarantee_schedule_item_all_of.rb b/lib/plaid/models/transfer_guarantee_schedule_item_all_of.rb index f8f759806f..a75a8416b3 100644 --- a/lib/plaid/models/transfer_guarantee_schedule_item_all_of.rb +++ b/lib/plaid/models/transfer_guarantee_schedule_item_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6e952fe8f..f3a7109f93 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3185d6b214..3dace0132b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 20bd3a6789..3959e42f20 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dbd7cb1c50..092e3b408e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2f1b49d1bf..0320bec8bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 046e0ef802..60ad4cb8b5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4f28f78182..2e64307752 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3e4c284d16..f3321def15 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cd5528c639..f1edabd78f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b801c9703c..b9e5db493a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1c7e5d305c..fcbdf6fbe9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9025fb96bb..6277e917eb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4bef0970c7..dd5aea4688 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_deposit_response.rb b/lib/plaid/models/transfer_ledger_deposit_response.rb index 8a62041bda..77fe709cb2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0df0cbf3e2..7b2a91af21 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 097aff7d6c..b15269c37d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_event.rb b/lib/plaid/models/transfer_ledger_event.rb index 00f4681bc7..00341179aa 100644 --- a/lib/plaid/models/transfer_ledger_event.rb +++ b/lib/plaid/models/transfer_ledger_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_event_list_request.rb b/lib/plaid/models/transfer_ledger_event_list_request.rb index 41161a6cd1..ee13bad0a3 100644 --- a/lib/plaid/models/transfer_ledger_event_list_request.rb +++ b/lib/plaid/models/transfer_ledger_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_event_list_response.rb b/lib/plaid/models/transfer_ledger_event_list_response.rb index de1df749b5..e6a6f76c42 100644 --- a/lib/plaid/models/transfer_ledger_event_list_response.rb +++ b/lib/plaid/models/transfer_ledger_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f08ad0ff52..3b5b9ca4cf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_get_response.rb b/lib/plaid/models/transfer_ledger_get_response.rb index 16c5a41539..96fd18bc6f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 246efd0b85..7d69ab1005 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b0f8160834..3c3dca941d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_ledger_withdraw_response.rb b/lib/plaid/models/transfer_ledger_withdraw_response.rb index c06f713f9f..a17ccbff78 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c8e5625a0..af5cf77e1a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a696255782..11ed125c05 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index c3a07b5376..603e0edeb1 100644 --- a/lib/plaid/models/transfer_metrics_get_authorization_usage.rb +++ b/lib/plaid/models/transfer_metrics_get_authorization_usage.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_request.rb b/lib/plaid/models/transfer_metrics_get_request.rb index 582d2820f0..f185fb96a5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 66dbd485f4..3daaa3182e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_metrics_get_return_rates.rb b/lib/plaid/models/transfer_metrics_get_return_rates.rb index 49b84f76e9..a7e082db21 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5f495d317c..b193b6bf5b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 92385aef01..0a9a6916d5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1a7ea3f67b..5bc3073268 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9e05176c59..cf0bd5ed68 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d571a3c611..08f4c69235 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 aca0233d9c..01321bba08 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 58093777a1..bccd609c1e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0c396e2567..1d7cf419c2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_create_request.rb b/lib/plaid/models/transfer_originator_funding_account_create_request.rb index 5502104220..eef1ce5b76 100644 --- a/lib/plaid/models/transfer_originator_funding_account_create_request.rb +++ b/lib/plaid/models/transfer_originator_funding_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_originator_funding_account_create_response.rb b/lib/plaid/models/transfer_originator_funding_account_create_response.rb index d143b14383..a417b2bb8d 100644 --- a/lib/plaid/models/transfer_originator_funding_account_create_response.rb +++ b/lib/plaid/models/transfer_originator_funding_account_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 84ed0bc132..ab6655f1ac 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 823ebf191a..279badc90d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d3ba0a5895..faf1d30065 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e3a46000b9..b0f164ee1a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 485892a8ae..5822279cf0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ac03e60d4f..9f0103f689 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_onboarding_update_webhook.rb b/lib/plaid/models/transfer_platform_onboarding_update_webhook.rb index 165bd336ca..dd4288975f 100644 --- a/lib/plaid/models/transfer_platform_onboarding_update_webhook.rb +++ b/lib/plaid/models/transfer_platform_onboarding_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 3a8919f89a..b7ac131748 100644 --- a/lib/plaid/models/transfer_platform_originator_create_request.rb +++ b/lib/plaid/models/transfer_platform_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_originator_create_response.rb b/lib/plaid/models/transfer_platform_originator_create_response.rb index a19b9dc7b5..a1392301fb 100644 --- a/lib/plaid/models/transfer_platform_originator_create_response.rb +++ b/lib/plaid/models/transfer_platform_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_person_address.rb b/lib/plaid/models/transfer_platform_person_address.rb index f293bb76b5..35504b78b2 100644 --- a/lib/plaid/models/transfer_platform_person_address.rb +++ b/lib/plaid/models/transfer_platform_person_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_person_create_request.rb b/lib/plaid/models/transfer_platform_person_create_request.rb index d9104c9748..4c5af83c5b 100644 --- a/lib/plaid/models/transfer_platform_person_create_request.rb +++ b/lib/plaid/models/transfer_platform_person_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_person_create_response.rb b/lib/plaid/models/transfer_platform_person_create_response.rb index 8c774296a2..3127249cd0 100644 --- a/lib/plaid/models/transfer_platform_person_create_response.rb +++ b/lib/plaid/models/transfer_platform_person_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_person_id_number.rb b/lib/plaid/models/transfer_platform_person_id_number.rb index 78c9f238fe..caa29e3fb9 100644 --- a/lib/plaid/models/transfer_platform_person_id_number.rb +++ b/lib/plaid/models/transfer_platform_person_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_person_name.rb b/lib/plaid/models/transfer_platform_person_name.rb index 58cb802615..c9e339429c 100644 --- a/lib/plaid/models/transfer_platform_person_name.rb +++ b/lib/plaid/models/transfer_platform_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_requirement.rb b/lib/plaid/models/transfer_platform_requirement.rb index 7560753fd7..27489436a2 100644 --- a/lib/plaid/models/transfer_platform_requirement.rb +++ b/lib/plaid/models/transfer_platform_requirement.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_requirement_submission.rb b/lib/plaid/models/transfer_platform_requirement_submission.rb index 476ceb1005..66d7aaf0bc 100644 --- a/lib/plaid/models/transfer_platform_requirement_submission.rb +++ b/lib/plaid/models/transfer_platform_requirement_submission.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_requirement_submit_request.rb b/lib/plaid/models/transfer_platform_requirement_submit_request.rb index f684b9b5a8..321a304bae 100644 --- a/lib/plaid/models/transfer_platform_requirement_submit_request.rb +++ b/lib/plaid/models/transfer_platform_requirement_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_requirement_submit_response.rb b/lib/plaid/models/transfer_platform_requirement_submit_response.rb index 3b88d8d55d..6588245848 100644 --- a/lib/plaid/models/transfer_platform_requirement_submit_response.rb +++ b/lib/plaid/models/transfer_platform_requirement_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb b/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb index d010e20c76..e06b3f2445 100644 --- a/lib/plaid/models/transfer_platform_tos_acceptance_metadata.rb +++ b/lib/plaid/models/transfer_platform_tos_acceptance_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_questionnaire_create_request.rb b/lib/plaid/models/transfer_questionnaire_create_request.rb index 9d076933ad..6b6eeba20f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6de4c1d545..df7b3df9b8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 30bc865291..2eef3a40b9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9944946167..f3e1b1ec84 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cc5c5d8133..fc66c91067 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 be78dd7936..6ab5d345cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2ab6e2c8b4..cb1426a11d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f8a094c100..ff40f0d321 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7f38d4aca9..491aef1b84 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f09e93c9d1..ce80204982 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 49573206b8..c7549c7b5e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 905b7e667f..909bb6b2c3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e058eaf932..9601bfd8f6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 306565b1d8..1792a83f38 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_refund_cancel_request.rb b/lib/plaid/models/transfer_refund_cancel_request.rb index 4b5c58e659..bc5ecd6871 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 74740a0e28..0ca9ad41ee 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f8a54b7284..90d98eda0f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 805d874b7a..0d558747a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2b2b941809..c4533b9f78 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 46c943d210..a3210d1133 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0f114b5719..c9966ee35c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 70bca7bd5f..a148d00048 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 93382cb5af..061adc7e74 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b31255002d..170a811d5f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e544bcbf28..b3316b1867 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 cb75639235..8478f65e02 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b90fd0b084..706929144c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 92eae0771a..c09fac5df4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_return_recover_request.rb b/lib/plaid/models/transfer_return_recover_request.rb index 931b3ca0d9..841b2a0867 100644 --- a/lib/plaid/models/transfer_return_recover_request.rb +++ b/lib/plaid/models/transfer_return_recover_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_return_recover_response.rb b/lib/plaid/models/transfer_return_recover_response.rb index c4dd016c2d..fdca40488c 100644 --- a/lib/plaid/models/transfer_return_recover_response.rb +++ b/lib/plaid/models/transfer_return_recover_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b87dacd42b..ad28f9555a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c344316147..f3cc307cbf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 da8dd53238..e33d91c919 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/transfer_sweep_get_request.rb b/lib/plaid/models/transfer_sweep_get_request.rb index 8054c408dc..4c3bc82775 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9029ebb12e..1f0f5426a8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e22ad86fe6..b8a7539a07 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e1e4698615..caf2d34cb6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 43c7f4493d..0c1d95a973 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d0e22202b5..607b84c9b0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 048dd04cc0..85b18393cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 87e40b7ece..2a2b356a46 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bc56360e2a..46c4394a83 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 56ceea0595..943312aa13 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9bf7135a70..cff72d50d0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 acb8a5315b..e12d584d36 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 97821da6a3..3225cdd527 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/trust_index.rb b/lib/plaid/models/trust_index.rb index 1eb3feb8d1..07a820685c 100644 --- a/lib/plaid/models/trust_index.rb +++ b/lib/plaid/models/trust_index.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/trust_index_subscore.rb b/lib/plaid/models/trust_index_subscore.rb index bdaeebc84b..370472034b 100644 --- a/lib/plaid/models/trust_index_subscore.rb +++ b/lib/plaid/models/trust_index_subscore.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/trust_index_subscores.rb b/lib/plaid/models/trust_index_subscores.rb index 046459dfa3..a7b70e2b85 100644 --- a/lib/plaid/models/trust_index_subscores.rb +++ b/lib/plaid/models/trust_index_subscores.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/trusted_device_data.rb b/lib/plaid/models/trusted_device_data.rb index 9a39050acd..c5da0fe341 100644 --- a/lib/plaid/models/trusted_device_data.rb +++ b/lib/plaid/models/trusted_device_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 73b69a6e67..74f8d72bba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 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 949ba3fa0b..fb583fb8c9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity.rb b/lib/plaid/models/user_account_identity.rb index b23814c323..2e2a54afc7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2103b91ae3..48170a87cf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_edit_counts.rb b/lib/plaid/models/user_account_identity_edit_counts.rb index ccfc416b4f..fdeeaebbf4 100644 --- a/lib/plaid/models/user_account_identity_edit_counts.rb +++ b/lib/plaid/models/user_account_identity_edit_counts.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_edit_history.rb b/lib/plaid/models/user_account_identity_edit_history.rb index c804270c4e..8134b06004 100644 --- a/lib/plaid/models/user_account_identity_edit_history.rb +++ b/lib/plaid/models/user_account_identity_edit_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4cc4805670..46af454e0a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_identity_official_document.rb b/lib/plaid/models/user_account_identity_official_document.rb index eae5b6bb6f..c240d5b060 100644 --- a/lib/plaid/models/user_account_identity_official_document.rb +++ b/lib/plaid/models/user_account_identity_official_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 771c063978..381d1293f3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8b0ade8d5c..cd8fa1b80e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -14,7 +14,7 @@ require 'time' module Plaid - # The `USER_ACCOUNT_REVOKED` webhook is fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for PNC Items, but may be sent in the future for other financial institutions that allow account-level permissions revocation through their portals. Upon receiving this webhook, it is recommended to delete any Plaid-derived data you have stored that is associated with the revoked account. If you are using Auth and receive this webhook, this webhook indicates that the TAN associated with the revoked account is no longer valid and cannot be used to create new transfers. You should not create new ACH transfers for the account that was revoked until access has been re-granted. You can request the user to re-grant access to their account by sending them through [update mode](https://plaid.com/docs/link/update-mode). Alternatively, they may re-grant access directly through the Data Provider's portal. After the user has re-granted access, Auth customers should call the auth endpoint again to obtain the new TAN. + # The `USER_ACCOUNT_REVOKED` webhook is fired when an end user has revoked access to their account on the Data Provider's portal. This webhook is currently sent only for Chase, PNC, and Truist Items, but may be sent in the future for other financial institutions that allow account-level permissions revocation through their portals. Upon receiving this webhook, it is recommended to delete any Plaid-derived data you have stored that is associated with the revoked account. If you are using Auth and receive this webhook, this webhook indicates that the TAN associated with the revoked account is no longer valid and cannot be used to create new transfers. You should not create new ACH transfers for the account that was revoked until access has been re-granted. You can request the user to re-grant access to their account by sending them through [update mode](https://plaid.com/docs/link/update-mode). Alternatively, they may re-grant access directly through the Data Provider's portal. After the user has re-granted access, Auth customers should call the auth endpoint again to obtain the new TAN. class UserAccountRevokedWebhook # `ITEM` attr_accessor :webhook_type diff --git a/lib/plaid/models/user_account_session_event.rb b/lib/plaid/models/user_account_session_event.rb index cfdcde531a..4689f14c98 100644 --- a/lib/plaid/models/user_account_session_event.rb +++ b/lib/plaid/models/user_account_session_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_event_send_request.rb b/lib/plaid/models/user_account_session_event_send_request.rb index bf680244d6..92326f6f2c 100644 --- a/lib/plaid/models/user_account_session_event_send_request.rb +++ b/lib/plaid/models/user_account_session_event_send_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_account_session_event_send_response.rb b/lib/plaid/models/user_account_session_event_send_response.rb index f39ec67889..b455011678 100644 --- a/lib/plaid/models/user_account_session_event_send_response.rb +++ b/lib/plaid/models/user_account_session_event_send_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2ec7d9f47a..524666a3bd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7e0c9c47f1..36da284e50 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a001ef3670..c7c43399b9 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_based_products.rb b/lib/plaid/models/user_based_products.rb index e919193bed..29d5c08f72 100644 --- a/lib/plaid/models/user_based_products.rb +++ b/lib/plaid/models/user_based_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_create_request.rb b/lib/plaid/models/user_create_request.rb index b0027a9a3d..a53d21c0bb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1bbbf2ff2c..77c79a1843 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1050a8573b..77d3ac01c8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a0e86c487d..f9c173a3aa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_financial_data_refresh_request.rb b/lib/plaid/models/user_financial_data_refresh_request.rb index 02ad536fed..6a5316e24a 100644 --- a/lib/plaid/models/user_financial_data_refresh_request.rb +++ b/lib/plaid/models/user_financial_data_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_financial_data_refresh_response.rb b/lib/plaid/models/user_financial_data_refresh_response.rb index b4cd162f07..fd854bcf6a 100644 --- a/lib/plaid/models/user_financial_data_refresh_response.rb +++ b/lib/plaid/models/user_financial_data_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_get_request.rb b/lib/plaid/models/user_get_request.rb index 353386aa3d..b3f09a2c77 100644 --- a/lib/plaid/models/user_get_request.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_get_response.rb b/lib/plaid/models/user_get_response.rb index 875ef9666e..cd887d9dfc 100644 --- a/lib/plaid/models/user_get_response.rb +++ b/lib/plaid/models/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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5f2f53c907..9199e66da0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_identity_remove_request.rb b/lib/plaid/models/user_identity_remove_request.rb index cedce8621b..e7b33e8081 100644 --- a/lib/plaid/models/user_identity_remove_request.rb +++ b/lib/plaid/models/user_identity_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_identity_remove_response.rb b/lib/plaid/models/user_identity_remove_response.rb index 67f598f92f..75d587174a 100644 --- a/lib/plaid/models/user_identity_remove_response.rb +++ b/lib/plaid/models/user_identity_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_income_verification_refresh_reconnect_needed_webhook.rb b/lib/plaid/models/user_income_verification_refresh_reconnect_needed_webhook.rb new file mode 100644 index 0000000000..16bfe2aee1 --- /dev/null +++ b/lib/plaid/models/user_income_verification_refresh_reconnect_needed_webhook.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when the attempt to refresh Payroll Income data for a user via `/credit/payroll_income/refresh` failed because the user must re-connect their payroll account. + class UserIncomeVerificationRefreshReconnectNeededWebhook + # `INCOME` + attr_accessor :webhook_type + + # `USER_INCOME_VERIFICATION_REFRESH_RECONNECT_NEEDED` + attr_accessor :webhook_code + + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + 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', + :'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', + :'user_id' => :'String', + :'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::UserIncomeVerificationRefreshReconnectNeededWebhook` 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::UserIncomeVerificationRefreshReconnectNeededWebhook`. 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?(:'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 && + 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, 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/user_income_verification_risk_signals_status_webhook.rb b/lib/plaid/models/user_income_verification_risk_signals_status_webhook.rb new file mode 100644 index 0000000000..85d95df87b --- /dev/null +++ b/lib/plaid/models/user_income_verification_risk_signals_status_webhook.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when risk signals have been processed for documents uploaded via Document Income. It will typically take a minute or two for this webhook to fire after the end user has uploaded their documents in the Document Income flow. Once this webhook has fired, `/credit/payroll_income/risk_signals/get` may then be called to determine whether the documents were successfully processed and to retrieve risk data. + class UserIncomeVerificationRiskSignalsStatusWebhook + # `\"INCOME\"` + attr_accessor :webhook_type + + # `USER_INCOME_VERIFICATION_RISK_SIGNALS` + attr_accessor :webhook_code + + # The Item ID associated with the verification. + attr_accessor :item_id + + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + # `RISK_SIGNALS_PROCESSING_COMPLETE`: The income verification fraud detection processing has completed. If the user uploaded multiple documents, this webhook will fire when all documents have finished processing. Call the `/credit/payroll_income/risk_signals/get` endpoint to get all risk signal data. + attr_accessor :risk_signals_status + + 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', + :'user_id' => :'user_id', + :'risk_signals_status' => :'risk_signals_status', + :'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', + :'user_id' => :'String', + :'risk_signals_status' => :'String', + :'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::UserIncomeVerificationRiskSignalsStatusWebhook` 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::UserIncomeVerificationRiskSignalsStatusWebhook`. 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?(:'user_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'risk_signals_status') + self.risk_signals_status = attributes[:'risk_signals_status'] + 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 @risk_signals_status.nil? + invalid_properties.push('invalid value for "risk_signals_status", risk_signals_status 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 @risk_signals_status.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 && + user_id == o.user_id && + risk_signals_status == o.risk_signals_status && + 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, user_id, risk_signals_status, 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/user_income_verification_status_webhook.rb b/lib/plaid/models/user_income_verification_status_webhook.rb new file mode 100644 index 0000000000..5ad9603517 --- /dev/null +++ b/lib/plaid/models/user_income_verification_status_webhook.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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # Fired when the status of an income verification instance has changed. This webhook is fired for both the Document and Payroll Income flows, but not the Bank Income flow. It will typically take several minutes for this webhook to fire after the end user has uploaded their documents in the Document Income flow. + class UserIncomeVerificationStatusWebhook + # `\"INCOME\"` + attr_accessor :webhook_type + + # `USER_INCOME_VERIFICATION` + attr_accessor :webhook_code + + # The Item ID associated with the verification. + attr_accessor :item_id + + # A unique user identifier, created by `/user/create`. Integrations that began using `/user/create` after December 10, 2025 use this field to identify a user instead of the `user_token`. For more details, see [New User APIs](https://plaid.com/docs/api/users/user-apis). + attr_accessor :user_id + + # `VERIFICATION_STATUS_PROCESSING_COMPLETE`: The income verification processing has completed. This indicates that the documents have been parsed successfully or that the documents were not parsable. If the user uploaded multiple documents, this webhook will fire when all documents have finished processing. Call the `/credit/payroll_income/get` endpoint and check the document metadata to see which documents were successfully parsed. `VERIFICATION_STATUS_PROCESSING_FAILED`: An unexpected internal error occurred when attempting to process the verification documentation. `VERIFICATION_STATUS_PENDING_APPROVAL`: (deprecated) The income verification has been sent to the user for review. + attr_accessor :verification_status + + 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', + :'user_id' => :'user_id', + :'verification_status' => :'verification_status', + :'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', + :'user_id' => :'String', + :'verification_status' => :'String', + :'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::UserIncomeVerificationStatusWebhook` 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::UserIncomeVerificationStatusWebhook`. 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?(:'user_id') + self.user_id = attributes[:'user_id'] + end + + if attributes.key?(:'verification_status') + self.verification_status = attributes[:'verification_status'] + 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 @verification_status.nil? + invalid_properties.push('invalid value for "verification_status", verification_status 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 @verification_status.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 && + user_id == o.user_id && + verification_status == o.verification_status && + 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, user_id, verification_status, 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/user_items_associate_request.rb b/lib/plaid/models/user_items_associate_request.rb index b5b86b5415..978955c9c1 100644 --- a/lib/plaid/models/user_items_associate_request.rb +++ b/lib/plaid/models/user_items_associate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_associate_response.rb b/lib/plaid/models/user_items_associate_response.rb index 4b0b758ea0..bc71ce0024 100644 --- a/lib/plaid/models/user_items_associate_response.rb +++ b/lib/plaid/models/user_items_associate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c53e49c68a..32dc70470c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3324d270d4..868d1bd9fe 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_remove_request.rb b/lib/plaid/models/user_items_remove_request.rb index e294559b56..11eb888b19 100644 --- a/lib/plaid/models/user_items_remove_request.rb +++ b/lib/plaid/models/user_items_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_items_remove_response.rb b/lib/plaid/models/user_items_remove_response.rb index f1355314ff..a949bba736 100644 --- a/lib/plaid/models/user_items_remove_response.rb +++ b/lib/plaid/models/user_items_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 316b548252..04773860cd 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_products_terminate_request.rb b/lib/plaid/models/user_products_terminate_request.rb index c1647b4d02..3438f3ef81 100644 --- a/lib/plaid/models/user_products_terminate_request.rb +++ b/lib/plaid/models/user_products_terminate_request.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_products_terminate_response.rb b/lib/plaid/models/user_products_terminate_response.rb index a26c36118f..e8451f501b 100644 --- a/lib/plaid/models/user_products_terminate_response.rb +++ b/lib/plaid/models/user_products_terminate_response.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_remove_request.rb b/lib/plaid/models/user_remove_request.rb index fcb20ca43b..53ed1d4f23 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c5205f8571..9b82e76527 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 10f6b46259..87bba6936e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 88a005005d..2a81acbcc3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dd5456ddd5..7ca96b7827 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_third_party_token_create_request.rb b/lib/plaid/models/user_third_party_token_create_request.rb index 1b9cc77e11..f1830b30f0 100644 --- a/lib/plaid/models/user_third_party_token_create_request.rb +++ b/lib/plaid/models/user_third_party_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_third_party_token_create_response.rb b/lib/plaid/models/user_third_party_token_create_response.rb index 13aa3b828c..0762af8b21 100644 --- a/lib/plaid/models/user_third_party_token_create_response.rb +++ b/lib/plaid/models/user_third_party_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_third_party_token_remove_request.rb b/lib/plaid/models/user_third_party_token_remove_request.rb index 6793270aaa..868af1ecc2 100644 --- a/lib/plaid/models/user_third_party_token_remove_request.rb +++ b/lib/plaid/models/user_third_party_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_third_party_token_remove_response.rb b/lib/plaid/models/user_third_party_token_remove_response.rb index 6de7fa7f3f..3592d8781b 100644 --- a/lib/plaid/models/user_third_party_token_remove_response.rb +++ b/lib/plaid/models/user_third_party_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_transactions_refresh_request.rb b/lib/plaid/models/user_transactions_refresh_request.rb index 2a6ea9c860..0c72685e85 100644 --- a/lib/plaid/models/user_transactions_refresh_request.rb +++ b/lib/plaid/models/user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/user_transactions_refresh_response.rb b/lib/plaid/models/user_transactions_refresh_response.rb index 1690447c7f..cec987d387 100644 --- a/lib/plaid/models/user_transactions_refresh_response.rb +++ b/lib/plaid/models/user_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 8aa52b650f..0dbdecc496 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0e68c65b22..b34cb807db 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dcdc0fea97..3e634939a2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 82220da1da..cc52c2bf76 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 46d414db57..b87c7dd9df 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4b8d6c1fc9..9c1c0818cb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c72017fc95..2ef0074a2a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a3e6652b43..8b23e4b215 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0d9cf2a236..c8d36f3159 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verify_sms_details.rb b/lib/plaid/models/verify_sms_details.rb index 1fbeecf00b..146966fd74 100644 --- a/lib/plaid/models/verify_sms_details.rb +++ b/lib/plaid/models/verify_sms_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/verify_sms_details_status.rb b/lib/plaid/models/verify_sms_details_status.rb index f0aed4284e..bb3388ca24 100644 --- a/lib/plaid/models/verify_sms_details_status.rb +++ b/lib/plaid/models/verify_sms_details_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e34aa21337..b11dfbf933 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f178471b0c..c89eff0a4f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3720ee3185..455c5c6ec0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dc2c52c69b..2818cea1ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4278b62d5e..d9d653a738 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fc1005f6bf..e1ebad9309 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a801e6a29f..ca329e9313 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d8ee412513..6bdd816f1c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 064914b804..43556dd9de 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1b99def302..c35c9b5bd1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 09a0b29482..243d01ad92 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 814e017d7e..cfd508ba16 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6712b240f..bfab76a654 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0315e9f7d3..6ec3a50d38 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_list_response.rb b/lib/plaid/models/wallet_list_response.rb index e2a3521186..a223cd11d8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6d740b270..d3b4455ed2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 dba185ac28..2d2cc9400a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4e058172c3..1ee378a1bf 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a427134ee8..9936f17f1b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class WalletTransaction # A reference for the transaction attr_accessor :reference - # The type of the transaction. The supported transaction types that are returned are: `BANK_TRANSFER:` a transaction which credits an e-wallet through an external bank transfer. `PAYOUT:` a transaction which debits an e-wallet by disbursing funds to a counterparty. `PIS_PAY_IN:` a payment which credits an e-wallet through Plaid's Payment Initiation Services (PIS) APIs. For more information see the [Payment Initiation endpoints](https://plaid.com/docs/api/products/payment-initiation/). `REFUND:` a transaction which debits an e-wallet by refunding a previously initiated payment made through Plaid's [PIS APIs](https://plaid.com/docs/api/products/payment-initiation/). `FUNDS_SWEEP`: an automated transaction which debits funds from an e-wallet to a designated client-owned account. `RETURN`: an automated transaction where a debit transaction was reversed and money moved back to originating account. `RECALL`: a transaction where the sending bank has requested the return of funds due to a fraud claim, technical error, or other issue associated with the payment. `ACCOUNT_FUNDING`: an incoming transfer from an allowlisted account. Not automatically refunded. `AUTO_REFUND`: an outgoing refund automatically initiated by Plaid in response to an unexpected `BANK_TRANSFER`. + # The type of the transaction. The supported transaction types that are returned are: `BANK_TRANSFER:` a transaction which credits an e-wallet through an external bank transfer. `PAYOUT:` a transaction which debits an e-wallet by disbursing funds to a counterparty. `PIS_PAY_IN:` a payment which credits an e-wallet through Plaid's Payment Initiation Services (PIS) APIs. For more information see the [Payment Initiation endpoints](https://plaid.com/docs/api/products/payment-initiation/). `REFUND:` a transaction which debits an e-wallet by refunding a previously initiated payment made through Plaid's [PIS APIs](https://plaid.com/docs/api/products/payment-initiation/). `FUNDS_SWEEP`: an automated transaction which debits funds from an e-wallet to a designated client-owned account. `RETURN`: an automated transaction where a debit transaction was reversed and money moved back to originating account. `RECALL`: a transaction where the sending bank has requested the return of funds due to a fraud claim, technical error, or other issue associated with the payment. `ACCOUNT_FUNDING`: an incoming transfer from an allowlisted account. Not automatically refunded. `AUTO_REFUND`: an outgoing refund automatically initiated by Plaid in response to an unexpected `BANK_TRANSFER`. `TRANSFER_OUT`: a transaction that debits an e-wallet and cannot be classified under another category, typically initiated by a non-Plaid flow due to technical errors, FPS timeouts, or other payment-related issues. attr_accessor :type attr_accessor :scheme @@ -262,7 +262,7 @@ def valid? return false if @wallet_id.nil? return false if @reference.nil? return false if @type.nil? - type_validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND"]) + type_validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND", "TRANSFER_OUT"]) return false unless type_validator.valid?(@type) return false if @amount.nil? return false if @counterparty.nil? @@ -275,7 +275,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] type Object to be assigned def type=(type) - validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND"]) + validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND", "TRANSFER_OUT"]) unless validator.valid?(type) fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/wallet_transaction_amount.rb b/lib/plaid/models/wallet_transaction_amount.rb index cfa204db8e..419e1f9d50 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4526d2d775..a9ca8ffce5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 168155cd60..86a446eeb6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6db52dcf29..7dbcd53d5e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 53a154dede..b467397160 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fe37707471..bbaa18359e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -32,6 +32,9 @@ class WalletTransactionExecuteRequest attr_accessor :amount + # The `user_id` of the end user the transaction is for, as returned by [`/user/create`](https://plaid.com/docs/api/users/#usercreate). The user must have a `name` and either an email address or a phone number. Required for new integrations. + attr_accessor :user_id + # A reference for the transaction. This must be an alphanumeric string with 6 to 18 characters and must not contain any special characters or spaces. Ensure that the `reference` field is unique for each transaction. attr_accessor :reference @@ -46,6 +49,7 @@ def self.attribute_map :'wallet_id' => :'wallet_id', :'counterparty' => :'counterparty', :'amount' => :'amount', + :'user_id' => :'user_id', :'reference' => :'reference', :'originating_fund_source' => :'originating_fund_source' } @@ -65,6 +69,7 @@ def self.openapi_types :'wallet_id' => :'String', :'counterparty' => :'WalletTransactionCounterparty', :'amount' => :'WalletTransactionAmount', + :'user_id' => :'String', :'reference' => :'String', :'originating_fund_source' => :'OriginatingFundSource' } @@ -116,6 +121,10 @@ def initialize(attributes = {}) self.amount = attributes[:'amount'] end + if attributes.key?(:'user_id') + self.user_id = attributes[:'user_id'] + end + if attributes.key?(:'reference') self.reference = attributes[:'reference'] end @@ -255,6 +264,7 @@ def ==(o) wallet_id == o.wallet_id && counterparty == o.counterparty && amount == o.amount && + user_id == o.user_id && reference == o.reference && originating_fund_source == o.originating_fund_source end @@ -268,7 +278,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [client_id, secret, idempotency_key, wallet_id, counterparty, amount, reference, originating_fund_source].hash + [client_id, secret, idempotency_key, wallet_id, counterparty, amount, user_id, reference, originating_fund_source].hash end # Builds the object from hash diff --git a/lib/plaid/models/wallet_transaction_execute_response.rb b/lib/plaid/models/wallet_transaction_execute_response.rb index f5a375bacc..f278b7ef0a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b05efada43..1fbe4412c4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d416d9b059..bd6689ecff 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 6e967bccb5..e44a50a009 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -25,7 +25,7 @@ class WalletTransactionGetResponse # A reference for the transaction attr_accessor :reference - # The type of the transaction. The supported transaction types that are returned are: `BANK_TRANSFER:` a transaction which credits an e-wallet through an external bank transfer. `PAYOUT:` a transaction which debits an e-wallet by disbursing funds to a counterparty. `PIS_PAY_IN:` a payment which credits an e-wallet through Plaid's Payment Initiation Services (PIS) APIs. For more information see the [Payment Initiation endpoints](https://plaid.com/docs/api/products/payment-initiation/). `REFUND:` a transaction which debits an e-wallet by refunding a previously initiated payment made through Plaid's [PIS APIs](https://plaid.com/docs/api/products/payment-initiation/). `FUNDS_SWEEP`: an automated transaction which debits funds from an e-wallet to a designated client-owned account. `RETURN`: an automated transaction where a debit transaction was reversed and money moved back to originating account. `RECALL`: a transaction where the sending bank has requested the return of funds due to a fraud claim, technical error, or other issue associated with the payment. `ACCOUNT_FUNDING`: an incoming transfer from an allowlisted account. Not automatically refunded. `AUTO_REFUND`: an outgoing refund automatically initiated by Plaid in response to an unexpected `BANK_TRANSFER`. + # The type of the transaction. The supported transaction types that are returned are: `BANK_TRANSFER:` a transaction which credits an e-wallet through an external bank transfer. `PAYOUT:` a transaction which debits an e-wallet by disbursing funds to a counterparty. `PIS_PAY_IN:` a payment which credits an e-wallet through Plaid's Payment Initiation Services (PIS) APIs. For more information see the [Payment Initiation endpoints](https://plaid.com/docs/api/products/payment-initiation/). `REFUND:` a transaction which debits an e-wallet by refunding a previously initiated payment made through Plaid's [PIS APIs](https://plaid.com/docs/api/products/payment-initiation/). `FUNDS_SWEEP`: an automated transaction which debits funds from an e-wallet to a designated client-owned account. `RETURN`: an automated transaction where a debit transaction was reversed and money moved back to originating account. `RECALL`: a transaction where the sending bank has requested the return of funds due to a fraud claim, technical error, or other issue associated with the payment. `ACCOUNT_FUNDING`: an incoming transfer from an allowlisted account. Not automatically refunded. `AUTO_REFUND`: an outgoing refund automatically initiated by Plaid in response to an unexpected `BANK_TRANSFER`. `TRANSFER_OUT`: a transaction that debits an e-wallet and cannot be classified under another category, typically initiated by a non-Plaid flow due to technical errors, FPS timeouts, or other payment-related issues. attr_accessor :type attr_accessor :scheme @@ -283,7 +283,7 @@ def valid? return false if @wallet_id.nil? return false if @reference.nil? return false if @type.nil? - type_validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND"]) + type_validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND", "TRANSFER_OUT"]) return false unless type_validator.valid?(@type) return false if @amount.nil? return false if @counterparty.nil? @@ -297,7 +297,7 @@ def valid? # Custom attribute writer method checking allowed values (enum). # @param [Object] type Object to be assigned def type=(type) - validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND"]) + validator = EnumAttributeValidator.new('String', ["BANK_TRANSFER", "PAYOUT", "PIS_PAY_IN", "REFUND", "FUNDS_SWEEP", "RETURN", "RECALL", "ACCOUNT_FUNDING", "AUTO_REFUND", "TRANSFER_OUT"]) unless validator.valid?(type) fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}." end diff --git a/lib/plaid/models/wallet_transaction_list_request.rb b/lib/plaid/models/wallet_transaction_list_request.rb index d50fdf835d..083fbf5a4f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 030314a3b8..c3eed507cb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 89667f279b..6a3be2dc86 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_payee_verification_status.rb b/lib/plaid/models/wallet_transaction_payee_verification_status.rb index e6ed27a097..4cd69f67a3 100644 --- a/lib/plaid/models/wallet_transaction_payee_verification_status.rb +++ b/lib/plaid/models/wallet_transaction_payee_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 index 17dce19ac0..01726405a5 100644 --- a/lib/plaid/models/wallet_transaction_relation.rb +++ b/lib/plaid/models/wallet_transaction_relation.rb @@ -3,7 +3,7 @@ #The Plaid REST API. Please see https://plaid.com/docs/api for more details. -The version of the OpenAPI document: 2020-09-14_1.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/wallet_transaction_status.rb b/lib/plaid/models/wallet_transaction_status.rb index b1b3ba6942..8d708de35f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c8b304f503..e63ce083c5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4c12a662ef..04d5910de5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b55e65bb19..841a59d2be 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 eaeb4e3647..8594bbcceb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e5e681605b..6c4bcb1e34 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_document_type.rb b/lib/plaid/models/watchlist_screening_document_type.rb index 0eed85a8dd..4f8690e919 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 19631daf76..93c17679c8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 80976492f7..cc2e6a0a37 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bbfc5688f5..2128a32ad3 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fb67c0305e..01ced73422 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 67ed44a9f8..458be3b796 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e0eb071eef..44c674bd45 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d80376d859..005a2cd459 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 471dcc5b71..efc08a8f6a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 995bde42fd..936942c26f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7b75982368..62ccea74e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 df3db5c4d7..8cc14da5ff 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 687fd02de9..08f7eafb44 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 455b12790b..53c0707982 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bddbacc9ec..ad90496886 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 e3fcf954dc..3d1b5c8fbb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7daa1cb5c9..626d167a69 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 99b36c33ba..fc05ac5d05 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5d1ce73543..92725cb5b8 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 03bd021567..0615670f10 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 95bf710e9e..3aaf4ee897 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3219bfe97d..0aa4fedc7c 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f6f5c26def..0fce058695 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 c81335e2d5..af96cec5f4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a11c6638ad..82d6b152c7 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 85a1356973..d33d43cb69 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 99b20c61cd..df4f4c8e32 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b4f6876e7f..0b545e5c18 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 4777045737..670e22d124 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2483369629..d9a3f89f6a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5b9c6328d1..b0a1939f93 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5a8e43288c..a29eb73a8f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 edfc5868cd..3b5bcc13ec 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 5475169ccb..d5a9081989 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 830f3ae07d..a111c66ce4 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 d0fa84d478..d948381e1f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 b07dc9b1b5..1c02809f95 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7b852fa8ea..45d35e5e1f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2943a7e277..3750f8296d 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7f8f6e30fa..2e5ef2fe1e 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 877accbb73..54af124ed2 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 1ade5b3b24..1521138015 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 19e54ca419..a6e0dba0f1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7dcad4a2be..3bfc8ca36a 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 f52c1fecb6..5ca858c2ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 08e9d3c8a0..1eff3a7765 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 ec07268f32..aae93b3200 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 bddfb7617b..2f8a67471b 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_review.rb b/lib/plaid/models/watchlist_screening_review.rb index b001caa9e9..77376d9daa 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 254212f428..31c030658f 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/watchlist_screening_status.rb b/lib/plaid/models/watchlist_screening_status.rb index 293ff700f1..0a8feee6cb 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 401e271b9c..318a81b535 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 7e3d243086..dd269a8eb0 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/webhook_event.rb b/lib/plaid/models/webhook_event.rb new file mode 100644 index 0000000000..a83e3006ba --- /dev/null +++ b/lib/plaid/models/webhook_event.rb @@ -0,0 +1,387 @@ +=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.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + # A webhook event Plaid sent to the calling client. + class WebhookEvent + # Stable, opaque, per-webhook ID for deduplication and support reference. + attr_accessor :webhook_message_id + + # The webhook type. + attr_accessor :webhook_type + + # The webhook code. + attr_accessor :webhook_code + + # The Item ID associated with the webhook, if any. + attr_accessor :item_id + + # The time Plaid sent the webhook. + attr_accessor :sent_time + + # The JSON body Plaid sent to the webhook destination. + attr_accessor :payload + + # The destination URL Plaid sent the webhook to. + attr_accessor :destination_url + + attr_accessor :delivery_status + + # The most recent HTTP status code returned by the destination, if any. + attr_accessor :last_http_status_code + + # Number of delivery attempts Plaid has made for this webhook. + attr_accessor :attempt_count + + # The most recent delivery attempt timestamp. Null if Plaid has not yet attempted delivery. + attr_accessor :last_attempt_time + + 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_message_id' => :'webhook_message_id', + :'webhook_type' => :'webhook_type', + :'webhook_code' => :'webhook_code', + :'item_id' => :'item_id', + :'sent_time' => :'sent_time', + :'payload' => :'payload', + :'destination_url' => :'destination_url', + :'delivery_status' => :'delivery_status', + :'last_http_status_code' => :'last_http_status_code', + :'attempt_count' => :'attempt_count', + :'last_attempt_time' => :'last_attempt_time' + } + 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_message_id' => :'String', + :'webhook_type' => :'String', + :'webhook_code' => :'String', + :'item_id' => :'String', + :'sent_time' => :'Time', + :'payload' => :'Hash', + :'destination_url' => :'String', + :'delivery_status' => :'WebhookEventDeliveryStatus', + :'last_http_status_code' => :'Integer', + :'attempt_count' => :'Integer', + :'last_attempt_time' => :'Time' + } + end + + # List of attributes with nullable: true + def self.openapi_nullable + Set.new([ + :'item_id', + :'last_http_status_code', + :'last_attempt_time' + ]) + 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::WebhookEvent` 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::WebhookEvent`. 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_message_id') + self.webhook_message_id = attributes[:'webhook_message_id'] + end + + 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?(:'sent_time') + self.sent_time = attributes[:'sent_time'] + end + + if attributes.key?(:'payload') + if (value = attributes[:'payload']).is_a?(Hash) + self.payload = value + end + end + + if attributes.key?(:'destination_url') + self.destination_url = attributes[:'destination_url'] + end + + if attributes.key?(:'delivery_status') + self.delivery_status = attributes[:'delivery_status'] + end + + if attributes.key?(:'last_http_status_code') + self.last_http_status_code = attributes[:'last_http_status_code'] + end + + if attributes.key?(:'attempt_count') + self.attempt_count = attributes[:'attempt_count'] + end + + if attributes.key?(:'last_attempt_time') + self.last_attempt_time = attributes[:'last_attempt_time'] + 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_message_id.nil? + invalid_properties.push('invalid value for "webhook_message_id", webhook_message_id cannot be nil.') + end + + 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 @sent_time.nil? + invalid_properties.push('invalid value for "sent_time", sent_time cannot be nil.') + end + + if @payload.nil? + invalid_properties.push('invalid value for "payload", payload cannot be nil.') + end + + if @destination_url.nil? + invalid_properties.push('invalid value for "destination_url", destination_url cannot be nil.') + end + + if @delivery_status.nil? + invalid_properties.push('invalid value for "delivery_status", delivery_status cannot be nil.') + end + + if @attempt_count.nil? + invalid_properties.push('invalid value for "attempt_count", attempt_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 @webhook_message_id.nil? + return false if @webhook_type.nil? + return false if @webhook_code.nil? + return false if @sent_time.nil? + return false if @payload.nil? + return false if @destination_url.nil? + return false if @delivery_status.nil? + return false if @attempt_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 && + webhook_message_id == o.webhook_message_id && + webhook_type == o.webhook_type && + webhook_code == o.webhook_code && + item_id == o.item_id && + sent_time == o.sent_time && + payload == o.payload && + destination_url == o.destination_url && + delivery_status == o.delivery_status && + last_http_status_code == o.last_http_status_code && + attempt_count == o.attempt_count && + last_attempt_time == o.last_attempt_time + 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_message_id, webhook_type, webhook_code, item_id, sent_time, payload, destination_url, delivery_status, last_http_status_code, attempt_count, last_attempt_time].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/webhook_event_delivery_status.rb b/lib/plaid/models/webhook_event_delivery_status.rb new file mode 100644 index 0000000000..38aa5c2454 --- /dev/null +++ b/lib/plaid/models/webhook_event_delivery_status.rb @@ -0,0 +1,40 @@ +=begin +#The Plaid API + +#The Plaid REST API. Please see https://plaid.com/docs/api for more details. + +The version of the OpenAPI document: 2020-09-14_1.729.1 + +Generated by: https://openapi-generator.tech +OpenAPI Generator version: 6.3.0 + +=end + +require 'date' +require 'time' + +module Plaid + class WebhookEventDeliveryStatus + PENDING = "PENDING".freeze + DELIVERED = "DELIVERED".freeze + FAILED = "FAILED".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/webhook_type.rb b/lib/plaid/models/webhook_type.rb index d0446651cd..243549e2d1 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 9e11692669..3be18d6543 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 0b35ddbd3c..b8866d42ba 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 3aef48e06f..e5ed36c680 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/yield_rate.rb b/lib/plaid/models/yield_rate.rb index 87c8450bad..65961bef1d 100644 --- a/lib/plaid/models/yield_rate.rb +++ b/lib/plaid/models/yield_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/lib/plaid/models/yield_rate_type.rb b/lib/plaid/models/yield_rate_type.rb index 6ddf5b5d4d..56ad5a1a49 100644 --- a/lib/plaid/models/yield_rate_type.rb +++ b/lib/plaid/models/yield_rate_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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 2c4c1cce18..d0caac7607 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 a13f8d24f8..65e76cf4b5 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 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 fb7b83a873..71f7aac7e6 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 @@ -11,5 +11,5 @@ =end module Plaid - VERSION = '49.0.0' + VERSION = '50.0.0' end diff --git a/plaid.gemspec b/plaid.gemspec index b2ed73c5d3..95ee787bae 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.708.0 +The version of the OpenAPI document: 2020-09-14_1.729.1 Generated by: https://openapi-generator.tech OpenAPI Generator version: 6.3.0 diff --git a/templates/ruby/partial_oneof_module.mustache b/templates/ruby/partial_oneof_module.mustache new file mode 100644 index 0000000000..2c621bd96a --- /dev/null +++ b/templates/ruby/partial_oneof_module.mustache @@ -0,0 +1,177 @@ + {{#description}} + # {{{.}}} + {{/description}} + module {{classname}} + class << self + {{#oneOf}} + {{#-first}} + # List of class defined in oneOf (OpenAPI v3) + def openapi_one_of + [ + {{/-first}} + :'{{{.}}}'{{^-last}},{{/-last}} + {{#-last}} + ] + end + + {{/-last}} + {{/oneOf}} + {{#discriminator}} + {{#propertyName}} + # Discriminator's property name (OpenAPI v3) + def openapi_discriminator_name + :'{{{.}}}' + end + + {{/propertyName}} + {{#vendorExtensions.x-plaid-sdk-one-of-interface}} + # Maps wire discriminator values to branch models. + def openapi_discriminator_mapping + { + {{#mappedModels}} + :'{{mappingName}}' => :'{{modelName}}'{{^-last}},{{/-last}} + {{/mappedModels}} + } + end + + {{/vendorExtensions.x-plaid-sdk-one-of-interface}} + {{^vendorExtensions.x-plaid-sdk-one-of-interface}} + {{#mappedModels}} + {{#-first}} + # Discriminator's mapping (OpenAPI v3) + def openapi_discriminator_mapping + { + {{/-first}} + :'{{{mappingName}}}' => :'{{{modelName}}}'{{^-last}},{{/-last}} + {{#-last}} + } + end + + {{/-last}} + {{/mappedModels}} + {{/vendorExtensions.x-plaid-sdk-one-of-interface}} + {{/discriminator}} + # Builds the object + # @param [Mixed] Data to be matched against the list of oneOf items + # @return [Object] Returns the model or the data itself + def build(data) + {{#vendorExtensions.x-plaid-sdk-one-of-interface}} + unless data.is_a?(Hash) + raise ArgumentError, 'Expected an object for {{classname}}' + end + + discriminator_key = openapi_discriminator_name + if data.key?(discriminator_key) + discriminator_value = data[discriminator_key] + elsif data.key?(discriminator_key.to_s) + discriminator_value = data[discriminator_key.to_s] + else + raise ArgumentError, "Missing discriminator '#{discriminator_key}' for {{classname}}" + end + unless discriminator_value.is_a?(String) && !discriminator_value.empty? + raise ArgumentError, "Invalid discriminator '#{discriminator_key}' for {{classname}}" + end + + klass = openapi_discriminator_mapping[discriminator_value.to_sym] + unless klass + raise ArgumentError, + "Unknown discriminator '#{discriminator_key}=#{discriminator_value}' for {{classname}}" + end + + {{moduleName}}.const_get(klass).build_from_hash(data) + {{/vendorExtensions.x-plaid-sdk-one-of-interface}} + {{^vendorExtensions.x-plaid-sdk-one-of-interface}} + {{#discriminator}} + discriminator_value = data[openapi_discriminator_name] + return nil if discriminator_value.nil? + {{#mappedModels}} + {{#-first}} + + klass = openapi_discriminator_mapping[discriminator_value.to_s.to_sym] + return nil unless klass + + {{moduleName}}.const_get(klass).build_from_hash(data) + {{/-first}} + {{/mappedModels}} + {{^mappedModels}} + {{moduleName}}.const_get(discriminator_value).build_from_hash(data) + {{/mappedModels}} + {{/discriminator}} + {{^discriminator}} + # Go through the list of oneOf items and attempt to identify the appropriate one. + # Note: + # - We do not attempt to check whether exactly one item matches. + # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 }) + # due to the way the deserialization is made in the base_object template (it just casts without verifying). + # - TODO: scalar values are de facto behaving as if they were nullable. + # - TODO: logging when debugging is set. + openapi_one_of.each do |klass| + begin + next if klass == :AnyType # "nullable: true" + typed_data = find_and_cast_into_type(klass, data) + return typed_data if typed_data + rescue # rescue all errors so we keep iterating even if the current item lookup raises + end + end + + openapi_one_of.include?(:AnyType) ? data : nil + {{/discriminator}} + {{/vendorExtensions.x-plaid-sdk-one-of-interface}} + end + {{^discriminator}} + + private + + SchemaMismatchError = Class.new(StandardError) + + # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse. + def find_and_cast_into_type(klass, data) + return if data.nil? + + case klass.to_s + when 'Boolean' + return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass) + when 'Float' + return data if data.instance_of?(Float) + when 'Integer' + return data if data.instance_of?(Integer) + when 'Time' + return Time.parse(data) + when 'Date' + return Date.parse(data) + when 'String' + return data if data.instance_of?(String) + when 'Object' # "type: object" + return data if data.instance_of?(Hash) + when /\AArray<(?.+)>\z/ + if data.instance_of?(Array) + sub_type = Regexp.last_match[:sub_type] + return data.map { |item| find_and_cast_into_type(sub_type, item) } + end + when /\AHash.+)>\z/ + if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) } + sub_type = Regexp.last_match[:sub_type] + return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) } + end + else # model + const = {{moduleName}}.const_get(klass) + if const + if const.respond_to?(:openapi_one_of) # nested oneOf model + model = const.build(data) + return model if model + else + # raise if data contains keys that are not known to the model + raise unless (data.keys - const.acceptable_attributes).empty? + model = const.build_from_hash(data) + return model if model && model.valid? + end + end + end + + raise # if no match by now, raise + rescue + raise SchemaMismatchError, "#{data} doesn't match the #{klass} type" + end + {{/discriminator}} + end + end