BasisTheoryClient 0.3.2__tar.gz → 0.4.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-0.3.2 → basistheoryclient-0.4.0}/PKG-INFO +1 -1
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/pyproject.toml +1 -1
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_keys/client.py +8 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_templates/client.py +4 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/applications/client.py +14 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/client.py +8 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/client_wrapper.py +27 -5
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/enrichments/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/logs/client.py +4 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/permissions/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/proxies/client.py +12 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactorformulas/client.py +10 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactors/client.py +16 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactors/results/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/roles/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/sessions/client.py +4 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/connections/client.py +4 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/invitations/client.py +8 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/members/client.py +6 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/owner/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/self_/client.py +8 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/threeds/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/threeds/sessions/client.py +6 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tokens/client.py +20 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/client.py +12 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/events/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/signing_key/client.py +2 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/README.md +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_keys/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_templates/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/applications/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/api_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/datetime_utils.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/file.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/http_client.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/jsonable_encoder.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/pagination.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/pydantic_utilities.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/query_encoder.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/request_options.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/core/serialization.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/enrichments/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/environment.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/bad_request_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/conflict_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/forbidden_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/not_found_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/unauthorized_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/errors/unprocessable_entity_error.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/logs/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/permissions/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/proxies/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/py.typed +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactorformulas/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactors/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactors/results/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/roles/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/sessions/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/client.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/connections/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/invitations/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/members/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/owner/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tenants/self_/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/threeds/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/threeds/sessions/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/tokens/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/access_rule.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/application.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/application_key.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/application_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/application_template.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/bin_details.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/bin_details_bank.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/bin_details_country.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/bin_details_product.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/card_details.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/condition.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/create_session_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/create_tenant_connection_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/create_three_ds_session_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/cursor_pagination.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/event_types.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_applications.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_logs.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_permissions.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_proxies.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_reactor_formulas.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_reactors.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_tenant_invitations.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_tenant_members.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_tokens.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/get_tokens_v2.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/log.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/log_entity_type.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/log_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/pagination.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/permission.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/privacy.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/problem_details.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/proxy.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/proxy_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/proxy_transform.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/public_key.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/react_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor_formula.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor_formula_configuration.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor_formula_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor_formula_request_parameter.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/reactor_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/role.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/string_string_key_value_pair.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_connection_options.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_invitation_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_member_response.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/tenant_usage_report.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_address.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_authentication.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_cardholder_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_device_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_merchant_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_message_extension.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_method.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_purchase_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_requestor_info.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_session.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/three_ds_version.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_cursor_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_enrichments.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_extras.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_metrics.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_paginated_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/token_report.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/update_privacy.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/user.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/validation_problem_details.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/webhook.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/webhook_list.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/webhook_list_pagination.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/types/webhook_status.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/version.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/events/__init__.py +0 -0
- {basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/webhooks/signing_key/__init__.py +0 -0
{basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_keys/client.py
RENAMED
|
@@ -50,6 +50,7 @@ class ApplicationKeysClient:
|
|
|
50
50
|
from basis_theory import BasisTheory
|
|
51
51
|
|
|
52
52
|
client = BasisTheory(
|
|
53
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
53
54
|
api_key="YOUR_API_KEY",
|
|
54
55
|
)
|
|
55
56
|
client.application_keys.list(
|
|
@@ -136,6 +137,7 @@ class ApplicationKeysClient:
|
|
|
136
137
|
from basis_theory import BasisTheory
|
|
137
138
|
|
|
138
139
|
client = BasisTheory(
|
|
140
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
139
141
|
api_key="YOUR_API_KEY",
|
|
140
142
|
)
|
|
141
143
|
client.application_keys.create(
|
|
@@ -215,6 +217,7 @@ class ApplicationKeysClient:
|
|
|
215
217
|
from basis_theory import BasisTheory
|
|
216
218
|
|
|
217
219
|
client = BasisTheory(
|
|
220
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
218
221
|
api_key="YOUR_API_KEY",
|
|
219
222
|
)
|
|
220
223
|
client.application_keys.get(
|
|
@@ -291,6 +294,7 @@ class ApplicationKeysClient:
|
|
|
291
294
|
from basis_theory import BasisTheory
|
|
292
295
|
|
|
293
296
|
client = BasisTheory(
|
|
297
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
294
298
|
api_key="YOUR_API_KEY",
|
|
295
299
|
)
|
|
296
300
|
client.application_keys.delete(
|
|
@@ -378,6 +382,7 @@ class AsyncApplicationKeysClient:
|
|
|
378
382
|
from basis_theory import AsyncBasisTheory
|
|
379
383
|
|
|
380
384
|
client = AsyncBasisTheory(
|
|
385
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
381
386
|
api_key="YOUR_API_KEY",
|
|
382
387
|
)
|
|
383
388
|
|
|
@@ -472,6 +477,7 @@ class AsyncApplicationKeysClient:
|
|
|
472
477
|
from basis_theory import AsyncBasisTheory
|
|
473
478
|
|
|
474
479
|
client = AsyncBasisTheory(
|
|
480
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
475
481
|
api_key="YOUR_API_KEY",
|
|
476
482
|
)
|
|
477
483
|
|
|
@@ -561,6 +567,7 @@ class AsyncApplicationKeysClient:
|
|
|
561
567
|
from basis_theory import AsyncBasisTheory
|
|
562
568
|
|
|
563
569
|
client = AsyncBasisTheory(
|
|
570
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
564
571
|
api_key="YOUR_API_KEY",
|
|
565
572
|
)
|
|
566
573
|
|
|
@@ -645,6 +652,7 @@ class AsyncApplicationKeysClient:
|
|
|
645
652
|
from basis_theory import AsyncBasisTheory
|
|
646
653
|
|
|
647
654
|
client = AsyncBasisTheory(
|
|
655
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
648
656
|
api_key="YOUR_API_KEY",
|
|
649
657
|
)
|
|
650
658
|
|
{basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/application_templates/client.py
RENAMED
|
@@ -35,6 +35,7 @@ class ApplicationTemplatesClient:
|
|
|
35
35
|
from basis_theory import BasisTheory
|
|
36
36
|
|
|
37
37
|
client = BasisTheory(
|
|
38
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
38
39
|
api_key="YOUR_API_KEY",
|
|
39
40
|
)
|
|
40
41
|
client.application_templates.list()
|
|
@@ -97,6 +98,7 @@ class ApplicationTemplatesClient:
|
|
|
97
98
|
from basis_theory import BasisTheory
|
|
98
99
|
|
|
99
100
|
client = BasisTheory(
|
|
101
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
100
102
|
api_key="YOUR_API_KEY",
|
|
101
103
|
)
|
|
102
104
|
client.application_templates.get(
|
|
@@ -168,6 +170,7 @@ class AsyncApplicationTemplatesClient:
|
|
|
168
170
|
from basis_theory import AsyncBasisTheory
|
|
169
171
|
|
|
170
172
|
client = AsyncBasisTheory(
|
|
173
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
171
174
|
api_key="YOUR_API_KEY",
|
|
172
175
|
)
|
|
173
176
|
|
|
@@ -238,6 +241,7 @@ class AsyncApplicationTemplatesClient:
|
|
|
238
241
|
from basis_theory import AsyncBasisTheory
|
|
239
242
|
|
|
240
243
|
client = AsyncBasisTheory(
|
|
244
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
241
245
|
api_key="YOUR_API_KEY",
|
|
242
246
|
)
|
|
243
247
|
|
|
@@ -66,6 +66,7 @@ class ApplicationsClient:
|
|
|
66
66
|
from basis_theory import BasisTheory
|
|
67
67
|
|
|
68
68
|
client = BasisTheory(
|
|
69
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
69
70
|
api_key="YOUR_API_KEY",
|
|
70
71
|
)
|
|
71
72
|
response = client.applications.list()
|
|
@@ -185,6 +186,7 @@ class ApplicationsClient:
|
|
|
185
186
|
from basis_theory import BasisTheory
|
|
186
187
|
|
|
187
188
|
client = BasisTheory(
|
|
189
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
188
190
|
api_key="YOUR_API_KEY",
|
|
189
191
|
)
|
|
190
192
|
client.applications.create(
|
|
@@ -274,6 +276,7 @@ class ApplicationsClient:
|
|
|
274
276
|
from basis_theory import BasisTheory
|
|
275
277
|
|
|
276
278
|
client = BasisTheory(
|
|
279
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
277
280
|
api_key="YOUR_API_KEY",
|
|
278
281
|
)
|
|
279
282
|
client.applications.get(
|
|
@@ -365,6 +368,7 @@ class ApplicationsClient:
|
|
|
365
368
|
from basis_theory import BasisTheory
|
|
366
369
|
|
|
367
370
|
client = BasisTheory(
|
|
371
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
368
372
|
api_key="YOUR_API_KEY",
|
|
369
373
|
)
|
|
370
374
|
client.applications.update(
|
|
@@ -460,6 +464,7 @@ class ApplicationsClient:
|
|
|
460
464
|
from basis_theory import BasisTheory
|
|
461
465
|
|
|
462
466
|
client = BasisTheory(
|
|
467
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
463
468
|
api_key="YOUR_API_KEY",
|
|
464
469
|
)
|
|
465
470
|
client.applications.delete(
|
|
@@ -526,6 +531,7 @@ class ApplicationsClient:
|
|
|
526
531
|
from basis_theory import BasisTheory
|
|
527
532
|
|
|
528
533
|
client = BasisTheory(
|
|
534
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
529
535
|
api_key="YOUR_API_KEY",
|
|
530
536
|
)
|
|
531
537
|
client.applications.get_by_key()
|
|
@@ -596,6 +602,7 @@ class ApplicationsClient:
|
|
|
596
602
|
from basis_theory import BasisTheory
|
|
597
603
|
|
|
598
604
|
client = BasisTheory(
|
|
605
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
599
606
|
api_key="YOUR_API_KEY",
|
|
600
607
|
)
|
|
601
608
|
client.applications.regenerate_key(
|
|
@@ -707,6 +714,7 @@ class AsyncApplicationsClient:
|
|
|
707
714
|
from basis_theory import AsyncBasisTheory
|
|
708
715
|
|
|
709
716
|
client = AsyncBasisTheory(
|
|
717
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
710
718
|
api_key="YOUR_API_KEY",
|
|
711
719
|
)
|
|
712
720
|
|
|
@@ -834,6 +842,7 @@ class AsyncApplicationsClient:
|
|
|
834
842
|
from basis_theory import AsyncBasisTheory
|
|
835
843
|
|
|
836
844
|
client = AsyncBasisTheory(
|
|
845
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
837
846
|
api_key="YOUR_API_KEY",
|
|
838
847
|
)
|
|
839
848
|
|
|
@@ -931,6 +940,7 @@ class AsyncApplicationsClient:
|
|
|
931
940
|
from basis_theory import AsyncBasisTheory
|
|
932
941
|
|
|
933
942
|
client = AsyncBasisTheory(
|
|
943
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
934
944
|
api_key="YOUR_API_KEY",
|
|
935
945
|
)
|
|
936
946
|
|
|
@@ -1030,6 +1040,7 @@ class AsyncApplicationsClient:
|
|
|
1030
1040
|
from basis_theory import AsyncBasisTheory
|
|
1031
1041
|
|
|
1032
1042
|
client = AsyncBasisTheory(
|
|
1043
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1033
1044
|
api_key="YOUR_API_KEY",
|
|
1034
1045
|
)
|
|
1035
1046
|
|
|
@@ -1133,6 +1144,7 @@ class AsyncApplicationsClient:
|
|
|
1133
1144
|
from basis_theory import AsyncBasisTheory
|
|
1134
1145
|
|
|
1135
1146
|
client = AsyncBasisTheory(
|
|
1147
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1136
1148
|
api_key="YOUR_API_KEY",
|
|
1137
1149
|
)
|
|
1138
1150
|
|
|
@@ -1207,6 +1219,7 @@ class AsyncApplicationsClient:
|
|
|
1207
1219
|
from basis_theory import AsyncBasisTheory
|
|
1208
1220
|
|
|
1209
1221
|
client = AsyncBasisTheory(
|
|
1222
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1210
1223
|
api_key="YOUR_API_KEY",
|
|
1211
1224
|
)
|
|
1212
1225
|
|
|
@@ -1285,6 +1298,7 @@ class AsyncApplicationsClient:
|
|
|
1285
1298
|
from basis_theory import AsyncBasisTheory
|
|
1286
1299
|
|
|
1287
1300
|
client = AsyncBasisTheory(
|
|
1301
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1288
1302
|
api_key="YOUR_API_KEY",
|
|
1289
1303
|
)
|
|
1290
1304
|
|
|
@@ -57,6 +57,7 @@ class BasisTheory:
|
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
+
correlation_id : typing.Optional[str]
|
|
60
61
|
api_key : typing.Optional[str]
|
|
61
62
|
timeout : typing.Optional[float]
|
|
62
63
|
The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
|
|
@@ -72,6 +73,7 @@ class BasisTheory:
|
|
|
72
73
|
from basis_theory import BasisTheory
|
|
73
74
|
|
|
74
75
|
client = BasisTheory(
|
|
76
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
75
77
|
api_key="YOUR_API_KEY",
|
|
76
78
|
)
|
|
77
79
|
"""
|
|
@@ -81,6 +83,7 @@ class BasisTheory:
|
|
|
81
83
|
*,
|
|
82
84
|
base_url: typing.Optional[str] = None,
|
|
83
85
|
environment: BasisTheoryEnvironment = BasisTheoryEnvironment.DEFAULT,
|
|
86
|
+
correlation_id: typing.Optional[str] = None,
|
|
84
87
|
api_key: typing.Optional[str] = os.getenv("BT-API-KEY"),
|
|
85
88
|
timeout: typing.Optional[float] = None,
|
|
86
89
|
follow_redirects: typing.Optional[bool] = True,
|
|
@@ -91,6 +94,7 @@ class BasisTheory:
|
|
|
91
94
|
raise ApiError(body="The client must be instantiated be either passing in api_key or setting BT-API-KEY")
|
|
92
95
|
self._client_wrapper = SyncClientWrapper(
|
|
93
96
|
base_url=_get_base_url(base_url=base_url, environment=environment),
|
|
97
|
+
correlation_id=correlation_id,
|
|
94
98
|
api_key=api_key,
|
|
95
99
|
httpx_client=httpx_client
|
|
96
100
|
if httpx_client is not None
|
|
@@ -134,6 +138,7 @@ class AsyncBasisTheory:
|
|
|
134
138
|
|
|
135
139
|
|
|
136
140
|
|
|
141
|
+
correlation_id : typing.Optional[str]
|
|
137
142
|
api_key : typing.Optional[str]
|
|
138
143
|
timeout : typing.Optional[float]
|
|
139
144
|
The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
|
|
@@ -149,6 +154,7 @@ class AsyncBasisTheory:
|
|
|
149
154
|
from basis_theory import AsyncBasisTheory
|
|
150
155
|
|
|
151
156
|
client = AsyncBasisTheory(
|
|
157
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
152
158
|
api_key="YOUR_API_KEY",
|
|
153
159
|
)
|
|
154
160
|
"""
|
|
@@ -158,6 +164,7 @@ class AsyncBasisTheory:
|
|
|
158
164
|
*,
|
|
159
165
|
base_url: typing.Optional[str] = None,
|
|
160
166
|
environment: BasisTheoryEnvironment = BasisTheoryEnvironment.DEFAULT,
|
|
167
|
+
correlation_id: typing.Optional[str] = None,
|
|
161
168
|
api_key: typing.Optional[str] = os.getenv("BT-API-KEY"),
|
|
162
169
|
timeout: typing.Optional[float] = None,
|
|
163
170
|
follow_redirects: typing.Optional[bool] = True,
|
|
@@ -168,6 +175,7 @@ class AsyncBasisTheory:
|
|
|
168
175
|
raise ApiError(body="The client must be instantiated be either passing in api_key or setting BT-API-KEY")
|
|
169
176
|
self._client_wrapper = AsyncClientWrapper(
|
|
170
177
|
base_url=_get_base_url(base_url=base_url, environment=environment),
|
|
178
|
+
correlation_id=correlation_id,
|
|
171
179
|
api_key=api_key,
|
|
172
180
|
httpx_client=httpx_client
|
|
173
181
|
if httpx_client is not None
|
|
@@ -7,7 +7,15 @@ from .http_client import AsyncHttpClient
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class BaseClientWrapper:
|
|
10
|
-
def __init__(
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
*,
|
|
13
|
+
correlation_id: typing.Optional[str] = None,
|
|
14
|
+
api_key: str,
|
|
15
|
+
base_url: str,
|
|
16
|
+
timeout: typing.Optional[float] = None,
|
|
17
|
+
):
|
|
18
|
+
self._correlation_id = correlation_id
|
|
11
19
|
self.api_key = api_key
|
|
12
20
|
self._base_url = base_url
|
|
13
21
|
self._timeout = timeout
|
|
@@ -18,6 +26,8 @@ class BaseClientWrapper:
|
|
|
18
26
|
"X-Fern-SDK-Name": "BasisTheoryClient",
|
|
19
27
|
"X-Fern-SDK-Version": "0.0.1",
|
|
20
28
|
}
|
|
29
|
+
if self._correlation_id is not None:
|
|
30
|
+
headers["BT-TRACE-ID"] = self._correlation_id
|
|
21
31
|
headers["BT-API-KEY"] = self.api_key
|
|
22
32
|
return headers
|
|
23
33
|
|
|
@@ -30,9 +40,15 @@ class BaseClientWrapper:
|
|
|
30
40
|
|
|
31
41
|
class SyncClientWrapper(BaseClientWrapper):
|
|
32
42
|
def __init__(
|
|
33
|
-
self,
|
|
43
|
+
self,
|
|
44
|
+
*,
|
|
45
|
+
correlation_id: typing.Optional[str] = None,
|
|
46
|
+
api_key: str,
|
|
47
|
+
base_url: str,
|
|
48
|
+
timeout: typing.Optional[float] = None,
|
|
49
|
+
httpx_client: httpx.Client,
|
|
34
50
|
):
|
|
35
|
-
super().__init__(api_key=api_key, base_url=base_url, timeout=timeout)
|
|
51
|
+
super().__init__(correlation_id=correlation_id, api_key=api_key, base_url=base_url, timeout=timeout)
|
|
36
52
|
self.httpx_client = HttpClient(
|
|
37
53
|
httpx_client=httpx_client,
|
|
38
54
|
base_headers=self.get_headers,
|
|
@@ -43,9 +59,15 @@ class SyncClientWrapper(BaseClientWrapper):
|
|
|
43
59
|
|
|
44
60
|
class AsyncClientWrapper(BaseClientWrapper):
|
|
45
61
|
def __init__(
|
|
46
|
-
self,
|
|
62
|
+
self,
|
|
63
|
+
*,
|
|
64
|
+
correlation_id: typing.Optional[str] = None,
|
|
65
|
+
api_key: str,
|
|
66
|
+
base_url: str,
|
|
67
|
+
timeout: typing.Optional[float] = None,
|
|
68
|
+
httpx_client: httpx.AsyncClient,
|
|
47
69
|
):
|
|
48
|
-
super().__init__(api_key=api_key, base_url=base_url, timeout=timeout)
|
|
70
|
+
super().__init__(correlation_id=correlation_id, api_key=api_key, base_url=base_url, timeout=timeout)
|
|
49
71
|
self.httpx_client = AsyncHttpClient(
|
|
50
72
|
httpx_client=httpx_client,
|
|
51
73
|
base_headers=self.get_headers,
|
|
@@ -50,6 +50,7 @@ class EnrichmentsClient:
|
|
|
50
50
|
from basis_theory import BasisTheory
|
|
51
51
|
|
|
52
52
|
client = BasisTheory(
|
|
53
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
53
54
|
api_key="YOUR_API_KEY",
|
|
54
55
|
)
|
|
55
56
|
client.enrichments.bankaccountverify(
|
|
@@ -141,6 +142,7 @@ class AsyncEnrichmentsClient:
|
|
|
141
142
|
from basis_theory import AsyncBasisTheory
|
|
142
143
|
|
|
143
144
|
client = AsyncBasisTheory(
|
|
145
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
144
146
|
api_key="YOUR_API_KEY",
|
|
145
147
|
)
|
|
146
148
|
|
|
@@ -67,6 +67,7 @@ class LogsClient:
|
|
|
67
67
|
from basis_theory import BasisTheory
|
|
68
68
|
|
|
69
69
|
client = BasisTheory(
|
|
70
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
70
71
|
api_key="YOUR_API_KEY",
|
|
71
72
|
)
|
|
72
73
|
response = client.logs.list()
|
|
@@ -167,6 +168,7 @@ class LogsClient:
|
|
|
167
168
|
from basis_theory import BasisTheory
|
|
168
169
|
|
|
169
170
|
client = BasisTheory(
|
|
171
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
170
172
|
api_key="YOUR_API_KEY",
|
|
171
173
|
)
|
|
172
174
|
client.logs.get_entity_types()
|
|
@@ -259,6 +261,7 @@ class AsyncLogsClient:
|
|
|
259
261
|
from basis_theory import AsyncBasisTheory
|
|
260
262
|
|
|
261
263
|
client = AsyncBasisTheory(
|
|
264
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
262
265
|
api_key="YOUR_API_KEY",
|
|
263
266
|
)
|
|
264
267
|
|
|
@@ -367,6 +370,7 @@ class AsyncLogsClient:
|
|
|
367
370
|
from basis_theory import AsyncBasisTheory
|
|
368
371
|
|
|
369
372
|
client = AsyncBasisTheory(
|
|
373
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
370
374
|
api_key="YOUR_API_KEY",
|
|
371
375
|
)
|
|
372
376
|
|
|
@@ -40,6 +40,7 @@ class PermissionsClient:
|
|
|
40
40
|
from basis_theory import BasisTheory
|
|
41
41
|
|
|
42
42
|
client = BasisTheory(
|
|
43
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
43
44
|
api_key="YOUR_API_KEY",
|
|
44
45
|
)
|
|
45
46
|
client.permissions.get()
|
|
@@ -124,6 +125,7 @@ class AsyncPermissionsClient:
|
|
|
124
125
|
from basis_theory import AsyncBasisTheory
|
|
125
126
|
|
|
126
127
|
client = AsyncBasisTheory(
|
|
128
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
127
129
|
api_key="YOUR_API_KEY",
|
|
128
130
|
)
|
|
129
131
|
|
|
@@ -66,6 +66,7 @@ class ProxiesClient:
|
|
|
66
66
|
from basis_theory import BasisTheory
|
|
67
67
|
|
|
68
68
|
client = BasisTheory(
|
|
69
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
69
70
|
api_key="YOUR_API_KEY",
|
|
70
71
|
)
|
|
71
72
|
response = client.proxies.list()
|
|
@@ -194,6 +195,7 @@ class ProxiesClient:
|
|
|
194
195
|
from basis_theory import BasisTheory
|
|
195
196
|
|
|
196
197
|
client = BasisTheory(
|
|
198
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
197
199
|
api_key="YOUR_API_KEY",
|
|
198
200
|
)
|
|
199
201
|
client.proxies.create(
|
|
@@ -290,6 +292,7 @@ class ProxiesClient:
|
|
|
290
292
|
from basis_theory import BasisTheory
|
|
291
293
|
|
|
292
294
|
client = BasisTheory(
|
|
295
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
293
296
|
api_key="YOUR_API_KEY",
|
|
294
297
|
)
|
|
295
298
|
client.proxies.get(
|
|
@@ -399,6 +402,7 @@ class ProxiesClient:
|
|
|
399
402
|
from basis_theory import BasisTheory
|
|
400
403
|
|
|
401
404
|
client = BasisTheory(
|
|
405
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
402
406
|
api_key="YOUR_API_KEY",
|
|
403
407
|
)
|
|
404
408
|
client.proxies.update(
|
|
@@ -505,6 +509,7 @@ class ProxiesClient:
|
|
|
505
509
|
from basis_theory import BasisTheory
|
|
506
510
|
|
|
507
511
|
client = BasisTheory(
|
|
512
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
508
513
|
api_key="YOUR_API_KEY",
|
|
509
514
|
)
|
|
510
515
|
client.proxies.delete(
|
|
@@ -601,6 +606,7 @@ class ProxiesClient:
|
|
|
601
606
|
from basis_theory import BasisTheory
|
|
602
607
|
|
|
603
608
|
client = BasisTheory(
|
|
609
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
604
610
|
api_key="YOUR_API_KEY",
|
|
605
611
|
)
|
|
606
612
|
client.proxies.patch(
|
|
@@ -722,6 +728,7 @@ class AsyncProxiesClient:
|
|
|
722
728
|
from basis_theory import AsyncBasisTheory
|
|
723
729
|
|
|
724
730
|
client = AsyncBasisTheory(
|
|
731
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
725
732
|
api_key="YOUR_API_KEY",
|
|
726
733
|
)
|
|
727
734
|
|
|
@@ -858,6 +865,7 @@ class AsyncProxiesClient:
|
|
|
858
865
|
from basis_theory import AsyncBasisTheory
|
|
859
866
|
|
|
860
867
|
client = AsyncBasisTheory(
|
|
868
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
861
869
|
api_key="YOUR_API_KEY",
|
|
862
870
|
)
|
|
863
871
|
|
|
@@ -962,6 +970,7 @@ class AsyncProxiesClient:
|
|
|
962
970
|
from basis_theory import AsyncBasisTheory
|
|
963
971
|
|
|
964
972
|
client = AsyncBasisTheory(
|
|
973
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
965
974
|
api_key="YOUR_API_KEY",
|
|
966
975
|
)
|
|
967
976
|
|
|
@@ -1079,6 +1088,7 @@ class AsyncProxiesClient:
|
|
|
1079
1088
|
from basis_theory import AsyncBasisTheory
|
|
1080
1089
|
|
|
1081
1090
|
client = AsyncBasisTheory(
|
|
1091
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1082
1092
|
api_key="YOUR_API_KEY",
|
|
1083
1093
|
)
|
|
1084
1094
|
|
|
@@ -1193,6 +1203,7 @@ class AsyncProxiesClient:
|
|
|
1193
1203
|
from basis_theory import AsyncBasisTheory
|
|
1194
1204
|
|
|
1195
1205
|
client = AsyncBasisTheory(
|
|
1206
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1196
1207
|
api_key="YOUR_API_KEY",
|
|
1197
1208
|
)
|
|
1198
1209
|
|
|
@@ -1297,6 +1308,7 @@ class AsyncProxiesClient:
|
|
|
1297
1308
|
from basis_theory import AsyncBasisTheory
|
|
1298
1309
|
|
|
1299
1310
|
client = AsyncBasisTheory(
|
|
1311
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1300
1312
|
api_key="YOUR_API_KEY",
|
|
1301
1313
|
)
|
|
1302
1314
|
|
{basistheoryclient-0.3.2 → basistheoryclient-0.4.0}/src/basis_theory/reactorformulas/client.py
RENAMED
|
@@ -63,6 +63,7 @@ class ReactorformulasClient:
|
|
|
63
63
|
from basis_theory import BasisTheory
|
|
64
64
|
|
|
65
65
|
client = BasisTheory(
|
|
66
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
66
67
|
api_key="YOUR_API_KEY",
|
|
67
68
|
)
|
|
68
69
|
response = client.reactorformulas.list()
|
|
@@ -186,6 +187,7 @@ class ReactorformulasClient:
|
|
|
186
187
|
from basis_theory import BasisTheory
|
|
187
188
|
|
|
188
189
|
client = BasisTheory(
|
|
190
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
189
191
|
api_key="YOUR_API_KEY",
|
|
190
192
|
)
|
|
191
193
|
client.reactorformulas.create(
|
|
@@ -281,6 +283,7 @@ class ReactorformulasClient:
|
|
|
281
283
|
from basis_theory import BasisTheory
|
|
282
284
|
|
|
283
285
|
client = BasisTheory(
|
|
286
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
284
287
|
api_key="YOUR_API_KEY",
|
|
285
288
|
)
|
|
286
289
|
client.reactorformulas.get(
|
|
@@ -384,6 +387,7 @@ class ReactorformulasClient:
|
|
|
384
387
|
from basis_theory import BasisTheory
|
|
385
388
|
|
|
386
389
|
client = BasisTheory(
|
|
390
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
387
391
|
api_key="YOUR_API_KEY",
|
|
388
392
|
)
|
|
389
393
|
client.reactorformulas.update(
|
|
@@ -488,6 +492,7 @@ class ReactorformulasClient:
|
|
|
488
492
|
from basis_theory import BasisTheory
|
|
489
493
|
|
|
490
494
|
client = BasisTheory(
|
|
495
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
491
496
|
api_key="YOUR_API_KEY",
|
|
492
497
|
)
|
|
493
498
|
client.reactorformulas.delete(
|
|
@@ -577,6 +582,7 @@ class AsyncReactorformulasClient:
|
|
|
577
582
|
from basis_theory import AsyncBasisTheory
|
|
578
583
|
|
|
579
584
|
client = AsyncBasisTheory(
|
|
585
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
580
586
|
api_key="YOUR_API_KEY",
|
|
581
587
|
)
|
|
582
588
|
|
|
@@ -708,6 +714,7 @@ class AsyncReactorformulasClient:
|
|
|
708
714
|
from basis_theory import AsyncBasisTheory
|
|
709
715
|
|
|
710
716
|
client = AsyncBasisTheory(
|
|
717
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
711
718
|
api_key="YOUR_API_KEY",
|
|
712
719
|
)
|
|
713
720
|
|
|
@@ -811,6 +818,7 @@ class AsyncReactorformulasClient:
|
|
|
811
818
|
from basis_theory import AsyncBasisTheory
|
|
812
819
|
|
|
813
820
|
client = AsyncBasisTheory(
|
|
821
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
814
822
|
api_key="YOUR_API_KEY",
|
|
815
823
|
)
|
|
816
824
|
|
|
@@ -922,6 +930,7 @@ class AsyncReactorformulasClient:
|
|
|
922
930
|
from basis_theory import AsyncBasisTheory
|
|
923
931
|
|
|
924
932
|
client = AsyncBasisTheory(
|
|
933
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
925
934
|
api_key="YOUR_API_KEY",
|
|
926
935
|
)
|
|
927
936
|
|
|
@@ -1034,6 +1043,7 @@ class AsyncReactorformulasClient:
|
|
|
1034
1043
|
from basis_theory import AsyncBasisTheory
|
|
1035
1044
|
|
|
1036
1045
|
client = AsyncBasisTheory(
|
|
1046
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
1037
1047
|
api_key="YOUR_API_KEY",
|
|
1038
1048
|
)
|
|
1039
1049
|
|