Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,12 @@ docs/CashFlowUpdatesNewIncomeStreamWebhook.md
docs/CashFlowUpdatesNewLoanPaymentWebhook.md
docs/CashflowAttributesVersion.md
docs/CashflowReportGetRequest.md
docs/CashflowReportGetRequestOptions.md
docs/CashflowReportGetResponse.md
docs/CashflowReportPaymentMeta.md
docs/CashflowReportRefreshRequest.md
docs/CashflowReportRefreshResponse.md
docs/CashflowReportTransaction.md
docs/CategoriesGetResponse.md
docs/Category.md
docs/CategoryInsightDetails.md
Expand Down Expand Up @@ -2021,9 +2024,12 @@ lib/plaid/models/cash_flow_updates_new_loan_payment_webhook.rb
lib/plaid/models/cash_flow_updates_nsf_webhook.rb
lib/plaid/models/cashflow_attributes_version.rb
lib/plaid/models/cashflow_report_get_request.rb
lib/plaid/models/cashflow_report_get_request_options.rb
lib/plaid/models/cashflow_report_get_response.rb
lib/plaid/models/cashflow_report_payment_meta.rb
lib/plaid/models/cashflow_report_refresh_request.rb
lib/plaid/models/cashflow_report_refresh_response.rb
lib/plaid/models/cashflow_report_transaction.rb
lib/plaid/models/categories_get_response.rb
lib/plaid/models/category.rb
lib/plaid/models/category_insight_details.rb
Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md).

# 39.0.0
- Updating to OAS 2020-09-14_1.627.4

## Breaking changes in this version
- [BREAKING] (beta) Updated `user_token` field in `UserCreateResponse` to be optional.

## OpenAPI Schema Changes
### 2020-09-14_1.627.4
- Fix incorrect placement of `nullable: true` on `AccountBaseNullable` object, making the object actually `nullable`.

### 2020-09-14_1.627.3
- Add missing `unsent` value as a possible `verification_status` to reflect actual API behavior.

### 2020-09-14_1.637.2
- (beta) Add `PLAID-NEW-USER-API-ENABLED` as a header parameter to `/user/create`
- (beta) Add `PLAID-NEW-USER-API-ENABLED` as a header parameter to `/user/remove`

### 2020-09-14_1.637.2
- (beta) Add `user_id` to `/session/token/create` response

### 2020-09-14_1.637.1
- Add optional `institution_id` to `/item/import`

### 2020-09-14_1.637.0
- Add `android_package_name` to `/session/token/create`

### 2020-09-14_1.636.0
- Update `average_inflow_amount` to be positive.

### 2020-09-14_1.635.4
- [BREAKING] (beta) Updated `user_token` field in `UserCreateResponse` to be optional.
- [BREAKING for Go] (beta) Updated `user_token` field in `UserRemoveRequest` to be optional.
- Other hidden changes.

### 2020-09-14_1.635.3
- (beta) Add `user_id` to `/link/token/create` response

# 38.0.0
- Updating to OAS 2020-09-14_1.635.2

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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=38.0.0
RUBY_PACKAGE_VERSION=39.0.0

.PHONY: release
release:
Expand Down
5 changes: 4 additions & 1 deletion lib/plaid.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down Expand Up @@ -259,9 +259,12 @@
Plaid.autoload :CashFlowUpdatesNewLoanPaymentWebhook, 'plaid/models/cash_flow_updates_new_loan_payment_webhook'
Plaid.autoload :CashflowAttributesVersion, 'plaid/models/cashflow_attributes_version'
Plaid.autoload :CashflowReportGetRequest, 'plaid/models/cashflow_report_get_request'
Plaid.autoload :CashflowReportGetRequestOptions, 'plaid/models/cashflow_report_get_request_options'
Plaid.autoload :CashflowReportGetResponse, 'plaid/models/cashflow_report_get_response'
Plaid.autoload :CashflowReportPaymentMeta, 'plaid/models/cashflow_report_payment_meta'
Plaid.autoload :CashflowReportRefreshRequest, 'plaid/models/cashflow_report_refresh_request'
Plaid.autoload :CashflowReportRefreshResponse, 'plaid/models/cashflow_report_refresh_response'
Plaid.autoload :CashflowReportTransaction, 'plaid/models/cashflow_report_transaction'
Plaid.autoload :CategoriesGetResponse, 'plaid/models/categories_get_response'
Plaid.autoload :Category, 'plaid/models/category'
Plaid.autoload :CategoryInsightDetails, 'plaid/models/category_insight_details'
Expand Down
32 changes: 19 additions & 13 deletions lib/plaid/api/plaid_api.rb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/plaid/api_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down Expand Up @@ -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 v38.0.0"
@user_agent = "Plaid Ruby v39.0.0"
@default_headers = {
'Content-Type' => 'application/json',
'User-Agent' => @user_agent,
Expand Down
2 changes: 1 addition & 1 deletion lib/plaid/api_error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down
2 changes: 1 addition & 1 deletion lib/plaid/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down
2 changes: 1 addition & 1 deletion lib/plaid/models/account_access.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down
2 changes: 1 addition & 1 deletion lib/plaid/models/account_assets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down
2 changes: 1 addition & 1 deletion lib/plaid/models/account_balance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down
8 changes: 4 additions & 4 deletions lib/plaid/models/account_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#The Plaid REST API. Please see https://plaid.com/docs/api for more details.

The version of the OpenAPI document: 2020-09-14_1.635.2
The version of the OpenAPI document: 2020-09-14_1.627.4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.3.0
Expand Down Expand Up @@ -34,7 +34,7 @@ class AccountBase

attr_accessor :subtype

# The current verification status of an Auth Item initiated through micro-deposits or database verification. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `database_matched`: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match. `database_insights_pass`: The Item's numbers have been verified using Plaid's data sources: the routing and account number match a routing and account number of an account recognized on the Plaid network, and the account is not known by Plaid to be frozen or closed. Only returned for Auth Items created via Database Auth. `database_insights_pass_with_caution`:The Item's numbers have been verified using Plaid's data sources and have some signal for being valid: the routing and account number were not recognized on the Plaid network, but the routing number is valid and the account number is a potential valid account number for that routing number. Only returned for Auth Items created via Database Auth. `database_insights_fail`: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Typically this indicates that the routing number is invalid, the account number does not match the account number format associated with the routing number, or the account has been reported as closed or frozen. Only returned for Auth Items created via Database Auth.
# The current verification status of an Auth Item initiated through micro-deposits or database verification. Returned for Auth Items only. `pending_automatic_verification`: The Item is pending automatic verification `pending_manual_verification`: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit. `automatically_verified`: The Item has successfully been automatically verified `manually_verified`: The Item has successfully been manually verified `verification_expired`: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link. `verification_failed`: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link. `unsent`: The Item is pending micro-deposit verification, but Plaid has not yet sent the micro-deposit. `database_matched`: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match. `database_insights_pass`: The Item's numbers have been verified using Plaid's data sources: the routing and account number match a routing and account number of an account recognized on the Plaid network, and the account is not known by Plaid to be frozen or closed. Only returned for Auth Items created via Database Auth. `database_insights_pass_with_caution`:The Item's numbers have been verified using Plaid's data sources and have some signal for being valid: the routing and account number were not recognized on the Plaid network, but the routing number is valid and the account number is a potential valid account number for that routing number. Only returned for Auth Items created via Database Auth. `database_insights_fail`: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Typically this indicates that the routing number is invalid, the account number does not match the account number format associated with the routing number, or the account has been reported as closed or frozen. Only returned for Auth Items created via Database Auth.
attr_accessor :verification_status

# The account holder name that was used for micro-deposit and/or database verification. Only returned for Auth Items created via micro-deposit or database verification. This name was manually-entered by the user during Link, unless it was otherwise provided via the `user.legal_name` request field in `/link/token/create` for the Link session that created the Item.
Expand Down Expand Up @@ -214,15 +214,15 @@ def valid?
return false if @balances.nil?
return false if @name.nil?
return false if @type.nil?
verification_status_validator = EnumAttributeValidator.new('String', ["automatically_verified", "pending_automatic_verification", "pending_manual_verification", "manually_verified", "verification_expired", "verification_failed", "database_matched", "database_insights_pass", "database_insights_pass_with_caution", "database_insights_fail"])
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)
true
end

# Custom attribute writer method checking allowed values (enum).
# @param [Object] verification_status Object to be assigned
def verification_status=(verification_status)
validator = EnumAttributeValidator.new('String', ["automatically_verified", "pending_automatic_verification", "pending_manual_verification", "manually_verified", "verification_expired", "verification_failed", "database_matched", "database_insights_pass", "database_insights_pass_with_caution", "database_insights_fail"])
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"])
unless validator.valid?(verification_status)
fail ArgumentError, "invalid value for \"verification_status\", must be one of #{validator.allowable_values}."
end
Expand Down
Loading