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
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,8 @@ plaid/model/program_name_sensitivity.py
plaid/model/projected_income_summary_field_number.py
plaid/model/protect_app_visit_event.py
plaid/model/protect_bank_account.py
plaid/model/protect_compute_request.py
plaid/model/protect_compute_response.py
plaid/model/protect_event.py
plaid/model/protect_event_get_request.py
plaid/model/protect_event_get_response.py
Expand All @@ -1390,12 +1392,15 @@ plaid/model/protect_event_send_response.py
plaid/model/protect_incident_amount.py
plaid/model/protect_incident_event.py
plaid/model/protect_incident_event_response.py
plaid/model/protect_link_model_inputs.py
plaid/model/protect_model_inputs.py
plaid/model/protect_report.py
plaid/model/protect_report_confidence.py
plaid/model/protect_report_create_request.py
plaid/model/protect_report_create_response.py
plaid/model/protect_report_source.py
plaid/model/protect_report_type.py
plaid/model/protect_user.py
plaid/model/protect_user_event_webhook.py
plaid/model/protect_user_insights_get_request.py
plaid/model/protect_user_insights_get_response.py
Expand Down Expand Up @@ -1510,6 +1515,9 @@ plaid/model/sandbox_transfer_refund_simulate_request.py
plaid/model/sandbox_transfer_refund_simulate_response.py
plaid/model/sandbox_transfer_repayment_simulate_request.py
plaid/model/sandbox_transfer_repayment_simulate_response.py
plaid/model/sandbox_transfer_rfp_simulate_action.py
plaid/model/sandbox_transfer_rfp_simulate_request.py
plaid/model/sandbox_transfer_rfp_simulate_response.py
plaid/model/sandbox_transfer_simulate_request.py
plaid/model/sandbox_transfer_simulate_response.py
plaid/model/sandbox_transfer_sweep_simulate_request.py
Expand Down Expand Up @@ -1854,7 +1862,10 @@ plaid/model/update_entity_screening_request_search_terms.py
plaid/model/update_individual_screening_request_search_terms.py
plaid/model/user_account_identity.py
plaid/model/user_account_identity_address.py
plaid/model/user_account_identity_edit_counts.py
plaid/model/user_account_identity_edit_history.py
plaid/model/user_account_identity_name.py
plaid/model/user_account_identity_official_document.py
plaid/model/user_account_item.py
plaid/model/user_account_revoked_webhook.py
plaid/model/user_account_session_event.py
Expand Down Expand Up @@ -1939,6 +1950,7 @@ plaid/model/wallet_transaction_idempotency_key.py
plaid/model/wallet_transaction_list_request.py
plaid/model/wallet_transaction_list_request_options.py
plaid/model/wallet_transaction_list_response.py
plaid/model/wallet_transaction_payee_verification_status.py
plaid/model/wallet_transaction_relation.py
plaid/model/wallet_transaction_status.py
plaid/model/wallet_transaction_status_update_webhook.py
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
See full changelog for the OpenAPI Schema (OAS) [here](https://github.com/plaid/plaid-openapi/blob/master/CHANGELOG.md).

# 38.2.0
- Updating to OAS 2020-09-14_1.681.4

## OpenAPI Schema Changes
### 2020-09-14_1.681.4
- Add `client_user_id` field to `ProtectUserEventWebhook`

### 2020-09-14_1.681.2
- Add `edits_current` field to `UserAccountIdentityEditCounts` schema. This field tracks the number of edits made to a specific identity field during the current session.

### 2020-09-14_1.681.1
- Add `user_id` field to the following webhook schemas: `SyncUpdatesAvailableWebhook`, `ItemPendingExpirationWebhook`, `ItemErrorWebhook`, `ItemLoginRepairedWebhook`, `InvestmentsTransactionsDefaultUpdateWebhook`, `InvestmentsTransactionsHistoricalUpdateWebhook`, `HoldingsDefaultUpdateWebhook`, `LiabilitiesDefaultUpdateWebhook`, `ItemPendingDisconnectWebhook`, `ItemUserPermissionRevokedWebhook`, `NewAccountsAvailableWebhook`, `UserAccountRevokedWebhook`, `LinkSessionFinishedWebhook`

### 2020-09-14_1.681.0
- Add `trust_index_score` field to `risk_check` schema for IDV endpoints.

### 2020-09-14_1.680.9
- Add `payee_verification_status` field to `WalletTransaction` schema. This field indicates the result of payee verification checks for EUR payouts.

# 38.1.0
- Updating to OAS 2020-09-14_1.680.8

Expand Down
4 changes: 2 additions & 2 deletions plaid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

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

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""


__version__ = "38.1.0"
__version__ = "38.2.0"

# import ApiClient
from plaid.api_client import ApiClient
Expand Down
147 changes: 143 additions & 4 deletions plaid/api/plaid_api.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -386,6 +386,8 @@
from plaid.model.processor_transactions_sync_response import ProcessorTransactionsSyncResponse
from plaid.model.profile_network_status_get_request import ProfileNetworkStatusGetRequest
from plaid.model.profile_network_status_get_response import ProfileNetworkStatusGetResponse
from plaid.model.protect_compute_request import ProtectComputeRequest
from plaid.model.protect_compute_response import ProtectComputeResponse
from plaid.model.protect_event_get_request import ProtectEventGetRequest
from plaid.model.protect_event_get_response import ProtectEventGetResponse
from plaid.model.protect_event_send_request import ProtectEventSendRequest
Expand Down Expand Up @@ -10926,6 +10928,60 @@ def __init__(self, api_client=None):
},
api_client=api_client
)
self.protect_compute_endpoint = _Endpoint(
settings={
'response_type': (ProtectComputeResponse,),
'auth': [
'clientId',
'plaidVersion',
'secret'
],
'endpoint_path': '/protect/compute',
'operation_id': 'protect_compute',
'http_method': 'POST',
'servers': None,
},
params_map={
'all': [
'protect_compute_request',
],
'required': [
'protect_compute_request',
],
'nullable': [
],
'enum': [
],
'validation': [
]
},
root_map={
'validations': {
},
'allowed_values': {
},
'openapi_types': {
'protect_compute_request':
(ProtectComputeRequest,),
},
'attribute_map': {
},
'location_map': {
'protect_compute_request': 'body',
},
'collection_format_map': {
}
},
headers_map={
'accept': [
'application/json'
],
'content_type': [
'application/json'
]
},
api_client=api_client
)
self.protect_event_get_endpoint = _Endpoint(
settings={
'response_type': (ProtectEventGetResponse,),
Expand Down Expand Up @@ -23174,9 +23230,9 @@ def cra_check_report_verification_get(
cra_check_report_verification_get_request,
**kwargs
):
"""Retrieve various verification reports for a user. # noqa: E501
"""Retrieve various home lending reports for a user. # noqa: E501

This endpoint allows you to retrieve verification reports for a user. To obtain a VoA or Employment Refresh report, you need to make sure that `cra_base_report` is included in the `products` parameter when calling `/link/token/create` or `/cra/check_report/create`. You should call this endpoint after you've received a `CHECK_REPORT_READY` or a `USER_CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`.\" # noqa: E501
This endpoint allows you to retrieve home lending reports for a user. To obtain a VoA or Employment Refresh report, you need to make sure that `cra_base_report` is included in the `products` parameter when calling `/link/token/create` or `/cra/check_report/create`. You should call this endpoint after you've received a `CHECK_REPORT_READY` or a `USER_CHECK_REPORT_READY` webhook, either after the Link session for the user or after calling `/cra/check_report/create`. If the most recent consumer report for the user doesn’t have sufficient data to generate the report, or the consumer report has expired, you will receive an error indicating that you should create a new consumer report by calling `/cra/check_report/create`.\" # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -33955,6 +34011,89 @@ def profile_network_status_get(
profile_network_status_get_request
return self.profile_network_status_get_endpoint.call_with_http_info(**kwargs)

def protect_compute(
self,
protect_compute_request,
**kwargs
):
"""Compute Protect Trust Index Score # noqa: E501

Use this endpoint to compute a Protect Trust Index score and retrieve fraud attributes # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

>>> thread = api.protect_compute(protect_compute_request, async_req=True)
>>> result = thread.get()

Args:
protect_compute_request (ProtectComputeRequest):

Keyword Args:
_return_http_data_only (bool): response data without head status
code and headers. Default is True.
_preload_content (bool): if False, the urllib3.HTTPResponse object
will be returned without reading/decoding response data.
Default is True.
_request_timeout (int/float/tuple): timeout setting for this request. If
one number provided, it will be total request timeout. It can also
be a pair (tuple) of (connection, read) timeouts.
Default is None.
_check_input_type (bool): specifies if type checking
should be done one the data sent to the server.
Default is True.
_check_return_type (bool): specifies if type checking
should be done one the data received from the server.
Default is True.
_spec_property_naming (bool): True if the variable names in the input data
are serialized names, as specified in the OpenAPI document.
False if the variable names in the input data
are pythonic names, e.g. snake case (default)
_content_type (str/None): force body content-type.
Default is None and content-type will be predicted by allowed
content-types and body.
_host_index (int/None): specifies the index of the server
that we want to use.
Default is read from the configuration.
_request_auths (list): set to override the auth_settings for an a single
request; this effectively ignores the authentication
in the spec for a single request.
Default is None
async_req (bool): execute request asynchronously

Returns:
ProtectComputeResponse
If the method is called asynchronously, returns the request
thread.
"""
kwargs['async_req'] = kwargs.get(
'async_req', False
)
kwargs['_return_http_data_only'] = kwargs.get(
'_return_http_data_only', True
)
kwargs['_preload_content'] = kwargs.get(
'_preload_content', True
)
kwargs['_request_timeout'] = kwargs.get(
'_request_timeout', None
)
kwargs['_check_input_type'] = kwargs.get(
'_check_input_type', True
)
kwargs['_check_return_type'] = kwargs.get(
'_check_return_type', True
)
kwargs['_spec_property_naming'] = kwargs.get(
'_spec_property_naming', False
)
kwargs['_content_type'] = kwargs.get(
'_content_type')
kwargs['_host_index'] = kwargs.get('_host_index')
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
kwargs['protect_compute_request'] = \
protect_compute_request
return self.protect_compute_endpoint.call_with_http_info(**kwargs)

def protect_event_get(
self,
protect_event_get_request,
Expand Down Expand Up @@ -36533,7 +36672,7 @@ def session_token_create(
session_token_create_request,
**kwargs
):
"""Create a Session Token # noqa: E501
"""Create a Link token for Layer # noqa: E501

`/session/token/create` is used to create a Link token for Layer. The returned Link token is used as an parameter when initializing the Link SDK. For more details, see the [Link flow overview](https://plaid.com/docs/link/#link-flow-overview). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
Expand Down
4 changes: 2 additions & 2 deletions plaid/api_client.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Plaid Python v38.1.0'
self.user_agent = 'Plaid Python v38.2.0'

def __enter__(self):
return self
Expand Down
6 changes: 3 additions & 3 deletions plaid/configuration.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -431,8 +431,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 2020-09-14_1.680.8\n"\
"SDK Package Version: 38.1.0".\
"Version of the API: 2020-09-14_1.681.4\n"\
"SDK Package Version: 38.2.0".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion plaid/exceptions.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/aamva_analysis.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/aamva_detailed_match_result.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/aamva_match_result.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/account_access.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/account_assets.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/account_balance.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion plaid/model/account_base.py
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. # noqa: E501

The version of the OpenAPI document: 2020-09-14_1.680.8
The version of the OpenAPI document: 2020-09-14_1.681.4
Generated by: https://openapi-generator.tech
"""

Expand Down
Loading