Skip to content

Commit 5f5c005

Browse files
authored
Merge pull request #550 from plaid/generated_20250519T185319Z
OpenAPI generated code at 2025-05-19T18:53:19Z
2 parents 1110961 + b28e7e7 commit 5f5c005

1,822 files changed

Lines changed: 3079 additions & 1967 deletions

File tree

Some content is hidden

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

.openapi-generator/FILES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,12 @@ plaid/model/cash_flow_updates_new_loan_payment_webhook.py
254254
plaid/model/cash_flow_updates_nsf_webhook.py
255255
plaid/model/cashflow_attributes_version.py
256256
plaid/model/cashflow_report_get_request.py
257+
plaid/model/cashflow_report_get_request_options.py
257258
plaid/model/cashflow_report_get_response.py
259+
plaid/model/cashflow_report_payment_meta.py
258260
plaid/model/cashflow_report_refresh_request.py
259261
plaid/model/cashflow_report_refresh_response.py
262+
plaid/model/cashflow_report_transaction.py
260263
plaid/model/categories_get_response.py
261264
plaid/model/category.py
262265
plaid/model/category_insight_details.py

CHANGELOG.md

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

3+
# 32.0.0
4+
- Updating to OAS 2020-09-14_1.627.4
5+
6+
## Breaking changes in this version
7+
- [BREAKING] (beta) Updated `user_token` field in `UserCreateResponse` to be optional.
8+
9+
## OpenAPI Schema Changes
10+
### 2020-09-14_1.627.4
11+
- Fix incorrect placement of `nullable: true` on `AccountBaseNullable` object, making the object actually `nullable`.
12+
13+
### 2020-09-14_1.627.3
14+
- Add missing `unsent` value as a possible `verification_status` to reflect actual API behavior.
15+
16+
### 2020-09-14_1.637.2
17+
- (beta) Add `PLAID-NEW-USER-API-ENABLED` as a header parameter to `/user/create`
18+
- (beta) Add `PLAID-NEW-USER-API-ENABLED` as a header parameter to `/user/remove`
19+
20+
### 2020-09-14_1.637.2
21+
- (beta) Add `user_id` to `/session/token/create` response
22+
23+
### 2020-09-14_1.637.1
24+
- Add optional `institution_id` to `/item/import`
25+
26+
### 2020-09-14_1.637.0
27+
- Add `android_package_name` to `/session/token/create`
28+
29+
### 2020-09-14_1.636.0
30+
- Update `average_inflow_amount` to be positive.
31+
32+
### 2020-09-14_1.635.4
33+
- [BREAKING] (beta) Updated `user_token` field in `UserCreateResponse` to be optional.
34+
- [BREAKING for Go] (beta) Updated `user_token` field in `UserRemoveRequest` to be optional.
35+
- Other hidden changes.
36+
37+
### 2020-09-14_1.635.3
38+
- (beta) Add `user_id` to `/link/token/create` response
39+
340
# 31.0.0
441
- Updating to OAS 2020-09-14_1.635.2
542

plaid/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
66
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
77
8-
The version of the OpenAPI document: 2020-09-14_1.635.2
8+
The version of the OpenAPI document: 2020-09-14_1.627.4
99
Generated by: https://openapi-generator.tech
1010
"""
1111

1212

13-
__version__ = "31.0.0"
13+
__version__ = "32.0.0"
1414

1515
# import ApiClient
1616
from plaid.api_client import ApiClient

plaid/api/plaid_api.py

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

@@ -14879,6 +14879,7 @@ def __init__(self, api_client=None):
1487914879
params_map={
1488014880
'all': [
1488114881
'user_create_request',
14882+
'plaid_new_user_api_enabled',
1488214883
],
1488314884
'required': [
1488414885
'user_create_request',
@@ -14898,11 +14899,15 @@ def __init__(self, api_client=None):
1489814899
'openapi_types': {
1489914900
'user_create_request':
1490014901
(UserCreateRequest,),
14902+
'plaid_new_user_api_enabled':
14903+
(str,),
1490114904
},
1490214905
'attribute_map': {
14906+
'plaid_new_user_api_enabled': 'Plaid-New-User-API-Enabled',
1490314907
},
1490414908
'location_map': {
1490514909
'user_create_request': 'body',
14910+
'plaid_new_user_api_enabled': 'header',
1490614911
},
1490714912
'collection_format_map': {
1490814913
}
@@ -14987,6 +14992,7 @@ def __init__(self, api_client=None):
1498714992
params_map={
1498814993
'all': [
1498914994
'user_remove_request',
14995+
'plaid_new_user_api_enabled',
1499014996
],
1499114997
'required': [
1499214998
'user_remove_request',
@@ -15006,11 +15012,15 @@ def __init__(self, api_client=None):
1500615012
'openapi_types': {
1500715013
'user_remove_request':
1500815014
(UserRemoveRequest,),
15015+
'plaid_new_user_api_enabled':
15016+
(str,),
1500915017
},
1501015018
'attribute_map': {
15019+
'plaid_new_user_api_enabled': 'Plaid-New-User-API-Enabled',
1501115020
},
1501215021
'location_map': {
1501315022
'user_remove_request': 'body',
15023+
'plaid_new_user_api_enabled': 'header',
1501415024
},
1501515025
'collection_format_map': {
1501615026
}
@@ -18064,7 +18074,7 @@ def bank_transfer_event_sync(
1806418074
):
1806518075
"""Sync bank transfer events # noqa: E501
1806618076

18067-
`/bank_transfer/event/sync` allows you to request up to the next 25 Plaid-initiated bank transfer events that happened after a specific `event_id`. When using Auth with micro-deposit verification enabled, this endpoint can be used to fetch status updates on ACH micro-deposits. For more details, see [micro-deposit events](https://www.plaid.com/docs/auth/coverage/microdeposit-events/). # noqa: E501
18077+
`/bank_transfer/event/sync` allows you to request up to the next 25 Plaid-initiated bank transfer events that happened after a specific `event_id`. When using Auth with micro-deposit verification enabled, this endpoint can be used to fetch status updates on ACH micro-deposits. For more details, see [micro-deposit events](https://plaid.com/docs/auth/coverage/microdeposit-events/). # noqa: E501
1806818078
This method makes a synchronous HTTP request by default. To make an
1806918079
asynchronous HTTP request, please pass async_req=True
1807018080

@@ -26692,7 +26702,7 @@ def item_remove(
2669226702
):
2669326703
"""Remove an Item # noqa: E501
2669426704

26695-
The `/item/remove` endpoint allows you to remove an Item. Once removed, the `access_token`, as well as any processor tokens or bank account tokens associated with the Item, is no longer valid and cannot be used to access any data that was associated with the Item. Calling `/item/remove` is a recommended best practice when offboarding users or if a user chooses to disconnect an account linked via Plaid. For subscription products, such as Transactions, Liabilities, and Investments, calling `/item/remove` is required to end subscription billing for the Item. For money movement products such as Auth and Transfer, if the Item is at Chase or PNC, calling `/item/remove` will invalidate the TAN, and subsequent ACH transfer attempts using that TAN will be returned. In Limited Production, calling `/item/remove` does not impact the number of remaining Limited Production Items you have available. Removing an Item does not affect any Asset Reports or Audit Copies you have already created, which will remain accessible until you remove access to them specifically using the `/asset_report/remove` endpoint. Also note that for certain OAuth-based institutions, an Item removed via `/item/remove` may still show as an active connection in the institution's OAuth permission manager. API versions 2019-05-29 and earlier return a `removed` boolean as part of the response. # noqa: E501
26705+
The `/item/remove` endpoint allows you to remove an Item. Once removed, the `access_token`, as well as any processor tokens or bank account tokens associated with the Item, is no longer valid and cannot be used to access any data that was associated with the Item. Calling `/item/remove` is a recommended best practice when offboarding users or if a user chooses to disconnect an account linked via Plaid. For subscription products, such as Transactions, Liabilities, and Investments, calling `/item/remove` is required to end subscription billing for the Item. In Limited Production, calling `/item/remove` does not impact the number of remaining Limited Production Items you have available. Removing an Item does not affect any Asset Reports or Audit Copies you have already created, which will remain accessible until you remove access to them specifically using the `/asset_report/remove` endpoint. Also note that for certain OAuth-based institutions, an Item removed via `/item/remove` may still show as an active connection in the institution's OAuth permission manager. API versions 2019-05-29 and earlier return a `removed` boolean as part of the response. # noqa: E501
2669626706
This method makes a synchronous HTTP request by default. To make an
2669726707
asynchronous HTTP request, please pass async_req=True
2669826708

@@ -27688,7 +27698,7 @@ def oauth_token(
2768827698
):
2768927699
"""Create or refresh an OAuth access token # noqa: E501
2769027700

27691-
`/oauth/token` issues an access token and refresh token depending on the `grant_type` provided: - `refresh_token` allows refreshing an access token using a refresh token. Only the `refresh_token` field is required. - `urn:ietf:params:oauth:grant-type:token-exchange` allows exchanging a subject token for an OAuth token. The following `subject_token_type`s are supported: - `urn:plaid:params:tokensdb::user-token` allows exchanging a Plaid-issued user token for an OAuth token. `audience` must be the same as the `client_id`. `subject_token` must be a Plaid-issued user token issued from the `/user/create` endpoint. - `urn:plaid:params:oauth::user-token` allows exchanging a refresh token for an OAuth token to another `client_id`. The other `client_id` is provided in `audience`. `subject_token` must be an OAuth refresh token issued from the `/oauth/token` endpoint. Note: This endpoint supports `Content-Type: application/x-www-form-urlencoded` as well as JSON. The fields for the form are equivalent to the fields for JSON and conform to the OAuth 2.0 specification. # noqa: E501
27701+
`/oauth/token` issues an access token and refresh token depending on the `grant_type` provided. This endpoint supports `Content-Type: application/x-www-form-urlencoded` as well as JSON. The fields for the form are equivalent to the fields for JSON and conform to the OAuth 2.0 specification. # noqa: E501
2769227702
This method makes a synchronous HTTP request by default. To make an
2769327703
asynchronous HTTP request, please pass async_req=True
2769427704

@@ -30178,7 +30188,7 @@ def processor_signal_decision_report(
3017830188
):
3017930189
"""Report whether you initiated an ACH transaction # noqa: E501
3018030190

30181-
After calling `/processor/signal/evaluate`, call `/processor/signal/decision/report` to report whether the transaction was initiated. If you are using the [Plaid Transfer product](https://www.plaid.com/docs/transfer) to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was initiated. # noqa: E501
30191+
After calling `/processor/signal/evaluate`, call `/processor/signal/decision/report` to report whether the transaction was initiated. If you are using the [Plaid Transfer product](https://plaid.com/docs/transfer) to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was initiated. # noqa: E501
3018230192
This method makes a synchronous HTTP request by default. To make an
3018330193
asynchronous HTTP request, please pass async_req=True
3018430194

@@ -30427,7 +30437,7 @@ def processor_signal_return_report(
3042730437
):
3042830438
"""Report a return for an ACH transaction # noqa: E501
3042930439

30430-
Call the `/processor/signal/return/report` endpoint to report a returned transaction that was previously sent to the `/processor/signal/evaluate` endpoint. Your feedback will be used by the model to incorporate the latest risk trend in your portfolio. If you are using the [Plaid Transfer product](https://www.plaid.com/docs/transfer) to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was returned. # noqa: E501
30440+
Call the `/processor/signal/return/report` endpoint to report a returned transaction that was previously sent to the `/processor/signal/evaluate` endpoint. Your feedback will be used by the model to incorporate the latest risk trend in your portfolio. If you are using the [Plaid Transfer product](https://plaid.com/docs/transfer) to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was returned. # noqa: E501
3043130441
This method makes a synchronous HTTP request by default. To make an
3043230442
asynchronous HTTP request, please pass async_req=True
3043330443

@@ -36735,7 +36745,7 @@ def transfer_migrate_account(
3673536745
):
3673636746
"""Migrate account into Transfers # noqa: E501
3673736747

36738-
As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate known account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager. # noqa: E501
36748+
As an alternative to adding Items via Link, you can also use the `/transfer/migrate_account` endpoint to migrate previously-verified account and routing numbers to Plaid Items. This endpoint is also required when adding an Item for use with wire transfers; if you intend to create wire transfers on this account, you must provide `wire_routing_number`. Note that Items created in this way are not compatible with endpoints for other products, such as `/accounts/balance/get`, and can only be used with Transfer endpoints. If you require access to other endpoints, create the Item through Link instead. Access to `/transfer/migrate_account` is not enabled by default; to obtain access, contact your Plaid Account Manager or [Support](https://dashboard.plaid.com/support). # noqa: E501
3673936749
This method makes a synchronous HTTP request by default. To make an
3674036750
asynchronous HTTP request, please pass async_req=True
3674136751

@@ -38572,6 +38582,7 @@ def user_create(
3857238582
user_create_request (UserCreateRequest):
3857338583

3857438584
Keyword Args:
38585+
plaid_new_user_api_enabled (str): 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.. [optional]
3857538586
_return_http_data_only (bool): response data without head status
3857638587
code and headers. Default is True.
3857738588
_preload_content (bool): if False, the urllib3.HTTPResponse object
@@ -38738,6 +38749,7 @@ def user_remove(
3873838749
user_remove_request (UserRemoveRequest):
3873938750

3874038751
Keyword Args:
38752+
plaid_new_user_api_enabled (str): 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.. [optional]
3874138753
_return_http_data_only (bool): response data without head status
3874238754
code and headers. Default is True.
3874338755
_preload_content (bool): if False, the urllib3.HTTPResponse object

plaid/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'Plaid Python v31.0.0'
79+
self.user_agent = 'Plaid Python v32.0.0'
8080

8181
def __enter__(self):
8282
return self

plaid/configuration.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

@@ -431,8 +431,8 @@ def to_debug_report(self):
431431
return "Python SDK Debug Report:\n"\
432432
"OS: {env}\n"\
433433
"Python Version: {pyversion}\n"\
434-
"Version of the API: 2020-09-14_1.635.2\n"\
435-
"SDK Package Version: 31.0.0".\
434+
"Version of the API: 2020-09-14_1.627.4\n"\
435+
"SDK Package Version: 32.0.0".\
436436
format(env=sys.platform, pyversion=sys.version)
437437

438438
def get_host_settings(self):

plaid/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

plaid/model/account_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

plaid/model/account_assets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

plaid/model/account_balance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
The Plaid REST API. Please see https://plaid.com/docs/api for more details. # noqa: E501
55
6-
The version of the OpenAPI document: 2020-09-14_1.635.2
6+
The version of the OpenAPI document: 2020-09-14_1.627.4
77
Generated by: https://openapi-generator.tech
88
"""
99

0 commit comments

Comments
 (0)