Skip to content

Commit 48dcf12

Browse files
vorpuslzhang
andauthored
OpenAPI generated code at 2025-01-23T20:56:25Z (#439)
Co-authored-by: lzhang <lzhang@plaid.com>
1 parent acce264 commit 48dcf12

File tree

1,717 files changed

+8133
-4803
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,717 files changed

+8133
-4803
lines changed

CHANGELOG.md

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,128 @@
11
See full changelog for the OpenAPI schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md).
22

3+
# 29.1.0
4+
- Updating to OAS 2020-09-14_1.610.1
5+
- Update versions of okhttp, retrofit2, and gson-fire in pom.xml to address vulnerabilities.
6+
7+
## OpenAPI Schema Changes
8+
### 2020-09-14_1.610.1
9+
- Add `funds_available` sweep status and event type
10+
11+
### 2020-09-14_1.610.0
12+
- Add `PaymentInitiationConsentStatusUpdateWebhook` definition.
13+
14+
### 2020-09-14_1.609.0
15+
- Remove `/profile/get` and `/link/profile/eligibility/check` endpoints
16+
17+
### 2020-09-14_1.608.0
18+
- Remove erroneous UserToken object from LinkTokenGetMetadataResponse, as the specification was incorrect and the object was never returned as part of the response.
19+
20+
### 2020-09-14_1.607.0
21+
- 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.
22+
23+
### 2020-09-14_1.606.1
24+
- Updated description to `funding_account_id` field of `transfer/ledger/deposit` and `transfer/ledger/withdraw`
25+
26+
### 2020-09-14_1.606.0
27+
- Add `sandbox/payment/simulate` endpoint to enable testing of payment status transitions.
28+
29+
### 2020-09-14_1.605.0
30+
- Add `nsf_overdraft_transactions_count_30d/60d/90d` fields to `attributes` field of `cra/check_report/base_report/get`
31+
32+
### 2020-09-14_1.604.1
33+
- Add `account_id` to `/transactions/sync` request `options` object.
34+
35+
### 2020-09-14_1.603.2
36+
- Fix incorrect `USER_ACCOUNT_REVOKED` schema and example
37+
38+
### 2020-09-14_1.603.1
39+
- Internal changes only
40+
41+
### 2020-09-14_1.603.0
42+
- (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:
43+
- `identity_verification/create`
44+
- `identity_verification/get`
45+
- `identity_verification/list`
46+
- `identity_verification/retry`
47+
48+
### 2020-09-14_1.602.1
49+
- Documentation-only change to `/cra/monitoring_insights/subscribe` for cadence
50+
51+
### 2020-09-14_1.602.0
52+
- Added `payer_details` field to `payment_initiation/consent/get` response
53+
54+
### 2020-09-14_1.601.2
55+
- Documentation-only change to Investments `Security` object for new Fixed Income fields and sandbox availability
56+
57+
### 2020-09-14_1.601.1
58+
- Update descriptions for `/network/status/get` request fields
59+
60+
### 2020-09-14_1.601.0
61+
- Clean up legacy `/cra/base_report/*` endpoints from libraries in favor of `/cra/check_report/*`
62+
endpoints.
63+
64+
### 2020-09-14_1.600.2
65+
- Update descriptions for `/network/status/get` request and response fields
66+
- Add `nullable: true` to mortgage `account_number` field in the `MortgageLiability` schema to reflect actual behavior.
67+
- 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.
68+
69+
### 2020-09-14_1.600.1
70+
- `depository`+`cash management` Accounts are now eligible for Auth data for certain institutions
71+
72+
### 2020-09-14_1.600.0
73+
- Added `is_tokenized_account_number` to the `numbers.ach` object
74+
75+
### 2020-09-14_1.599.0
76+
- Added `auth_method` field to `Item` object
77+
78+
### 2020-09-14_1.598.0
79+
- Add `user_insights_id` to `/cra/monitoring_insights/get` response
80+
-
81+
### 2020-09-14_1.597.0
82+
- (beta) Add /network/status/get endpoint
83+
84+
### 2020-09-14_1.596.0
85+
- Unhide `/sandbox/cra/cashflow_updates/update`
86+
87+
### 2020-09-14_1.595.0
88+
- Add `ruleset_key` to `/transfer/authorization/create` request
89+
90+
### 2020-09-14_1.594.0
91+
- Deprecated `consumer_dispute_id` field on consumer dispute object
92+
93+
### 2020-09-14_1.593.0
94+
- Add `fixed_income` object (which contains the `yield_rate`, `maturity_date`, `issue_date`, and `face_value` fields) to the Security object (Investments)
95+
96+
### 2020-09-14_1.592.1
97+
98+
### 2020-09-14_1.592.0
99+
- Add `/sandbox/cra/cashflow_updates/update` endpoint
100+
101+
### 2020-09-14_1.591.1
102+
- Hide `TransferMigratedFundingAccountIDRequest` from docs
103+
104+
### 2020-09-14_1.591.0
105+
- (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:
106+
- `identity_verification/create`
107+
- `identity_verification/get`
108+
- `identity_verification/list`
109+
- `identity_verification/retry`
110+
111+
### 2020-09-14_1.590.0
112+
- Add `webhook` field to `TransferPlatformOriginatorCreateRequest`
113+
114+
### 2020-09-14_1.589.0
115+
- Add `PLATFORM_ONBOARDING_UPDATE` webhook for transfer
116+
117+
### 2020-09-14_1.588.0
118+
- Add `/processor/investments/transactions/get` endpoint
119+
120+
### 2020-09-14_1.587.1
121+
- Add `institution_name` field in the `Item` object
122+
123+
### 2020-09-14_1.587.0
124+
- Add `/processor/investments/holdings/get` endpoint
125+
3126
# 29.0.0
4127
- Updating to OAS 2020-09-14_1.586.4
5128

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.plaid</groupId>
66
<artifactId>plaid-java</artifactId>
7-
<version>29.0.0-SNAPSHOT</version>
7+
<version>29.1.0-SNAPSHOT</version>
88

99
<parent>
1010
<groupId>org.sonatype.oss</groupId>
@@ -44,7 +44,7 @@
4444
<!-- Plaid generated properties -->
4545
<swagger-annotations-version>1.5.22</swagger-annotations-version>
4646
<oltu-version>1.0.1</oltu-version>
47-
<gson-fire-version>1.8.3</gson-fire-version>
47+
<gson-fire-version>1.9.0</gson-fire-version>
4848
<javax-annotation-version>1.3.2</javax-annotation-version>
4949
</properties>
5050

@@ -188,29 +188,29 @@
188188
<dependency>
189189
<groupId>com.squareup.retrofit2</groupId>
190190
<artifactId>retrofit</artifactId>
191-
<version>2.9.0</version>
191+
<version>2.11.0</version>
192192
</dependency>
193193
<dependency>
194194
<groupId>com.squareup.retrofit2</groupId>
195195
<artifactId>converter-gson</artifactId>
196-
<version>2.9.0</version>
196+
<version>2.11.0</version>
197197
</dependency>
198198
<dependency>
199199
<groupId>com.squareup.okhttp3</groupId>
200200
<artifactId>okhttp</artifactId>
201-
<version>4.9.2</version>
201+
<version>4.12.0</version>
202202
</dependency>
203203
<dependency>
204204
<groupId>com.squareup.okhttp3</groupId>
205205
<artifactId>logging-interceptor</artifactId>
206-
<version>4.9.2</version>
206+
<version>4.12.0</version>
207207
</dependency>
208208

209209
<!-- Plaid Generated Deps -->
210210
<dependency>
211211
<groupId>com.squareup.retrofit2</groupId>
212212
<artifactId>converter-scalars</artifactId>
213-
<version>2.9.0</version>
213+
<version>2.11.0</version>
214214
</dependency>
215215
<dependency>
216216
<groupId>io.swagger</groupId>

src/main/java/com/plaid/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ApiClient() {
4949
public Response intercept(Chain chain) throws IOException {
5050
Request originalRequest = chain.request();
5151
Request requestWithUserAgent = originalRequest.newBuilder()
52-
.header("User-Agent", "Plaid Java v29.0.0")
52+
.header("User-Agent", "Plaid Java v29.1.0")
5353
.header("Plaid-Version", "2020-09-14")
5454
.build();
5555
return chain.proceed(requestWithUserAgent);

src/main/java/com/plaid/client/JSON.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/plaid/client/StringUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T20:55:58.809242Z[Etc/UTC]")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/com/plaid/client/model/ACHClass.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/plaid/client/model/APR.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -28,7 +28,7 @@
2828
* Information about the APR on the account.
2929
*/
3030
@ApiModel(description = "Information about the APR on the account.")
31-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
31+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T20:55:58.809242Z[Etc/UTC]")
3232
public class APR {
3333
public static final String SERIALIZED_NAME_APR_PERCENTAGE = "apr_percentage";
3434
@SerializedName(SERIALIZED_NAME_APR_PERCENTAGE)

src/main/java/com/plaid/client/model/AccountAccess.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@
2929
* Allow or disallow product access by account. Unlisted (e.g. missing) accounts will be considered &#x60;new_accounts&#x60;.
3030
*/
3131
@ApiModel(description = "Allow or disallow product access by account. Unlisted (e.g. missing) accounts will be considered `new_accounts`.")
32-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
32+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T20:55:58.809242Z[Etc/UTC]")
3333
public class AccountAccess {
3434
public static final String SERIALIZED_NAME_UNIQUE_ID = "unique_id";
3535
@SerializedName(SERIALIZED_NAME_UNIQUE_ID)

src/main/java/com/plaid/client/model/AccountAssets.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,7 +40,7 @@
4040
* Asset information about an account
4141
*/
4242
@ApiModel(description = "Asset information about an account")
43-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
43+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T20:55:58.809242Z[Etc/UTC]")
4444
public class AccountAssets {
4545
public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id";
4646
@SerializedName(SERIALIZED_NAME_ACCOUNT_ID)

src/main/java/com/plaid/client/model/AccountBalance.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Plaid API
33
* The Plaid REST API. Please see https://plaid.com/docs/api for more details.
44
*
5-
* The version of the OpenAPI document: 2020-09-14_1.586.4
5+
* The version of the OpenAPI document: 2020-09-14_1.610.1
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -29,7 +29,7 @@
2929
* 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;.
3030
*/
3131
@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`.")
32-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-11-14T16:41:31.650700Z[Etc/UTC]")
32+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-01-23T20:55:58.809242Z[Etc/UTC]")
3333
public class AccountBalance {
3434
public static final String SERIALIZED_NAME_AVAILABLE = "available";
3535
@SerializedName(SERIALIZED_NAME_AVAILABLE)
@@ -86,11 +86,11 @@ public AccountBalance current(Double current) {
8686
}
8787

8888
/**
89-
* 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;.
89+
* 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;.
9090
* @return current
9191
**/
9292
@javax.annotation.Nullable
93-
@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`.")
93+
@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`.")
9494

9595
public Double getCurrent() {
9696
return current;

0 commit comments

Comments
 (0)