BasisTheoryClient 0.0.1__tar.gz → 0.1.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.0.1 → basistheoryclient-0.1.0}/PKG-INFO +6 -40
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/README.md +4 -36
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/pyproject.toml +7 -31
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/__init__.py +6 -130
- {basistheoryclient-0.0.1/src/basis_theory/apple_pay/session → basistheoryclient-0.1.0/src/basis_theory/application_keys}/__init__.py +0 -2
- basistheoryclient-0.0.1/src/basis_theory/application_keys/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/application_keys/client.py +222 -135
- {basistheoryclient-0.0.1/src/basis_theory/account_updater/jobs → basistheoryclient-0.1.0/src/basis_theory/application_templates}/__init__.py +0 -2
- basistheoryclient-0.0.1/src/basis_theory/application_templates/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/application_templates/client.py +102 -65
- {basistheoryclient-0.0.1/src/basis_theory/account_updater/real_time → basistheoryclient-0.1.0/src/basis_theory/applications}/__init__.py +0 -2
- basistheoryclient-0.0.1/src/basis_theory/applications/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/applications/client.py +544 -214
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/client.py +38 -70
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/__init__.py +0 -5
- basistheoryclient-0.1.0/src/basis_theory/core/api_error.py +15 -0
- basistheoryclient-0.1.0/src/basis_theory/core/client_wrapper.py +54 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/file.py +8 -13
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/http_client.py +36 -98
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/jsonable_encoder.py +1 -0
- basistheoryclient-0.1.0/src/basis_theory/core/pagination.py +88 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/pydantic_utilities.py +111 -93
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/request_options.py +0 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/serialization.py +3 -7
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/__init__.py +0 -6
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/bad_request_error.py +2 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/conflict_error.py +2 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/forbidden_error.py +2 -4
- basistheoryclient-0.1.0/src/basis_theory/errors/not_found_error.py +9 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/unauthorized_error.py +2 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/errors/unprocessable_entity_error.py +2 -4
- basistheoryclient-0.1.0/src/basis_theory/logs/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/logs/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/logs/client.py +124 -83
- basistheoryclient-0.1.0/src/basis_theory/permissions/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/permissions/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/permissions/client.py +60 -43
- basistheoryclient-0.1.0/src/basis_theory/proxies/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/proxies/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/proxies/client.py +354 -227
- basistheoryclient-0.1.0/src/basis_theory/reactorformulas/__init__.py +2 -0
- basistheoryclient-0.1.0/src/basis_theory/reactorformulas/client.py +1090 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/reactors/__init__.py +0 -2
- basistheoryclient-0.0.1/src/basis_theory/reactors/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/reactors/client.py +483 -329
- basistheoryclient-0.1.0/src/basis_theory/reactors/results/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/reactors/results/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/reactors/results/client.py +67 -50
- basistheoryclient-0.1.0/src/basis_theory/roles/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/roles/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/roles/client.py +53 -36
- basistheoryclient-0.1.0/src/basis_theory/sessions/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/sessions/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/sessions/client.py +122 -87
- basistheoryclient-0.1.0/src/basis_theory/tenants/__init__.py +5 -0
- basistheoryclient-0.1.0/src/basis_theory/tenants/client.py +30 -0
- basistheoryclient-0.1.0/src/basis_theory/tenants/connections/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/tenants/connections/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/tenants/connections/client.py +114 -77
- basistheoryclient-0.1.0/src/basis_theory/tenants/invitations/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/tenants/invitations/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/tenants/invitations/client.py +224 -277
- basistheoryclient-0.1.0/src/basis_theory/tenants/members/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/tenants/members/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/tenants/members/client.py +167 -106
- basistheoryclient-0.1.0/src/basis_theory/tenants/self_/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/tenants/self_/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/tenants/self_/client.py +211 -142
- basistheoryclient-0.1.0/src/basis_theory/threeds/__init__.py +2 -0
- basistheoryclient-0.1.0/src/basis_theory/threeds/client.py +615 -0
- basistheoryclient-0.1.0/src/basis_theory/tokens/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/tokens/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/tokens/client.py +802 -437
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/__init__.py +4 -108
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/access_rule.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/application.py +6 -5
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/application_key.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/application_paginated_list.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/application_template.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/bin_details.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/bin_details_bank.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/bin_details_country.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/bin_details_product.py +2 -2
- basistheoryclient-0.0.1/src/basis_theory/types/token_enrichments_card_details.py → basistheoryclient-0.1.0/src/basis_theory/types/card_details.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/condition.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/create_session_response.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/create_tenant_connection_response.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/cursor_pagination.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_applications.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_logs.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_permissions.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_proxies.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_reactor_formulas.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_reactors.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_tenant_invitations.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_tenant_members.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/get_tokens.py +2 -2
- basistheoryclient-0.1.0/src/basis_theory/types/get_tokens_v2.py +20 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/log.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/log_entity_type.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/log_paginated_list.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/pagination.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/permission.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/privacy.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/problem_details.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/proxy.py +4 -6
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/proxy_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/proxy_transform.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/react_response.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor.py +5 -5
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor_formula.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor_formula_configuration.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor_formula_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor_formula_request_parameter.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/reactor_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/role.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/string_string_key_value_pair.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_connection_options.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_invitation_response.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_invitation_response_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_member_response.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_member_response_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_usage_report.py +4 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_acs_rendering_type.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_address.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_authentication.py +3 -12
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_cardholder_account_info.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_cardholder_authentication_info.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_cardholder_info.py +5 -5
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_cardholder_phone_number.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_device_info.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_merchant_info.py +3 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_merchant_risk_info.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_message_extension.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_method.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_mobile_sdk_render_options.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_prior_authentication_info.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_purchase_info.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_requestor_info.py +2 -6
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_session.py +6 -11
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/three_ds_version.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/token.py +5 -15
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/token_cursor_paginated_list.py +3 -3
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/token_enrichments.py +5 -5
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_create_response.py → basistheoryclient-0.1.0/src/basis_theory/types/token_metrics.py +6 -5
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/token_paginated_list.py +3 -3
- basistheoryclient-0.1.0/src/basis_theory/types/token_report.py +23 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/update_privacy.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/user.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/validation_problem_details.py +2 -2
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/webhook.py +4 -9
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/webhook_list.py +4 -4
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/webhook_list_pagination.py +2 -2
- basistheoryclient-0.1.0/src/basis_theory/webhooks/__init__.py +5 -0
- basistheoryclient-0.0.1/src/basis_theory/webhooks/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/webhooks/client.py +365 -255
- basistheoryclient-0.1.0/src/basis_theory/webhooks/events/__init__.py +2 -0
- basistheoryclient-0.0.1/src/basis_theory/webhooks/events/raw_client.py → basistheoryclient-0.1.0/src/basis_theory/webhooks/events/client.py +53 -34
- basistheoryclient-0.1.0/src/basis_theory/webhooks/signing_key/__init__.py +2 -0
- basistheoryclient-0.1.0/src/basis_theory/webhooks/signing_key/client.py +98 -0
- basistheoryclient-0.0.1/LICENSE +0 -201
- basistheoryclient-0.0.1/src/basis_theory/account_updater/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/account_updater/client.py +0 -44
- basistheoryclient-0.0.1/src/basis_theory/account_updater/jobs/client.py +0 -259
- basistheoryclient-0.0.1/src/basis_theory/account_updater/jobs/raw_client.py +0 -450
- basistheoryclient-0.0.1/src/basis_theory/account_updater/raw_client.py +0 -13
- basistheoryclient-0.0.1/src/basis_theory/account_updater/real_time/client.py +0 -161
- basistheoryclient-0.0.1/src/basis_theory/account_updater/real_time/raw_client.py +0 -246
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/client.py +0 -267
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/domain/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/domain/client.py +0 -309
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/domain/raw_client.py +0 -631
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/raw_client.py +0 -499
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/session/client.py +0 -130
- basistheoryclient-0.0.1/src/basis_theory/apple_pay/session/raw_client.py +0 -225
- basistheoryclient-0.0.1/src/basis_theory/application_keys/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/application_keys/client.py +0 -354
- basistheoryclient-0.0.1/src/basis_theory/application_templates/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/application_templates/client.py +0 -166
- basistheoryclient-0.0.1/src/basis_theory/applications/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/applications/client.py +0 -582
- basistheoryclient-0.0.1/src/basis_theory/connection/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/client.py +0 -128
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/domain/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/domain/client.py +0 -309
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/domain/raw_client.py +0 -631
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/raw_client.py +0 -216
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/session/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/session/client.py +0 -130
- basistheoryclient-0.0.1/src/basis_theory/connection/apple_pay/session/raw_client.py +0 -225
- basistheoryclient-0.0.1/src/basis_theory/connection/client.py +0 -39
- basistheoryclient-0.0.1/src/basis_theory/connection/raw_client.py +0 -13
- basistheoryclient-0.0.1/src/basis_theory/core/api_error.py +0 -23
- basistheoryclient-0.0.1/src/basis_theory/core/client_wrapper.py +0 -89
- basistheoryclient-0.0.1/src/basis_theory/core/force_multipart.py +0 -16
- basistheoryclient-0.0.1/src/basis_theory/core/http_response.py +0 -55
- basistheoryclient-0.0.1/src/basis_theory/core/pagination.py +0 -82
- basistheoryclient-0.0.1/src/basis_theory/documents/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/documents/client.py +0 -258
- basistheoryclient-0.0.1/src/basis_theory/documents/data/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/documents/data/client.py +0 -78
- basistheoryclient-0.0.1/src/basis_theory/documents/data/raw_client.py +0 -173
- basistheoryclient-0.0.1/src/basis_theory/documents/raw_client.py +0 -442
- basistheoryclient-0.0.1/src/basis_theory/enrichments/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/enrichments/client.py +0 -135
- basistheoryclient-0.0.1/src/basis_theory/enrichments/raw_client.py +0 -203
- basistheoryclient-0.0.1/src/basis_theory/errors/internal_server_error.py +0 -11
- basistheoryclient-0.0.1/src/basis_theory/errors/not_found_error.py +0 -10
- basistheoryclient-0.0.1/src/basis_theory/errors/service_unavailable_error.py +0 -11
- basistheoryclient-0.0.1/src/basis_theory/googlepay/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/googlepay/client.py +0 -120
- basistheoryclient-0.0.1/src/basis_theory/googlepay/raw_client.py +0 -239
- basistheoryclient-0.0.1/src/basis_theory/keys/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/keys/client.py +0 -313
- basistheoryclient-0.0.1/src/basis_theory/keys/raw_client.py +0 -673
- basistheoryclient-0.0.1/src/basis_theory/logs/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/logs/client.py +0 -240
- basistheoryclient-0.0.1/src/basis_theory/network_tokens/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/network_tokens/client.py +0 -478
- basistheoryclient-0.0.1/src/basis_theory/network_tokens/raw_client.py +0 -1113
- basistheoryclient-0.0.1/src/basis_theory/permissions/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/permissions/client.py +0 -106
- basistheoryclient-0.0.1/src/basis_theory/proxies/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/proxies/client.py +0 -751
- basistheoryclient-0.0.1/src/basis_theory/reactors/client.py +0 -823
- basistheoryclient-0.0.1/src/basis_theory/reactors/results/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/reactors/results/client.py +0 -115
- basistheoryclient-0.0.1/src/basis_theory/roles/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/roles/client.py +0 -98
- basistheoryclient-0.0.1/src/basis_theory/sessions/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/sessions/client.py +0 -222
- basistheoryclient-0.0.1/src/basis_theory/tenants/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/tenants/client.py +0 -59
- basistheoryclient-0.0.1/src/basis_theory/tenants/connections/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tenants/connections/client.py +0 -198
- basistheoryclient-0.0.1/src/basis_theory/tenants/invitations/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tenants/invitations/client.py +0 -458
- basistheoryclient-0.0.1/src/basis_theory/tenants/members/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tenants/members/client.py +0 -296
- basistheoryclient-0.0.1/src/basis_theory/tenants/owner/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tenants/owner/client.py +0 -98
- basistheoryclient-0.0.1/src/basis_theory/tenants/owner/raw_client.py +0 -157
- basistheoryclient-0.0.1/src/basis_theory/tenants/raw_client.py +0 -13
- basistheoryclient-0.0.1/src/basis_theory/tenants/self_/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tenants/self_/client.py +0 -308
- basistheoryclient-0.0.1/src/basis_theory/threeds/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/threeds/client.py +0 -39
- basistheoryclient-0.0.1/src/basis_theory/threeds/raw_client.py +0 -13
- basistheoryclient-0.0.1/src/basis_theory/threeds/sessions/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/threeds/sessions/client.py +0 -521
- basistheoryclient-0.0.1/src/basis_theory/threeds/sessions/raw_client.py +0 -808
- basistheoryclient-0.0.1/src/basis_theory/token_intents/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/token_intents/client.py +0 -258
- basistheoryclient-0.0.1/src/basis_theory/token_intents/raw_client.py +0 -454
- basistheoryclient-0.0.1/src/basis_theory/tokens/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/tokens/client.py +0 -1015
- basistheoryclient-0.0.1/src/basis_theory/types/account_updater_job.py +0 -55
- basistheoryclient-0.0.1/src/basis_theory/types/account_updater_job_list.py +0 -22
- basistheoryclient-0.0.1/src/basis_theory/types/account_updater_job_list_pagination.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/account_updater_job_status.py +0 -5
- basistheoryclient-0.0.1/src/basis_theory/types/account_updater_real_time_response.py +0 -24
- basistheoryclient-0.0.1/src/basis_theory/types/additional_card_details.py +0 -23
- basistheoryclient-0.0.1/src/basis_theory/types/address.py +0 -25
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_create_token_response.py +0 -28
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_domain_deregistration_request.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_domain_registration_list_request.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_domain_registration_request.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_domain_registration_response.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_method_token.py +0 -25
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_session_request.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_token.py +0 -33
- basistheoryclient-0.0.1/src/basis_theory/types/apple_pay_tokenize_response.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/assurance_details.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/async_react_response.py +0 -23
- basistheoryclient-0.0.1/src/basis_theory/types/authenticate_three_ds_session_request.py +0 -35
- basistheoryclient-0.0.1/src/basis_theory/types/authentication.py +0 -22
- basistheoryclient-0.0.1/src/basis_theory/types/authentication_response.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/bank_details.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/bank_verification_response.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/card.py +0 -22
- basistheoryclient-0.0.1/src/basis_theory/types/card_details.py +0 -32
- basistheoryclient-0.0.1/src/basis_theory/types/card_issuer.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/card_issuer_country.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/cardholder_info.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/client_encryption_key_metadata_response.py +0 -23
- basistheoryclient-0.0.1/src/basis_theory/types/client_encryption_key_response.py +0 -24
- basistheoryclient-0.0.1/src/basis_theory/types/create_account_updater_job_request.py +0 -22
- basistheoryclient-0.0.1/src/basis_theory/types/create_document_request.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/create_reactor_formula_request.py +0 -28
- basistheoryclient-0.0.1/src/basis_theory/types/create_three_ds_session_response.py +0 -29
- basistheoryclient-0.0.1/src/basis_theory/types/create_token_intent_response.py +0 -36
- basistheoryclient-0.0.1/src/basis_theory/types/document.py +0 -25
- basistheoryclient-0.0.1/src/basis_theory/types/domain_registration_response.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/get_tokens_v2.py +0 -24
- basistheoryclient-0.0.1/src/basis_theory/types/google_pay_tokenize_response.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/google_payment_method_token.py +0 -27
- basistheoryclient-0.0.1/src/basis_theory/types/header.py +0 -26
- basistheoryclient-0.0.1/src/basis_theory/types/intermediate_signing_key.py +0 -22
- basistheoryclient-0.0.1/src/basis_theory/types/network_token.py +0 -38
- basistheoryclient-0.0.1/src/basis_theory/types/network_token_cryptogram.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/network_token_extras.py +0 -19
- basistheoryclient-0.0.1/src/basis_theory/types/payment_data.py +0 -23
- basistheoryclient-0.0.1/src/basis_theory/types/submerchant_authentication_response.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/three_ds_callback_urls.py +0 -20
- basistheoryclient-0.0.1/src/basis_theory/types/token_extras.py +0 -24
- basistheoryclient-0.0.1/src/basis_theory/types/token_intent.py +0 -36
- basistheoryclient-0.0.1/src/basis_theory/types/token_intent_extras.py +0 -21
- basistheoryclient-0.0.1/src/basis_theory/types/token_service_provider_details.py +0 -34
- basistheoryclient-0.0.1/src/basis_theory/types/update_reactor_formula_request.py +0 -27
- basistheoryclient-0.0.1/src/basis_theory/webhooks/__init__.py +0 -7
- basistheoryclient-0.0.1/src/basis_theory/webhooks/client.py +0 -543
- basistheoryclient-0.0.1/src/basis_theory/webhooks/events/__init__.py +0 -4
- basistheoryclient-0.0.1/src/basis_theory/webhooks/events/client.py +0 -102
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/datetime_utils.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/query_encoder.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/core/remove_none_from_dict.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/environment.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/py.typed +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/event_types.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/public_key.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/tenant_invitation_status.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/types/webhook_status.py +0 -0
- {basistheoryclient-0.0.1 → basistheoryclient-0.1.0}/src/basis_theory/version.py +0 -0
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: basistheoryclient
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary:
|
|
5
|
-
License: Apache-2.0
|
|
6
5
|
Requires-Python: >=3.8,<4.0
|
|
7
6
|
Classifier: Intended Audience :: Developers
|
|
8
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
9
7
|
Classifier: Operating System :: MacOS
|
|
10
8
|
Classifier: Operating System :: Microsoft :: Windows
|
|
11
9
|
Classifier: Operating System :: OS Independent
|
|
@@ -22,7 +20,7 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
|
22
20
|
Classifier: Typing :: Typed
|
|
23
21
|
Requires-Dist: httpx (>=0.21.2)
|
|
24
22
|
Requires-Dist: pydantic (>=1.9.2)
|
|
25
|
-
Requires-Dist: pydantic-core (>=2.18.2)
|
|
23
|
+
Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
|
|
26
24
|
Requires-Dist: typing_extensions (>=4.0.0)
|
|
27
25
|
Description-Content-Type: text/markdown
|
|
28
26
|
|
|
@@ -51,7 +49,6 @@ Instantiate and use the client with the following:
|
|
|
51
49
|
from basis_theory import BasisTheory
|
|
52
50
|
|
|
53
51
|
client = BasisTheory(
|
|
54
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
55
52
|
api_key="YOUR_API_KEY",
|
|
56
53
|
)
|
|
57
54
|
client.tenants.self_.get()
|
|
@@ -67,7 +64,6 @@ import asyncio
|
|
|
67
64
|
from basis_theory import AsyncBasisTheory
|
|
68
65
|
|
|
69
66
|
client = AsyncBasisTheory(
|
|
70
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
71
67
|
api_key="YOUR_API_KEY",
|
|
72
68
|
)
|
|
73
69
|
|
|
@@ -102,7 +98,6 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
|
|
|
102
98
|
from basis_theory import BasisTheory
|
|
103
99
|
|
|
104
100
|
client = BasisTheory(
|
|
105
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
106
101
|
api_key="YOUR_API_KEY",
|
|
107
102
|
)
|
|
108
103
|
response = client.applications.list()
|
|
@@ -115,37 +110,13 @@ for page in response.iter_pages():
|
|
|
115
110
|
|
|
116
111
|
## Advanced
|
|
117
112
|
|
|
118
|
-
### Access Raw Response Data
|
|
119
|
-
|
|
120
|
-
The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
|
|
121
|
-
The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
|
|
122
|
-
|
|
123
|
-
```python
|
|
124
|
-
from basis_theory import BasisTheory
|
|
125
|
-
|
|
126
|
-
client = BasisTheory(
|
|
127
|
-
...,
|
|
128
|
-
)
|
|
129
|
-
response = client.tenants.self_.with_raw_response.get(...)
|
|
130
|
-
print(response.headers) # access the response headers
|
|
131
|
-
print(response.data) # access the underlying object
|
|
132
|
-
pager = client.applications.list(...)
|
|
133
|
-
print(pager.response.headers) # access the response headers for the first page
|
|
134
|
-
for item in pager:
|
|
135
|
-
print(item) # access the underlying object(s)
|
|
136
|
-
for page in pager.iter_pages():
|
|
137
|
-
print(page.response.headers) # access the response headers for each page
|
|
138
|
-
for item in page:
|
|
139
|
-
print(item) # access the underlying object(s)
|
|
140
|
-
```
|
|
141
|
-
|
|
142
113
|
### Retries
|
|
143
114
|
|
|
144
115
|
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
|
145
|
-
as the request is deemed
|
|
116
|
+
as the request is deemed retriable and the number of retry attempts has not grown larger than the configured
|
|
146
117
|
retry limit (default: 2).
|
|
147
118
|
|
|
148
|
-
A request is deemed
|
|
119
|
+
A request is deemed retriable when any of the following HTTP status codes is returned:
|
|
149
120
|
|
|
150
121
|
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
151
122
|
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
@@ -154,7 +125,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
|
|
|
154
125
|
Use the `max_retries` request option to configure this behavior.
|
|
155
126
|
|
|
156
127
|
```python
|
|
157
|
-
client.tenants.self_.get(...,
|
|
128
|
+
client.tenants.self_.get(..., {
|
|
158
129
|
"max_retries": 1
|
|
159
130
|
})
|
|
160
131
|
```
|
|
@@ -174,7 +145,7 @@ client = BasisTheory(
|
|
|
174
145
|
|
|
175
146
|
|
|
176
147
|
# Override timeout for a specific method
|
|
177
|
-
client.tenants.self_.get(...,
|
|
148
|
+
client.tenants.self_.get(..., {
|
|
178
149
|
"timeout_in_seconds": 1
|
|
179
150
|
})
|
|
180
151
|
```
|
|
@@ -183,7 +154,6 @@ client.tenants.self_.get(..., request_options={
|
|
|
183
154
|
|
|
184
155
|
You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
|
|
185
156
|
and transports.
|
|
186
|
-
|
|
187
157
|
```python
|
|
188
158
|
import httpx
|
|
189
159
|
from basis_theory import BasisTheory
|
|
@@ -206,8 +176,4 @@ a proof of concept, but know that we will not be able to merge it as-is. We sugg
|
|
|
206
176
|
an issue first to discuss with us!
|
|
207
177
|
|
|
208
178
|
On the other hand, contributions to the README are always very welcome!
|
|
209
|
-
## Reference
|
|
210
|
-
|
|
211
|
-
A full reference for this library is available [here](https://github.com/Basis-Theory/python-sdk/blob/HEAD/./reference.md).
|
|
212
|
-
|
|
213
179
|
|
|
@@ -23,7 +23,6 @@ Instantiate and use the client with the following:
|
|
|
23
23
|
from basis_theory import BasisTheory
|
|
24
24
|
|
|
25
25
|
client = BasisTheory(
|
|
26
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
27
26
|
api_key="YOUR_API_KEY",
|
|
28
27
|
)
|
|
29
28
|
client.tenants.self_.get()
|
|
@@ -39,7 +38,6 @@ import asyncio
|
|
|
39
38
|
from basis_theory import AsyncBasisTheory
|
|
40
39
|
|
|
41
40
|
client = AsyncBasisTheory(
|
|
42
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
43
41
|
api_key="YOUR_API_KEY",
|
|
44
42
|
)
|
|
45
43
|
|
|
@@ -74,7 +72,6 @@ Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used
|
|
|
74
72
|
from basis_theory import BasisTheory
|
|
75
73
|
|
|
76
74
|
client = BasisTheory(
|
|
77
|
-
correlation_id="YOUR_CORRELATION_ID",
|
|
78
75
|
api_key="YOUR_API_KEY",
|
|
79
76
|
)
|
|
80
77
|
response = client.applications.list()
|
|
@@ -87,37 +84,13 @@ for page in response.iter_pages():
|
|
|
87
84
|
|
|
88
85
|
## Advanced
|
|
89
86
|
|
|
90
|
-
### Access Raw Response Data
|
|
91
|
-
|
|
92
|
-
The SDK provides access to raw response data, including headers, through the `.with_raw_response` property.
|
|
93
|
-
The `.with_raw_response` property returns a "raw" client that can be used to access the `.headers` and `.data` attributes.
|
|
94
|
-
|
|
95
|
-
```python
|
|
96
|
-
from basis_theory import BasisTheory
|
|
97
|
-
|
|
98
|
-
client = BasisTheory(
|
|
99
|
-
...,
|
|
100
|
-
)
|
|
101
|
-
response = client.tenants.self_.with_raw_response.get(...)
|
|
102
|
-
print(response.headers) # access the response headers
|
|
103
|
-
print(response.data) # access the underlying object
|
|
104
|
-
pager = client.applications.list(...)
|
|
105
|
-
print(pager.response.headers) # access the response headers for the first page
|
|
106
|
-
for item in pager:
|
|
107
|
-
print(item) # access the underlying object(s)
|
|
108
|
-
for page in pager.iter_pages():
|
|
109
|
-
print(page.response.headers) # access the response headers for each page
|
|
110
|
-
for item in page:
|
|
111
|
-
print(item) # access the underlying object(s)
|
|
112
|
-
```
|
|
113
|
-
|
|
114
87
|
### Retries
|
|
115
88
|
|
|
116
89
|
The SDK is instrumented with automatic retries with exponential backoff. A request will be retried as long
|
|
117
|
-
as the request is deemed
|
|
90
|
+
as the request is deemed retriable and the number of retry attempts has not grown larger than the configured
|
|
118
91
|
retry limit (default: 2).
|
|
119
92
|
|
|
120
|
-
A request is deemed
|
|
93
|
+
A request is deemed retriable when any of the following HTTP status codes is returned:
|
|
121
94
|
|
|
122
95
|
- [408](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408) (Timeout)
|
|
123
96
|
- [429](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429) (Too Many Requests)
|
|
@@ -126,7 +99,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
|
|
|
126
99
|
Use the `max_retries` request option to configure this behavior.
|
|
127
100
|
|
|
128
101
|
```python
|
|
129
|
-
client.tenants.self_.get(...,
|
|
102
|
+
client.tenants.self_.get(..., {
|
|
130
103
|
"max_retries": 1
|
|
131
104
|
})
|
|
132
105
|
```
|
|
@@ -146,7 +119,7 @@ client = BasisTheory(
|
|
|
146
119
|
|
|
147
120
|
|
|
148
121
|
# Override timeout for a specific method
|
|
149
|
-
client.tenants.self_.get(...,
|
|
122
|
+
client.tenants.self_.get(..., {
|
|
150
123
|
"timeout_in_seconds": 1
|
|
151
124
|
})
|
|
152
125
|
```
|
|
@@ -155,7 +128,6 @@ client.tenants.self_.get(..., request_options={
|
|
|
155
128
|
|
|
156
129
|
You can override the `httpx` client to customize it for your use-case. Some common use-cases include support for proxies
|
|
157
130
|
and transports.
|
|
158
|
-
|
|
159
131
|
```python
|
|
160
132
|
import httpx
|
|
161
133
|
from basis_theory import BasisTheory
|
|
@@ -178,7 +150,3 @@ a proof of concept, but know that we will not be able to merge it as-is. We sugg
|
|
|
178
150
|
an issue first to discuss with us!
|
|
179
151
|
|
|
180
152
|
On the other hand, contributions to the README are always very welcome!
|
|
181
|
-
## Reference
|
|
182
|
-
|
|
183
|
-
A full reference for this library is available [here](https://github.com/Basis-Theory/python-sdk/blob/HEAD/./reference.md).
|
|
184
|
-
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
[project]
|
|
2
|
-
name = "BasisTheoryClient"
|
|
3
|
-
|
|
4
1
|
[tool.poetry]
|
|
5
2
|
name = "BasisTheoryClient"
|
|
6
|
-
version = "0.0
|
|
3
|
+
version = "0.1.0"
|
|
7
4
|
description = ""
|
|
8
5
|
readme = "README.md"
|
|
9
6
|
authors = []
|
|
10
7
|
keywords = []
|
|
11
|
-
|
|
8
|
+
|
|
12
9
|
classifiers = [
|
|
13
10
|
"Intended Audience :: Developers",
|
|
14
11
|
"Programming Language :: Python",
|
|
@@ -24,8 +21,7 @@ classifiers = [
|
|
|
24
21
|
"Operating System :: POSIX :: Linux",
|
|
25
22
|
"Operating System :: Microsoft :: Windows",
|
|
26
23
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
27
|
-
"Typing :: Typed"
|
|
28
|
-
"License :: OSI Approved :: Apache Software License"
|
|
24
|
+
"Typing :: Typed"
|
|
29
25
|
]
|
|
30
26
|
packages = [
|
|
31
27
|
{ include = "basis_theory", from = "src"}
|
|
@@ -38,16 +34,16 @@ Repository = 'https://github.com/Basis-Theory/python-sdk'
|
|
|
38
34
|
python = "^3.8"
|
|
39
35
|
httpx = ">=0.21.2"
|
|
40
36
|
pydantic = ">= 1.9.2"
|
|
41
|
-
pydantic-core = "
|
|
37
|
+
pydantic-core = "^2.18.2"
|
|
42
38
|
typing_extensions = ">= 4.0.0"
|
|
43
39
|
|
|
44
|
-
[tool.poetry.
|
|
45
|
-
mypy = "
|
|
40
|
+
[tool.poetry.dev-dependencies]
|
|
41
|
+
mypy = "1.0.1"
|
|
46
42
|
pytest = "^7.4.0"
|
|
47
43
|
pytest-asyncio = "^0.23.5"
|
|
48
44
|
python-dateutil = "^2.9.0"
|
|
49
45
|
types-python-dateutil = "^2.9.0.20240316"
|
|
50
|
-
ruff = "
|
|
46
|
+
ruff = "^0.5.6"
|
|
51
47
|
|
|
52
48
|
[tool.pytest.ini_options]
|
|
53
49
|
testpaths = [ "tests" ]
|
|
@@ -59,26 +55,6 @@ plugins = ["pydantic.mypy"]
|
|
|
59
55
|
[tool.ruff]
|
|
60
56
|
line-length = 120
|
|
61
57
|
|
|
62
|
-
[tool.ruff.lint]
|
|
63
|
-
select = [
|
|
64
|
-
"E", # pycodestyle errors
|
|
65
|
-
"F", # pyflakes
|
|
66
|
-
"I", # isort
|
|
67
|
-
]
|
|
68
|
-
ignore = [
|
|
69
|
-
"E402", # Module level import not at top of file
|
|
70
|
-
"E501", # Line too long
|
|
71
|
-
"E711", # Comparison to `None` should be `cond is not None`
|
|
72
|
-
"E712", # Avoid equality comparisons to `True`; use `if ...:` checks
|
|
73
|
-
"E721", # Use `is` and `is not` for type comparisons, or `isinstance()` for insinstance checks
|
|
74
|
-
"E722", # Do not use bare `except`
|
|
75
|
-
"E731", # Do not assign a `lambda` expression, use a `def`
|
|
76
|
-
"F821", # Undefined name
|
|
77
|
-
"F841" # Local variable ... is assigned to but never used
|
|
78
|
-
]
|
|
79
|
-
|
|
80
|
-
[tool.ruff.lint.isort]
|
|
81
|
-
section-order = ["future", "standard-library", "third-party", "first-party"]
|
|
82
58
|
|
|
83
59
|
[build-system]
|
|
84
60
|
requires = ["poetry-core"]
|
|
@@ -1,59 +1,20 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
# isort: skip_file
|
|
4
|
-
|
|
5
3
|
from .types import (
|
|
6
4
|
AccessRule,
|
|
7
|
-
AccountUpdaterJob,
|
|
8
|
-
AccountUpdaterJobList,
|
|
9
|
-
AccountUpdaterJobListPagination,
|
|
10
|
-
AccountUpdaterJobStatus,
|
|
11
|
-
AccountUpdaterRealTimeResponse,
|
|
12
|
-
AdditionalCardDetails,
|
|
13
|
-
Address,
|
|
14
|
-
ApplePayCreateResponse,
|
|
15
|
-
ApplePayCreateTokenResponse,
|
|
16
|
-
ApplePayDomainDeregistrationRequest,
|
|
17
|
-
ApplePayDomainRegistrationListRequest,
|
|
18
|
-
ApplePayDomainRegistrationRequest,
|
|
19
|
-
ApplePayDomainRegistrationResponse,
|
|
20
|
-
ApplePayMethodToken,
|
|
21
|
-
ApplePaySessionRequest,
|
|
22
|
-
ApplePayToken,
|
|
23
|
-
ApplePayTokenizeResponse,
|
|
24
5
|
Application,
|
|
25
6
|
ApplicationKey,
|
|
26
7
|
ApplicationPaginatedList,
|
|
27
8
|
ApplicationTemplate,
|
|
28
|
-
AssuranceDetails,
|
|
29
|
-
AsyncReactResponse,
|
|
30
|
-
AuthenticateThreeDsSessionRequest,
|
|
31
|
-
Authentication,
|
|
32
|
-
AuthenticationResponse,
|
|
33
|
-
BankDetails,
|
|
34
|
-
BankVerificationResponse,
|
|
35
9
|
BinDetails,
|
|
36
10
|
BinDetailsBank,
|
|
37
11
|
BinDetailsCountry,
|
|
38
12
|
BinDetailsProduct,
|
|
39
|
-
Card,
|
|
40
13
|
CardDetails,
|
|
41
|
-
CardIssuer,
|
|
42
|
-
CardIssuerCountry,
|
|
43
|
-
CardholderInfo,
|
|
44
|
-
ClientEncryptionKeyMetadataResponse,
|
|
45
|
-
ClientEncryptionKeyResponse,
|
|
46
14
|
Condition,
|
|
47
|
-
CreateAccountUpdaterJobRequest,
|
|
48
|
-
CreateDocumentRequest,
|
|
49
|
-
CreateReactorFormulaRequest,
|
|
50
15
|
CreateSessionResponse,
|
|
51
16
|
CreateTenantConnectionResponse,
|
|
52
|
-
CreateThreeDsSessionResponse,
|
|
53
|
-
CreateTokenIntentResponse,
|
|
54
17
|
CursorPagination,
|
|
55
|
-
Document,
|
|
56
|
-
DomainRegistrationResponse,
|
|
57
18
|
EventTypes,
|
|
58
19
|
GetApplications,
|
|
59
20
|
GetLogs,
|
|
@@ -65,18 +26,10 @@ from .types import (
|
|
|
65
26
|
GetTenantMembers,
|
|
66
27
|
GetTokens,
|
|
67
28
|
GetTokensV2,
|
|
68
|
-
GooglePayTokenizeResponse,
|
|
69
|
-
GooglePaymentMethodToken,
|
|
70
|
-
Header,
|
|
71
|
-
IntermediateSigningKey,
|
|
72
29
|
Log,
|
|
73
30
|
LogEntityType,
|
|
74
31
|
LogPaginatedList,
|
|
75
|
-
NetworkToken,
|
|
76
|
-
NetworkTokenCryptogram,
|
|
77
|
-
NetworkTokenExtras,
|
|
78
32
|
Pagination,
|
|
79
|
-
PaymentData,
|
|
80
33
|
Permission,
|
|
81
34
|
Privacy,
|
|
82
35
|
ProblemDetails,
|
|
@@ -93,7 +46,6 @@ from .types import (
|
|
|
93
46
|
ReactorPaginatedList,
|
|
94
47
|
Role,
|
|
95
48
|
StringStringKeyValuePair,
|
|
96
|
-
SubmerchantAuthenticationResponse,
|
|
97
49
|
Tenant,
|
|
98
50
|
TenantConnectionOptions,
|
|
99
51
|
TenantInvitationResponse,
|
|
@@ -105,7 +57,6 @@ from .types import (
|
|
|
105
57
|
ThreeDsAcsRenderingType,
|
|
106
58
|
ThreeDsAddress,
|
|
107
59
|
ThreeDsAuthentication,
|
|
108
|
-
ThreeDsCallbackUrls,
|
|
109
60
|
ThreeDsCardholderAccountInfo,
|
|
110
61
|
ThreeDsCardholderAuthenticationInfo,
|
|
111
62
|
ThreeDsCardholderInfo,
|
|
@@ -124,14 +75,10 @@ from .types import (
|
|
|
124
75
|
Token,
|
|
125
76
|
TokenCursorPaginatedList,
|
|
126
77
|
TokenEnrichments,
|
|
127
|
-
|
|
128
|
-
TokenExtras,
|
|
129
|
-
TokenIntent,
|
|
130
|
-
TokenIntentExtras,
|
|
78
|
+
TokenMetrics,
|
|
131
79
|
TokenPaginatedList,
|
|
132
|
-
|
|
80
|
+
TokenReport,
|
|
133
81
|
UpdatePrivacy,
|
|
134
|
-
UpdateReactorFormulaRequest,
|
|
135
82
|
User,
|
|
136
83
|
ValidationProblemDetails,
|
|
137
84
|
Webhook,
|
|
@@ -143,33 +90,23 @@ from .errors import (
|
|
|
143
90
|
BadRequestError,
|
|
144
91
|
ConflictError,
|
|
145
92
|
ForbiddenError,
|
|
146
|
-
InternalServerError,
|
|
147
93
|
NotFoundError,
|
|
148
|
-
ServiceUnavailableError,
|
|
149
94
|
UnauthorizedError,
|
|
150
95
|
UnprocessableEntityError,
|
|
151
96
|
)
|
|
152
97
|
from . import (
|
|
153
|
-
account_updater,
|
|
154
|
-
apple_pay,
|
|
155
98
|
application_keys,
|
|
156
99
|
application_templates,
|
|
157
100
|
applications,
|
|
158
|
-
connection,
|
|
159
|
-
documents,
|
|
160
|
-
enrichments,
|
|
161
|
-
googlepay,
|
|
162
|
-
keys,
|
|
163
101
|
logs,
|
|
164
|
-
network_tokens,
|
|
165
102
|
permissions,
|
|
166
103
|
proxies,
|
|
104
|
+
reactorformulas,
|
|
167
105
|
reactors,
|
|
168
106
|
roles,
|
|
169
107
|
sessions,
|
|
170
108
|
tenants,
|
|
171
109
|
threeds,
|
|
172
|
-
token_intents,
|
|
173
110
|
tokens,
|
|
174
111
|
webhooks,
|
|
175
112
|
)
|
|
@@ -179,61 +116,24 @@ from .version import __version__
|
|
|
179
116
|
|
|
180
117
|
__all__ = [
|
|
181
118
|
"AccessRule",
|
|
182
|
-
"AccountUpdaterJob",
|
|
183
|
-
"AccountUpdaterJobList",
|
|
184
|
-
"AccountUpdaterJobListPagination",
|
|
185
|
-
"AccountUpdaterJobStatus",
|
|
186
|
-
"AccountUpdaterRealTimeResponse",
|
|
187
|
-
"AdditionalCardDetails",
|
|
188
|
-
"Address",
|
|
189
|
-
"ApplePayCreateResponse",
|
|
190
|
-
"ApplePayCreateTokenResponse",
|
|
191
|
-
"ApplePayDomainDeregistrationRequest",
|
|
192
|
-
"ApplePayDomainRegistrationListRequest",
|
|
193
|
-
"ApplePayDomainRegistrationRequest",
|
|
194
|
-
"ApplePayDomainRegistrationResponse",
|
|
195
|
-
"ApplePayMethodToken",
|
|
196
|
-
"ApplePaySessionRequest",
|
|
197
|
-
"ApplePayToken",
|
|
198
|
-
"ApplePayTokenizeResponse",
|
|
199
119
|
"Application",
|
|
200
120
|
"ApplicationKey",
|
|
201
121
|
"ApplicationPaginatedList",
|
|
202
122
|
"ApplicationTemplate",
|
|
203
|
-
"AssuranceDetails",
|
|
204
123
|
"AsyncBasisTheory",
|
|
205
|
-
"AsyncReactResponse",
|
|
206
|
-
"AuthenticateThreeDsSessionRequest",
|
|
207
|
-
"Authentication",
|
|
208
|
-
"AuthenticationResponse",
|
|
209
124
|
"BadRequestError",
|
|
210
|
-
"BankDetails",
|
|
211
|
-
"BankVerificationResponse",
|
|
212
125
|
"BasisTheory",
|
|
213
126
|
"BasisTheoryEnvironment",
|
|
214
127
|
"BinDetails",
|
|
215
128
|
"BinDetailsBank",
|
|
216
129
|
"BinDetailsCountry",
|
|
217
130
|
"BinDetailsProduct",
|
|
218
|
-
"Card",
|
|
219
131
|
"CardDetails",
|
|
220
|
-
"CardIssuer",
|
|
221
|
-
"CardIssuerCountry",
|
|
222
|
-
"CardholderInfo",
|
|
223
|
-
"ClientEncryptionKeyMetadataResponse",
|
|
224
|
-
"ClientEncryptionKeyResponse",
|
|
225
132
|
"Condition",
|
|
226
133
|
"ConflictError",
|
|
227
|
-
"CreateAccountUpdaterJobRequest",
|
|
228
|
-
"CreateDocumentRequest",
|
|
229
|
-
"CreateReactorFormulaRequest",
|
|
230
134
|
"CreateSessionResponse",
|
|
231
135
|
"CreateTenantConnectionResponse",
|
|
232
|
-
"CreateThreeDsSessionResponse",
|
|
233
|
-
"CreateTokenIntentResponse",
|
|
234
136
|
"CursorPagination",
|
|
235
|
-
"Document",
|
|
236
|
-
"DomainRegistrationResponse",
|
|
237
137
|
"EventTypes",
|
|
238
138
|
"ForbiddenError",
|
|
239
139
|
"GetApplications",
|
|
@@ -246,20 +146,11 @@ __all__ = [
|
|
|
246
146
|
"GetTenantMembers",
|
|
247
147
|
"GetTokens",
|
|
248
148
|
"GetTokensV2",
|
|
249
|
-
"GooglePayTokenizeResponse",
|
|
250
|
-
"GooglePaymentMethodToken",
|
|
251
|
-
"Header",
|
|
252
|
-
"IntermediateSigningKey",
|
|
253
|
-
"InternalServerError",
|
|
254
149
|
"Log",
|
|
255
150
|
"LogEntityType",
|
|
256
151
|
"LogPaginatedList",
|
|
257
|
-
"NetworkToken",
|
|
258
|
-
"NetworkTokenCryptogram",
|
|
259
|
-
"NetworkTokenExtras",
|
|
260
152
|
"NotFoundError",
|
|
261
153
|
"Pagination",
|
|
262
|
-
"PaymentData",
|
|
263
154
|
"Permission",
|
|
264
155
|
"Privacy",
|
|
265
156
|
"ProblemDetails",
|
|
@@ -275,9 +166,7 @@ __all__ = [
|
|
|
275
166
|
"ReactorFormulaRequestParameter",
|
|
276
167
|
"ReactorPaginatedList",
|
|
277
168
|
"Role",
|
|
278
|
-
"ServiceUnavailableError",
|
|
279
169
|
"StringStringKeyValuePair",
|
|
280
|
-
"SubmerchantAuthenticationResponse",
|
|
281
170
|
"Tenant",
|
|
282
171
|
"TenantConnectionOptions",
|
|
283
172
|
"TenantInvitationResponse",
|
|
@@ -289,7 +178,6 @@ __all__ = [
|
|
|
289
178
|
"ThreeDsAcsRenderingType",
|
|
290
179
|
"ThreeDsAddress",
|
|
291
180
|
"ThreeDsAuthentication",
|
|
292
|
-
"ThreeDsCallbackUrls",
|
|
293
181
|
"ThreeDsCardholderAccountInfo",
|
|
294
182
|
"ThreeDsCardholderAuthenticationInfo",
|
|
295
183
|
"ThreeDsCardholderInfo",
|
|
@@ -308,16 +196,12 @@ __all__ = [
|
|
|
308
196
|
"Token",
|
|
309
197
|
"TokenCursorPaginatedList",
|
|
310
198
|
"TokenEnrichments",
|
|
311
|
-
"
|
|
312
|
-
"TokenExtras",
|
|
313
|
-
"TokenIntent",
|
|
314
|
-
"TokenIntentExtras",
|
|
199
|
+
"TokenMetrics",
|
|
315
200
|
"TokenPaginatedList",
|
|
316
|
-
"
|
|
201
|
+
"TokenReport",
|
|
317
202
|
"UnauthorizedError",
|
|
318
203
|
"UnprocessableEntityError",
|
|
319
204
|
"UpdatePrivacy",
|
|
320
|
-
"UpdateReactorFormulaRequest",
|
|
321
205
|
"User",
|
|
322
206
|
"ValidationProblemDetails",
|
|
323
207
|
"Webhook",
|
|
@@ -325,26 +209,18 @@ __all__ = [
|
|
|
325
209
|
"WebhookListPagination",
|
|
326
210
|
"WebhookStatus",
|
|
327
211
|
"__version__",
|
|
328
|
-
"account_updater",
|
|
329
|
-
"apple_pay",
|
|
330
212
|
"application_keys",
|
|
331
213
|
"application_templates",
|
|
332
214
|
"applications",
|
|
333
|
-
"connection",
|
|
334
|
-
"documents",
|
|
335
|
-
"enrichments",
|
|
336
|
-
"googlepay",
|
|
337
|
-
"keys",
|
|
338
215
|
"logs",
|
|
339
|
-
"network_tokens",
|
|
340
216
|
"permissions",
|
|
341
217
|
"proxies",
|
|
218
|
+
"reactorformulas",
|
|
342
219
|
"reactors",
|
|
343
220
|
"roles",
|
|
344
221
|
"sessions",
|
|
345
222
|
"tenants",
|
|
346
223
|
"threeds",
|
|
347
|
-
"token_intents",
|
|
348
224
|
"tokens",
|
|
349
225
|
"webhooks",
|
|
350
226
|
]
|