BasisTheoryClient 4.0.0__tar.gz → 4.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-4.0.0 → basistheoryclient-4.2.0}/PKG-INFO +17 -1
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/README.md +16 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/pyproject.toml +1 -1
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/__init__.py +12 -2
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/client.py +14 -2
- basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/__init__.py +7 -0
- basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates/client.py +313 -0
- basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates/raw_client.py +493 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/merchant/client.py +7 -5
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/merchant/raw_client.py +10 -9
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/raw_client.py +8 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/client.py +16 -2
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/raw_client.py +8 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/environment.py +3 -0
- basistheoryclient-4.2.0/src/basis_theory/google_pay/__init__.py +7 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/google_pay/client.py +17 -2
- basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/__init__.py +7 -0
- basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates/client.py +289 -0
- basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates/raw_client.py +469 -0
- basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/client.py +250 -0
- basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/raw_client.py +423 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/google_pay/raw_client.py +8 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/client.py +13 -37
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/raw_client.py +25 -49
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/__init__.py +12 -2
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/additional_card_detail.py +6 -0
- basistheoryclient-4.2.0/src/basis_theory/types/apple_pay_merchant_certificates.py +28 -0
- basistheoryclient-4.2.0/src/basis_theory/types/card_bin_range.py +22 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_details_response.py +6 -0
- basistheoryclient-4.2.0/src/basis_theory/types/google_pay_merchant.py +24 -0
- basistheoryclient-4.2.0/src/basis_theory/types/google_pay_merchant_certificates.py +25 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_transform_options.py +2 -2
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor.py +2 -3
- basistheoryclient-4.0.0/src/basis_theory/types/runtime_options.py → basistheoryclient-4.2.0/src/basis_theory/types/runtime.py +6 -1
- basistheoryclient-4.2.0/src/basis_theory/types/three_ds_branding_options.py +19 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_callback_urls.py +2 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/LICENSE +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/jobs/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/account_updater/real_time/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/domain/raw_client.py +0 -0
- {basistheoryclient-4.0.0/src/basis_theory/apple_pay/merchant → basistheoryclient-4.2.0/src/basis_theory/apple_pay/merchant/certificates}/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/apple_pay/session/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_keys/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/application_templates/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/applications/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/api_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/client_wrapper.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/datetime_utils.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/file.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/force_multipart.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/http_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/http_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/pagination.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/query_encoder.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/request_options.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/core/serialization.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/data/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/documents/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/enrichments/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/bad_request_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/conflict_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/forbidden_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/internal_server_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/not_found_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/service_unavailable_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
- {basistheoryclient-4.0.0/src/basis_theory/google_pay → basistheoryclient-4.2.0/src/basis_theory/google_pay/merchant/certificates}/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/keys/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/logs/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/network_tokens/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/permissions/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/proxies/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/py.typed +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/reactors/results/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/roles/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/sessions/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/connections/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/invitations/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/members/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/owner/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tenants/self_/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/threeds/sessions/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/token_intents/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/tokens/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/access_rule.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_job_status.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/additional_card_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/address.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_create_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_merchant.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_method_token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_tokenize_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/apple_pay_tokenize_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_key.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/application_template.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/assurance_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/async_react_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authentication.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/authentication_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bank_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bank_verification_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_bank.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_country.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/bin_details_product.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer_country.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/card_issuer_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/cardholder_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/client_encryption_key_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/condition.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_account_updater_job_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_document_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_session_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_token_intent_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/create_token_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/cursor_pagination.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/document.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/domain_registration_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/event_types.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_applications.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_logs.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_permissions.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_proxies.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_reactors.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tenant_members.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_create_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_method_token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_tokenize_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/google_pay_tokenize_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/header.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/intermediate_signing_key.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log_entity_type.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/log_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token_cryptogram.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/network_token_extras.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/pagination.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/payment_data.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/permission.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/privacy.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/problem_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/proxy_transform.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/public_key.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/react_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/role.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_member_response.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_address.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_method.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_session.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/three_ds_version.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_authentication.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_enrichments.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_extras.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_intent.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_intent_extras.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/token_service_provider_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/update_privacy.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/user.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/validation_problem_details.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_list.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/types/webhook_status.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/version.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/__init__.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/events/raw_client.py +0 -0
- {basistheoryclient-4.0.0 → basistheoryclient-4.2.0}/src/basis_theory/webhooks/raw_client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BasisTheoryClient
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.2.0
|
|
4
4
|
Summary:
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Requires-Python: >=3.8,<4.0
|
|
@@ -34,6 +34,22 @@ Description-Content-Type: text/markdown
|
|
|
34
34
|
|
|
35
35
|
The BasisTheory Python library provides convenient access to the BasisTheory APIs from Python.
|
|
36
36
|
|
|
37
|
+
## Table of Contents
|
|
38
|
+
|
|
39
|
+
- [Documentation](#documentation)
|
|
40
|
+
- [Installation](#installation)
|
|
41
|
+
- [Usage](#usage)
|
|
42
|
+
- [Async Client](#async-client)
|
|
43
|
+
- [Exception Handling](#exception-handling)
|
|
44
|
+
- [Pagination](#pagination)
|
|
45
|
+
- [Advanced](#advanced)
|
|
46
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
47
|
+
- [Retries](#retries)
|
|
48
|
+
- [Timeouts](#timeouts)
|
|
49
|
+
- [Custom Client](#custom-client)
|
|
50
|
+
- [Contributing](#contributing)
|
|
51
|
+
- [Reference](#reference)
|
|
52
|
+
|
|
37
53
|
## Documentation
|
|
38
54
|
|
|
39
55
|
API reference documentation is available [here](https://api.basistheory.com).
|
|
@@ -5,6 +5,22 @@
|
|
|
5
5
|
|
|
6
6
|
The BasisTheory Python library provides convenient access to the BasisTheory APIs from Python.
|
|
7
7
|
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Documentation](#documentation)
|
|
11
|
+
- [Installation](#installation)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Async Client](#async-client)
|
|
14
|
+
- [Exception Handling](#exception-handling)
|
|
15
|
+
- [Pagination](#pagination)
|
|
16
|
+
- [Advanced](#advanced)
|
|
17
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
18
|
+
- [Retries](#retries)
|
|
19
|
+
- [Timeouts](#timeouts)
|
|
20
|
+
- [Custom Client](#custom-client)
|
|
21
|
+
- [Contributing](#contributing)
|
|
22
|
+
- [Reference](#reference)
|
|
23
|
+
|
|
8
24
|
## Documentation
|
|
9
25
|
|
|
10
26
|
API reference documentation is available [here](https://api.basistheory.com).
|
|
@@ -15,6 +15,7 @@ from .types import (
|
|
|
15
15
|
ApplePayCreateResponse,
|
|
16
16
|
ApplePayDomainRegistrationResponse,
|
|
17
17
|
ApplePayMerchant,
|
|
18
|
+
ApplePayMerchantCertificates,
|
|
18
19
|
ApplePayMethodToken,
|
|
19
20
|
ApplePayToken,
|
|
20
21
|
ApplePayTokenizeRequest,
|
|
@@ -35,6 +36,7 @@ from .types import (
|
|
|
35
36
|
BinDetailsCountry,
|
|
36
37
|
BinDetailsProduct,
|
|
37
38
|
Card,
|
|
39
|
+
CardBinRange,
|
|
38
40
|
CardDetails,
|
|
39
41
|
CardDetailsResponse,
|
|
40
42
|
CardIssuer,
|
|
@@ -66,6 +68,8 @@ from .types import (
|
|
|
66
68
|
GetTenantMembers,
|
|
67
69
|
GetTokensV2,
|
|
68
70
|
GooglePayCreateResponse,
|
|
71
|
+
GooglePayMerchant,
|
|
72
|
+
GooglePayMerchantCertificates,
|
|
69
73
|
GooglePayMethodToken,
|
|
70
74
|
GooglePayToken,
|
|
71
75
|
GooglePayTokenizeRequest,
|
|
@@ -96,7 +100,7 @@ from .types import (
|
|
|
96
100
|
ReactorFormulaRequestParameter,
|
|
97
101
|
ReactorPaginatedList,
|
|
98
102
|
Role,
|
|
99
|
-
|
|
103
|
+
Runtime,
|
|
100
104
|
StringStringKeyValuePair,
|
|
101
105
|
SubmerchantAuthenticationResponse,
|
|
102
106
|
Tenant,
|
|
@@ -110,6 +114,7 @@ from .types import (
|
|
|
110
114
|
ThreeDsAcsRenderingType,
|
|
111
115
|
ThreeDsAddress,
|
|
112
116
|
ThreeDsAuthentication,
|
|
117
|
+
ThreeDsBrandingOptions,
|
|
113
118
|
ThreeDsCallbackUrls,
|
|
114
119
|
ThreeDsCardholderAccountInfo,
|
|
115
120
|
ThreeDsCardholderAuthenticationInfo,
|
|
@@ -194,6 +199,7 @@ __all__ = [
|
|
|
194
199
|
"ApplePayCreateResponse",
|
|
195
200
|
"ApplePayDomainRegistrationResponse",
|
|
196
201
|
"ApplePayMerchant",
|
|
202
|
+
"ApplePayMerchantCertificates",
|
|
197
203
|
"ApplePayMethodToken",
|
|
198
204
|
"ApplePayToken",
|
|
199
205
|
"ApplePayTokenizeRequest",
|
|
@@ -218,6 +224,7 @@ __all__ = [
|
|
|
218
224
|
"BinDetailsCountry",
|
|
219
225
|
"BinDetailsProduct",
|
|
220
226
|
"Card",
|
|
227
|
+
"CardBinRange",
|
|
221
228
|
"CardDetails",
|
|
222
229
|
"CardDetailsResponse",
|
|
223
230
|
"CardIssuer",
|
|
@@ -251,6 +258,8 @@ __all__ = [
|
|
|
251
258
|
"GetTenantMembers",
|
|
252
259
|
"GetTokensV2",
|
|
253
260
|
"GooglePayCreateResponse",
|
|
261
|
+
"GooglePayMerchant",
|
|
262
|
+
"GooglePayMerchantCertificates",
|
|
254
263
|
"GooglePayMethodToken",
|
|
255
264
|
"GooglePayToken",
|
|
256
265
|
"GooglePayTokenizeRequest",
|
|
@@ -283,7 +292,7 @@ __all__ = [
|
|
|
283
292
|
"ReactorFormulaRequestParameter",
|
|
284
293
|
"ReactorPaginatedList",
|
|
285
294
|
"Role",
|
|
286
|
-
"
|
|
295
|
+
"Runtime",
|
|
287
296
|
"ServiceUnavailableError",
|
|
288
297
|
"StringStringKeyValuePair",
|
|
289
298
|
"SubmerchantAuthenticationResponse",
|
|
@@ -298,6 +307,7 @@ __all__ = [
|
|
|
298
307
|
"ThreeDsAcsRenderingType",
|
|
299
308
|
"ThreeDsAddress",
|
|
300
309
|
"ThreeDsAuthentication",
|
|
310
|
+
"ThreeDsBrandingOptions",
|
|
301
311
|
"ThreeDsCallbackUrls",
|
|
302
312
|
"ThreeDsCardholderAccountInfo",
|
|
303
313
|
"ThreeDsCardholderAuthenticationInfo",
|
|
@@ -41,6 +41,7 @@ class ApplePayClient:
|
|
|
41
41
|
*,
|
|
42
42
|
expires_at: typing.Optional[str] = OMIT,
|
|
43
43
|
apple_payment_data: typing.Optional[ApplePayMethodToken] = OMIT,
|
|
44
|
+
merchant_registration_id: typing.Optional[str] = OMIT,
|
|
44
45
|
request_options: typing.Optional[RequestOptions] = None,
|
|
45
46
|
) -> ApplePayCreateResponse:
|
|
46
47
|
"""
|
|
@@ -50,6 +51,8 @@ class ApplePayClient:
|
|
|
50
51
|
|
|
51
52
|
apple_payment_data : typing.Optional[ApplePayMethodToken]
|
|
52
53
|
|
|
54
|
+
merchant_registration_id : typing.Optional[str]
|
|
55
|
+
|
|
53
56
|
request_options : typing.Optional[RequestOptions]
|
|
54
57
|
Request-specific configuration.
|
|
55
58
|
|
|
@@ -69,7 +72,10 @@ class ApplePayClient:
|
|
|
69
72
|
client.apple_pay.create()
|
|
70
73
|
"""
|
|
71
74
|
_response = self._raw_client.create(
|
|
72
|
-
expires_at=expires_at,
|
|
75
|
+
expires_at=expires_at,
|
|
76
|
+
apple_payment_data=apple_payment_data,
|
|
77
|
+
merchant_registration_id=merchant_registration_id,
|
|
78
|
+
request_options=request_options,
|
|
73
79
|
)
|
|
74
80
|
return _response.data
|
|
75
81
|
|
|
@@ -157,6 +163,7 @@ class AsyncApplePayClient:
|
|
|
157
163
|
*,
|
|
158
164
|
expires_at: typing.Optional[str] = OMIT,
|
|
159
165
|
apple_payment_data: typing.Optional[ApplePayMethodToken] = OMIT,
|
|
166
|
+
merchant_registration_id: typing.Optional[str] = OMIT,
|
|
160
167
|
request_options: typing.Optional[RequestOptions] = None,
|
|
161
168
|
) -> ApplePayCreateResponse:
|
|
162
169
|
"""
|
|
@@ -166,6 +173,8 @@ class AsyncApplePayClient:
|
|
|
166
173
|
|
|
167
174
|
apple_payment_data : typing.Optional[ApplePayMethodToken]
|
|
168
175
|
|
|
176
|
+
merchant_registration_id : typing.Optional[str]
|
|
177
|
+
|
|
169
178
|
request_options : typing.Optional[RequestOptions]
|
|
170
179
|
Request-specific configuration.
|
|
171
180
|
|
|
@@ -193,7 +202,10 @@ class AsyncApplePayClient:
|
|
|
193
202
|
asyncio.run(main())
|
|
194
203
|
"""
|
|
195
204
|
_response = await self._raw_client.create(
|
|
196
|
-
expires_at=expires_at,
|
|
205
|
+
expires_at=expires_at,
|
|
206
|
+
apple_payment_data=apple_payment_data,
|
|
207
|
+
merchant_registration_id=merchant_registration_id,
|
|
208
|
+
request_options=request_options,
|
|
197
209
|
)
|
|
198
210
|
return _response.data
|
|
199
211
|
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from ....core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
+
from ....core.request_options import RequestOptions
|
|
7
|
+
from ....types.apple_pay_merchant_certificates import ApplePayMerchantCertificates
|
|
8
|
+
from .raw_client import AsyncRawCertificatesClient, RawCertificatesClient
|
|
9
|
+
|
|
10
|
+
# this is used as the default value for optional parameters
|
|
11
|
+
OMIT = typing.cast(typing.Any, ...)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CertificatesClient:
|
|
15
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
16
|
+
self._raw_client = RawCertificatesClient(client_wrapper=client_wrapper)
|
|
17
|
+
|
|
18
|
+
@property
|
|
19
|
+
def with_raw_response(self) -> RawCertificatesClient:
|
|
20
|
+
"""
|
|
21
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
22
|
+
|
|
23
|
+
Returns
|
|
24
|
+
-------
|
|
25
|
+
RawCertificatesClient
|
|
26
|
+
"""
|
|
27
|
+
return self._raw_client
|
|
28
|
+
|
|
29
|
+
def get(
|
|
30
|
+
self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
31
|
+
) -> ApplePayMerchantCertificates:
|
|
32
|
+
"""
|
|
33
|
+
Parameters
|
|
34
|
+
----------
|
|
35
|
+
merchant_id : str
|
|
36
|
+
|
|
37
|
+
id : str
|
|
38
|
+
|
|
39
|
+
request_options : typing.Optional[RequestOptions]
|
|
40
|
+
Request-specific configuration.
|
|
41
|
+
|
|
42
|
+
Returns
|
|
43
|
+
-------
|
|
44
|
+
ApplePayMerchantCertificates
|
|
45
|
+
Success
|
|
46
|
+
|
|
47
|
+
Examples
|
|
48
|
+
--------
|
|
49
|
+
from basis_theory import BasisTheory
|
|
50
|
+
|
|
51
|
+
client = BasisTheory(
|
|
52
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
53
|
+
api_key="YOUR_API_KEY",
|
|
54
|
+
)
|
|
55
|
+
client.apple_pay.merchant.certificates.get(
|
|
56
|
+
merchant_id="merchantId",
|
|
57
|
+
id="id",
|
|
58
|
+
)
|
|
59
|
+
"""
|
|
60
|
+
_response = self._raw_client.get(merchant_id, id, request_options=request_options)
|
|
61
|
+
return _response.data
|
|
62
|
+
|
|
63
|
+
def delete(self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> None:
|
|
64
|
+
"""
|
|
65
|
+
Parameters
|
|
66
|
+
----------
|
|
67
|
+
merchant_id : str
|
|
68
|
+
|
|
69
|
+
id : str
|
|
70
|
+
|
|
71
|
+
request_options : typing.Optional[RequestOptions]
|
|
72
|
+
Request-specific configuration.
|
|
73
|
+
|
|
74
|
+
Returns
|
|
75
|
+
-------
|
|
76
|
+
None
|
|
77
|
+
|
|
78
|
+
Examples
|
|
79
|
+
--------
|
|
80
|
+
from basis_theory import BasisTheory
|
|
81
|
+
|
|
82
|
+
client = BasisTheory(
|
|
83
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
84
|
+
api_key="YOUR_API_KEY",
|
|
85
|
+
)
|
|
86
|
+
client.apple_pay.merchant.certificates.delete(
|
|
87
|
+
merchant_id="merchantId",
|
|
88
|
+
id="id",
|
|
89
|
+
)
|
|
90
|
+
"""
|
|
91
|
+
_response = self._raw_client.delete(merchant_id, id, request_options=request_options)
|
|
92
|
+
return _response.data
|
|
93
|
+
|
|
94
|
+
def create(
|
|
95
|
+
self,
|
|
96
|
+
merchant_id: str,
|
|
97
|
+
*,
|
|
98
|
+
merchant_certificate_data: typing.Optional[str] = OMIT,
|
|
99
|
+
merchant_certificate_password: typing.Optional[str] = OMIT,
|
|
100
|
+
payment_processor_certificate_data: typing.Optional[str] = OMIT,
|
|
101
|
+
payment_processor_certificate_password: typing.Optional[str] = OMIT,
|
|
102
|
+
domain: typing.Optional[str] = OMIT,
|
|
103
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
104
|
+
) -> ApplePayMerchantCertificates:
|
|
105
|
+
"""
|
|
106
|
+
Parameters
|
|
107
|
+
----------
|
|
108
|
+
merchant_id : str
|
|
109
|
+
|
|
110
|
+
merchant_certificate_data : typing.Optional[str]
|
|
111
|
+
|
|
112
|
+
merchant_certificate_password : typing.Optional[str]
|
|
113
|
+
|
|
114
|
+
payment_processor_certificate_data : typing.Optional[str]
|
|
115
|
+
|
|
116
|
+
payment_processor_certificate_password : typing.Optional[str]
|
|
117
|
+
|
|
118
|
+
domain : typing.Optional[str]
|
|
119
|
+
|
|
120
|
+
request_options : typing.Optional[RequestOptions]
|
|
121
|
+
Request-specific configuration.
|
|
122
|
+
|
|
123
|
+
Returns
|
|
124
|
+
-------
|
|
125
|
+
ApplePayMerchantCertificates
|
|
126
|
+
Success
|
|
127
|
+
|
|
128
|
+
Examples
|
|
129
|
+
--------
|
|
130
|
+
from basis_theory import BasisTheory
|
|
131
|
+
|
|
132
|
+
client = BasisTheory(
|
|
133
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
134
|
+
api_key="YOUR_API_KEY",
|
|
135
|
+
)
|
|
136
|
+
client.apple_pay.merchant.certificates.create(
|
|
137
|
+
merchant_id="merchantId",
|
|
138
|
+
)
|
|
139
|
+
"""
|
|
140
|
+
_response = self._raw_client.create(
|
|
141
|
+
merchant_id,
|
|
142
|
+
merchant_certificate_data=merchant_certificate_data,
|
|
143
|
+
merchant_certificate_password=merchant_certificate_password,
|
|
144
|
+
payment_processor_certificate_data=payment_processor_certificate_data,
|
|
145
|
+
payment_processor_certificate_password=payment_processor_certificate_password,
|
|
146
|
+
domain=domain,
|
|
147
|
+
request_options=request_options,
|
|
148
|
+
)
|
|
149
|
+
return _response.data
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
class AsyncCertificatesClient:
|
|
153
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
154
|
+
self._raw_client = AsyncRawCertificatesClient(client_wrapper=client_wrapper)
|
|
155
|
+
|
|
156
|
+
@property
|
|
157
|
+
def with_raw_response(self) -> AsyncRawCertificatesClient:
|
|
158
|
+
"""
|
|
159
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
160
|
+
|
|
161
|
+
Returns
|
|
162
|
+
-------
|
|
163
|
+
AsyncRawCertificatesClient
|
|
164
|
+
"""
|
|
165
|
+
return self._raw_client
|
|
166
|
+
|
|
167
|
+
async def get(
|
|
168
|
+
self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
169
|
+
) -> ApplePayMerchantCertificates:
|
|
170
|
+
"""
|
|
171
|
+
Parameters
|
|
172
|
+
----------
|
|
173
|
+
merchant_id : str
|
|
174
|
+
|
|
175
|
+
id : str
|
|
176
|
+
|
|
177
|
+
request_options : typing.Optional[RequestOptions]
|
|
178
|
+
Request-specific configuration.
|
|
179
|
+
|
|
180
|
+
Returns
|
|
181
|
+
-------
|
|
182
|
+
ApplePayMerchantCertificates
|
|
183
|
+
Success
|
|
184
|
+
|
|
185
|
+
Examples
|
|
186
|
+
--------
|
|
187
|
+
import asyncio
|
|
188
|
+
|
|
189
|
+
from basis_theory import AsyncBasisTheory
|
|
190
|
+
|
|
191
|
+
client = AsyncBasisTheory(
|
|
192
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
193
|
+
api_key="YOUR_API_KEY",
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
async def main() -> None:
|
|
198
|
+
await client.apple_pay.merchant.certificates.get(
|
|
199
|
+
merchant_id="merchantId",
|
|
200
|
+
id="id",
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
asyncio.run(main())
|
|
205
|
+
"""
|
|
206
|
+
_response = await self._raw_client.get(merchant_id, id, request_options=request_options)
|
|
207
|
+
return _response.data
|
|
208
|
+
|
|
209
|
+
async def delete(
|
|
210
|
+
self, merchant_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
|
|
211
|
+
) -> None:
|
|
212
|
+
"""
|
|
213
|
+
Parameters
|
|
214
|
+
----------
|
|
215
|
+
merchant_id : str
|
|
216
|
+
|
|
217
|
+
id : str
|
|
218
|
+
|
|
219
|
+
request_options : typing.Optional[RequestOptions]
|
|
220
|
+
Request-specific configuration.
|
|
221
|
+
|
|
222
|
+
Returns
|
|
223
|
+
-------
|
|
224
|
+
None
|
|
225
|
+
|
|
226
|
+
Examples
|
|
227
|
+
--------
|
|
228
|
+
import asyncio
|
|
229
|
+
|
|
230
|
+
from basis_theory import AsyncBasisTheory
|
|
231
|
+
|
|
232
|
+
client = AsyncBasisTheory(
|
|
233
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
234
|
+
api_key="YOUR_API_KEY",
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
async def main() -> None:
|
|
239
|
+
await client.apple_pay.merchant.certificates.delete(
|
|
240
|
+
merchant_id="merchantId",
|
|
241
|
+
id="id",
|
|
242
|
+
)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
asyncio.run(main())
|
|
246
|
+
"""
|
|
247
|
+
_response = await self._raw_client.delete(merchant_id, id, request_options=request_options)
|
|
248
|
+
return _response.data
|
|
249
|
+
|
|
250
|
+
async def create(
|
|
251
|
+
self,
|
|
252
|
+
merchant_id: str,
|
|
253
|
+
*,
|
|
254
|
+
merchant_certificate_data: typing.Optional[str] = OMIT,
|
|
255
|
+
merchant_certificate_password: typing.Optional[str] = OMIT,
|
|
256
|
+
payment_processor_certificate_data: typing.Optional[str] = OMIT,
|
|
257
|
+
payment_processor_certificate_password: typing.Optional[str] = OMIT,
|
|
258
|
+
domain: typing.Optional[str] = OMIT,
|
|
259
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
260
|
+
) -> ApplePayMerchantCertificates:
|
|
261
|
+
"""
|
|
262
|
+
Parameters
|
|
263
|
+
----------
|
|
264
|
+
merchant_id : str
|
|
265
|
+
|
|
266
|
+
merchant_certificate_data : typing.Optional[str]
|
|
267
|
+
|
|
268
|
+
merchant_certificate_password : typing.Optional[str]
|
|
269
|
+
|
|
270
|
+
payment_processor_certificate_data : typing.Optional[str]
|
|
271
|
+
|
|
272
|
+
payment_processor_certificate_password : typing.Optional[str]
|
|
273
|
+
|
|
274
|
+
domain : typing.Optional[str]
|
|
275
|
+
|
|
276
|
+
request_options : typing.Optional[RequestOptions]
|
|
277
|
+
Request-specific configuration.
|
|
278
|
+
|
|
279
|
+
Returns
|
|
280
|
+
-------
|
|
281
|
+
ApplePayMerchantCertificates
|
|
282
|
+
Success
|
|
283
|
+
|
|
284
|
+
Examples
|
|
285
|
+
--------
|
|
286
|
+
import asyncio
|
|
287
|
+
|
|
288
|
+
from basis_theory import AsyncBasisTheory
|
|
289
|
+
|
|
290
|
+
client = AsyncBasisTheory(
|
|
291
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
292
|
+
api_key="YOUR_API_KEY",
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
async def main() -> None:
|
|
297
|
+
await client.apple_pay.merchant.certificates.create(
|
|
298
|
+
merchant_id="merchantId",
|
|
299
|
+
)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
asyncio.run(main())
|
|
303
|
+
"""
|
|
304
|
+
_response = await self._raw_client.create(
|
|
305
|
+
merchant_id,
|
|
306
|
+
merchant_certificate_data=merchant_certificate_data,
|
|
307
|
+
merchant_certificate_password=merchant_certificate_password,
|
|
308
|
+
payment_processor_certificate_data=payment_processor_certificate_data,
|
|
309
|
+
payment_processor_certificate_password=payment_processor_certificate_password,
|
|
310
|
+
domain=domain,
|
|
311
|
+
request_options=request_options,
|
|
312
|
+
)
|
|
313
|
+
return _response.data
|