BasisTheoryClient 0.0.1__py3-none-any.whl
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.
- basis_theory/__init__.py +350 -0
- basis_theory/account_updater/__init__.py +7 -0
- basis_theory/account_updater/client.py +44 -0
- basis_theory/account_updater/jobs/__init__.py +4 -0
- basis_theory/account_updater/jobs/client.py +259 -0
- basis_theory/account_updater/jobs/raw_client.py +450 -0
- basis_theory/account_updater/raw_client.py +13 -0
- basis_theory/account_updater/real_time/__init__.py +4 -0
- basis_theory/account_updater/real_time/client.py +161 -0
- basis_theory/account_updater/real_time/raw_client.py +246 -0
- basis_theory/apple_pay/__init__.py +7 -0
- basis_theory/apple_pay/client.py +267 -0
- basis_theory/apple_pay/domain/__init__.py +4 -0
- basis_theory/apple_pay/domain/client.py +309 -0
- basis_theory/apple_pay/domain/raw_client.py +631 -0
- basis_theory/apple_pay/raw_client.py +499 -0
- basis_theory/apple_pay/session/__init__.py +4 -0
- basis_theory/apple_pay/session/client.py +130 -0
- basis_theory/apple_pay/session/raw_client.py +225 -0
- basis_theory/application_keys/__init__.py +4 -0
- basis_theory/application_keys/client.py +354 -0
- basis_theory/application_keys/raw_client.py +615 -0
- basis_theory/application_templates/__init__.py +4 -0
- basis_theory/application_templates/client.py +166 -0
- basis_theory/application_templates/raw_client.py +253 -0
- basis_theory/applications/__init__.py +4 -0
- basis_theory/applications/client.py +582 -0
- basis_theory/applications/raw_client.py +1030 -0
- basis_theory/client.py +230 -0
- basis_theory/connection/__init__.py +7 -0
- basis_theory/connection/apple_pay/__init__.py +7 -0
- basis_theory/connection/apple_pay/client.py +128 -0
- basis_theory/connection/apple_pay/domain/__init__.py +4 -0
- basis_theory/connection/apple_pay/domain/client.py +309 -0
- basis_theory/connection/apple_pay/domain/raw_client.py +631 -0
- basis_theory/connection/apple_pay/raw_client.py +216 -0
- basis_theory/connection/apple_pay/session/__init__.py +4 -0
- basis_theory/connection/apple_pay/session/client.py +130 -0
- basis_theory/connection/apple_pay/session/raw_client.py +225 -0
- basis_theory/connection/client.py +39 -0
- basis_theory/connection/raw_client.py +13 -0
- basis_theory/core/__init__.py +55 -0
- basis_theory/core/api_error.py +23 -0
- basis_theory/core/client_wrapper.py +89 -0
- basis_theory/core/datetime_utils.py +28 -0
- basis_theory/core/file.py +67 -0
- basis_theory/core/force_multipart.py +16 -0
- basis_theory/core/http_client.py +543 -0
- basis_theory/core/http_response.py +55 -0
- basis_theory/core/jsonable_encoder.py +100 -0
- basis_theory/core/pagination.py +82 -0
- basis_theory/core/pydantic_utilities.py +255 -0
- basis_theory/core/query_encoder.py +58 -0
- basis_theory/core/remove_none_from_dict.py +11 -0
- basis_theory/core/request_options.py +35 -0
- basis_theory/core/serialization.py +276 -0
- basis_theory/documents/__init__.py +7 -0
- basis_theory/documents/client.py +258 -0
- basis_theory/documents/data/__init__.py +4 -0
- basis_theory/documents/data/client.py +78 -0
- basis_theory/documents/data/raw_client.py +173 -0
- basis_theory/documents/raw_client.py +442 -0
- basis_theory/enrichments/__init__.py +4 -0
- basis_theory/enrichments/client.py +135 -0
- basis_theory/enrichments/raw_client.py +203 -0
- basis_theory/environment.py +7 -0
- basis_theory/errors/__init__.py +23 -0
- basis_theory/errors/bad_request_error.py +11 -0
- basis_theory/errors/conflict_error.py +11 -0
- basis_theory/errors/forbidden_error.py +11 -0
- basis_theory/errors/internal_server_error.py +11 -0
- basis_theory/errors/not_found_error.py +10 -0
- basis_theory/errors/service_unavailable_error.py +11 -0
- basis_theory/errors/unauthorized_error.py +11 -0
- basis_theory/errors/unprocessable_entity_error.py +11 -0
- basis_theory/googlepay/__init__.py +4 -0
- basis_theory/googlepay/client.py +120 -0
- basis_theory/googlepay/raw_client.py +239 -0
- basis_theory/keys/__init__.py +4 -0
- basis_theory/keys/client.py +313 -0
- basis_theory/keys/raw_client.py +673 -0
- basis_theory/logs/__init__.py +4 -0
- basis_theory/logs/client.py +240 -0
- basis_theory/logs/raw_client.py +376 -0
- basis_theory/network_tokens/__init__.py +4 -0
- basis_theory/network_tokens/client.py +478 -0
- basis_theory/network_tokens/raw_client.py +1113 -0
- basis_theory/permissions/__init__.py +4 -0
- basis_theory/permissions/client.py +106 -0
- basis_theory/permissions/raw_client.py +170 -0
- basis_theory/proxies/__init__.py +4 -0
- basis_theory/proxies/client.py +751 -0
- basis_theory/proxies/raw_client.py +1255 -0
- basis_theory/py.typed +0 -0
- basis_theory/reactors/__init__.py +7 -0
- basis_theory/reactors/client.py +823 -0
- basis_theory/reactors/raw_client.py +1553 -0
- basis_theory/reactors/results/__init__.py +4 -0
- basis_theory/reactors/results/client.py +115 -0
- basis_theory/reactors/results/raw_client.py +194 -0
- basis_theory/roles/__init__.py +4 -0
- basis_theory/roles/client.py +98 -0
- basis_theory/roles/raw_client.py +134 -0
- basis_theory/sessions/__init__.py +4 -0
- basis_theory/sessions/client.py +222 -0
- basis_theory/sessions/raw_client.py +399 -0
- basis_theory/tenants/__init__.py +7 -0
- basis_theory/tenants/client.py +59 -0
- basis_theory/tenants/connections/__init__.py +4 -0
- basis_theory/tenants/connections/client.py +198 -0
- basis_theory/tenants/connections/raw_client.py +344 -0
- basis_theory/tenants/invitations/__init__.py +4 -0
- basis_theory/tenants/invitations/client.py +458 -0
- basis_theory/tenants/invitations/raw_client.py +805 -0
- basis_theory/tenants/members/__init__.py +4 -0
- basis_theory/tenants/members/client.py +296 -0
- basis_theory/tenants/members/raw_client.py +497 -0
- basis_theory/tenants/owner/__init__.py +4 -0
- basis_theory/tenants/owner/client.py +98 -0
- basis_theory/tenants/owner/raw_client.py +157 -0
- basis_theory/tenants/raw_client.py +13 -0
- basis_theory/tenants/self_/__init__.py +4 -0
- basis_theory/tenants/self_/client.py +308 -0
- basis_theory/tenants/self_/raw_client.py +605 -0
- basis_theory/threeds/__init__.py +7 -0
- basis_theory/threeds/client.py +39 -0
- basis_theory/threeds/raw_client.py +13 -0
- basis_theory/threeds/sessions/__init__.py +4 -0
- basis_theory/threeds/sessions/client.py +521 -0
- basis_theory/threeds/sessions/raw_client.py +808 -0
- basis_theory/token_intents/__init__.py +4 -0
- basis_theory/token_intents/client.py +258 -0
- basis_theory/token_intents/raw_client.py +454 -0
- basis_theory/tokens/__init__.py +4 -0
- basis_theory/tokens/client.py +1015 -0
- basis_theory/tokens/raw_client.py +1861 -0
- basis_theory/types/__init__.py +277 -0
- basis_theory/types/access_rule.py +25 -0
- basis_theory/types/account_updater_job.py +55 -0
- basis_theory/types/account_updater_job_list.py +22 -0
- basis_theory/types/account_updater_job_list_pagination.py +20 -0
- basis_theory/types/account_updater_job_status.py +5 -0
- basis_theory/types/account_updater_real_time_response.py +24 -0
- basis_theory/types/additional_card_details.py +23 -0
- basis_theory/types/address.py +25 -0
- basis_theory/types/apple_pay_create_response.py +20 -0
- basis_theory/types/apple_pay_create_token_response.py +28 -0
- basis_theory/types/apple_pay_domain_deregistration_request.py +19 -0
- basis_theory/types/apple_pay_domain_registration_list_request.py +19 -0
- basis_theory/types/apple_pay_domain_registration_request.py +19 -0
- basis_theory/types/apple_pay_domain_registration_response.py +20 -0
- basis_theory/types/apple_pay_method_token.py +25 -0
- basis_theory/types/apple_pay_session_request.py +21 -0
- basis_theory/types/apple_pay_token.py +33 -0
- basis_theory/types/apple_pay_tokenize_response.py +20 -0
- basis_theory/types/application.py +33 -0
- basis_theory/types/application_key.py +24 -0
- basis_theory/types/application_paginated_list.py +22 -0
- basis_theory/types/application_template.py +27 -0
- basis_theory/types/assurance_details.py +20 -0
- basis_theory/types/async_react_response.py +23 -0
- basis_theory/types/authenticate_three_ds_session_request.py +35 -0
- basis_theory/types/authentication.py +22 -0
- basis_theory/types/authentication_response.py +21 -0
- basis_theory/types/bank_details.py +20 -0
- basis_theory/types/bank_verification_response.py +19 -0
- basis_theory/types/bin_details.py +41 -0
- basis_theory/types/bin_details_bank.py +22 -0
- basis_theory/types/bin_details_country.py +21 -0
- basis_theory/types/bin_details_product.py +20 -0
- basis_theory/types/card.py +22 -0
- basis_theory/types/card_details.py +32 -0
- basis_theory/types/card_issuer.py +20 -0
- basis_theory/types/card_issuer_country.py +21 -0
- basis_theory/types/cardholder_info.py +21 -0
- basis_theory/types/client_encryption_key_metadata_response.py +23 -0
- basis_theory/types/client_encryption_key_response.py +24 -0
- basis_theory/types/condition.py +21 -0
- basis_theory/types/create_account_updater_job_request.py +22 -0
- basis_theory/types/create_document_request.py +19 -0
- basis_theory/types/create_reactor_formula_request.py +28 -0
- basis_theory/types/create_session_response.py +22 -0
- basis_theory/types/create_tenant_connection_response.py +19 -0
- basis_theory/types/create_three_ds_session_response.py +29 -0
- basis_theory/types/create_token_intent_response.py +36 -0
- basis_theory/types/cursor_pagination.py +20 -0
- basis_theory/types/document.py +25 -0
- basis_theory/types/domain_registration_response.py +20 -0
- basis_theory/types/event_types.py +5 -0
- basis_theory/types/get_applications.py +23 -0
- basis_theory/types/get_logs.py +26 -0
- basis_theory/types/get_permissions.py +19 -0
- basis_theory/types/get_proxies.py +23 -0
- basis_theory/types/get_reactor_formulas.py +22 -0
- basis_theory/types/get_reactors.py +23 -0
- basis_theory/types/get_tenant_invitations.py +23 -0
- basis_theory/types/get_tenant_members.py +22 -0
- basis_theory/types/get_tokens.py +23 -0
- basis_theory/types/get_tokens_v2.py +24 -0
- basis_theory/types/google_pay_tokenize_response.py +20 -0
- basis_theory/types/google_payment_method_token.py +27 -0
- basis_theory/types/header.py +26 -0
- basis_theory/types/intermediate_signing_key.py +22 -0
- basis_theory/types/log.py +28 -0
- basis_theory/types/log_entity_type.py +20 -0
- basis_theory/types/log_paginated_list.py +22 -0
- basis_theory/types/network_token.py +38 -0
- basis_theory/types/network_token_cryptogram.py +20 -0
- basis_theory/types/network_token_extras.py +19 -0
- basis_theory/types/pagination.py +24 -0
- basis_theory/types/payment_data.py +23 -0
- basis_theory/types/permission.py +21 -0
- basis_theory/types/privacy.py +21 -0
- basis_theory/types/problem_details.py +23 -0
- basis_theory/types/proxy.py +39 -0
- basis_theory/types/proxy_paginated_list.py +22 -0
- basis_theory/types/proxy_transform.py +23 -0
- basis_theory/types/public_key.py +3 -0
- basis_theory/types/react_response.py +22 -0
- basis_theory/types/reactor.py +32 -0
- basis_theory/types/reactor_formula.py +34 -0
- basis_theory/types/reactor_formula_configuration.py +21 -0
- basis_theory/types/reactor_formula_paginated_list.py +22 -0
- basis_theory/types/reactor_formula_request_parameter.py +22 -0
- basis_theory/types/reactor_paginated_list.py +22 -0
- basis_theory/types/role.py +19 -0
- basis_theory/types/string_string_key_value_pair.py +20 -0
- basis_theory/types/submerchant_authentication_response.py +21 -0
- basis_theory/types/tenant.py +28 -0
- basis_theory/types/tenant_connection_options.py +19 -0
- basis_theory/types/tenant_invitation_response.py +30 -0
- basis_theory/types/tenant_invitation_response_paginated_list.py +22 -0
- basis_theory/types/tenant_invitation_status.py +5 -0
- basis_theory/types/tenant_member_response.py +28 -0
- basis_theory/types/tenant_member_response_paginated_list.py +22 -0
- basis_theory/types/tenant_usage_report.py +19 -0
- basis_theory/types/three_ds_acs_rendering_type.py +22 -0
- basis_theory/types/three_ds_address.py +25 -0
- basis_theory/types/three_ds_authentication.py +53 -0
- basis_theory/types/three_ds_callback_urls.py +20 -0
- basis_theory/types/three_ds_cardholder_account_info.py +33 -0
- basis_theory/types/three_ds_cardholder_authentication_info.py +21 -0
- basis_theory/types/three_ds_cardholder_info.py +36 -0
- basis_theory/types/three_ds_cardholder_phone_number.py +20 -0
- basis_theory/types/three_ds_device_info.py +36 -0
- basis_theory/types/three_ds_merchant_info.py +26 -0
- basis_theory/types/three_ds_merchant_risk_info.py +27 -0
- basis_theory/types/three_ds_message_extension.py +22 -0
- basis_theory/types/three_ds_method.py +20 -0
- basis_theory/types/three_ds_mobile_sdk_render_options.py +20 -0
- basis_theory/types/three_ds_prior_authentication_info.py +22 -0
- basis_theory/types/three_ds_purchase_info.py +26 -0
- basis_theory/types/three_ds_requestor_info.py +25 -0
- basis_theory/types/three_ds_session.py +42 -0
- basis_theory/types/three_ds_version.py +25 -0
- basis_theory/types/token.py +49 -0
- basis_theory/types/token_cursor_paginated_list.py +22 -0
- basis_theory/types/token_enrichments.py +22 -0
- basis_theory/types/token_enrichments_card_details.py +20 -0
- basis_theory/types/token_extras.py +24 -0
- basis_theory/types/token_intent.py +36 -0
- basis_theory/types/token_intent_extras.py +21 -0
- basis_theory/types/token_paginated_list.py +22 -0
- basis_theory/types/token_service_provider_details.py +34 -0
- basis_theory/types/update_privacy.py +20 -0
- basis_theory/types/update_reactor_formula_request.py +27 -0
- basis_theory/types/user.py +25 -0
- basis_theory/types/validation_problem_details.py +24 -0
- basis_theory/types/webhook.py +35 -0
- basis_theory/types/webhook_list.py +22 -0
- basis_theory/types/webhook_list_pagination.py +20 -0
- basis_theory/types/webhook_status.py +5 -0
- basis_theory/version.py +3 -0
- basis_theory/webhooks/__init__.py +7 -0
- basis_theory/webhooks/client.py +543 -0
- basis_theory/webhooks/events/__init__.py +4 -0
- basis_theory/webhooks/events/client.py +102 -0
- basis_theory/webhooks/events/raw_client.py +136 -0
- basis_theory/webhooks/raw_client.py +943 -0
- basistheoryclient-0.0.1.dist-info/LICENSE +201 -0
- basistheoryclient-0.0.1.dist-info/METADATA +213 -0
- basistheoryclient-0.0.1.dist-info/RECORD +283 -0
- basistheoryclient-0.0.1.dist-info/WHEEL +4 -0
basis_theory/__init__.py
ADDED
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
from .types import (
|
|
6
|
+
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
|
+
Application,
|
|
25
|
+
ApplicationKey,
|
|
26
|
+
ApplicationPaginatedList,
|
|
27
|
+
ApplicationTemplate,
|
|
28
|
+
AssuranceDetails,
|
|
29
|
+
AsyncReactResponse,
|
|
30
|
+
AuthenticateThreeDsSessionRequest,
|
|
31
|
+
Authentication,
|
|
32
|
+
AuthenticationResponse,
|
|
33
|
+
BankDetails,
|
|
34
|
+
BankVerificationResponse,
|
|
35
|
+
BinDetails,
|
|
36
|
+
BinDetailsBank,
|
|
37
|
+
BinDetailsCountry,
|
|
38
|
+
BinDetailsProduct,
|
|
39
|
+
Card,
|
|
40
|
+
CardDetails,
|
|
41
|
+
CardIssuer,
|
|
42
|
+
CardIssuerCountry,
|
|
43
|
+
CardholderInfo,
|
|
44
|
+
ClientEncryptionKeyMetadataResponse,
|
|
45
|
+
ClientEncryptionKeyResponse,
|
|
46
|
+
Condition,
|
|
47
|
+
CreateAccountUpdaterJobRequest,
|
|
48
|
+
CreateDocumentRequest,
|
|
49
|
+
CreateReactorFormulaRequest,
|
|
50
|
+
CreateSessionResponse,
|
|
51
|
+
CreateTenantConnectionResponse,
|
|
52
|
+
CreateThreeDsSessionResponse,
|
|
53
|
+
CreateTokenIntentResponse,
|
|
54
|
+
CursorPagination,
|
|
55
|
+
Document,
|
|
56
|
+
DomainRegistrationResponse,
|
|
57
|
+
EventTypes,
|
|
58
|
+
GetApplications,
|
|
59
|
+
GetLogs,
|
|
60
|
+
GetPermissions,
|
|
61
|
+
GetProxies,
|
|
62
|
+
GetReactorFormulas,
|
|
63
|
+
GetReactors,
|
|
64
|
+
GetTenantInvitations,
|
|
65
|
+
GetTenantMembers,
|
|
66
|
+
GetTokens,
|
|
67
|
+
GetTokensV2,
|
|
68
|
+
GooglePayTokenizeResponse,
|
|
69
|
+
GooglePaymentMethodToken,
|
|
70
|
+
Header,
|
|
71
|
+
IntermediateSigningKey,
|
|
72
|
+
Log,
|
|
73
|
+
LogEntityType,
|
|
74
|
+
LogPaginatedList,
|
|
75
|
+
NetworkToken,
|
|
76
|
+
NetworkTokenCryptogram,
|
|
77
|
+
NetworkTokenExtras,
|
|
78
|
+
Pagination,
|
|
79
|
+
PaymentData,
|
|
80
|
+
Permission,
|
|
81
|
+
Privacy,
|
|
82
|
+
ProblemDetails,
|
|
83
|
+
Proxy,
|
|
84
|
+
ProxyPaginatedList,
|
|
85
|
+
ProxyTransform,
|
|
86
|
+
PublicKey,
|
|
87
|
+
ReactResponse,
|
|
88
|
+
Reactor,
|
|
89
|
+
ReactorFormula,
|
|
90
|
+
ReactorFormulaConfiguration,
|
|
91
|
+
ReactorFormulaPaginatedList,
|
|
92
|
+
ReactorFormulaRequestParameter,
|
|
93
|
+
ReactorPaginatedList,
|
|
94
|
+
Role,
|
|
95
|
+
StringStringKeyValuePair,
|
|
96
|
+
SubmerchantAuthenticationResponse,
|
|
97
|
+
Tenant,
|
|
98
|
+
TenantConnectionOptions,
|
|
99
|
+
TenantInvitationResponse,
|
|
100
|
+
TenantInvitationResponsePaginatedList,
|
|
101
|
+
TenantInvitationStatus,
|
|
102
|
+
TenantMemberResponse,
|
|
103
|
+
TenantMemberResponsePaginatedList,
|
|
104
|
+
TenantUsageReport,
|
|
105
|
+
ThreeDsAcsRenderingType,
|
|
106
|
+
ThreeDsAddress,
|
|
107
|
+
ThreeDsAuthentication,
|
|
108
|
+
ThreeDsCallbackUrls,
|
|
109
|
+
ThreeDsCardholderAccountInfo,
|
|
110
|
+
ThreeDsCardholderAuthenticationInfo,
|
|
111
|
+
ThreeDsCardholderInfo,
|
|
112
|
+
ThreeDsCardholderPhoneNumber,
|
|
113
|
+
ThreeDsDeviceInfo,
|
|
114
|
+
ThreeDsMerchantInfo,
|
|
115
|
+
ThreeDsMerchantRiskInfo,
|
|
116
|
+
ThreeDsMessageExtension,
|
|
117
|
+
ThreeDsMethod,
|
|
118
|
+
ThreeDsMobileSdkRenderOptions,
|
|
119
|
+
ThreeDsPriorAuthenticationInfo,
|
|
120
|
+
ThreeDsPurchaseInfo,
|
|
121
|
+
ThreeDsRequestorInfo,
|
|
122
|
+
ThreeDsSession,
|
|
123
|
+
ThreeDsVersion,
|
|
124
|
+
Token,
|
|
125
|
+
TokenCursorPaginatedList,
|
|
126
|
+
TokenEnrichments,
|
|
127
|
+
TokenEnrichmentsCardDetails,
|
|
128
|
+
TokenExtras,
|
|
129
|
+
TokenIntent,
|
|
130
|
+
TokenIntentExtras,
|
|
131
|
+
TokenPaginatedList,
|
|
132
|
+
TokenServiceProviderDetails,
|
|
133
|
+
UpdatePrivacy,
|
|
134
|
+
UpdateReactorFormulaRequest,
|
|
135
|
+
User,
|
|
136
|
+
ValidationProblemDetails,
|
|
137
|
+
Webhook,
|
|
138
|
+
WebhookList,
|
|
139
|
+
WebhookListPagination,
|
|
140
|
+
WebhookStatus,
|
|
141
|
+
)
|
|
142
|
+
from .errors import (
|
|
143
|
+
BadRequestError,
|
|
144
|
+
ConflictError,
|
|
145
|
+
ForbiddenError,
|
|
146
|
+
InternalServerError,
|
|
147
|
+
NotFoundError,
|
|
148
|
+
ServiceUnavailableError,
|
|
149
|
+
UnauthorizedError,
|
|
150
|
+
UnprocessableEntityError,
|
|
151
|
+
)
|
|
152
|
+
from . import (
|
|
153
|
+
account_updater,
|
|
154
|
+
apple_pay,
|
|
155
|
+
application_keys,
|
|
156
|
+
application_templates,
|
|
157
|
+
applications,
|
|
158
|
+
connection,
|
|
159
|
+
documents,
|
|
160
|
+
enrichments,
|
|
161
|
+
googlepay,
|
|
162
|
+
keys,
|
|
163
|
+
logs,
|
|
164
|
+
network_tokens,
|
|
165
|
+
permissions,
|
|
166
|
+
proxies,
|
|
167
|
+
reactors,
|
|
168
|
+
roles,
|
|
169
|
+
sessions,
|
|
170
|
+
tenants,
|
|
171
|
+
threeds,
|
|
172
|
+
token_intents,
|
|
173
|
+
tokens,
|
|
174
|
+
webhooks,
|
|
175
|
+
)
|
|
176
|
+
from .client import AsyncBasisTheory, BasisTheory
|
|
177
|
+
from .environment import BasisTheoryEnvironment
|
|
178
|
+
from .version import __version__
|
|
179
|
+
|
|
180
|
+
__all__ = [
|
|
181
|
+
"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
|
+
"Application",
|
|
200
|
+
"ApplicationKey",
|
|
201
|
+
"ApplicationPaginatedList",
|
|
202
|
+
"ApplicationTemplate",
|
|
203
|
+
"AssuranceDetails",
|
|
204
|
+
"AsyncBasisTheory",
|
|
205
|
+
"AsyncReactResponse",
|
|
206
|
+
"AuthenticateThreeDsSessionRequest",
|
|
207
|
+
"Authentication",
|
|
208
|
+
"AuthenticationResponse",
|
|
209
|
+
"BadRequestError",
|
|
210
|
+
"BankDetails",
|
|
211
|
+
"BankVerificationResponse",
|
|
212
|
+
"BasisTheory",
|
|
213
|
+
"BasisTheoryEnvironment",
|
|
214
|
+
"BinDetails",
|
|
215
|
+
"BinDetailsBank",
|
|
216
|
+
"BinDetailsCountry",
|
|
217
|
+
"BinDetailsProduct",
|
|
218
|
+
"Card",
|
|
219
|
+
"CardDetails",
|
|
220
|
+
"CardIssuer",
|
|
221
|
+
"CardIssuerCountry",
|
|
222
|
+
"CardholderInfo",
|
|
223
|
+
"ClientEncryptionKeyMetadataResponse",
|
|
224
|
+
"ClientEncryptionKeyResponse",
|
|
225
|
+
"Condition",
|
|
226
|
+
"ConflictError",
|
|
227
|
+
"CreateAccountUpdaterJobRequest",
|
|
228
|
+
"CreateDocumentRequest",
|
|
229
|
+
"CreateReactorFormulaRequest",
|
|
230
|
+
"CreateSessionResponse",
|
|
231
|
+
"CreateTenantConnectionResponse",
|
|
232
|
+
"CreateThreeDsSessionResponse",
|
|
233
|
+
"CreateTokenIntentResponse",
|
|
234
|
+
"CursorPagination",
|
|
235
|
+
"Document",
|
|
236
|
+
"DomainRegistrationResponse",
|
|
237
|
+
"EventTypes",
|
|
238
|
+
"ForbiddenError",
|
|
239
|
+
"GetApplications",
|
|
240
|
+
"GetLogs",
|
|
241
|
+
"GetPermissions",
|
|
242
|
+
"GetProxies",
|
|
243
|
+
"GetReactorFormulas",
|
|
244
|
+
"GetReactors",
|
|
245
|
+
"GetTenantInvitations",
|
|
246
|
+
"GetTenantMembers",
|
|
247
|
+
"GetTokens",
|
|
248
|
+
"GetTokensV2",
|
|
249
|
+
"GooglePayTokenizeResponse",
|
|
250
|
+
"GooglePaymentMethodToken",
|
|
251
|
+
"Header",
|
|
252
|
+
"IntermediateSigningKey",
|
|
253
|
+
"InternalServerError",
|
|
254
|
+
"Log",
|
|
255
|
+
"LogEntityType",
|
|
256
|
+
"LogPaginatedList",
|
|
257
|
+
"NetworkToken",
|
|
258
|
+
"NetworkTokenCryptogram",
|
|
259
|
+
"NetworkTokenExtras",
|
|
260
|
+
"NotFoundError",
|
|
261
|
+
"Pagination",
|
|
262
|
+
"PaymentData",
|
|
263
|
+
"Permission",
|
|
264
|
+
"Privacy",
|
|
265
|
+
"ProblemDetails",
|
|
266
|
+
"Proxy",
|
|
267
|
+
"ProxyPaginatedList",
|
|
268
|
+
"ProxyTransform",
|
|
269
|
+
"PublicKey",
|
|
270
|
+
"ReactResponse",
|
|
271
|
+
"Reactor",
|
|
272
|
+
"ReactorFormula",
|
|
273
|
+
"ReactorFormulaConfiguration",
|
|
274
|
+
"ReactorFormulaPaginatedList",
|
|
275
|
+
"ReactorFormulaRequestParameter",
|
|
276
|
+
"ReactorPaginatedList",
|
|
277
|
+
"Role",
|
|
278
|
+
"ServiceUnavailableError",
|
|
279
|
+
"StringStringKeyValuePair",
|
|
280
|
+
"SubmerchantAuthenticationResponse",
|
|
281
|
+
"Tenant",
|
|
282
|
+
"TenantConnectionOptions",
|
|
283
|
+
"TenantInvitationResponse",
|
|
284
|
+
"TenantInvitationResponsePaginatedList",
|
|
285
|
+
"TenantInvitationStatus",
|
|
286
|
+
"TenantMemberResponse",
|
|
287
|
+
"TenantMemberResponsePaginatedList",
|
|
288
|
+
"TenantUsageReport",
|
|
289
|
+
"ThreeDsAcsRenderingType",
|
|
290
|
+
"ThreeDsAddress",
|
|
291
|
+
"ThreeDsAuthentication",
|
|
292
|
+
"ThreeDsCallbackUrls",
|
|
293
|
+
"ThreeDsCardholderAccountInfo",
|
|
294
|
+
"ThreeDsCardholderAuthenticationInfo",
|
|
295
|
+
"ThreeDsCardholderInfo",
|
|
296
|
+
"ThreeDsCardholderPhoneNumber",
|
|
297
|
+
"ThreeDsDeviceInfo",
|
|
298
|
+
"ThreeDsMerchantInfo",
|
|
299
|
+
"ThreeDsMerchantRiskInfo",
|
|
300
|
+
"ThreeDsMessageExtension",
|
|
301
|
+
"ThreeDsMethod",
|
|
302
|
+
"ThreeDsMobileSdkRenderOptions",
|
|
303
|
+
"ThreeDsPriorAuthenticationInfo",
|
|
304
|
+
"ThreeDsPurchaseInfo",
|
|
305
|
+
"ThreeDsRequestorInfo",
|
|
306
|
+
"ThreeDsSession",
|
|
307
|
+
"ThreeDsVersion",
|
|
308
|
+
"Token",
|
|
309
|
+
"TokenCursorPaginatedList",
|
|
310
|
+
"TokenEnrichments",
|
|
311
|
+
"TokenEnrichmentsCardDetails",
|
|
312
|
+
"TokenExtras",
|
|
313
|
+
"TokenIntent",
|
|
314
|
+
"TokenIntentExtras",
|
|
315
|
+
"TokenPaginatedList",
|
|
316
|
+
"TokenServiceProviderDetails",
|
|
317
|
+
"UnauthorizedError",
|
|
318
|
+
"UnprocessableEntityError",
|
|
319
|
+
"UpdatePrivacy",
|
|
320
|
+
"UpdateReactorFormulaRequest",
|
|
321
|
+
"User",
|
|
322
|
+
"ValidationProblemDetails",
|
|
323
|
+
"Webhook",
|
|
324
|
+
"WebhookList",
|
|
325
|
+
"WebhookListPagination",
|
|
326
|
+
"WebhookStatus",
|
|
327
|
+
"__version__",
|
|
328
|
+
"account_updater",
|
|
329
|
+
"apple_pay",
|
|
330
|
+
"application_keys",
|
|
331
|
+
"application_templates",
|
|
332
|
+
"applications",
|
|
333
|
+
"connection",
|
|
334
|
+
"documents",
|
|
335
|
+
"enrichments",
|
|
336
|
+
"googlepay",
|
|
337
|
+
"keys",
|
|
338
|
+
"logs",
|
|
339
|
+
"network_tokens",
|
|
340
|
+
"permissions",
|
|
341
|
+
"proxies",
|
|
342
|
+
"reactors",
|
|
343
|
+
"roles",
|
|
344
|
+
"sessions",
|
|
345
|
+
"tenants",
|
|
346
|
+
"threeds",
|
|
347
|
+
"token_intents",
|
|
348
|
+
"tokens",
|
|
349
|
+
"webhooks",
|
|
350
|
+
]
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
4
|
+
from .jobs.client import AsyncJobsClient, JobsClient
|
|
5
|
+
from .raw_client import AsyncRawAccountUpdaterClient, RawAccountUpdaterClient
|
|
6
|
+
from .real_time.client import AsyncRealTimeClient, RealTimeClient
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class AccountUpdaterClient:
|
|
10
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
11
|
+
self._raw_client = RawAccountUpdaterClient(client_wrapper=client_wrapper)
|
|
12
|
+
self.jobs = JobsClient(client_wrapper=client_wrapper)
|
|
13
|
+
|
|
14
|
+
self.real_time = RealTimeClient(client_wrapper=client_wrapper)
|
|
15
|
+
|
|
16
|
+
@property
|
|
17
|
+
def with_raw_response(self) -> RawAccountUpdaterClient:
|
|
18
|
+
"""
|
|
19
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
20
|
+
|
|
21
|
+
Returns
|
|
22
|
+
-------
|
|
23
|
+
RawAccountUpdaterClient
|
|
24
|
+
"""
|
|
25
|
+
return self._raw_client
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class AsyncAccountUpdaterClient:
|
|
29
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
30
|
+
self._raw_client = AsyncRawAccountUpdaterClient(client_wrapper=client_wrapper)
|
|
31
|
+
self.jobs = AsyncJobsClient(client_wrapper=client_wrapper)
|
|
32
|
+
|
|
33
|
+
self.real_time = AsyncRealTimeClient(client_wrapper=client_wrapper)
|
|
34
|
+
|
|
35
|
+
@property
|
|
36
|
+
def with_raw_response(self) -> AsyncRawAccountUpdaterClient:
|
|
37
|
+
"""
|
|
38
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
39
|
+
|
|
40
|
+
Returns
|
|
41
|
+
-------
|
|
42
|
+
AsyncRawAccountUpdaterClient
|
|
43
|
+
"""
|
|
44
|
+
return self._raw_client
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
from ...core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
|
|
6
|
+
from ...core.request_options import RequestOptions
|
|
7
|
+
from ...types.account_updater_job import AccountUpdaterJob
|
|
8
|
+
from ...types.account_updater_job_list import AccountUpdaterJobList
|
|
9
|
+
from .raw_client import AsyncRawJobsClient, RawJobsClient
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class JobsClient:
|
|
13
|
+
def __init__(self, *, client_wrapper: SyncClientWrapper):
|
|
14
|
+
self._raw_client = RawJobsClient(client_wrapper=client_wrapper)
|
|
15
|
+
|
|
16
|
+
@property
|
|
17
|
+
def with_raw_response(self) -> RawJobsClient:
|
|
18
|
+
"""
|
|
19
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
20
|
+
|
|
21
|
+
Returns
|
|
22
|
+
-------
|
|
23
|
+
RawJobsClient
|
|
24
|
+
"""
|
|
25
|
+
return self._raw_client
|
|
26
|
+
|
|
27
|
+
def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountUpdaterJob:
|
|
28
|
+
"""
|
|
29
|
+
Returns the account updater batch job
|
|
30
|
+
|
|
31
|
+
Parameters
|
|
32
|
+
----------
|
|
33
|
+
id : str
|
|
34
|
+
|
|
35
|
+
request_options : typing.Optional[RequestOptions]
|
|
36
|
+
Request-specific configuration.
|
|
37
|
+
|
|
38
|
+
Returns
|
|
39
|
+
-------
|
|
40
|
+
AccountUpdaterJob
|
|
41
|
+
Success
|
|
42
|
+
|
|
43
|
+
Examples
|
|
44
|
+
--------
|
|
45
|
+
from basis_theory import BasisTheory
|
|
46
|
+
|
|
47
|
+
client = BasisTheory(
|
|
48
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
49
|
+
api_key="YOUR_API_KEY",
|
|
50
|
+
)
|
|
51
|
+
client.account_updater.jobs.get(
|
|
52
|
+
id="id",
|
|
53
|
+
)
|
|
54
|
+
"""
|
|
55
|
+
_response = self._raw_client.get(id, request_options=request_options)
|
|
56
|
+
return _response.data
|
|
57
|
+
|
|
58
|
+
def list(
|
|
59
|
+
self,
|
|
60
|
+
*,
|
|
61
|
+
size: typing.Optional[int] = None,
|
|
62
|
+
start: typing.Optional[str] = None,
|
|
63
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
64
|
+
) -> AccountUpdaterJobList:
|
|
65
|
+
"""
|
|
66
|
+
Returns a list of account updater batch jobs
|
|
67
|
+
|
|
68
|
+
Parameters
|
|
69
|
+
----------
|
|
70
|
+
size : typing.Optional[int]
|
|
71
|
+
The maximum number of jobs to return
|
|
72
|
+
|
|
73
|
+
start : typing.Optional[str]
|
|
74
|
+
Cursor for pagination
|
|
75
|
+
|
|
76
|
+
request_options : typing.Optional[RequestOptions]
|
|
77
|
+
Request-specific configuration.
|
|
78
|
+
|
|
79
|
+
Returns
|
|
80
|
+
-------
|
|
81
|
+
AccountUpdaterJobList
|
|
82
|
+
Success
|
|
83
|
+
|
|
84
|
+
Examples
|
|
85
|
+
--------
|
|
86
|
+
from basis_theory import BasisTheory
|
|
87
|
+
|
|
88
|
+
client = BasisTheory(
|
|
89
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
90
|
+
api_key="YOUR_API_KEY",
|
|
91
|
+
)
|
|
92
|
+
client.account_updater.jobs.list()
|
|
93
|
+
"""
|
|
94
|
+
_response = self._raw_client.list(size=size, start=start, request_options=request_options)
|
|
95
|
+
return _response.data
|
|
96
|
+
|
|
97
|
+
def create(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountUpdaterJob:
|
|
98
|
+
"""
|
|
99
|
+
Returns the created account updater batch job
|
|
100
|
+
|
|
101
|
+
Parameters
|
|
102
|
+
----------
|
|
103
|
+
request_options : typing.Optional[RequestOptions]
|
|
104
|
+
Request-specific configuration.
|
|
105
|
+
|
|
106
|
+
Returns
|
|
107
|
+
-------
|
|
108
|
+
AccountUpdaterJob
|
|
109
|
+
Success
|
|
110
|
+
|
|
111
|
+
Examples
|
|
112
|
+
--------
|
|
113
|
+
from basis_theory import BasisTheory
|
|
114
|
+
|
|
115
|
+
client = BasisTheory(
|
|
116
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
117
|
+
api_key="YOUR_API_KEY",
|
|
118
|
+
)
|
|
119
|
+
client.account_updater.jobs.create()
|
|
120
|
+
"""
|
|
121
|
+
_response = self._raw_client.create(request_options=request_options)
|
|
122
|
+
return _response.data
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class AsyncJobsClient:
|
|
126
|
+
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
127
|
+
self._raw_client = AsyncRawJobsClient(client_wrapper=client_wrapper)
|
|
128
|
+
|
|
129
|
+
@property
|
|
130
|
+
def with_raw_response(self) -> AsyncRawJobsClient:
|
|
131
|
+
"""
|
|
132
|
+
Retrieves a raw implementation of this client that returns raw responses.
|
|
133
|
+
|
|
134
|
+
Returns
|
|
135
|
+
-------
|
|
136
|
+
AsyncRawJobsClient
|
|
137
|
+
"""
|
|
138
|
+
return self._raw_client
|
|
139
|
+
|
|
140
|
+
async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> AccountUpdaterJob:
|
|
141
|
+
"""
|
|
142
|
+
Returns the account updater batch job
|
|
143
|
+
|
|
144
|
+
Parameters
|
|
145
|
+
----------
|
|
146
|
+
id : str
|
|
147
|
+
|
|
148
|
+
request_options : typing.Optional[RequestOptions]
|
|
149
|
+
Request-specific configuration.
|
|
150
|
+
|
|
151
|
+
Returns
|
|
152
|
+
-------
|
|
153
|
+
AccountUpdaterJob
|
|
154
|
+
Success
|
|
155
|
+
|
|
156
|
+
Examples
|
|
157
|
+
--------
|
|
158
|
+
import asyncio
|
|
159
|
+
|
|
160
|
+
from basis_theory import AsyncBasisTheory
|
|
161
|
+
|
|
162
|
+
client = AsyncBasisTheory(
|
|
163
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
164
|
+
api_key="YOUR_API_KEY",
|
|
165
|
+
)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
async def main() -> None:
|
|
169
|
+
await client.account_updater.jobs.get(
|
|
170
|
+
id="id",
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
asyncio.run(main())
|
|
175
|
+
"""
|
|
176
|
+
_response = await self._raw_client.get(id, request_options=request_options)
|
|
177
|
+
return _response.data
|
|
178
|
+
|
|
179
|
+
async def list(
|
|
180
|
+
self,
|
|
181
|
+
*,
|
|
182
|
+
size: typing.Optional[int] = None,
|
|
183
|
+
start: typing.Optional[str] = None,
|
|
184
|
+
request_options: typing.Optional[RequestOptions] = None,
|
|
185
|
+
) -> AccountUpdaterJobList:
|
|
186
|
+
"""
|
|
187
|
+
Returns a list of account updater batch jobs
|
|
188
|
+
|
|
189
|
+
Parameters
|
|
190
|
+
----------
|
|
191
|
+
size : typing.Optional[int]
|
|
192
|
+
The maximum number of jobs to return
|
|
193
|
+
|
|
194
|
+
start : typing.Optional[str]
|
|
195
|
+
Cursor for pagination
|
|
196
|
+
|
|
197
|
+
request_options : typing.Optional[RequestOptions]
|
|
198
|
+
Request-specific configuration.
|
|
199
|
+
|
|
200
|
+
Returns
|
|
201
|
+
-------
|
|
202
|
+
AccountUpdaterJobList
|
|
203
|
+
Success
|
|
204
|
+
|
|
205
|
+
Examples
|
|
206
|
+
--------
|
|
207
|
+
import asyncio
|
|
208
|
+
|
|
209
|
+
from basis_theory import AsyncBasisTheory
|
|
210
|
+
|
|
211
|
+
client = AsyncBasisTheory(
|
|
212
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
213
|
+
api_key="YOUR_API_KEY",
|
|
214
|
+
)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
async def main() -> None:
|
|
218
|
+
await client.account_updater.jobs.list()
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
asyncio.run(main())
|
|
222
|
+
"""
|
|
223
|
+
_response = await self._raw_client.list(size=size, start=start, request_options=request_options)
|
|
224
|
+
return _response.data
|
|
225
|
+
|
|
226
|
+
async def create(self, *, request_options: typing.Optional[RequestOptions] = None) -> AccountUpdaterJob:
|
|
227
|
+
"""
|
|
228
|
+
Returns the created account updater batch job
|
|
229
|
+
|
|
230
|
+
Parameters
|
|
231
|
+
----------
|
|
232
|
+
request_options : typing.Optional[RequestOptions]
|
|
233
|
+
Request-specific configuration.
|
|
234
|
+
|
|
235
|
+
Returns
|
|
236
|
+
-------
|
|
237
|
+
AccountUpdaterJob
|
|
238
|
+
Success
|
|
239
|
+
|
|
240
|
+
Examples
|
|
241
|
+
--------
|
|
242
|
+
import asyncio
|
|
243
|
+
|
|
244
|
+
from basis_theory import AsyncBasisTheory
|
|
245
|
+
|
|
246
|
+
client = AsyncBasisTheory(
|
|
247
|
+
correlation_id="YOUR_CORRELATION_ID",
|
|
248
|
+
api_key="YOUR_API_KEY",
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
async def main() -> None:
|
|
253
|
+
await client.account_updater.jobs.create()
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
asyncio.run(main())
|
|
257
|
+
"""
|
|
258
|
+
_response = await self._raw_client.create(request_options=request_options)
|
|
259
|
+
return _response.data
|