BasisTheoryClient 2.0.0__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/PKG-INFO +1 -1
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/pyproject.toml +1 -1
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/__init__.py +12 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/real_time/client.py +10 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/client.py +179 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/client.py +4 -0
- basistheoryclient-2.2.0/src/basis_theory/documents/__init__.py +5 -0
- basistheoryclient-2.2.0/src/basis_theory/documents/client.py +511 -0
- basistheoryclient-2.2.0/src/basis_theory/documents/data/client.py +150 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/network_tokens/client.py +398 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/threeds/sessions/client.py +13 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tokens/client.py +8 -244
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/__init__.py +10 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_token.py +2 -0
- basistheoryclient-2.2.0/src/basis_theory/types/create_account_updater_job_request.py +22 -0
- basistheoryclient-2.2.0/src/basis_theory/types/create_document_request.py +19 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/create_three_ds_session_response.py +1 -0
- basistheoryclient-2.2.0/src/basis_theory/types/document.py +25 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/network_token.py +8 -0
- basistheoryclient-2.2.0/src/basis_theory/types/network_token_extras.py +19 -0
- basistheoryclient-2.2.0/src/basis_theory/types/three_ds_callback_urls.py +20 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_extras.py +1 -0
- basistheoryclient-2.2.0/src/basis_theory/webhooks/events/__init__.py +2 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/README.md +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/apple_pay/session/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/application_keys/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/application_keys/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/application_templates/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/application_templates/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/applications/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/applications/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/domain/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/domain/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/session/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/apple_pay/session/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/connection/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/api_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/client_wrapper.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/datetime_utils.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/file.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/http_client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/pagination.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/query_encoder.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/request_options.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/core/serialization.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/enrichments → basistheoryclient-2.2.0/src/basis_theory/documents/data}/__init__.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/googlepay → basistheoryclient-2.2.0/src/basis_theory/enrichments}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/enrichments/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/environment.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/bad_request_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/conflict_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/forbidden_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/internal_server_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/not_found_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/keys → basistheoryclient-2.2.0/src/basis_theory/googlepay}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/googlepay/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/logs → basistheoryclient-2.2.0/src/basis_theory/keys}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/keys/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/network_tokens → basistheoryclient-2.2.0/src/basis_theory/logs}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/logs/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/permissions → basistheoryclient-2.2.0/src/basis_theory/network_tokens}/__init__.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/proxies → basistheoryclient-2.2.0/src/basis_theory/permissions}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/permissions/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/reactors/results → basistheoryclient-2.2.0/src/basis_theory/proxies}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/proxies/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/py.typed +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/reactors/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/reactors/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/roles → basistheoryclient-2.2.0/src/basis_theory/reactors/results}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/reactors/results/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/sessions → basistheoryclient-2.2.0/src/basis_theory/roles}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/roles/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tenants/connections → basistheoryclient-2.2.0/src/basis_theory/sessions}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/sessions/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tenants/invitations → basistheoryclient-2.2.0/src/basis_theory/tenants/connections}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/connections/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tenants/members → basistheoryclient-2.2.0/src/basis_theory/tenants/invitations}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/invitations/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tenants/owner → basistheoryclient-2.2.0/src/basis_theory/tenants/members}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/members/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tenants/self_ → basistheoryclient-2.2.0/src/basis_theory/tenants/owner}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/owner/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/threeds/sessions → basistheoryclient-2.2.0/src/basis_theory/tenants/self_}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/tenants/self_/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/threeds/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/threeds/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/token_intents → basistheoryclient-2.2.0/src/basis_theory/threeds/sessions}/__init__.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/tokens → basistheoryclient-2.2.0/src/basis_theory/token_intents}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/token_intents/client.py +0 -0
- {basistheoryclient-2.0.0/src/basis_theory/webhooks/events → basistheoryclient-2.2.0/src/basis_theory/tokens}/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/access_rule.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/account_updater_job.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/additional_card_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/address.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_create_token_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_domain_deregistration_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_domain_registration_list_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_domain_registration_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_session_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/application.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/application_key.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/application_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/application_template.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/assurance_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/async_react_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/authentication.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/authentication_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bank_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bank_verification_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bin_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bin_details_bank.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bin_details_country.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/bin_details_product.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/card.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/card_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/card_issuer.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/card_issuer_country.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/cardholder_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/condition.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/create_session_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/cursor_pagination.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/domain_registration_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/event_types.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_applications.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_logs.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_permissions.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_proxies.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_reactors.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_tenant_members.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_tokens.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/google_payment_method_token.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/header.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/log.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/log_entity_type.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/log_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/pagination.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/payment_data.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/permission.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/privacy.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/problem_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/proxy.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/proxy_transform.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/public_key.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/react_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor_formula.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/role.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_member_response.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_address.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_method.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_session.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/three_ds_version.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_enrichments.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_intent.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_intent_extras.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_paginated_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/update_privacy.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/user.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/validation_problem_details.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/webhook.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/webhook_list.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/types/webhook_status.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/version.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/webhooks/__init__.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/webhooks/client.py +0 -0
- {basistheoryclient-2.0.0 → basistheoryclient-2.2.0}/src/basis_theory/webhooks/events/client.py +0 -0
|
@@ -42,12 +42,15 @@ from .types import (
|
|
|
42
42
|
ClientEncryptionKeyMetadataResponse,
|
|
43
43
|
ClientEncryptionKeyResponse,
|
|
44
44
|
Condition,
|
|
45
|
+
CreateAccountUpdaterJobRequest,
|
|
46
|
+
CreateDocumentRequest,
|
|
45
47
|
CreateReactorFormulaRequest,
|
|
46
48
|
CreateSessionResponse,
|
|
47
49
|
CreateTenantConnectionResponse,
|
|
48
50
|
CreateThreeDsSessionResponse,
|
|
49
51
|
CreateTokenIntentResponse,
|
|
50
52
|
CursorPagination,
|
|
53
|
+
Document,
|
|
51
54
|
DomainRegistrationResponse,
|
|
52
55
|
EventTypes,
|
|
53
56
|
GetApplications,
|
|
@@ -69,6 +72,7 @@ from .types import (
|
|
|
69
72
|
LogPaginatedList,
|
|
70
73
|
NetworkToken,
|
|
71
74
|
NetworkTokenCryptogram,
|
|
75
|
+
NetworkTokenExtras,
|
|
72
76
|
Pagination,
|
|
73
77
|
PaymentData,
|
|
74
78
|
Permission,
|
|
@@ -99,6 +103,7 @@ from .types import (
|
|
|
99
103
|
ThreeDsAcsRenderingType,
|
|
100
104
|
ThreeDsAddress,
|
|
101
105
|
ThreeDsAuthentication,
|
|
106
|
+
ThreeDsCallbackUrls,
|
|
102
107
|
ThreeDsCardholderAccountInfo,
|
|
103
108
|
ThreeDsCardholderAuthenticationInfo,
|
|
104
109
|
ThreeDsCardholderInfo,
|
|
@@ -149,6 +154,7 @@ from . import (
|
|
|
149
154
|
application_templates,
|
|
150
155
|
applications,
|
|
151
156
|
connection,
|
|
157
|
+
documents,
|
|
152
158
|
enrichments,
|
|
153
159
|
googlepay,
|
|
154
160
|
keys,
|
|
@@ -216,12 +222,15 @@ __all__ = [
|
|
|
216
222
|
"ClientEncryptionKeyResponse",
|
|
217
223
|
"Condition",
|
|
218
224
|
"ConflictError",
|
|
225
|
+
"CreateAccountUpdaterJobRequest",
|
|
226
|
+
"CreateDocumentRequest",
|
|
219
227
|
"CreateReactorFormulaRequest",
|
|
220
228
|
"CreateSessionResponse",
|
|
221
229
|
"CreateTenantConnectionResponse",
|
|
222
230
|
"CreateThreeDsSessionResponse",
|
|
223
231
|
"CreateTokenIntentResponse",
|
|
224
232
|
"CursorPagination",
|
|
233
|
+
"Document",
|
|
225
234
|
"DomainRegistrationResponse",
|
|
226
235
|
"EventTypes",
|
|
227
236
|
"ForbiddenError",
|
|
@@ -245,6 +254,7 @@ __all__ = [
|
|
|
245
254
|
"LogPaginatedList",
|
|
246
255
|
"NetworkToken",
|
|
247
256
|
"NetworkTokenCryptogram",
|
|
257
|
+
"NetworkTokenExtras",
|
|
248
258
|
"NotFoundError",
|
|
249
259
|
"Pagination",
|
|
250
260
|
"PaymentData",
|
|
@@ -277,6 +287,7 @@ __all__ = [
|
|
|
277
287
|
"ThreeDsAcsRenderingType",
|
|
278
288
|
"ThreeDsAddress",
|
|
279
289
|
"ThreeDsAuthentication",
|
|
290
|
+
"ThreeDsCallbackUrls",
|
|
280
291
|
"ThreeDsCardholderAccountInfo",
|
|
281
292
|
"ThreeDsCardholderAuthenticationInfo",
|
|
282
293
|
"ThreeDsCardholderInfo",
|
|
@@ -318,6 +329,7 @@ __all__ = [
|
|
|
318
329
|
"application_templates",
|
|
319
330
|
"applications",
|
|
320
331
|
"connection",
|
|
332
|
+
"documents",
|
|
321
333
|
"enrichments",
|
|
322
334
|
"googlepay",
|
|
323
335
|
"keys",
|
|
@@ -29,6 +29,7 @@ class RealTimeClient:
|
|
|
29
29
|
token_id: str,
|
|
30
30
|
expiration_year: typing.Optional[int] = OMIT,
|
|
31
31
|
expiration_month: typing.Optional[int] = OMIT,
|
|
32
|
+
deduplicate_token: typing.Optional[bool] = OMIT,
|
|
32
33
|
request_options: typing.Optional[RequestOptions] = None,
|
|
33
34
|
) -> AccountUpdaterRealTimeResponse:
|
|
34
35
|
"""
|
|
@@ -45,6 +46,9 @@ class RealTimeClient:
|
|
|
45
46
|
expiration_month : typing.Optional[int]
|
|
46
47
|
The 2-digit expiration month of the account number. Not required if the card token already stores this value.
|
|
47
48
|
|
|
49
|
+
deduplicate_token : typing.Optional[bool]
|
|
50
|
+
Whether deduplication should be enabled when creating the new token. Uses the value of the Deduplicate Tokens setting on the tenant if not set.
|
|
51
|
+
|
|
48
52
|
request_options : typing.Optional[RequestOptions]
|
|
49
53
|
Request-specific configuration.
|
|
50
54
|
|
|
@@ -72,6 +76,7 @@ class RealTimeClient:
|
|
|
72
76
|
"token_id": token_id,
|
|
73
77
|
"expiration_year": expiration_year,
|
|
74
78
|
"expiration_month": expiration_month,
|
|
79
|
+
"deduplicate_token": deduplicate_token,
|
|
75
80
|
},
|
|
76
81
|
headers={
|
|
77
82
|
"content-type": "application/json",
|
|
@@ -144,6 +149,7 @@ class AsyncRealTimeClient:
|
|
|
144
149
|
token_id: str,
|
|
145
150
|
expiration_year: typing.Optional[int] = OMIT,
|
|
146
151
|
expiration_month: typing.Optional[int] = OMIT,
|
|
152
|
+
deduplicate_token: typing.Optional[bool] = OMIT,
|
|
147
153
|
request_options: typing.Optional[RequestOptions] = None,
|
|
148
154
|
) -> AccountUpdaterRealTimeResponse:
|
|
149
155
|
"""
|
|
@@ -160,6 +166,9 @@ class AsyncRealTimeClient:
|
|
|
160
166
|
expiration_month : typing.Optional[int]
|
|
161
167
|
The 2-digit expiration month of the account number. Not required if the card token already stores this value.
|
|
162
168
|
|
|
169
|
+
deduplicate_token : typing.Optional[bool]
|
|
170
|
+
Whether deduplication should be enabled when creating the new token. Uses the value of the Deduplicate Tokens setting on the tenant if not set.
|
|
171
|
+
|
|
163
172
|
request_options : typing.Optional[RequestOptions]
|
|
164
173
|
Request-specific configuration.
|
|
165
174
|
|
|
@@ -195,6 +204,7 @@ class AsyncRealTimeClient:
|
|
|
195
204
|
"token_id": token_id,
|
|
196
205
|
"expiration_year": expiration_year,
|
|
197
206
|
"expiration_month": expiration_month,
|
|
207
|
+
"deduplicate_token": deduplicate_token,
|
|
198
208
|
},
|
|
199
209
|
headers={
|
|
200
210
|
"content-type": "application/json",
|
|
@@ -19,6 +19,7 @@ from json.decoder import JSONDecodeError
|
|
|
19
19
|
from ..core.api_error import ApiError
|
|
20
20
|
from ..types.apple_pay_token import ApplePayToken
|
|
21
21
|
from ..core.jsonable_encoder import jsonable_encoder
|
|
22
|
+
from ..errors.not_found_error import NotFoundError
|
|
22
23
|
from ..core.client_wrapper import AsyncClientWrapper
|
|
23
24
|
from .domain.client import AsyncDomainClient
|
|
24
25
|
from .session.client import AsyncSessionClient
|
|
@@ -194,6 +195,91 @@ class ApplePayClient:
|
|
|
194
195
|
),
|
|
195
196
|
)
|
|
196
197
|
)
|
|
198
|
+
if _response.status_code == 404:
|
|
199
|
+
raise NotFoundError(
|
|
200
|
+
typing.cast(
|
|
201
|
+
typing.Optional[typing.Any],
|
|
202
|
+
parse_obj_as(
|
|
203
|
+
type_=typing.Optional[typing.Any], # type: ignore
|
|
204
|
+
object_=_response.json(),
|
|
205
|
+
),
|
|
206
|
+
)
|
|
207
|
+
)
|
|
208
|
+
_response_json = _response.json()
|
|
209
|
+
except JSONDecodeError:
|
|
210
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
211
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
212
|
+
|
|
213
|
+
def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
|
|
214
|
+
"""
|
|
215
|
+
Parameters
|
|
216
|
+
----------
|
|
217
|
+
id : str
|
|
218
|
+
|
|
219
|
+
request_options : typing.Optional[RequestOptions]
|
|
220
|
+
Request-specific configuration.
|
|
221
|
+
|
|
222
|
+
Returns
|
|
223
|
+
-------
|
|
224
|
+
str
|
|
225
|
+
Success
|
|
226
|
+
|
|
227
|
+
Examples
|
|
228
|
+
--------
|
|
229
|
+
from basis_theory import BasisTheory
|
|
230
|
+
|
|
231
|
+
client = BasisTheory(
|
|
232
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
233
|
+
api_key="YOUR_API_KEY",
|
|
234
|
+
)
|
|
235
|
+
client.apple_pay.unlink(
|
|
236
|
+
id="id",
|
|
237
|
+
)
|
|
238
|
+
"""
|
|
239
|
+
_response = self._client_wrapper.httpx_client.request(
|
|
240
|
+
f"apple-pay/{jsonable_encoder(id)}/unlink",
|
|
241
|
+
method="POST",
|
|
242
|
+
request_options=request_options,
|
|
243
|
+
)
|
|
244
|
+
try:
|
|
245
|
+
if 200 <= _response.status_code < 300:
|
|
246
|
+
return typing.cast(
|
|
247
|
+
str,
|
|
248
|
+
parse_obj_as(
|
|
249
|
+
type_=str, # type: ignore
|
|
250
|
+
object_=_response.json(),
|
|
251
|
+
),
|
|
252
|
+
)
|
|
253
|
+
if _response.status_code == 401:
|
|
254
|
+
raise UnauthorizedError(
|
|
255
|
+
typing.cast(
|
|
256
|
+
ProblemDetails,
|
|
257
|
+
parse_obj_as(
|
|
258
|
+
type_=ProblemDetails, # type: ignore
|
|
259
|
+
object_=_response.json(),
|
|
260
|
+
),
|
|
261
|
+
)
|
|
262
|
+
)
|
|
263
|
+
if _response.status_code == 403:
|
|
264
|
+
raise ForbiddenError(
|
|
265
|
+
typing.cast(
|
|
266
|
+
ProblemDetails,
|
|
267
|
+
parse_obj_as(
|
|
268
|
+
type_=ProblemDetails, # type: ignore
|
|
269
|
+
object_=_response.json(),
|
|
270
|
+
),
|
|
271
|
+
)
|
|
272
|
+
)
|
|
273
|
+
if _response.status_code == 422:
|
|
274
|
+
raise UnprocessableEntityError(
|
|
275
|
+
typing.cast(
|
|
276
|
+
ProblemDetails,
|
|
277
|
+
parse_obj_as(
|
|
278
|
+
type_=ProblemDetails, # type: ignore
|
|
279
|
+
object_=_response.json(),
|
|
280
|
+
),
|
|
281
|
+
)
|
|
282
|
+
)
|
|
197
283
|
_response_json = _response.json()
|
|
198
284
|
except JSONDecodeError:
|
|
199
285
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
@@ -383,6 +469,99 @@ class AsyncApplePayClient:
|
|
|
383
469
|
),
|
|
384
470
|
)
|
|
385
471
|
)
|
|
472
|
+
if _response.status_code == 404:
|
|
473
|
+
raise NotFoundError(
|
|
474
|
+
typing.cast(
|
|
475
|
+
typing.Optional[typing.Any],
|
|
476
|
+
parse_obj_as(
|
|
477
|
+
type_=typing.Optional[typing.Any], # type: ignore
|
|
478
|
+
object_=_response.json(),
|
|
479
|
+
),
|
|
480
|
+
)
|
|
481
|
+
)
|
|
482
|
+
_response_json = _response.json()
|
|
483
|
+
except JSONDecodeError:
|
|
484
|
+
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
485
|
+
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
486
|
+
|
|
487
|
+
async def unlink(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> str:
|
|
488
|
+
"""
|
|
489
|
+
Parameters
|
|
490
|
+
----------
|
|
491
|
+
id : str
|
|
492
|
+
|
|
493
|
+
request_options : typing.Optional[RequestOptions]
|
|
494
|
+
Request-specific configuration.
|
|
495
|
+
|
|
496
|
+
Returns
|
|
497
|
+
-------
|
|
498
|
+
str
|
|
499
|
+
Success
|
|
500
|
+
|
|
501
|
+
Examples
|
|
502
|
+
--------
|
|
503
|
+
import asyncio
|
|
504
|
+
|
|
505
|
+
from basis_theory import AsyncBasisTheory
|
|
506
|
+
|
|
507
|
+
client = AsyncBasisTheory(
|
|
508
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
509
|
+
api_key="YOUR_API_KEY",
|
|
510
|
+
)
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
async def main() -> None:
|
|
514
|
+
await client.apple_pay.unlink(
|
|
515
|
+
id="id",
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
asyncio.run(main())
|
|
520
|
+
"""
|
|
521
|
+
_response = await self._client_wrapper.httpx_client.request(
|
|
522
|
+
f"apple-pay/{jsonable_encoder(id)}/unlink",
|
|
523
|
+
method="POST",
|
|
524
|
+
request_options=request_options,
|
|
525
|
+
)
|
|
526
|
+
try:
|
|
527
|
+
if 200 <= _response.status_code < 300:
|
|
528
|
+
return typing.cast(
|
|
529
|
+
str,
|
|
530
|
+
parse_obj_as(
|
|
531
|
+
type_=str, # type: ignore
|
|
532
|
+
object_=_response.json(),
|
|
533
|
+
),
|
|
534
|
+
)
|
|
535
|
+
if _response.status_code == 401:
|
|
536
|
+
raise UnauthorizedError(
|
|
537
|
+
typing.cast(
|
|
538
|
+
ProblemDetails,
|
|
539
|
+
parse_obj_as(
|
|
540
|
+
type_=ProblemDetails, # type: ignore
|
|
541
|
+
object_=_response.json(),
|
|
542
|
+
),
|
|
543
|
+
)
|
|
544
|
+
)
|
|
545
|
+
if _response.status_code == 403:
|
|
546
|
+
raise ForbiddenError(
|
|
547
|
+
typing.cast(
|
|
548
|
+
ProblemDetails,
|
|
549
|
+
parse_obj_as(
|
|
550
|
+
type_=ProblemDetails, # type: ignore
|
|
551
|
+
object_=_response.json(),
|
|
552
|
+
),
|
|
553
|
+
)
|
|
554
|
+
)
|
|
555
|
+
if _response.status_code == 422:
|
|
556
|
+
raise UnprocessableEntityError(
|
|
557
|
+
typing.cast(
|
|
558
|
+
ProblemDetails,
|
|
559
|
+
parse_obj_as(
|
|
560
|
+
type_=ProblemDetails, # type: ignore
|
|
561
|
+
object_=_response.json(),
|
|
562
|
+
),
|
|
563
|
+
)
|
|
564
|
+
)
|
|
386
565
|
_response_json = _response.json()
|
|
387
566
|
except JSONDecodeError:
|
|
388
567
|
raise ApiError(status_code=_response.status_code, body=_response.text)
|
|
@@ -10,6 +10,7 @@ from .applications.client import ApplicationsClient
|
|
|
10
10
|
from .application_keys.client import ApplicationKeysClient
|
|
11
11
|
from .application_templates.client import ApplicationTemplatesClient
|
|
12
12
|
from .apple_pay.client import ApplePayClient
|
|
13
|
+
from .documents.client import DocumentsClient
|
|
13
14
|
from .tokens.client import TokensClient
|
|
14
15
|
from .enrichments.client import EnrichmentsClient
|
|
15
16
|
from .googlepay.client import GooglepayClient
|
|
@@ -32,6 +33,7 @@ from .applications.client import AsyncApplicationsClient
|
|
|
32
33
|
from .application_keys.client import AsyncApplicationKeysClient
|
|
33
34
|
from .application_templates.client import AsyncApplicationTemplatesClient
|
|
34
35
|
from .apple_pay.client import AsyncApplePayClient
|
|
36
|
+
from .documents.client import AsyncDocumentsClient
|
|
35
37
|
from .tokens.client import AsyncTokensClient
|
|
36
38
|
from .enrichments.client import AsyncEnrichmentsClient
|
|
37
39
|
from .googlepay.client import AsyncGooglepayClient
|
|
@@ -119,6 +121,7 @@ class BasisTheory:
|
|
|
119
121
|
self.application_keys = ApplicationKeysClient(client_wrapper=self._client_wrapper)
|
|
120
122
|
self.application_templates = ApplicationTemplatesClient(client_wrapper=self._client_wrapper)
|
|
121
123
|
self.apple_pay = ApplePayClient(client_wrapper=self._client_wrapper)
|
|
124
|
+
self.documents = DocumentsClient(client_wrapper=self._client_wrapper)
|
|
122
125
|
self.tokens = TokensClient(client_wrapper=self._client_wrapper)
|
|
123
126
|
self.enrichments = EnrichmentsClient(client_wrapper=self._client_wrapper)
|
|
124
127
|
self.googlepay = GooglepayClient(client_wrapper=self._client_wrapper)
|
|
@@ -206,6 +209,7 @@ class AsyncBasisTheory:
|
|
|
206
209
|
self.application_keys = AsyncApplicationKeysClient(client_wrapper=self._client_wrapper)
|
|
207
210
|
self.application_templates = AsyncApplicationTemplatesClient(client_wrapper=self._client_wrapper)
|
|
208
211
|
self.apple_pay = AsyncApplePayClient(client_wrapper=self._client_wrapper)
|
|
212
|
+
self.documents = AsyncDocumentsClient(client_wrapper=self._client_wrapper)
|
|
209
213
|
self.tokens = AsyncTokensClient(client_wrapper=self._client_wrapper)
|
|
210
214
|
self.enrichments = AsyncEnrichmentsClient(client_wrapper=self._client_wrapper)
|
|
211
215
|
self.googlepay = AsyncGooglepayClient(client_wrapper=self._client_wrapper)
|