Skip to content

Commit 4330929

Browse files
authored
Merge pull request #577 from plaid/generated_20260610T220150Z
OpenAPI generated code at 2026-06-10T22:01:50Z
2 parents b1f7daa + 952262c commit 4330929

2,108 files changed

Lines changed: 10305 additions & 3885 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: 29 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,22 @@ plaid/model/cra_upgrade_failed_webhook.py
514514
plaid/model/cra_user_check_report_failed_webhook.py
515515
plaid/model/cra_user_check_report_ready_webhook.py
516516
plaid/model/cra_user_tier.py
517+
plaid/model/cra_verification_income_account.py
518+
plaid/model/cra_verification_income_category.py
519+
plaid/model/cra_verification_income_item.py
520+
plaid/model/cra_verification_income_metrics.py
521+
plaid/model/cra_verification_income_next_payment.py
522+
plaid/model/cra_verification_income_pay_frequency.py
523+
plaid/model/cra_verification_income_provider.py
524+
plaid/model/cra_verification_income_report.py
525+
plaid/model/cra_verification_income_status.py
526+
plaid/model/cra_verification_income_stream.py
527+
plaid/model/cra_verification_income_stream_insights.py
528+
plaid/model/cra_verification_income_transaction.py
529+
plaid/model/cra_verification_income_transaction_outlier.py
530+
plaid/model/cra_verification_income_user_summary.py
531+
plaid/model/cra_verification_income_values.py
532+
plaid/model/cra_verification_modeled_income.py
517533
plaid/model/cra_verification_report.py
518534
plaid/model/cra_voa_report.py
519535
plaid/model/cra_voa_report_account.py
@@ -742,7 +758,12 @@ plaid/model/external_payment_schedule_get.py
742758
plaid/model/external_payment_schedule_request.py
743759
plaid/model/fallback_auth_microdeposit_auto_verified_webhook.py
744760
plaid/model/fallback_auth_microdeposit_verification_expired_webhook.py
761+
plaid/model/fdx_consent_grant.py
762+
plaid/model/fdx_consent_grant_resource.py
763+
plaid/model/fdx_consent_grant_status.py
764+
plaid/model/fdx_consent_resource_type.py
745765
plaid/model/fdx_content_types.py
766+
plaid/model/fdx_data_cluster.py
746767
plaid/model/fdx_event_status.py
747768
plaid/model/fdx_hateoas_link.py
748769
plaid/model/fdx_hateoas_link_action.py
@@ -782,6 +803,8 @@ plaid/model/historical_annual_income.py
782803
plaid/model/historical_balance.py
783804
plaid/model/historical_update_webhook.py
784805
plaid/model/holding.py
806+
plaid/model/holding_tax_lot.py
807+
plaid/model/holding_tax_lot_position_type.py
785808
plaid/model/holdings_default_update_webhook.py
786809
plaid/model/holdings_override.py
787810
plaid/model/hosted_link_delivery_method.py
@@ -962,8 +985,6 @@ plaid/model/item_create_authentication.py
962985
plaid/model/item_error_webhook.py
963986
plaid/model/item_get_request.py
964987
plaid/model/item_get_response.py
965-
plaid/model/item_handle_fraud_report_request.py
966-
plaid/model/item_handle_fraud_report_response.py
967988
plaid/model/item_import_request.py
968989
plaid/model/item_import_request_options.py
969990
plaid/model/item_import_request_user_auth.py
@@ -1051,8 +1072,6 @@ plaid/model/link_session_exit_metadata_institution.py
10511072
plaid/model/link_session_finished_webhook.py
10521073
plaid/model/link_session_item_add_result.py
10531074
plaid/model/link_session_payroll_income_result.py
1054-
plaid/model/link_session_protect_result.py
1055-
plaid/model/link_session_protect_result_fraud_attributes.py
10561075
plaid/model/link_session_results.py
10571076
plaid/model/link_session_success.py
10581077
plaid/model/link_session_success_metadata.py
@@ -1146,10 +1165,6 @@ plaid/model/name_match_score.py
11461165
plaid/model/negative_balance_insights.py
11471166
plaid/model/negative_balance_occurrence.py
11481167
plaid/model/net_pay.py
1149-
plaid/model/network_insights_item.py
1150-
plaid/model/network_insights_report.py
1151-
plaid/model/network_insights_report_get_request.py
1152-
plaid/model/network_insights_report_get_response.py
11531168
plaid/model/network_insights_version.py
11541169
plaid/model/network_status_get_request.py
11551170
plaid/model/network_status_get_response.py
@@ -1435,6 +1450,7 @@ plaid/model/product_permissions_required_identity_webhook.py
14351450
plaid/model/product_status.py
14361451
plaid/model/product_status_breakdown.py
14371452
plaid/model/products.py
1453+
plaid/model/products_terminate_reason_code.py
14381454
plaid/model/profile_network_status_get_request.py
14391455
plaid/model/profile_network_status_get_response.py
14401456
plaid/model/program_name_sensitivity.py
@@ -1443,6 +1459,7 @@ plaid/model/protect_app_visit_event.py
14431459
plaid/model/protect_bank_account.py
14441460
plaid/model/protect_compute_request.py
14451461
plaid/model/protect_compute_response.py
1462+
plaid/model/protect_compute_subscores.py
14461463
plaid/model/protect_event.py
14471464
plaid/model/protect_event_get_request.py
14481465
plaid/model/protect_event_get_response.py
@@ -1500,7 +1517,9 @@ plaid/model/risk_check_email.py
15001517
plaid/model/risk_check_email_domain_is_custom.py
15011518
plaid/model/risk_check_email_domain_is_disposable.py
15021519
plaid/model/risk_check_email_domain_is_free_provider.py
1520+
plaid/model/risk_check_email_includes_date_of_birth.py
15031521
plaid/model/risk_check_email_is_deliverable_status.py
1522+
plaid/model/risk_check_email_is_edu.py
15041523
plaid/model/risk_check_email_top_level_domain_is_suspicious.py
15051524
plaid/model/risk_check_facial_duplicate.py
15061525
plaid/model/risk_check_factors.py
@@ -1757,6 +1776,7 @@ plaid/model/transfer_authorization_cancel_request.py
17571776
plaid/model/transfer_authorization_cancel_response.py
17581777
plaid/model/transfer_authorization_create_request.py
17591778
plaid/model/transfer_authorization_create_response.py
1779+
plaid/model/transfer_authorization_custom_attributes.py
17601780
plaid/model/transfer_authorization_decision.py
17611781
plaid/model/transfer_authorization_decision_rationale.py
17621782
plaid/model/transfer_authorization_decision_rationale_code.py
@@ -1954,6 +1974,7 @@ plaid/model/user_items_get_response.py
19541974
plaid/model/user_items_remove_request.py
19551975
plaid/model/user_items_remove_response.py
19561976
plaid/model/user_permission_revoked_webhook.py
1977+
plaid/model/user_products_terminate_reason_code.py
19571978
plaid/model/user_products_terminate_request.py
19581979
plaid/model/user_products_terminate_response.py
19591980
plaid/model/user_remove_request.py

CHANGELOG.md

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

3+
# 40.0.0
4+
- Updating to OAS 2020-09-14_1.697.4
5+
6+
## Breaking changes in this version
7+
- [BREAKING] Remove `protect_results` from `LinkSessionResults` in `/link/token/get` responses. The API no longer populates this field. (OAS 2020-09-14_1.697.0)
8+
- [BREAKING] `Recaptcha_RequiredError`: change `http_code` from `string` to `integer`. The API already returns an integer; only the spec was wrong. (OAS 2020-09-14_1.695.0)
9+
- [BREAKING] Replace `report_requested` field with `reports_requested` array field in `/cra/check_report/verification/pdf/get`. (OAS 2020-09-14_1.691.0)
10+
- [BREAKING] Remove `/item/handle_fraud_report` endpoint and its `ItemHandleFraudReportRequest` and `ItemHandleFraudReportResponse` schemas. The endpoint was never wired up for any customer. (OAS 2020-09-14_1.688.9)
11+
12+
## OpenAPI Schema Changes
13+
### 2020-09-14_1.697.4
14+
- Update `Holding.tax_lots` description: remove stale "Absent from the response when the tax lots feature is not yet enabled" clause.
15+
16+
### 2020-09-14_1.697.3
17+
- Add `atomicfi` value to the `processor` enum on `/processor/token/create`.
18+
19+
### 2020-09-14_1.697.2
20+
- Add `payment` and `refund` values to the `transaction_code` enum, and update the field description to note that `transaction_code` is now populated for certain US institutions, in addition to European institutions.
21+
22+
### 2020-09-14_1.697.1
23+
- Add `sub_programs` (`array<string>`) to `WatchlistScreeningHit` and `EntityWatchlistScreeningHit`. Surfaces the sub-program designations published by the issuing authority (for example OFAC SDN program codes like `SDGT`, `SDNTK`, `IRAN`, `RUSSIA-EO14024`).
24+
25+
### 2020-09-14_1.697.0
26+
- [Breaking] Remove `protect_results` from `LinkSessionResults` in `/link/token/get` responses. The API no longer populates this field.
27+
28+
### 2020-09-14_1.696.1
29+
- Add `tax_lots` array field to `Holding` and introduce `HoldingTaxLot` schema with 7 fields: `institution_lot_id`, `original_purchase_datetime`, `quantity`, `purchase_price`, `cost_basis`, `current_value`, and `position_type`. Introduce `HoldingTaxLotPositionType` enum (`LONG`, `SHORT`).
30+
31+
### 2020-09-14_1.696.0
32+
- Add `ACCOUNT_FUNDING` and `AUTO_REFUND` values to the `WalletTransaction.type` enum. These transaction types are already returned for virtual-account unexpected-payment handling and were documented but missing from the spec.
33+
34+
### 2020-09-14_1.695.0
35+
- [Breaking] `Recaptcha_RequiredError`: change `http_code` from `string` to `integer`. The API already returns an integer; only the spec was wrong.
36+
- Add `BASE_REPORT_ERROR` to the `error_type` enum (`PlaidErrorType`).
37+
- `IncomeVerificationRiskSignalsStatusWebhook`: fix the `required` list to reference `risk_signals_status` instead of a non-existent `status` field.
38+
- `Recaptcha_RequiredError`: mark `display_message` nullable and remove `link_user_experience`, `common_causes`, and `troubleshooting_steps` from `required`. This schema object is used for documentation only; describing these fields as required is misleading.
39+
- Remove `database_insights_pending` from the `verification_status` description on product-endpoint account schemas — it is only returned in the Link `onSuccess` metadata, not by these endpoints.
40+
- Add `STARTED` and `INTERNAL_ERROR` to the `CreditSessionBankIncomeStatus` enum.
41+
- Add `STARTED` and `INTERNAL_ERROR` to the `CreditSessionBankEmploymentStatus` enum.
42+
- Fix various webhook and error response examples to conform to their schemas.
43+
44+
### 2020-09-14_1.694.0
45+
- Add `custom_attributes` field to `TransferAuthorizationCreateRequest`.
46+
47+
### 2020-09-14_1.693.0
48+
- Add `reason_codes` array to `CraPartnerInsightsBaseFicoScore` and `negative_reason_codes` / `positive_reason_codes` arrays to `CraPartnerInsightsUltraFicoScore`. The corresponding individual `reason_code_1` through `reason_code_4` and `positive_reason_code_1` through `positive_reason_code_4` fields are now deprecated.
49+
50+
### 2020-09-14_1.692.7
51+
- Add `model_version` string field to `PrismInsights` and deprecate the integer `version` field. Required to surface Prism Insights v4.1 and any future non-integeter model versions.
52+
53+
### 2020-09-14_1.692.6
54+
- Add private-visibility scaffolding for `POST /fraud_insights/connection_event/send` (501 stub; customer-facing entry follows when `x-private-visibility` flips).
55+
56+
### 2020-09-14_1.692.5
57+
- Add `interchecks` value to the `processor` enum on `/processor/token/create`.
58+
59+
### 2020-09-14_1.692.4
60+
- Redeclare `name`, `official_name`, `mask`, and `verification_name` on the second `allOf` piece of `InvestmentAccount`, `BusinessAccount`, `AccountIdentity`, and `AccountIdentityMatchScore`. The fields are already declared on `AccountBase`; the redeclaration prevents the `plaid-python` SDK (>= 39.0.0) from routing them through its `additional_properties_type` handler, which upconverts date-shaped string values (e.g. an account literally named `"June - 529"`) into `datetime.date` objects in `to_dict()`. No change to the API response shape.
61+
62+
### 2020-09-14_1.692.3
63+
- Add private-visibility scaffolding for `POST /fraud_insights/connection_risk_score/get` (501 stub; customer-facing entry follows when `x-private-visibility` flips).
64+
65+
### 2020-09-14_1.692.2
66+
- Update `CraUserCheckReportFailedWebhook` (`USER_CHECK_REPORT_FAILED`) description to document that customers can call `/user/items/get` and inspect non-null `error` objects on the associated Items to retrieve error details, matching the existing guidance on `CraCheckReportFailedWebhook` (`CHECK_REPORT_FAILED`).
67+
68+
### 2020-09-14_1.692.1
69+
- Correct the `/statements/download` success response content type from `application/json` to `application/pdf` to match the binary PDF body the endpoint actually returns.
70+
71+
### 2020-09-14_1.692.0
72+
- `/cra/check_report/income_insights/get`: `income_streams` is now marked as required on `CraIncomeInsights` and is always present on the response. When there are no income streams for the report, it is returned as an empty array (`[]`) instead of being omitted.
73+
74+
### 2020-09-14_1.691.2
75+
- Update `/user/products/terminate` description to clarify which subscription bundles are terminated, the billing impact, and the CRA Monitoring carve-out.
76+
- Restore the `/user/items/remove` description paragraph that points users to `/user/products/terminate` for stopping billing and to the Consumer Service Center for user-initiated data deletion.
77+
78+
### 2020-09-14_1.691.1
79+
- Add `frame` value to the `processor` enum on `/processor/token/create`.
80+
81+
### 2020-09-14_1.691.0
82+
- [Breaking] Replace `report_requested` field with `reports_requested` array field in `/cra/check_report/verification/pdf/get`.
83+
- Add `income` value to `CraCheckReportVerificationPdfReportType`.
84+
85+
### 2020-09-14_1.690.1
86+
- Expose `/user/products/terminate` in the public OpenAPI spec (previously hidden from client libraries).
87+
88+
### 2020-09-14_1.690.0
89+
- Add an optional `subscores` object to the `/protect/compute` response and a new `ProtectComputeSubscores` schema. For cash-advance models, exposes per-bucket subscores (`cash_advance_bucket_0_25` through `cash_advance_bucket_400_500`) where each scored bucket is a 0-100 trust index score (higher = lower fraud risk). Both the wrapper `subscores` field and each individual bucket key are omitted from the response when not scored: models that do not produce subscores will not include the `subscores` key in the response at all, and partially-scored responses include only the bucket keys that were scored.
90+
91+
### 2020-09-14_1.689.0
92+
- Add optional `user_id` field to `CraCreditProfileReportGetResponse`.
93+
94+
### 2020-09-14_1.688.10
95+
- Add `reason_code` enum values to `/item/products/terminate` and `/user/products/terminate`
96+
97+
### 2020-09-14_1.688.9
98+
- [Breaking] Remove `/item/handle_fraud_report` endpoint and its `ItemHandleFraudReportRequest` and `ItemHandleFraudReportResponse` schemas. The endpoint was never wired up for any customer.
99+
100+
### 2020-09-14_1.688.8
101+
- Expose the `limited_purpose_types` filter on `LinkTokenCreateDepositoryFilter` and `DepositoryFilter`, and the `LimitedPurposeTypes` and `LimitedPurposeType` schemas, in the public OpenAPI spec (previously hidden from client libraries). Used in conjunction with the `limited purpose checking` depository subtype to restrict which kinds of limited purpose checking accounts may be connected in Link.
102+
103+
### 2020-09-14_1.688.7
104+
- Add income schema types (`CraVerificationIncome*`) to CRA Home Lending Verification Report
105+
- Add `income` field to `CraVerificationReport`
106+
- Add `INCOME` to `CraCheckReportVerificationGetReportType` enum
107+
- Document that `/sandbox/transactions/create` only applies custom transactions to the depository account on `user_transactions_dynamic` Items
108+
3109
# 39.2.0
4110
- Updating to OAS 2020-09-14_1.688.6
5111

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.688.6
8+
The version of the OpenAPI document: 2020-09-14_1.697.4
99
Generated by: https://openapi-generator.tech
1010
"""
1111

1212

13-
__version__ = "39.2.0"
13+
__version__ = "40.0.0"
1414

1515
# import ApiClient
1616
from plaid.api_client import ApiClient

0 commit comments

Comments
 (0)