Skip to content

OpenAPI generated code at 2025-01-23T18:12:24Z #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
  •  
  •  
  •  
124 changes: 124 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,129 @@
See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md).

- Update versions of okhttp, retrofit2, and gson-fire in pom.xml to address vulnerabilities.

# 29.1.0
- Updating to OAS 2020-09-14_1.610.1

## OpenAPI Schema Changes
### 2020-09-14_1.610.1
- Add `funds_available` sweep status and event type

### 2020-09-14_1.610.0
- Add `PaymentInitiationConsentStatusUpdateWebhook` definition.

### 2020-09-14_1.609.0
- Remove `/profile/get` and `/link/profile/eligibility/check` endpoints

### 2020-09-14_1.608.0
- Remove erroneous UserToken object from LinkTokenGetMetadataResponse, as the specification was incorrect and the object was never returned as part of the response.

### 2020-09-14_1.607.0
- Add failure_code and description fields to `/transfer/sweep/get` and `transfer/sweep/list` endpoints. Deprecated `ach_return_code` field of the TransferFailure and TransferRefundFailure objects.

### 2020-09-14_1.606.1
- Updated description to `funding_account_id` field of `transfer/ledger/deposit` and `transfer/ledger/withdraw`

### 2020-09-14_1.606.0
- Add `sandbox/payment/simulate` endpoint to enable testing of payment status transitions.

### 2020-09-14_1.605.0
- Add `nsf_overdraft_transactions_count_30d/60d/90d` fields to `attributes` field of `cra/check_report/base_report/get`

### 2020-09-14_1.604.1
- Add `account_id` to `/transactions/sync` request `options` object.

### 2020-09-14_1.603.2
- Fix incorrect `USER_ACCOUNT_REVOKED` schema and example

### 2020-09-14_1.603.1
- Internal changes only

### 2020-09-14_1.603.0
- (pre-release) Add `fraud_analysis_details` and `image_quality_details` objects to the `analysis` object within each `documentary_verification.documents` object. These changes affect the response of all of the identity verification endpoints:
- `identity_verification/create`
- `identity_verification/get`
- `identity_verification/list`
- `identity_verification/retry`

### 2020-09-14_1.602.1
- Documentation-only change to `/cra/monitoring_insights/subscribe` for cadence

### 2020-09-14_1.602.0
- Added `payer_details` field to `payment_initiation/consent/get` response

### 2020-09-14_1.601.2
- Documentation-only change to Investments `Security` object for new Fixed Income fields and sandbox availability

### 2020-09-14_1.601.1
- Update descriptions for `/network/status/get` request fields

### 2020-09-14_1.601.0
- Clean up legacy `/cra/base_report/*` endpoints from libraries in favor of `/cra/check_report/*`
endpoints.

### 2020-09-14_1.600.2
- Update descriptions for `/network/status/get` request and response fields
- Add `nullable: true` to mortgage `account_number` field in the `MortgageLiability` schema to reflect actual behavior.
- Add `transactions_refresh` to `Products` array to reflect actual behavior; this field is not accepted as input to `/link/token/create` but can be part of supported products array in the `Institution` object.

### 2020-09-14_1.600.1
- `depository`+`cash management` Accounts are now eligible for Auth data for certain institutions

### 2020-09-14_1.600.0
- Added `is_tokenized_account_number` to the `numbers.ach` object

### 2020-09-14_1.599.0
- Added `auth_method` field to `Item` object

### 2020-09-14_1.598.0
- Add `user_insights_id` to `/cra/monitoring_insights/get` response
-
### 2020-09-14_1.597.0
- (beta) Add /network/status/get endpoint

### 2020-09-14_1.596.0
- Unhide `/sandbox/cra/cashflow_updates/update`

### 2020-09-14_1.595.0
- Add `ruleset_key` to `/transfer/authorization/create` request

### 2020-09-14_1.594.0
- Deprecated `consumer_dispute_id` field on consumer dispute object

### 2020-09-14_1.593.0
- Add `fixed_income` object (which contains the `yield_rate`, `maturity_date`, `issue_date`, and `face_value` fields) to the Security object (Investments)

### 2020-09-14_1.592.1

### 2020-09-14_1.592.0
- Add `/sandbox/cra/cashflow_updates/update` endpoint

### 2020-09-14_1.591.1
- Hide `TransferMigratedFundingAccountIDRequest` from docs

### 2020-09-14_1.591.0
- (pre-release) Add overall `risk_level`, and in some cases `factors` to each type of `risk_check` object. Also add `first_party_synthentic_fraud` and `third_party_synthentic_fraud` objects to`risk_check.identity_abuse_signals.synthetic_identity`. These changes affect the response of all of the identity verification endpoints:
- `identity_verification/create`
- `identity_verification/get`
- `identity_verification/list`
- `identity_verification/retry`

### 2020-09-14_1.590.0
- Add `webhook` field to `TransferPlatformOriginatorCreateRequest`

### 2020-09-14_1.589.0
- Add `PLATFORM_ONBOARDING_UPDATE` webhook for transfer

### 2020-09-14_1.588.0
- Add `/processor/investments/transactions/get` endpoint

### 2020-09-14_1.587.1
- Add `institution_name` field in the `Item` object

### 2020-09-14_1.587.0
- Add `/processor/investments/holdings/get` endpoint

# 29.0.0
- Updating to OAS 2020-09-14_1.586.4

Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.plaid</groupId>
<artifactId>plaid-java</artifactId>
<version>29.0.0-SNAPSHOT</version>
<version>29.1.0-SNAPSHOT</version>

<parent>
<groupId>org.sonatype.oss</groupId>
Expand Down Expand Up @@ -44,7 +44,7 @@
<!-- Plaid generated properties -->
<swagger-annotations-version>1.5.22</swagger-annotations-version>
<oltu-version>1.0.1</oltu-version>
<gson-fire-version>1.8.3</gson-fire-version>
<gson-fire-version>1.9.0</gson-fire-version>
<javax-annotation-version>1.3.2</javax-annotation-version>
</properties>

Expand Down Expand Up @@ -188,29 +188,29 @@
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>retrofit</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-gson</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.9.2</version>
<version>4.12.0</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>logging-interceptor</artifactId>
<version>4.9.2</version>
<version>4.12.0</version>
</dependency>

<!-- Plaid Generated Deps -->
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-scalars</artifactId>
<version>2.9.0</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>io.swagger</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/plaid/client/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public ApiClient() {
public Response intercept(Chain chain) throws IOException {
Request originalRequest = chain.request();
Request requestWithUserAgent = originalRequest.newBuilder()
.header("User-Agent", "Plaid Java v29.0.0")
.header("User-Agent", "Plaid Java v29.1.0")
.header("Plaid-Version", "2020-09-14")
.build();
return chain.proceed(requestWithUserAgent);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/plaid/client/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/plaid/client/model/ACHClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/model/APR.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -28,7 +28,7 @@
* Information about the APR on the account.
*/
@ApiModel(description = "Information about the APR on the account.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class APR {
public static final String SERIALIZED_NAME_APR_PERCENTAGE = "apr_percentage";
@SerializedName(SERIALIZED_NAME_APR_PERCENTAGE)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/model/AccountAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -29,7 +29,7 @@
* Allow or disallow product access by account. Unlisted (e.g. missing) accounts will be considered &#x60;new_accounts&#x60;.
*/
@ApiModel(description = "Allow or disallow product access by account. Unlisted (e.g. missing) accounts will be considered `new_accounts`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class AccountAccess {
public static final String SERIALIZED_NAME_UNIQUE_ID = "unique_id";
@SerializedName(SERIALIZED_NAME_UNIQUE_ID)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/model/AccountAssets.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -40,7 +40,7 @@
* Asset information about an account
*/
@ApiModel(description = "Asset information about an account")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class AccountAssets {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/plaid/client/model/AccountBalance.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -29,7 +29,7 @@
* A set of fields describing the balance for an account. Balance information may be cached unless the balance object was returned by &#x60;/accounts/balance/get&#x60;.
*/
@ApiModel(description = "A set of fields describing the balance for an account. Balance information may be cached unless the balance object was returned by `/accounts/balance/get`.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class AccountBalance {
public static final String SERIALIZED_NAME_AVAILABLE = "available";
@SerializedName(SERIALIZED_NAME_AVAILABLE)
Expand Down Expand Up @@ -86,11 +86,11 @@ public AccountBalance current(Double current) {
}

/**
* The total amount of funds in or owed by the account. For &#x60;credit&#x60;-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For &#x60;loan&#x60;-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (&#x60;ins_116944&#x60;). For Sallie Mae student loans, the account&#39;s balance includes both principal and any outstanding interest. For &#x60;investment&#x60;-type accounts (or &#x60;brokerage&#x60;-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by &#x60;/accounts/balance/get&#x60;; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the &#x60;available&#x60; balance as provided by &#x60;/accounts/balance/get&#x60;. When returned by &#x60;/accounts/balance/get&#x60;, this field may be &#x60;null&#x60;. When this happens, &#x60;available&#x60; is guaranteed not to be &#x60;null&#x60;.
* The total amount of funds in or owed by the account. For &#x60;credit&#x60;-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For &#x60;loan&#x60;-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (&#x60;ins_116944&#x60;). For Sallie Mae student loans, the account&#39;s balance includes both principal and any outstanding interest. Similar to &#x60;credit&#x60;-type accounts, a positive balance is typically expected, while a negative amount indicates the lender owing the account holder. For &#x60;investment&#x60;-type accounts (or &#x60;brokerage&#x60;-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by &#x60;/accounts/balance/get&#x60;; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the &#x60;available&#x60; balance as provided by &#x60;/accounts/balance/get&#x60;. When returned by &#x60;/accounts/balance/get&#x60;, this field may be &#x60;null&#x60;. When this happens, &#x60;available&#x60; is guaranteed not to be &#x60;null&#x60;.
* @return current
**/
@javax.annotation.Nullable
@ApiModelProperty(required = true, value = "The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.")
@ApiModelProperty(required = true, value = "The total amount of funds in or owed by the account. For `credit`-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder. For `loan`-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (`ins_116944`). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest. Similar to `credit`-type accounts, a positive balance is typically expected, while a negative amount indicates the lender owing the account holder. For `investment`-type accounts (or `brokerage`-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution. Note that balance information may be cached unless the value was returned by `/accounts/balance/get`; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the `available` balance as provided by `/accounts/balance/get`. When returned by `/accounts/balance/get`, this field may be `null`. When this happens, `available` is guaranteed not to be `null`.")

public Double getCurrent() {
return current;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/model/AccountBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -33,7 +33,7 @@
* A single account at a financial institution.
*/
@ApiModel(description = "A single account at a financial institution.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class AccountBase {
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/plaid/client/model/AccountFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 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.586.4
* The version of the OpenAPI document: 2020-09-14_1.610.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -30,7 +30,7 @@
* Enumerates the account subtypes that the application wishes for the user to be able to select from. For more details refer to Plaid documentation on account filters.
*/
@ApiModel(description = "Enumerates the account subtypes that the application wishes for the user to be able to select from. For more details refer to Plaid documentation on account filters.")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T18:11:57.813484Z[Etc/UTC]")
public class AccountFilter {
public static final String SERIALIZED_NAME_DEPOSITORY = "depository";
@SerializedName(SERIALIZED_NAME_DEPOSITORY)
Expand Down
Loading