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
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from .user import User
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TenantMemberResponse(UniversalBaseModel):
|
|
12
|
+
id: typing.Optional[str] = None
|
|
13
|
+
tenant_id: typing.Optional[str] = None
|
|
14
|
+
user: typing.Optional[User] = None
|
|
15
|
+
role: typing.Optional[str] = None
|
|
16
|
+
created_by: typing.Optional[str] = None
|
|
17
|
+
created_date: typing.Optional[dt.datetime] = None
|
|
18
|
+
modified_by: typing.Optional[str] = None
|
|
19
|
+
modified_at: typing.Optional[dt.datetime] = None
|
|
20
|
+
|
|
21
|
+
if IS_PYDANTIC_V2:
|
|
22
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
23
|
+
else:
|
|
24
|
+
|
|
25
|
+
class Config:
|
|
26
|
+
frozen = True
|
|
27
|
+
smart_union = True
|
|
28
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .pagination import Pagination
|
|
8
|
+
from .tenant_member_response import TenantMemberResponse
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class TenantMemberResponsePaginatedList(UniversalBaseModel):
|
|
12
|
+
pagination: typing.Optional[Pagination] = None
|
|
13
|
+
data: typing.Optional[typing.List[TenantMemberResponse]] = None
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class TenantUsageReport(UniversalBaseModel):
|
|
10
|
+
total_tokens: typing.Optional[int] = None
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
frozen = True
|
|
18
|
+
smart_union = True
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
import typing_extensions
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from ..core.serialization import FieldMetadata
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ThreeDsAcsRenderingType(UniversalBaseModel):
|
|
12
|
+
acs_interface: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="acsInterface")] = None
|
|
13
|
+
acs_ui_template: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="acsUiTemplate")] = None
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsAddress(UniversalBaseModel):
|
|
10
|
+
line1: typing.Optional[str] = None
|
|
11
|
+
line2: typing.Optional[str] = None
|
|
12
|
+
line3: typing.Optional[str] = None
|
|
13
|
+
postal_code: typing.Optional[str] = None
|
|
14
|
+
city: typing.Optional[str] = None
|
|
15
|
+
state_code: typing.Optional[str] = None
|
|
16
|
+
country_code: typing.Optional[str] = None
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .three_ds_acs_rendering_type import ThreeDsAcsRenderingType
|
|
8
|
+
from .three_ds_message_extension import ThreeDsMessageExtension
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class ThreeDsAuthentication(UniversalBaseModel):
|
|
12
|
+
pan_token_id: typing.Optional[str] = None
|
|
13
|
+
token_id: typing.Optional[str] = None
|
|
14
|
+
token_intent_id: typing.Optional[str] = None
|
|
15
|
+
session_id: typing.Optional[str] = None
|
|
16
|
+
threeds_version: typing.Optional[str] = None
|
|
17
|
+
acs_transaction_id: typing.Optional[str] = None
|
|
18
|
+
ds_transaction_id: typing.Optional[str] = None
|
|
19
|
+
sdk_transaction_id: typing.Optional[str] = None
|
|
20
|
+
acs_reference_number: typing.Optional[str] = None
|
|
21
|
+
ds_reference_number: typing.Optional[str] = None
|
|
22
|
+
liability_shifted: typing.Optional[bool] = None
|
|
23
|
+
authentication_value: typing.Optional[str] = None
|
|
24
|
+
authentication_status: typing.Optional[str] = None
|
|
25
|
+
authentication_status_code: typing.Optional[str] = None
|
|
26
|
+
directory_status_code: typing.Optional[str] = None
|
|
27
|
+
authentication_status_reason: typing.Optional[str] = None
|
|
28
|
+
authentication_status_reason_code: typing.Optional[str] = None
|
|
29
|
+
eci: typing.Optional[str] = None
|
|
30
|
+
acs_challenge_mandated: typing.Optional[str] = None
|
|
31
|
+
acs_decoupled_authentication: typing.Optional[str] = None
|
|
32
|
+
authentication_challenge_type: typing.Optional[str] = None
|
|
33
|
+
acs_rendering_type: typing.Optional[ThreeDsAcsRenderingType] = None
|
|
34
|
+
acs_signed_content: typing.Optional[str] = None
|
|
35
|
+
acs_challenge_url: typing.Optional[str] = None
|
|
36
|
+
challenge_preference: typing.Optional[str] = None
|
|
37
|
+
challenge_preference_code: typing.Optional[str] = None
|
|
38
|
+
challenge_attempts: typing.Optional[str] = None
|
|
39
|
+
challenge_cancel_reason: typing.Optional[str] = None
|
|
40
|
+
challenge_cancel_reason_code: typing.Optional[str] = None
|
|
41
|
+
cardholder_info: typing.Optional[str] = None
|
|
42
|
+
whitelist_status: typing.Optional[str] = None
|
|
43
|
+
whitelist_status_source: typing.Optional[str] = None
|
|
44
|
+
message_extensions: typing.Optional[typing.List[ThreeDsMessageExtension]] = None
|
|
45
|
+
|
|
46
|
+
if IS_PYDANTIC_V2:
|
|
47
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
48
|
+
else:
|
|
49
|
+
|
|
50
|
+
class Config:
|
|
51
|
+
frozen = True
|
|
52
|
+
smart_union = True
|
|
53
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsCallbackUrls(UniversalBaseModel):
|
|
10
|
+
success: typing.Optional[str] = None
|
|
11
|
+
failure: typing.Optional[str] = None
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsCardholderAccountInfo(UniversalBaseModel):
|
|
10
|
+
account_age: typing.Optional[str] = None
|
|
11
|
+
account_last_changed: typing.Optional[str] = None
|
|
12
|
+
account_change_date: typing.Optional[str] = None
|
|
13
|
+
account_created_date: typing.Optional[str] = None
|
|
14
|
+
account_pwd_last_changed: typing.Optional[str] = None
|
|
15
|
+
account_pwd_change_date: typing.Optional[str] = None
|
|
16
|
+
purchase_count_half_year: typing.Optional[str] = None
|
|
17
|
+
transaction_count_day: typing.Optional[str] = None
|
|
18
|
+
payment_account_age: typing.Optional[str] = None
|
|
19
|
+
transaction_count_year: typing.Optional[str] = None
|
|
20
|
+
payment_account_created: typing.Optional[str] = None
|
|
21
|
+
shipping_address_first_used: typing.Optional[str] = None
|
|
22
|
+
shipping_address_usage_date: typing.Optional[str] = None
|
|
23
|
+
shipping_account_name_match: typing.Optional[bool] = None
|
|
24
|
+
suspicious_activity_observed: typing.Optional[bool] = None
|
|
25
|
+
|
|
26
|
+
if IS_PYDANTIC_V2:
|
|
27
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
28
|
+
else:
|
|
29
|
+
|
|
30
|
+
class Config:
|
|
31
|
+
frozen = True
|
|
32
|
+
smart_union = True
|
|
33
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsCardholderAuthenticationInfo(UniversalBaseModel):
|
|
10
|
+
method: typing.Optional[str] = None
|
|
11
|
+
timestamp: typing.Optional[str] = None
|
|
12
|
+
data: typing.Optional[str] = None
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
frozen = True
|
|
20
|
+
smart_union = True
|
|
21
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .three_ds_address import ThreeDsAddress
|
|
8
|
+
from .three_ds_cardholder_account_info import ThreeDsCardholderAccountInfo
|
|
9
|
+
from .three_ds_cardholder_authentication_info import ThreeDsCardholderAuthenticationInfo
|
|
10
|
+
from .three_ds_cardholder_phone_number import ThreeDsCardholderPhoneNumber
|
|
11
|
+
from .three_ds_prior_authentication_info import ThreeDsPriorAuthenticationInfo
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ThreeDsCardholderInfo(UniversalBaseModel):
|
|
15
|
+
account_id: typing.Optional[str] = None
|
|
16
|
+
account_type: typing.Optional[str] = None
|
|
17
|
+
account_info: typing.Optional[ThreeDsCardholderAccountInfo] = None
|
|
18
|
+
authentication_info: typing.Optional[ThreeDsCardholderAuthenticationInfo] = None
|
|
19
|
+
prior_authentication_info: typing.Optional[ThreeDsPriorAuthenticationInfo] = None
|
|
20
|
+
name: typing.Optional[str] = None
|
|
21
|
+
email: typing.Optional[str] = None
|
|
22
|
+
phone_number: typing.Optional[ThreeDsCardholderPhoneNumber] = None
|
|
23
|
+
mobile_phone_number: typing.Optional[ThreeDsCardholderPhoneNumber] = None
|
|
24
|
+
work_phone_number: typing.Optional[ThreeDsCardholderPhoneNumber] = None
|
|
25
|
+
billing_shipping_address_match: typing.Optional[str] = None
|
|
26
|
+
billing_address: typing.Optional[ThreeDsAddress] = None
|
|
27
|
+
shipping_address: typing.Optional[ThreeDsAddress] = None
|
|
28
|
+
|
|
29
|
+
if IS_PYDANTIC_V2:
|
|
30
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
31
|
+
else:
|
|
32
|
+
|
|
33
|
+
class Config:
|
|
34
|
+
frozen = True
|
|
35
|
+
smart_union = True
|
|
36
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsCardholderPhoneNumber(UniversalBaseModel):
|
|
10
|
+
country_code: typing.Optional[str] = None
|
|
11
|
+
number: typing.Optional[str] = None
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .three_ds_mobile_sdk_render_options import ThreeDsMobileSdkRenderOptions
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ThreeDsDeviceInfo(UniversalBaseModel):
|
|
11
|
+
browser_accept_header: typing.Optional[str] = None
|
|
12
|
+
browser_ip: typing.Optional[str] = None
|
|
13
|
+
browser_javascript_enabled: typing.Optional[bool] = None
|
|
14
|
+
browser_java_enabled: typing.Optional[bool] = None
|
|
15
|
+
browser_language: typing.Optional[str] = None
|
|
16
|
+
browser_color_depth: typing.Optional[str] = None
|
|
17
|
+
browser_screen_height: typing.Optional[str] = None
|
|
18
|
+
browser_screen_width: typing.Optional[str] = None
|
|
19
|
+
browser_tz: typing.Optional[str] = None
|
|
20
|
+
browser_user_agent: typing.Optional[str] = None
|
|
21
|
+
sdk_transaction_id: typing.Optional[str] = None
|
|
22
|
+
sdk_application_id: typing.Optional[str] = None
|
|
23
|
+
sdk_encryption_data: typing.Optional[str] = None
|
|
24
|
+
sdk_ephemeral_public_key: typing.Optional[str] = None
|
|
25
|
+
sdk_max_timeout: typing.Optional[str] = None
|
|
26
|
+
sdk_reference_number: typing.Optional[str] = None
|
|
27
|
+
sdk_render_options: typing.Optional[ThreeDsMobileSdkRenderOptions] = None
|
|
28
|
+
|
|
29
|
+
if IS_PYDANTIC_V2:
|
|
30
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
31
|
+
else:
|
|
32
|
+
|
|
33
|
+
class Config:
|
|
34
|
+
frozen = True
|
|
35
|
+
smart_union = True
|
|
36
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
from .three_ds_merchant_risk_info import ThreeDsMerchantRiskInfo
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ThreeDsMerchantInfo(UniversalBaseModel):
|
|
11
|
+
mid: typing.Optional[str] = None
|
|
12
|
+
acquirer_bin: typing.Optional[str] = None
|
|
13
|
+
name: typing.Optional[str] = None
|
|
14
|
+
country_code: typing.Optional[str] = None
|
|
15
|
+
category_code: typing.Optional[str] = None
|
|
16
|
+
url: typing.Optional[str] = None
|
|
17
|
+
risk_info: typing.Optional[ThreeDsMerchantRiskInfo] = None
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsMerchantRiskInfo(UniversalBaseModel):
|
|
10
|
+
delivery_email: typing.Optional[str] = None
|
|
11
|
+
delivery_time_frame: typing.Optional[str] = None
|
|
12
|
+
gift_card_amount: typing.Optional[str] = None
|
|
13
|
+
gift_card_count: typing.Optional[str] = None
|
|
14
|
+
gift_card_currency: typing.Optional[str] = None
|
|
15
|
+
pre_order_purchase: typing.Optional[bool] = None
|
|
16
|
+
pre_order_date: typing.Optional[str] = None
|
|
17
|
+
reordered_purchase: typing.Optional[bool] = None
|
|
18
|
+
shipping_method: typing.Optional[str] = None
|
|
19
|
+
|
|
20
|
+
if IS_PYDANTIC_V2:
|
|
21
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
22
|
+
else:
|
|
23
|
+
|
|
24
|
+
class Config:
|
|
25
|
+
frozen = True
|
|
26
|
+
smart_union = True
|
|
27
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsMessageExtension(UniversalBaseModel):
|
|
10
|
+
id: typing.Optional[str] = None
|
|
11
|
+
name: typing.Optional[str] = None
|
|
12
|
+
critical: typing.Optional[bool] = None
|
|
13
|
+
data: typing.Optional[typing.Optional[typing.Any]] = None
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsMethod(UniversalBaseModel):
|
|
10
|
+
method_url: typing.Optional[str] = None
|
|
11
|
+
method_completion_indicator: typing.Optional[str] = None
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsMobileSdkRenderOptions(UniversalBaseModel):
|
|
10
|
+
sdk_interface: typing.Optional[str] = None
|
|
11
|
+
sdk_ui_type: typing.Optional[typing.List[str]] = None
|
|
12
|
+
|
|
13
|
+
if IS_PYDANTIC_V2:
|
|
14
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
15
|
+
else:
|
|
16
|
+
|
|
17
|
+
class Config:
|
|
18
|
+
frozen = True
|
|
19
|
+
smart_union = True
|
|
20
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsPriorAuthenticationInfo(UniversalBaseModel):
|
|
10
|
+
method: typing.Optional[str] = None
|
|
11
|
+
timestamp: typing.Optional[str] = None
|
|
12
|
+
reference_id: typing.Optional[str] = None
|
|
13
|
+
data: typing.Optional[str] = None
|
|
14
|
+
|
|
15
|
+
if IS_PYDANTIC_V2:
|
|
16
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
17
|
+
else:
|
|
18
|
+
|
|
19
|
+
class Config:
|
|
20
|
+
frozen = True
|
|
21
|
+
smart_union = True
|
|
22
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsPurchaseInfo(UniversalBaseModel):
|
|
10
|
+
amount: typing.Optional[str] = None
|
|
11
|
+
currency: typing.Optional[str] = None
|
|
12
|
+
exponent: typing.Optional[str] = None
|
|
13
|
+
date: typing.Optional[str] = None
|
|
14
|
+
transaction_type: typing.Optional[str] = None
|
|
15
|
+
installment_count: typing.Optional[str] = None
|
|
16
|
+
recurring_expiration: typing.Optional[str] = None
|
|
17
|
+
recurring_frequency: typing.Optional[str] = None
|
|
18
|
+
|
|
19
|
+
if IS_PYDANTIC_V2:
|
|
20
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
21
|
+
else:
|
|
22
|
+
|
|
23
|
+
class Config:
|
|
24
|
+
frozen = True
|
|
25
|
+
smart_union = True
|
|
26
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsRequestorInfo(UniversalBaseModel):
|
|
10
|
+
id: typing.Optional[str] = None
|
|
11
|
+
name: typing.Optional[str] = None
|
|
12
|
+
url: typing.Optional[str] = None
|
|
13
|
+
discover_client_id: typing.Optional[str] = None
|
|
14
|
+
discover_requestor_id: typing.Optional[str] = None
|
|
15
|
+
amex_requestor_type: typing.Optional[str] = None
|
|
16
|
+
cb_siret_number: typing.Optional[str] = None
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
8
|
+
from .three_ds_authentication import ThreeDsAuthentication
|
|
9
|
+
from .three_ds_device_info import ThreeDsDeviceInfo
|
|
10
|
+
from .three_ds_method import ThreeDsMethod
|
|
11
|
+
from .three_ds_version import ThreeDsVersion
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class ThreeDsSession(UniversalBaseModel):
|
|
15
|
+
id: typing.Optional[str] = None
|
|
16
|
+
type: typing.Optional[str] = None
|
|
17
|
+
tenant_id: typing.Optional[str] = None
|
|
18
|
+
pan_token_id: typing.Optional[str] = None
|
|
19
|
+
token_id: typing.Optional[str] = None
|
|
20
|
+
token_intent_id: typing.Optional[str] = None
|
|
21
|
+
card_brand: typing.Optional[str] = None
|
|
22
|
+
additional_card_brands: typing.Optional[typing.List[str]] = None
|
|
23
|
+
expiration_date: typing.Optional[dt.datetime] = None
|
|
24
|
+
created_date: typing.Optional[dt.datetime] = None
|
|
25
|
+
created_by: typing.Optional[str] = None
|
|
26
|
+
modified_date: typing.Optional[dt.datetime] = None
|
|
27
|
+
modified_by: typing.Optional[str] = None
|
|
28
|
+
device: typing.Optional[str] = None
|
|
29
|
+
device_info: typing.Optional[ThreeDsDeviceInfo] = None
|
|
30
|
+
web_challenge_mode: typing.Optional[str] = None
|
|
31
|
+
version: typing.Optional[ThreeDsVersion] = None
|
|
32
|
+
method: typing.Optional[ThreeDsMethod] = None
|
|
33
|
+
authentication: typing.Optional[ThreeDsAuthentication] = None
|
|
34
|
+
|
|
35
|
+
if IS_PYDANTIC_V2:
|
|
36
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
37
|
+
else:
|
|
38
|
+
|
|
39
|
+
class Config:
|
|
40
|
+
frozen = True
|
|
41
|
+
smart_union = True
|
|
42
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import pydantic
|
|
6
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ThreeDsVersion(UniversalBaseModel):
|
|
10
|
+
recommended_version: typing.Optional[str] = None
|
|
11
|
+
available_versions: typing.Optional[typing.List[str]] = None
|
|
12
|
+
earliest_acs_supported_version: typing.Optional[str] = None
|
|
13
|
+
earliest_ds_supported_version: typing.Optional[str] = None
|
|
14
|
+
latest_acs_supported_version: typing.Optional[str] = None
|
|
15
|
+
latest_ds_supported_version: typing.Optional[str] = None
|
|
16
|
+
acs_information: typing.Optional[typing.List[str]] = None
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
frozen = True
|
|
24
|
+
smart_union = True
|
|
25
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import datetime as dt
|
|
4
|
+
import typing
|
|
5
|
+
|
|
6
|
+
import pydantic
|
|
7
|
+
import typing_extensions
|
|
8
|
+
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
9
|
+
from ..core.serialization import FieldMetadata
|
|
10
|
+
from .bank_details import BankDetails
|
|
11
|
+
from .card_details import CardDetails
|
|
12
|
+
from .privacy import Privacy
|
|
13
|
+
from .token_enrichments import TokenEnrichments
|
|
14
|
+
from .token_extras import TokenExtras
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class Token(UniversalBaseModel):
|
|
18
|
+
id: typing.Optional[str] = None
|
|
19
|
+
type: typing.Optional[str] = None
|
|
20
|
+
tenant_id: typing.Optional[str] = None
|
|
21
|
+
data: typing.Optional[typing.Optional[typing.Any]] = None
|
|
22
|
+
metadata: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None
|
|
23
|
+
enrichments: typing.Optional[TokenEnrichments] = None
|
|
24
|
+
created_by: typing.Optional[str] = None
|
|
25
|
+
created_at: typing.Optional[dt.datetime] = None
|
|
26
|
+
card: typing.Optional[CardDetails] = None
|
|
27
|
+
bank: typing.Optional[BankDetails] = None
|
|
28
|
+
network_token: typing.Optional[CardDetails] = None
|
|
29
|
+
modified_by: typing.Optional[str] = None
|
|
30
|
+
modified_at: typing.Optional[dt.datetime] = None
|
|
31
|
+
fingerprint: typing.Optional[str] = None
|
|
32
|
+
fingerprint_expression: typing.Optional[str] = None
|
|
33
|
+
mask: typing.Optional[typing.Optional[typing.Any]] = None
|
|
34
|
+
privacy: typing.Optional[Privacy] = None
|
|
35
|
+
search_indexes: typing.Optional[typing.List[str]] = None
|
|
36
|
+
expires_at: typing.Optional[dt.datetime] = None
|
|
37
|
+
containers: typing.Optional[typing.List[str]] = None
|
|
38
|
+
aliases: typing.Optional[typing.List[str]] = None
|
|
39
|
+
authentication: typing.Optional[typing.Optional[typing.Any]] = None
|
|
40
|
+
extras: typing_extensions.Annotated[typing.Optional[TokenExtras], FieldMetadata(alias="_extras")] = None
|
|
41
|
+
|
|
42
|
+
if IS_PYDANTIC_V2:
|
|
43
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
44
|
+
else:
|
|
45
|
+
|
|
46
|
+
class Config:
|
|
47
|
+
frozen = True
|
|
48
|
+
smart_union = True
|
|
49
|
+
extra = pydantic.Extra.allow
|