BasisTheoryClient 5.10.0__tar.gz → 6.0.1__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-5.10.0 → basistheoryclient-6.0.1}/PKG-INFO +70 -43
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/README.md +60 -37
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/pyproject.toml +20 -8
- basistheoryclient-6.0.1/src/basis_theory/__init__.py +825 -0
- basistheoryclient-6.0.1/src/basis_theory/_default_clients.py +32 -0
- basistheoryclient-6.0.1/src/basis_theory/account_updater/__init__.py +39 -0
- basistheoryclient-6.0.1/src/basis_theory/account_updater/client.py +82 -0
- basistheoryclient-6.0.1/src/basis_theory/account_updater/jobs/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/client.py +8 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/raw_client.py +33 -7
- basistheoryclient-6.0.1/src/basis_theory/account_updater/jobs/types/__init__.py +36 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/raw_client.py +10 -0
- basistheoryclient-6.0.1/src/basis_theory/agentic/__init__.py +39 -0
- basistheoryclient-6.0.1/src/basis_theory/agentic/agents/__init__.py +38 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/client.py +24 -3
- basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/__init__.py +39 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/client.py +89 -16
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/client.py +14 -20
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/raw_client.py +27 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/raw_client.py +119 -46
- basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/types/__init__.py +34 -0
- basistheoryclient-6.0.1/src/basis_theory/agentic/agents/instructions/types/create_instruction_request_mpp.py +26 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/client.py +4 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/raw_client.py +35 -23
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/raw_client.py +53 -19
- basistheoryclient-6.0.1/src/basis_theory/agentic/client.py +82 -0
- basistheoryclient-6.0.1/src/basis_theory/agentic/enrollments/__init__.py +35 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/client.py +51 -9
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/raw_client.py +82 -30
- basistheoryclient-6.0.1/src/basis_theory/agentic/enrollments/types/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/types/create_enrollment_request_type.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/client.py +4 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/raw_client.py +63 -35
- basistheoryclient-6.0.1/src/basis_theory/apple_pay/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/client.py +62 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/raw_client.py +34 -0
- basistheoryclient-6.0.1/src/basis_theory/apple_pay/merchant/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/raw_client.py +45 -19
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/client.py +24 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/raw_client.py +39 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/raw_client.py +39 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/raw_client.py +10 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/client.py +16 -12
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/raw_client.py +65 -31
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/raw_client.py +29 -11
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/client.py +19 -6
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/raw_client.py +84 -38
- basistheoryclient-6.0.1/src/basis_theory/client.py +625 -0
- basistheoryclient-6.0.1/src/basis_theory/core/__init__.py +132 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/client_wrapper.py +44 -2
- basistheoryclient-6.0.1/src/basis_theory/core/datetime_utils.py +70 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/force_multipart.py +4 -2
- basistheoryclient-6.0.1/src/basis_theory/core/http_client.py +839 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/http_response.py +6 -2
- basistheoryclient-6.0.1/src/basis_theory/core/http_sse/__init__.py +42 -0
- basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_api.py +148 -0
- basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_decoders.py +61 -0
- basistheoryclient-5.10.0/src/basis_theory/documents/__init__.py → basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_exceptions.py +3 -3
- basistheoryclient-6.0.1/src/basis_theory/core/http_sse/_models.py +17 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/jsonable_encoder.py +20 -0
- basistheoryclient-6.0.1/src/basis_theory/core/logging.py +107 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/pagination.py +15 -15
- basistheoryclient-6.0.1/src/basis_theory/core/parse_error.py +36 -0
- basistheoryclient-6.0.1/src/basis_theory/core/pydantic_utilities.py +634 -0
- basistheoryclient-6.0.1/src/basis_theory/documents/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/client.py +24 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/raw_client.py +23 -7
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/raw_client.py +35 -9
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/client.py +6 -8
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/raw_client.py +20 -2
- basistheoryclient-6.0.1/src/basis_theory/errors/__init__.py +59 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/not_found_error.py +1 -1
- basistheoryclient-6.0.1/src/basis_theory/google_pay/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/client.py +24 -3
- basistheoryclient-6.0.1/src/basis_theory/google_pay/merchant/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/raw_client.py +45 -19
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/client.py +24 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/raw_client.py +39 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/raw_client.py +39 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/raw_client.py +47 -13
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/client.py +34 -6
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/raw_client.py +25 -11
- basistheoryclient-6.0.1/src/basis_theory/network_tokens/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/raw_client.py +17 -7
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/client.py +24 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/raw_client.py +81 -31
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/client.py +6 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/raw_client.py +10 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/client.py +19 -6
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/raw_client.py +86 -40
- basistheoryclient-6.0.1/src/basis_theory/reactors/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/client.py +64 -46
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/raw_client.py +141 -107
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/client.py +4 -6
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/raw_client.py +25 -15
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/raw_client.py +10 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/raw_client.py +22 -4
- basistheoryclient-6.0.1/src/basis_theory/tenants/__init__.py +42 -0
- basistheoryclient-6.0.1/src/basis_theory/tenants/client.py +177 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/client.py +4 -8
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/raw_client.py +28 -30
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/client.py +17 -6
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/raw_client.py +64 -26
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/client.py +30 -10
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/raw_client.py +73 -21
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/client.py +11 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/raw_client.py +94 -60
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/owner/client.py +89 -0
- basistheoryclient-6.0.1/src/basis_theory/tenants/owner/raw_client.py +367 -0
- basistheoryclient-6.0.1/src/basis_theory/tenants/raw_client.py +13 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/raw_client.py +22 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/raw_client.py +50 -16
- basistheoryclient-6.0.1/src/basis_theory/threeds/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/client.py +27 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/client.py +4 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/raw_client.py +57 -25
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/client.py +4 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/raw_client.py +43 -17
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/client.py +54 -43
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/raw_client.py +138 -90
- basistheoryclient-6.0.1/src/basis_theory/types/__init__.py +715 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job.py +29 -29
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/additional_card_detail.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_method_token.py +6 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_token.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/async_react_response.py +3 -1
- basistheoryclient-6.0.1/src/basis_theory/types/async_reactor_pending_result.py +19 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authenticate_three_ds_session_request.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details.py +2 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_bin_range.py +6 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_details_response.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_three_ds_session_response.py +3 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_token_intent_response.py +4 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_token_request.py +2 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/credentials.py +18 -0
- basistheoryclient-6.0.1/src/basis_theory/types/credentials_mpp.py +26 -0
- basistheoryclient-6.0.1/src/basis_theory/types/credentials_spt.py +23 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment.py +1 -1
- basistheoryclient-6.0.1/src/basis_theory/types/enrollment_provider.py +7 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_type.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_method_token.py +9 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_token.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/header.py +10 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction.py +10 -1
- basistheoryclient-6.0.1/src/basis_theory/types/instruction_credential_type.py +5 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_type.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/intermediate_signing_key.py +3 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_address.py +6 -2
- basistheoryclient-6.0.1/src/basis_theory/types/mpp_credentials_response.py +8 -0
- basistheoryclient-6.0.1/src/basis_theory/types/mpp_stripe_challenge.py +43 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token.py +3 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pending_reactor.py +2 -2
- basistheoryclient-6.0.1/src/basis_theory/types/public_key.py +8 -0
- basistheoryclient-6.0.1/src/basis_theory/types/react_response.py +22 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor.py +2 -2
- basistheoryclient-6.0.1/src/basis_theory/types/reactor_runtime.py +30 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/requested_proxy.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/requested_reactor.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_acs_rendering_type.py +6 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_message_extension.py +1 -1
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token.py +6 -4
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_intent.py +4 -2
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response.py +1 -1
- basistheoryclient-6.0.1/src/basis_theory/webhooks/__init__.py +34 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/client.py +24 -3
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/raw_client.py +10 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/raw_client.py +69 -19
- basistheoryclient-5.10.0/src/basis_theory/__init__.py +0 -528
- basistheoryclient-5.10.0/src/basis_theory/account_updater/__init__.py +0 -8
- basistheoryclient-5.10.0/src/basis_theory/account_updater/client.py +0 -44
- basistheoryclient-5.10.0/src/basis_theory/account_updater/jobs/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/account_updater/jobs/types/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/agentic/__init__.py +0 -8
- basistheoryclient-5.10.0/src/basis_theory/agentic/agents/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/agentic/agents/instructions/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/agentic/client.py +0 -44
- basistheoryclient-5.10.0/src/basis_theory/agentic/enrollments/__init__.py +0 -8
- basistheoryclient-5.10.0/src/basis_theory/agentic/enrollments/types/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/apple_pay/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/apple_pay/merchant/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/client.py +0 -230
- basistheoryclient-5.10.0/src/basis_theory/core/__init__.py +0 -55
- basistheoryclient-5.10.0/src/basis_theory/core/datetime_utils.py +0 -28
- basistheoryclient-5.10.0/src/basis_theory/core/http_client.py +0 -543
- basistheoryclient-5.10.0/src/basis_theory/core/pydantic_utilities.py +0 -255
- basistheoryclient-5.10.0/src/basis_theory/errors/__init__.py +0 -23
- basistheoryclient-5.10.0/src/basis_theory/google_pay/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/google_pay/merchant/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/network_tokens/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/reactors/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/tenants/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/tenants/client.py +0 -146
- basistheoryclient-5.10.0/src/basis_theory/tenants/owner/raw_client.py +0 -157
- basistheoryclient-5.10.0/src/basis_theory/tenants/raw_client.py +0 -203
- basistheoryclient-5.10.0/src/basis_theory/threeds/__init__.py +0 -7
- basistheoryclient-5.10.0/src/basis_theory/types/__init__.py +0 -455
- basistheoryclient-5.10.0/src/basis_theory/types/apple_pay_tokenize_request.py +0 -20
- basistheoryclient-5.10.0/src/basis_theory/types/apple_pay_tokenize_response.py +0 -20
- basistheoryclient-5.10.0/src/basis_theory/types/enrollment_provider.py +0 -5
- basistheoryclient-5.10.0/src/basis_theory/types/google_pay_tokenize_request.py +0 -20
- basistheoryclient-5.10.0/src/basis_theory/types/google_pay_tokenize_response.py +0 -20
- basistheoryclient-5.10.0/src/basis_theory/types/mpp_credentials_response.py +0 -5
- basistheoryclient-5.10.0/src/basis_theory/types/public_key.py +0 -3
- basistheoryclient-5.10.0/src/basis_theory/types/react_response.py +0 -22
- basistheoryclient-5.10.0/src/basis_theory/webhooks/__init__.py +0 -7
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/LICENSE +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/jobs/types/create_account_updater_job_request_result_version.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/raw_client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/account_updater/real_time/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/credentials/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/agents/instructions/verify/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/enrollments/verify/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/agentic/raw_client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/domain/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/merchant/certificates/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/apple_pay/session/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_keys/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/application_templates/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/applications/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/api_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/file.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/query_encoder.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/remove_none_from_dict.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/request_options.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/core/serialization.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/documents/data/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/enrichments/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/environment.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/bad_request_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/conflict_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/forbidden_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/internal_server_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/service_unavailable_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/unauthorized_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/google_pay/merchant/certificates/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/keys/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/logs/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/network_tokens/account/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/permissions/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/proxies/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/py.typed +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/reactors/results/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/roles/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/sessions/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/connections/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/invitations/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/members/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/merchants/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/owner/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/security_contact/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tenants/self_/client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/raw_client.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/threeds/sessions/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/token_intents/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/tokens/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/access_rule.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_list_pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_job_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/account_updater_real_time_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/additional_card_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/address.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agent.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_brand.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_issuer.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_card_issuer_country.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/agentic_merchant.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/amex_config.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/amount.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_create_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_merchant.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/apple_pay_merchant_certificates.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_key.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/application_template.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/assurance_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authentication.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/authentication_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bank_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bank_verification_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_bank.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_country.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/bin_details_product.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_art.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_art_image.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_display.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer_country.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_issuer_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_network_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_network_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/card_product.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/cardholder_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/client_encryption_key_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/condition.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/confirmation_entry.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/consumer.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_document_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_reactor_formula_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_session_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/credentials_card.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/cursor_pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/delivery_method.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context_platform_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_context_session_context.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/device_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/discover_config.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/document.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/domain_registration_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/encryption_jwk.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_list_pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/enrollment_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/event_types.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_applications.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_logs.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_permissions.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_proxies.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_reactor_formulas.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_reactors.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tenant_invitations.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tenant_members.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/get_tokens_v2.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_create_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_merchant.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/google_pay_merchant_certificates.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instance_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_list_pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/instruction_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log_entity_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/log_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mastercard_config.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_contact.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_registration.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/merchant_services.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_challenge.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_credentials_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_source.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/mpp_source_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_status_detail.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_account.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_cryptogram.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/network_token_extras.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/payment_data.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/pending_proxy.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/permission.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/privacy.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/problem_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/product.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_transform.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/proxy_transform_options.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/publish_confirmation_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/reactor_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/recurring.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/recurring_frequency.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/role.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/runtime.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/security_contact_email_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/service_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/shipping_address.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/start_verification_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/submerchant_authentication_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_connection_options.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_invitation_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_member_response.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_merchant_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/tenant_usage_report.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_address.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_authentication.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_branding_options.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_callback_urls.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_device_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_method.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_session.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/three_ds_version.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_authentication.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_enrichments.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_enrichments_card_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_extras.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_intent_extras.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/token_service_provider_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/transaction_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/transaction_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/update_privacy.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/update_reactor_formula_request.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/user.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/validation_problem_details.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_brand.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_methods_item.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_action.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_auth_preferences.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_display_context.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_passkey_context_platform_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_redirect.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_redirect_uri_type.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/verification_response_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/visa_config.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_list.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_list_pagination.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/types/webhook_status.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/version.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/__init__.py +0 -0
- {basistheoryclient-5.10.0 → basistheoryclient-6.0.1}/src/basis_theory/webhooks/events/client.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
|
-
Name:
|
|
3
|
-
Version:
|
|
2
|
+
Name: basistheoryclient
|
|
3
|
+
Version: 6.0.1
|
|
4
4
|
Summary:
|
|
5
5
|
License: Apache-2.0
|
|
6
|
-
Requires-Python: >=3.
|
|
6
|
+
Requires-Python: >=3.10,<4.0
|
|
7
7
|
Classifier: Intended Audience :: Developers
|
|
8
8
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
9
|
Classifier: Operating System :: MacOS
|
|
@@ -13,18 +13,22 @@ Classifier: Operating System :: POSIX
|
|
|
13
13
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
14
|
Classifier: Programming Language :: Python
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
18
16
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
18
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
22
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
23
23
|
Classifier: Typing :: Typed
|
|
24
|
+
Provides-Extra: aiohttp
|
|
25
|
+
Requires-Dist: aiohttp (>=3.13.4,<4) ; (python_version >= "3.9") and (extra == "aiohttp")
|
|
24
26
|
Requires-Dist: httpx (>=0.21.2)
|
|
27
|
+
Requires-Dist: httpx-aiohttp (==0.1.8) ; (python_version >= "3.9") and (extra == "aiohttp")
|
|
25
28
|
Requires-Dist: pydantic (>=1.9.2)
|
|
26
|
-
Requires-Dist: pydantic-core (>=2.18.2)
|
|
29
|
+
Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
|
|
27
30
|
Requires-Dist: typing_extensions (>=4.0.0)
|
|
31
|
+
Project-URL: Repository, https://github.com/Basis-Theory/python-sdk
|
|
28
32
|
Description-Content-Type: text/markdown
|
|
29
33
|
|
|
30
34
|
# BasisTheory Python Library
|
|
@@ -39,6 +43,7 @@ The BasisTheory Python library provides convenient access to the BasisTheory API
|
|
|
39
43
|
- [Documentation](#documentation)
|
|
40
44
|
- [Installation](#installation)
|
|
41
45
|
- [Usage](#usage)
|
|
46
|
+
- [Environments](#environments)
|
|
42
47
|
- [Async Client](#async-client)
|
|
43
48
|
- [Exception Handling](#exception-handling)
|
|
44
49
|
- [Pagination](#pagination)
|
|
@@ -68,15 +73,28 @@ Instantiate and use the client with the following:
|
|
|
68
73
|
from basis_theory import BasisTheory
|
|
69
74
|
|
|
70
75
|
client = BasisTheory(
|
|
71
|
-
|
|
72
|
-
api_key="YOUR_API_KEY",
|
|
76
|
+
api_key="<value>",
|
|
73
77
|
)
|
|
78
|
+
|
|
74
79
|
client.tenants.self_.get()
|
|
75
80
|
```
|
|
76
81
|
|
|
82
|
+
## Environments
|
|
83
|
+
|
|
84
|
+
This SDK allows you to configure different environments for API requests.
|
|
85
|
+
|
|
86
|
+
```python
|
|
87
|
+
from basis_theory import BasisTheory
|
|
88
|
+
from basis_theory.environment import BasisTheoryEnvironment
|
|
89
|
+
|
|
90
|
+
client = BasisTheory(
|
|
91
|
+
environment=BasisTheoryEnvironment.DEFAULT,
|
|
92
|
+
)
|
|
93
|
+
```
|
|
94
|
+
|
|
77
95
|
## Async Client
|
|
78
96
|
|
|
79
|
-
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
|
|
97
|
+
The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
|
|
80
98
|
|
|
81
99
|
```python
|
|
82
100
|
import asyncio
|
|
@@ -84,8 +102,7 @@ import asyncio
|
|
|
84
102
|
from basis_theory import AsyncBasisTheory
|
|
85
103
|
|
|
86
104
|
client = AsyncBasisTheory(
|
|
87
|
-
|
|
88
|
-
api_key="YOUR_API_KEY",
|
|
105
|
+
api_key="<value>",
|
|
89
106
|
)
|
|
90
107
|
|
|
91
108
|
|
|
@@ -105,7 +122,7 @@ will be thrown.
|
|
|
105
122
|
from basis_theory.core.api_error import ApiError
|
|
106
123
|
|
|
107
124
|
try:
|
|
108
|
-
client.tenants.self_.get(
|
|
125
|
+
client.tenants.self_.get()
|
|
109
126
|
except ApiError as e:
|
|
110
127
|
print(e.status_code)
|
|
111
128
|
print(e.body)
|
|
@@ -119,15 +136,29 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
|
|
|
119
136
|
from basis_theory import BasisTheory
|
|
120
137
|
|
|
121
138
|
client = BasisTheory(
|
|
122
|
-
|
|
123
|
-
|
|
139
|
+
api_key="<value>",
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
client.applications.list(
|
|
143
|
+
id=[
|
|
144
|
+
"id"
|
|
145
|
+
],
|
|
146
|
+
type=[
|
|
147
|
+
"type"
|
|
148
|
+
],
|
|
149
|
+
page=1,
|
|
150
|
+
start="start",
|
|
151
|
+
size=1,
|
|
124
152
|
)
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
#
|
|
129
|
-
|
|
130
|
-
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
```python
|
|
156
|
+
# You can also iterate through pages and access the typed response per page
|
|
157
|
+
pager = client.applications.list(...)
|
|
158
|
+
for page in pager.iter_pages():
|
|
159
|
+
print(page.response) # access the typed response for each page
|
|
160
|
+
for item in page:
|
|
161
|
+
print(item)
|
|
131
162
|
```
|
|
132
163
|
|
|
133
164
|
## Advanced
|
|
@@ -140,20 +171,11 @@ The `.with_raw_response` property returns a "raw" client that can be used to acc
|
|
|
140
171
|
```python
|
|
141
172
|
from basis_theory import BasisTheory
|
|
142
173
|
|
|
143
|
-
client = BasisTheory(
|
|
144
|
-
|
|
145
|
-
)
|
|
146
|
-
response = client.tenants.self_.with_raw_response.get(...)
|
|
174
|
+
client = BasisTheory(...)
|
|
175
|
+
response = client.tenants.self_.with_raw_response.get()
|
|
147
176
|
print(response.headers) # access the response headers
|
|
177
|
+
print(response.status_code) # access the response status code
|
|
148
178
|
print(response.data) # access the underlying object
|
|
149
|
-
pager = client.applications.list(...)
|
|
150
|
-
print(pager.response.headers) # access the response headers for the first page
|
|
151
|
-
for item in pager:
|
|
152
|
-
print(item) # access the underlying object(s)
|
|
153
|
-
for page in pager.iter_pages():
|
|
154
|
-
print(page.response.headers) # access the response headers for each page
|
|
155
|
-
for item in page:
|
|
156
|
-
print(item) # access the underlying object(s)
|
|
157
179
|
```
|
|
158
180
|
|
|
159
181
|
### Retries
|
|
@@ -162,16 +184,26 @@ The SDK is instrumented with automatic retries with exponential backoff. A reque
|
|
|
162
184
|
as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
|
|
163
185
|
retry limit (default: 2).
|
|
164
186
|
|
|
165
|
-
|
|
187
|
+
Which status codes are retried depends on the `retryStatusCodes` generator configuration:
|
|
166
188
|
|
|
189
|
+
**`legacy`** (current default): retries on
|
|
167
190
|
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
191
|
+
- [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
|
|
168
192
|
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
169
|
-
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
|
|
193
|
+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
|
|
194
|
+
|
|
195
|
+
**`recommended`**: retries on
|
|
196
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
197
|
+
- [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
|
|
198
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
199
|
+
- [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
|
|
200
|
+
- [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
|
|
201
|
+
- [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
|
|
170
202
|
|
|
171
203
|
Use the `max_retries` request option to configure this behavior.
|
|
172
204
|
|
|
173
205
|
```python
|
|
174
|
-
client.tenants.self_.get(
|
|
206
|
+
client.tenants.self_.get(request_options={
|
|
175
207
|
"max_retries": 1
|
|
176
208
|
})
|
|
177
209
|
```
|
|
@@ -181,17 +213,12 @@ client.tenants.self_.get(..., request_options={
|
|
|
181
213
|
The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
|
|
182
214
|
|
|
183
215
|
```python
|
|
184
|
-
|
|
185
216
|
from basis_theory import BasisTheory
|
|
186
217
|
|
|
187
|
-
client = BasisTheory(
|
|
188
|
-
...,
|
|
189
|
-
timeout=20.0,
|
|
190
|
-
)
|
|
191
|
-
|
|
218
|
+
client = BasisTheory(..., timeout=20.0)
|
|
192
219
|
|
|
193
220
|
# Override timeout for a specific method
|
|
194
|
-
client.tenants.self_.get(
|
|
221
|
+
client.tenants.self_.get(request_options={
|
|
195
222
|
"timeout_in_seconds": 1
|
|
196
223
|
})
|
|
197
224
|
```
|
|
@@ -208,7 +235,7 @@ from basis_theory import BasisTheory
|
|
|
208
235
|
client = BasisTheory(
|
|
209
236
|
...,
|
|
210
237
|
httpx_client=httpx.Client(
|
|
211
|
-
|
|
238
|
+
proxy="http://my.test.proxy.example.com",
|
|
212
239
|
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
|
213
240
|
),
|
|
214
241
|
)
|
|
@@ -10,6 +10,7 @@ The BasisTheory Python library provides convenient access to the BasisTheory API
|
|
|
10
10
|
- [Documentation](#documentation)
|
|
11
11
|
- [Installation](#installation)
|
|
12
12
|
- [Usage](#usage)
|
|
13
|
+
- [Environments](#environments)
|
|
13
14
|
- [Async Client](#async-client)
|
|
14
15
|
- [Exception Handling](#exception-handling)
|
|
15
16
|
- [Pagination](#pagination)
|
|
@@ -39,15 +40,28 @@ Instantiate and use the client with the following:
|
|
|
39
40
|
from basis_theory import BasisTheory
|
|
40
41
|
|
|
41
42
|
client = BasisTheory(
|
|
42
|
-
|
|
43
|
-
api_key="YOUR_API_KEY",
|
|
43
|
+
api_key="<value>",
|
|
44
44
|
)
|
|
45
|
+
|
|
45
46
|
client.tenants.self_.get()
|
|
46
47
|
```
|
|
47
48
|
|
|
49
|
+
## Environments
|
|
50
|
+
|
|
51
|
+
This SDK allows you to configure different environments for API requests.
|
|
52
|
+
|
|
53
|
+
```python
|
|
54
|
+
from basis_theory import BasisTheory
|
|
55
|
+
from basis_theory.environment import BasisTheoryEnvironment
|
|
56
|
+
|
|
57
|
+
client = BasisTheory(
|
|
58
|
+
environment=BasisTheoryEnvironment.DEFAULT,
|
|
59
|
+
)
|
|
60
|
+
```
|
|
61
|
+
|
|
48
62
|
## Async Client
|
|
49
63
|
|
|
50
|
-
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
|
|
64
|
+
The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
|
|
51
65
|
|
|
52
66
|
```python
|
|
53
67
|
import asyncio
|
|
@@ -55,8 +69,7 @@ import asyncio
|
|
|
55
69
|
from basis_theory import AsyncBasisTheory
|
|
56
70
|
|
|
57
71
|
client = AsyncBasisTheory(
|
|
58
|
-
|
|
59
|
-
api_key="YOUR_API_KEY",
|
|
72
|
+
api_key="<value>",
|
|
60
73
|
)
|
|
61
74
|
|
|
62
75
|
|
|
@@ -76,7 +89,7 @@ will be thrown.
|
|
|
76
89
|
from basis_theory.core.api_error import ApiError
|
|
77
90
|
|
|
78
91
|
try:
|
|
79
|
-
client.tenants.self_.get(
|
|
92
|
+
client.tenants.self_.get()
|
|
80
93
|
except ApiError as e:
|
|
81
94
|
print(e.status_code)
|
|
82
95
|
print(e.body)
|
|
@@ -90,15 +103,29 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
|
|
|
90
103
|
from basis_theory import BasisTheory
|
|
91
104
|
|
|
92
105
|
client = BasisTheory(
|
|
93
|
-
|
|
94
|
-
|
|
106
|
+
api_key="<value>",
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
client.applications.list(
|
|
110
|
+
id=[
|
|
111
|
+
"id"
|
|
112
|
+
],
|
|
113
|
+
type=[
|
|
114
|
+
"type"
|
|
115
|
+
],
|
|
116
|
+
page=1,
|
|
117
|
+
start="start",
|
|
118
|
+
size=1,
|
|
95
119
|
)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
#
|
|
100
|
-
|
|
101
|
-
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
```python
|
|
123
|
+
# You can also iterate through pages and access the typed response per page
|
|
124
|
+
pager = client.applications.list(...)
|
|
125
|
+
for page in pager.iter_pages():
|
|
126
|
+
print(page.response) # access the typed response for each page
|
|
127
|
+
for item in page:
|
|
128
|
+
print(item)
|
|
102
129
|
```
|
|
103
130
|
|
|
104
131
|
## Advanced
|
|
@@ -111,20 +138,11 @@ The `.with_raw_response` property returns a "raw" client that can be used to acc
|
|
|
111
138
|
```python
|
|
112
139
|
from basis_theory import BasisTheory
|
|
113
140
|
|
|
114
|
-
client = BasisTheory(
|
|
115
|
-
|
|
116
|
-
)
|
|
117
|
-
response = client.tenants.self_.with_raw_response.get(...)
|
|
141
|
+
client = BasisTheory(...)
|
|
142
|
+
response = client.tenants.self_.with_raw_response.get()
|
|
118
143
|
print(response.headers) # access the response headers
|
|
144
|
+
print(response.status_code) # access the response status code
|
|
119
145
|
print(response.data) # access the underlying object
|
|
120
|
-
pager = client.applications.list(...)
|
|
121
|
-
print(pager.response.headers) # access the response headers for the first page
|
|
122
|
-
for item in pager:
|
|
123
|
-
print(item) # access the underlying object(s)
|
|
124
|
-
for page in pager.iter_pages():
|
|
125
|
-
print(page.response.headers) # access the response headers for each page
|
|
126
|
-
for item in page:
|
|
127
|
-
print(item) # access the underlying object(s)
|
|
128
146
|
```
|
|
129
147
|
|
|
130
148
|
### Retries
|
|
@@ -133,16 +151,26 @@ The SDK is instrumented with automatic retries with exponential backoff. A reque
|
|
|
133
151
|
as the request is deemed retryable and the number of retry attempts has not grown larger than the configured
|
|
134
152
|
retry limit (default: 2).
|
|
135
153
|
|
|
136
|
-
|
|
154
|
+
Which status codes are retried depends on the `retryStatusCodes` generator configuration:
|
|
137
155
|
|
|
156
|
+
**`legacy`** (current default): retries on
|
|
138
157
|
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
158
|
+
- [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
|
|
139
159
|
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
140
|
-
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
|
|
160
|
+
- [5XX](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status#server_error_responses) (All server errors, including 500)
|
|
161
|
+
|
|
162
|
+
**`recommended`**: retries on
|
|
163
|
+
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
164
|
+
- [409](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) (Conflict)
|
|
165
|
+
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
166
|
+
- [502](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502) (Bad Gateway)
|
|
167
|
+
- [503](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503) (Service Unavailable)
|
|
168
|
+
- [504](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504) (Gateway Timeout)
|
|
141
169
|
|
|
142
170
|
Use the `max_retries` request option to configure this behavior.
|
|
143
171
|
|
|
144
172
|
```python
|
|
145
|
-
client.tenants.self_.get(
|
|
173
|
+
client.tenants.self_.get(request_options={
|
|
146
174
|
"max_retries": 1
|
|
147
175
|
})
|
|
148
176
|
```
|
|
@@ -152,17 +180,12 @@ client.tenants.self_.get(..., request_options={
|
|
|
152
180
|
The SDK defaults to a 60 second timeout. You can configure this with a timeout option at the client or request level.
|
|
153
181
|
|
|
154
182
|
```python
|
|
155
|
-
|
|
156
183
|
from basis_theory import BasisTheory
|
|
157
184
|
|
|
158
|
-
client = BasisTheory(
|
|
159
|
-
...,
|
|
160
|
-
timeout=20.0,
|
|
161
|
-
)
|
|
162
|
-
|
|
185
|
+
client = BasisTheory(..., timeout=20.0)
|
|
163
186
|
|
|
164
187
|
# Override timeout for a specific method
|
|
165
|
-
client.tenants.self_.get(
|
|
188
|
+
client.tenants.self_.get(request_options={
|
|
166
189
|
"timeout_in_seconds": 1
|
|
167
190
|
})
|
|
168
191
|
```
|
|
@@ -179,7 +202,7 @@ from basis_theory import BasisTheory
|
|
|
179
202
|
client = BasisTheory(
|
|
180
203
|
...,
|
|
181
204
|
httpx_client=httpx.Client(
|
|
182
|
-
|
|
205
|
+
proxy="http://my.test.proxy.example.com",
|
|
183
206
|
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
|
184
207
|
),
|
|
185
208
|
)
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "BasisTheoryClient"
|
|
3
|
+
dynamic = ["version"]
|
|
3
4
|
|
|
4
5
|
[tool.poetry]
|
|
5
6
|
name = "BasisTheoryClient"
|
|
6
|
-
version = "
|
|
7
|
+
version = "6.0.1"
|
|
7
8
|
description = ""
|
|
8
9
|
readme = "README.md"
|
|
9
10
|
authors = []
|
|
@@ -13,11 +14,12 @@ classifiers = [
|
|
|
13
14
|
"Intended Audience :: Developers",
|
|
14
15
|
"Programming Language :: Python",
|
|
15
16
|
"Programming Language :: Python :: 3",
|
|
16
|
-
"Programming Language :: Python :: 3.8",
|
|
17
|
-
"Programming Language :: Python :: 3.9",
|
|
18
17
|
"Programming Language :: Python :: 3.10",
|
|
19
18
|
"Programming Language :: Python :: 3.11",
|
|
20
19
|
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
21
|
+
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Programming Language :: Python :: 3.15",
|
|
21
23
|
"Operating System :: OS Independent",
|
|
22
24
|
"Operating System :: POSIX",
|
|
23
25
|
"Operating System :: MacOS",
|
|
@@ -31,27 +33,34 @@ packages = [
|
|
|
31
33
|
{ include = "basis_theory", from = "src"}
|
|
32
34
|
]
|
|
33
35
|
|
|
34
|
-
[
|
|
36
|
+
[tool.poetry.urls]
|
|
35
37
|
Repository = 'https://github.com/Basis-Theory/python-sdk'
|
|
36
38
|
|
|
37
39
|
[tool.poetry.dependencies]
|
|
38
|
-
python = "^3.
|
|
40
|
+
python = "^3.10"
|
|
41
|
+
aiohttp = { version = ">=3.13.4,<4", optional = true, python = ">=3.9"}
|
|
39
42
|
httpx = ">=0.21.2"
|
|
43
|
+
httpx-aiohttp = { version = "0.1.8", optional = true, python = ">=3.9"}
|
|
40
44
|
pydantic = ">= 1.9.2"
|
|
41
|
-
pydantic-core = ">=2.18.2"
|
|
45
|
+
pydantic-core = ">=2.18.2,<3.0.0"
|
|
42
46
|
typing_extensions = ">= 4.0.0"
|
|
43
47
|
|
|
44
48
|
[tool.poetry.group.dev.dependencies]
|
|
45
49
|
mypy = "==1.13.0"
|
|
46
|
-
pytest = "^
|
|
47
|
-
pytest-asyncio = "^0.
|
|
50
|
+
pytest = "^9.0.3"
|
|
51
|
+
pytest-asyncio = "^1.0.0"
|
|
52
|
+
pytest-xdist = "^3.6.1"
|
|
48
53
|
python-dateutil = "^2.9.0"
|
|
49
54
|
types-python-dateutil = "^2.9.0.20240316"
|
|
55
|
+
urllib3 = ">=2.6.3,<3.0.0"
|
|
50
56
|
ruff = "==0.11.5"
|
|
51
57
|
|
|
52
58
|
[tool.pytest.ini_options]
|
|
53
59
|
testpaths = [ "tests" ]
|
|
54
60
|
asyncio_mode = "auto"
|
|
61
|
+
markers = [
|
|
62
|
+
"aiohttp: tests that require httpx_aiohttp to be installed",
|
|
63
|
+
]
|
|
55
64
|
|
|
56
65
|
[tool.mypy]
|
|
57
66
|
plugins = ["pydantic.mypy"]
|
|
@@ -83,3 +92,6 @@ section-order = ["future", "standard-library", "third-party", "first-party"]
|
|
|
83
92
|
[build-system]
|
|
84
93
|
requires = ["poetry-core"]
|
|
85
94
|
build-backend = "poetry.core.masonry.api"
|
|
95
|
+
|
|
96
|
+
[tool.poetry.extras]
|
|
97
|
+
aiohttp=["aiohttp", "httpx-aiohttp"]
|