cryptascreen 0.2.0__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.
- cryptascreen/__init__.py +61 -0
- cryptascreen/_util.py +111 -0
- cryptascreen/_version.py +3 -0
- cryptascreen/client.py +231 -0
- cryptascreen/config.py +48 -0
- cryptascreen/errors.py +217 -0
- cryptascreen/helpers.py +47 -0
- cryptascreen/operations.py +131 -0
- cryptascreen/resources/__init__.py +1 -0
- cryptascreen/resources/alerts.py +51 -0
- cryptascreen/resources/auth.py +36 -0
- cryptascreen/resources/capabilities.py +36 -0
- cryptascreen/resources/cases.py +198 -0
- cryptascreen/resources/compliance.py +116 -0
- cryptascreen/resources/graph.py +70 -0
- cryptascreen/resources/intelligence.py +69 -0
- cryptascreen/resources/monitoring.py +142 -0
- cryptascreen/resources/names.py +97 -0
- cryptascreen/resources/sanctions.py +50 -0
- cryptascreen/resources/screening.py +379 -0
- cryptascreen/resources/settings.py +115 -0
- cryptascreen/resources/webhooks.py +55 -0
- cryptascreen/retry.py +176 -0
- cryptascreen/signature.py +118 -0
- cryptascreen/types/__init__.py +313 -0
- cryptascreen/types/_account.py +199 -0
- cryptascreen/types/_models.py +1620 -0
- cryptascreen/types/cases.py +31 -0
- cryptascreen/types/common.py +17 -0
- cryptascreen/types/compliance.py +27 -0
- cryptascreen/types/graph.py +25 -0
- cryptascreen/types/intelligence.py +11 -0
- cryptascreen/types/names.py +39 -0
- cryptascreen/types/sanctions.py +13 -0
- cryptascreen/types/screening.py +73 -0
- cryptascreen/types/wallet.py +85 -0
- cryptascreen/types/webhooks.py +13 -0
- cryptascreen-0.2.0.dist-info/METADATA +305 -0
- cryptascreen-0.2.0.dist-info/RECORD +41 -0
- cryptascreen-0.2.0.dist-info/WHEEL +4 -0
- cryptascreen-0.2.0.dist-info/licenses/LICENSE +21 -0
cryptascreen/retry.py
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"""Retry policy and error mapping (same as @cryptascreen/sdk client.ts).
|
|
2
|
+
|
|
3
|
+
Retry on 429 (except ``quota_exceeded``) and on any 5xx, up to ``max_retries``. Delay: the ``Retry-After`` header
|
|
4
|
+
(integer seconds) when present, otherwise exponential 1s, 2s, 4s ... capped at 30s. Never retried: 400, 401, 402, 403, 404,
|
|
5
|
+
429 ``quota_exceeded``. Network errors are not retried.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
import asyncio
|
|
11
|
+
import re
|
|
12
|
+
import time
|
|
13
|
+
from collections.abc import Awaitable, Callable
|
|
14
|
+
from datetime import datetime, timedelta, timezone
|
|
15
|
+
from typing import Any
|
|
16
|
+
|
|
17
|
+
import httpx
|
|
18
|
+
|
|
19
|
+
from cryptascreen.config import Config
|
|
20
|
+
from cryptascreen.errors import (
|
|
21
|
+
PLAN_LIMIT_CODES,
|
|
22
|
+
ApiKeyLimitReachedError,
|
|
23
|
+
AuthenticationError,
|
|
24
|
+
CryptaScreenError,
|
|
25
|
+
NotFoundError,
|
|
26
|
+
PlanLimitError,
|
|
27
|
+
QuotaExceededError,
|
|
28
|
+
RateLimitError,
|
|
29
|
+
SeatLimitReachedError,
|
|
30
|
+
ServicePausedError,
|
|
31
|
+
ValidationError,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _body(response: httpx.Response) -> dict[str, Any]:
|
|
36
|
+
try:
|
|
37
|
+
data = response.json()
|
|
38
|
+
except ValueError:
|
|
39
|
+
return {}
|
|
40
|
+
return data if isinstance(data, dict) else {}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def is_quota_exceeded(response: httpx.Response) -> bool:
|
|
44
|
+
"""429 ``quota_exceeded`` is the plan's monthly cap, not a rate limit."""
|
|
45
|
+
if response.status_code != 429:
|
|
46
|
+
return False
|
|
47
|
+
body = _body(response)
|
|
48
|
+
return body.get("error") == "quota_exceeded" or body.get("code") == "QUOTA_EXCEEDED"
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def is_retryable(response: httpx.Response) -> bool:
|
|
52
|
+
status = response.status_code
|
|
53
|
+
return (status == 429 and not is_quota_exceeded(response)) or status >= 500
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _parse_int(value: str | None) -> int | None:
|
|
57
|
+
"""JavaScript ``parseInt(value, 10)``: leading integer, otherwise None."""
|
|
58
|
+
if value is None:
|
|
59
|
+
return None
|
|
60
|
+
m = re.match(r"\s*([+-]?\d+)", value)
|
|
61
|
+
return int(m.group(1)) if m else None
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
def retry_delay(response: httpx.Response, attempt: int, config: Config) -> float:
|
|
65
|
+
"""Seconds to wait before retry number ``attempt + 1``."""
|
|
66
|
+
seconds = _parse_int(response.headers.get("retry-after"))
|
|
67
|
+
if seconds is not None:
|
|
68
|
+
return max(0.0, float(seconds))
|
|
69
|
+
return float(min(config.retry_base_delay * (2**attempt), config.retry_max_delay))
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
def to_sdk_error(response: httpx.Response) -> CryptaScreenError:
|
|
73
|
+
"""Map an error response to a typed exception (client.ts ``toSdkError``)."""
|
|
74
|
+
status = response.status_code
|
|
75
|
+
body = _body(response)
|
|
76
|
+
request_id = response.headers.get("x-request-id")
|
|
77
|
+
raw_message = body.get("message")
|
|
78
|
+
message: str = (
|
|
79
|
+
raw_message if isinstance(raw_message, str) else f"Request failed with status code {status}"
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
if status == 401:
|
|
83
|
+
return AuthenticationError(message, request_id)
|
|
84
|
+
if status == 404:
|
|
85
|
+
return NotFoundError(
|
|
86
|
+
str(body.get("resource") or "Resource"), str(body.get("id") or ""), request_id
|
|
87
|
+
)
|
|
88
|
+
if status == 400:
|
|
89
|
+
field_errors: dict[str, list[str]] = {
|
|
90
|
+
k: list(v) for k, v in (body.get("fieldErrors") or {}).items()
|
|
91
|
+
}
|
|
92
|
+
field = body.get("field")
|
|
93
|
+
if field:
|
|
94
|
+
field_errors[field] = [*field_errors.get(field, []), message]
|
|
95
|
+
items = body.get("items") or []
|
|
96
|
+
for it in items:
|
|
97
|
+
key = f"{it.get('field')}[{it.get('index')}]"
|
|
98
|
+
field_errors[key] = [*field_errors.get(key, []), it.get("message")]
|
|
99
|
+
return ValidationError(message, field_errors, request_id, body.get("code"), items)
|
|
100
|
+
if status == 403:
|
|
101
|
+
code = body.get("error") or body.get("code")
|
|
102
|
+
if code and code in PLAN_LIMIT_CODES:
|
|
103
|
+
used, limit, plan = body.get("used"), body.get("limit"), body.get("plan")
|
|
104
|
+
if code == "SEAT_LIMIT_REACHED":
|
|
105
|
+
return SeatLimitReachedError(message, request_id, used, limit, plan)
|
|
106
|
+
if code == "API_KEY_LIMIT_REACHED":
|
|
107
|
+
return ApiKeyLimitReachedError(message, request_id, used, limit, plan)
|
|
108
|
+
return PlanLimitError(message, code, request_id, used, limit, plan)
|
|
109
|
+
return CryptaScreenError(
|
|
110
|
+
message, 403, body.get("code") or body.get("error") or "FORBIDDEN", request_id, body
|
|
111
|
+
)
|
|
112
|
+
if status == 402:
|
|
113
|
+
if body.get("code") == "SERVICE_PAUSED" or body.get("error") == "service_paused":
|
|
114
|
+
return ServicePausedError(
|
|
115
|
+
message,
|
|
116
|
+
request_id,
|
|
117
|
+
body.get("subscriptionStatus"),
|
|
118
|
+
body.get("billing_url"),
|
|
119
|
+
body.get("reason"),
|
|
120
|
+
)
|
|
121
|
+
return CryptaScreenError(
|
|
122
|
+
message, 402, body.get("code") or "PAYMENT_REQUIRED", request_id, body
|
|
123
|
+
)
|
|
124
|
+
if status == 429:
|
|
125
|
+
if is_quota_exceeded(response):
|
|
126
|
+
return QuotaExceededError(
|
|
127
|
+
message, request_id, body.get("resets_at"), body.get("upgrade_url")
|
|
128
|
+
)
|
|
129
|
+
parsed = _parse_int(response.headers.get("retry-after"))
|
|
130
|
+
retry_after_ms = parsed * 1000 if parsed is not None else 60_000
|
|
131
|
+
reset_at = datetime.now(timezone.utc) + timedelta(milliseconds=retry_after_ms)
|
|
132
|
+
return RateLimitError(reset_at, retry_after_ms, request_id)
|
|
133
|
+
return CryptaScreenError(
|
|
134
|
+
message, status, body.get("code") or "UNKNOWN_ERROR", request_id, body or None
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
def transport_error(exc: Exception) -> CryptaScreenError:
|
|
139
|
+
"""No response (timeout, connection error): TS maps this to UNKNOWN_ERROR / status 0, never retried."""
|
|
140
|
+
return CryptaScreenError(str(exc) or exc.__class__.__name__, 0, "UNKNOWN_ERROR")
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
def execute_with_retry(config: Config, request: Callable[[], httpx.Response]) -> httpx.Response:
|
|
144
|
+
"""Run ``request`` with the SDK retry policy; raise a typed error on failure."""
|
|
145
|
+
attempt = 0
|
|
146
|
+
while True:
|
|
147
|
+
try:
|
|
148
|
+
response = request()
|
|
149
|
+
except httpx.HTTPError as exc:
|
|
150
|
+
raise transport_error(exc) from exc
|
|
151
|
+
if response.is_success:
|
|
152
|
+
return response
|
|
153
|
+
if is_retryable(response) and attempt < config.max_retries:
|
|
154
|
+
time.sleep(retry_delay(response, attempt, config))
|
|
155
|
+
attempt += 1
|
|
156
|
+
continue
|
|
157
|
+
raise to_sdk_error(response)
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
async def async_execute_with_retry(
|
|
161
|
+
config: Config, request: Callable[[], Awaitable[httpx.Response]]
|
|
162
|
+
) -> httpx.Response:
|
|
163
|
+
"""Async variant of :func:`execute_with_retry`."""
|
|
164
|
+
attempt = 0
|
|
165
|
+
while True:
|
|
166
|
+
try:
|
|
167
|
+
response = await request()
|
|
168
|
+
except httpx.HTTPError as exc:
|
|
169
|
+
raise transport_error(exc) from exc
|
|
170
|
+
if response.is_success:
|
|
171
|
+
return response
|
|
172
|
+
if is_retryable(response) and attempt < config.max_retries:
|
|
173
|
+
await asyncio.sleep(retry_delay(response, attempt, config))
|
|
174
|
+
attempt += 1
|
|
175
|
+
continue
|
|
176
|
+
raise to_sdk_error(response)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
"""Webhook signature verification.
|
|
2
|
+
|
|
3
|
+
CryptaScreen signs every webhook delivery twice:
|
|
4
|
+
|
|
5
|
+
* ``X-CryptaScreen-Signature-V2: t=<unix>,v1=<hex(HMAC_SHA256(secret, "<unix>." + body))>`` (replay-resistant)
|
|
6
|
+
* ``X-CryptaScreen-Signature: sha256=<hex(HMAC_SHA256(secret, body))>`` (legacy, no timestamp)
|
|
7
|
+
|
|
8
|
+
``verify_webhook_signature`` checks V2 (constant-time compare, timestamp within ``tolerance`` seconds, default 300).
|
|
9
|
+
The legacy header is accepted only with ``allow_legacy=True`` (it cannot detect a replay). The same algorithm and test
|
|
10
|
+
vectors (``tests/fixtures/webhook_vectors.json``) are used by the other CryptaScreen SDKs.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
from __future__ import annotations
|
|
14
|
+
|
|
15
|
+
import hashlib
|
|
16
|
+
import hmac
|
|
17
|
+
import json
|
|
18
|
+
import re
|
|
19
|
+
import time
|
|
20
|
+
from typing import Any
|
|
21
|
+
|
|
22
|
+
from cryptascreen.errors import CryptaScreenError
|
|
23
|
+
|
|
24
|
+
SIGNATURE_HEADER = "X-CryptaScreen-Signature"
|
|
25
|
+
SIGNATURE_V2_HEADER = "X-CryptaScreen-Signature-V2"
|
|
26
|
+
TIMESTAMP_HEADER = "X-CryptaScreen-Timestamp"
|
|
27
|
+
EVENT_HEADER = "X-CryptaScreen-Event"
|
|
28
|
+
EVENT_ID_HEADER = "X-CryptaScreen-Event-Id"
|
|
29
|
+
DEFAULT_TOLERANCE_SECONDS = 300
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class WebhookSignatureError(CryptaScreenError):
|
|
33
|
+
"""The webhook payload could not be authenticated (``code`` says why)."""
|
|
34
|
+
|
|
35
|
+
def __init__(self, message: str, code: str) -> None:
|
|
36
|
+
super().__init__(message, 0, code)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def compute_webhook_signature(secret: str, body: str | bytes, timestamp: int | None = None) -> str:
|
|
40
|
+
"""Hex HMAC-SHA256: of ``body`` (legacy) or of ``"<timestamp>." + body`` when a timestamp is given."""
|
|
41
|
+
raw = body.encode("utf-8") if isinstance(body, str) else body
|
|
42
|
+
msg = raw if timestamp is None else f"{timestamp}.".encode() + raw
|
|
43
|
+
return hmac.new(secret.encode("utf-8"), msg, hashlib.sha256).hexdigest()
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def _header(headers: Any, name: str) -> str | None:
|
|
47
|
+
lname = name.lower()
|
|
48
|
+
for k in headers:
|
|
49
|
+
if str(k).lower() == lname:
|
|
50
|
+
v = headers[k]
|
|
51
|
+
return v if isinstance(v, str) else (v[0] if v else None)
|
|
52
|
+
return None
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def verify_webhook_signature(
|
|
56
|
+
secret: str,
|
|
57
|
+
body: str | bytes,
|
|
58
|
+
headers: Any,
|
|
59
|
+
*,
|
|
60
|
+
tolerance: int = DEFAULT_TOLERANCE_SECONDS,
|
|
61
|
+
allow_legacy: bool = False,
|
|
62
|
+
now: float | None = None,
|
|
63
|
+
) -> bool:
|
|
64
|
+
"""Return True when the delivery is authentic; raise :class:`WebhookSignatureError` otherwise.
|
|
65
|
+
|
|
66
|
+
Args:
|
|
67
|
+
secret: The webhook secret (``WebhookConfig.secret``).
|
|
68
|
+
body: The RAW request body exactly as received (not re-serialised JSON).
|
|
69
|
+
headers: Mapping of request headers (case-insensitive lookup).
|
|
70
|
+
tolerance: Maximum clock difference in seconds between ``t`` and ``now`` (both directions).
|
|
71
|
+
allow_legacy: Accept the legacy ``X-CryptaScreen-Signature`` header when no V2 header is present.
|
|
72
|
+
now: Unix time override (tests).
|
|
73
|
+
"""
|
|
74
|
+
v2 = _header(headers, SIGNATURE_V2_HEADER)
|
|
75
|
+
current = time.time() if now is None else now
|
|
76
|
+
if v2:
|
|
77
|
+
parts = [p.strip() for p in v2.split(",")]
|
|
78
|
+
t_raw = next((p[2:] for p in parts if p.startswith("t=")), None)
|
|
79
|
+
sigs = [p[3:] for p in parts if p.startswith("v1=")]
|
|
80
|
+
if t_raw is None or not re.fullmatch(r"[0-9]{1,15}", t_raw) or not sigs:
|
|
81
|
+
raise WebhookSignatureError(
|
|
82
|
+
"Malformed X-CryptaScreen-Signature-V2 header", "WEBHOOK_SIGNATURE_MALFORMED"
|
|
83
|
+
)
|
|
84
|
+
t = int(t_raw)
|
|
85
|
+
expected = compute_webhook_signature(secret, body, t)
|
|
86
|
+
if not any(hmac.compare_digest(expected.encode(), s.lower().encode()) for s in sigs):
|
|
87
|
+
raise WebhookSignatureError(
|
|
88
|
+
"Webhook signature does not match", "WEBHOOK_SIGNATURE_MISMATCH"
|
|
89
|
+
)
|
|
90
|
+
if abs(current - t) > tolerance:
|
|
91
|
+
raise WebhookSignatureError(
|
|
92
|
+
f"Webhook timestamp outside the tolerance of {tolerance}s",
|
|
93
|
+
"WEBHOOK_TIMESTAMP_OUT_OF_TOLERANCE",
|
|
94
|
+
)
|
|
95
|
+
return True
|
|
96
|
+
legacy = _header(headers, SIGNATURE_HEADER)
|
|
97
|
+
if legacy and allow_legacy:
|
|
98
|
+
if not legacy.startswith("sha256="):
|
|
99
|
+
raise WebhookSignatureError(
|
|
100
|
+
"Malformed X-CryptaScreen-Signature header", "WEBHOOK_SIGNATURE_MALFORMED"
|
|
101
|
+
)
|
|
102
|
+
expected = compute_webhook_signature(secret, body)
|
|
103
|
+
if not hmac.compare_digest(expected.encode(), legacy[7:].lower().encode()):
|
|
104
|
+
raise WebhookSignatureError(
|
|
105
|
+
"Webhook signature does not match", "WEBHOOK_SIGNATURE_MISMATCH"
|
|
106
|
+
)
|
|
107
|
+
return True
|
|
108
|
+
raise WebhookSignatureError(
|
|
109
|
+
"No usable signature header (X-CryptaScreen-Signature-V2)", "WEBHOOK_SIGNATURE_MISSING"
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def construct_webhook_event(
|
|
114
|
+
secret: str, body: str | bytes, headers: Any, **kwargs: Any
|
|
115
|
+
) -> dict[str, Any]:
|
|
116
|
+
"""Verify (see :func:`verify_webhook_signature`) and return the parsed event ``{id, type, createdAt, source, data}``."""
|
|
117
|
+
verify_webhook_signature(secret, body, headers, **kwargs)
|
|
118
|
+
return json.loads(body) # type: ignore[no-any-return]
|
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
"""CryptaScreen API types."""
|
|
2
|
+
|
|
3
|
+
from cryptascreen.types._account import (
|
|
4
|
+
AddMonitoredWalletRequest,
|
|
5
|
+
AuthMe,
|
|
6
|
+
BreachDetection,
|
|
7
|
+
BreachSummary,
|
|
8
|
+
Capabilities,
|
|
9
|
+
CapabilityChain,
|
|
10
|
+
CapabilityLayer,
|
|
11
|
+
DeletedResponse,
|
|
12
|
+
ItemsResponse,
|
|
13
|
+
MonitoredName,
|
|
14
|
+
MonitoredNamesResponse,
|
|
15
|
+
MonitoredWallet,
|
|
16
|
+
MonitoringOverview,
|
|
17
|
+
NameMatchingStrength,
|
|
18
|
+
RemovedResponse,
|
|
19
|
+
ScoreThresholdAuditEntry,
|
|
20
|
+
ScoreThresholdAuditPage,
|
|
21
|
+
ScoreThresholdSettings,
|
|
22
|
+
ScoreThresholdValues,
|
|
23
|
+
VendorKeyView,
|
|
24
|
+
)
|
|
25
|
+
from cryptascreen.types._models import (
|
|
26
|
+
AddEvidenceRequest,
|
|
27
|
+
AddNoteRequest,
|
|
28
|
+
AlertAcknowledgement,
|
|
29
|
+
AlertAuditEntry,
|
|
30
|
+
AlertDetail,
|
|
31
|
+
AlertReason,
|
|
32
|
+
ApiError,
|
|
33
|
+
ApiResponse,
|
|
34
|
+
AssessmentStatus,
|
|
35
|
+
AsyncSubmitOptions,
|
|
36
|
+
BulkScreeningRequest,
|
|
37
|
+
CacheDecision,
|
|
38
|
+
CaseAssignee,
|
|
39
|
+
CaseAssignment,
|
|
40
|
+
CaseEvent,
|
|
41
|
+
CaseEvidence,
|
|
42
|
+
CaseNote,
|
|
43
|
+
CasePriority,
|
|
44
|
+
CaseStatus,
|
|
45
|
+
Coverage,
|
|
46
|
+
CreateCaseRequest,
|
|
47
|
+
CryptaScreenConfig,
|
|
48
|
+
Dac8OperatorInfo,
|
|
49
|
+
Dac8ReportRequest,
|
|
50
|
+
Dac8ReportResult,
|
|
51
|
+
Dac8TransactionData,
|
|
52
|
+
Dac8UserData,
|
|
53
|
+
DetectorOutcome,
|
|
54
|
+
Disposition,
|
|
55
|
+
EntityLabel,
|
|
56
|
+
EscalateCaseRequest,
|
|
57
|
+
FindingCategory,
|
|
58
|
+
GraphEdge,
|
|
59
|
+
GraphExportFormat,
|
|
60
|
+
GraphNode,
|
|
61
|
+
GraphRequest,
|
|
62
|
+
GraphResponse,
|
|
63
|
+
GraphScope,
|
|
64
|
+
GraphScopeStatus,
|
|
65
|
+
GraphStats,
|
|
66
|
+
GraphStatus,
|
|
67
|
+
HeuristicDetectorStatus,
|
|
68
|
+
HeuristicsStatus,
|
|
69
|
+
InvestigationCase,
|
|
70
|
+
LayerState,
|
|
71
|
+
ListCasesParams,
|
|
72
|
+
MatchState,
|
|
73
|
+
NameCoverage,
|
|
74
|
+
NameDecisionRequest,
|
|
75
|
+
NameHit,
|
|
76
|
+
NameIdentifier,
|
|
77
|
+
NameIdentifierType,
|
|
78
|
+
NameListedEntity,
|
|
79
|
+
NameMatchDecision,
|
|
80
|
+
NameMatchReason,
|
|
81
|
+
NameMatchStrength,
|
|
82
|
+
NameOutcome,
|
|
83
|
+
NameReasonOutcome,
|
|
84
|
+
NameScreeningHistoryItem,
|
|
85
|
+
NameScreenOptions,
|
|
86
|
+
NameScreenRequest,
|
|
87
|
+
NameScreenResponse,
|
|
88
|
+
NameSubjectType,
|
|
89
|
+
PageOptions,
|
|
90
|
+
PaginatedResponse,
|
|
91
|
+
PaginationParams,
|
|
92
|
+
PolicyVersion,
|
|
93
|
+
ResultValidity,
|
|
94
|
+
ReviewStatus,
|
|
95
|
+
RiskLevel,
|
|
96
|
+
SanctionsCheckResponse,
|
|
97
|
+
SanctionsCheckResult,
|
|
98
|
+
SanctionsStatusResponse,
|
|
99
|
+
ScreenAddressRequest,
|
|
100
|
+
ScreeningEvaluation,
|
|
101
|
+
ScreeningEvaluationPage,
|
|
102
|
+
ScreeningFlag,
|
|
103
|
+
ScreeningJob,
|
|
104
|
+
ScreeningJobItem,
|
|
105
|
+
ScreeningJobResultsPage,
|
|
106
|
+
ScreeningJobStatus,
|
|
107
|
+
ScreeningJobSummary,
|
|
108
|
+
ScreeningLayer,
|
|
109
|
+
ScreeningLayers,
|
|
110
|
+
ScreeningResponse,
|
|
111
|
+
ScreeningResult,
|
|
112
|
+
SourceFreshness,
|
|
113
|
+
TravelRuleCheckRequest,
|
|
114
|
+
TravelRuleCheckResult,
|
|
115
|
+
TravelRulePayload,
|
|
116
|
+
TravelRulePayloadRequest,
|
|
117
|
+
UpdateCaseStatusRequest,
|
|
118
|
+
VaspIdentification,
|
|
119
|
+
VaspInfo,
|
|
120
|
+
VendorLayer,
|
|
121
|
+
VendorLayerStatus,
|
|
122
|
+
WalletAssetShare,
|
|
123
|
+
WalletAssetTotal,
|
|
124
|
+
WalletCategoryAssetShare,
|
|
125
|
+
WalletCategoryAssetTotal,
|
|
126
|
+
WalletCategoryDerivedSource,
|
|
127
|
+
WalletCategoryExposure,
|
|
128
|
+
WalletCategoryFlow,
|
|
129
|
+
WalletCategoryPart,
|
|
130
|
+
WalletCategoryShare,
|
|
131
|
+
WalletCounterparty,
|
|
132
|
+
WalletCounterpartyOptions,
|
|
133
|
+
WalletCounterpartyPage,
|
|
134
|
+
WalletDerivedExposure,
|
|
135
|
+
WalletDerivedStep,
|
|
136
|
+
WalletDirectionShare,
|
|
137
|
+
WalletExposureCategory,
|
|
138
|
+
WalletExposureHit,
|
|
139
|
+
WalletExposurePaths,
|
|
140
|
+
WalletFiat,
|
|
141
|
+
WalletListing,
|
|
142
|
+
WalletPathStep,
|
|
143
|
+
WalletSectionOptions,
|
|
144
|
+
WalletSectionState,
|
|
145
|
+
WalletSectionStatus,
|
|
146
|
+
WalletShareOfValue,
|
|
147
|
+
WalletStolenAssetShare,
|
|
148
|
+
WalletStolenFundsTrace,
|
|
149
|
+
WalletTransaction,
|
|
150
|
+
WalletTransactionOptions,
|
|
151
|
+
WalletTransactionPage,
|
|
152
|
+
WalletTransferCount,
|
|
153
|
+
WalletTransferCountBasis,
|
|
154
|
+
WalletUsdShare,
|
|
155
|
+
WebhookConfig,
|
|
156
|
+
WebhookDelivery,
|
|
157
|
+
WebhookEventType,
|
|
158
|
+
)
|
|
159
|
+
|
|
160
|
+
__all__ = [
|
|
161
|
+
"AddEvidenceRequest",
|
|
162
|
+
"AddMonitoredWalletRequest",
|
|
163
|
+
"AddNoteRequest",
|
|
164
|
+
"AlertAcknowledgement",
|
|
165
|
+
"AlertAuditEntry",
|
|
166
|
+
"AlertDetail",
|
|
167
|
+
"AlertReason",
|
|
168
|
+
"ApiError",
|
|
169
|
+
"ApiResponse",
|
|
170
|
+
"AssessmentStatus",
|
|
171
|
+
"AsyncSubmitOptions",
|
|
172
|
+
"AuthMe",
|
|
173
|
+
"BreachDetection",
|
|
174
|
+
"BreachSummary",
|
|
175
|
+
"BulkScreeningRequest",
|
|
176
|
+
"CacheDecision",
|
|
177
|
+
"Capabilities",
|
|
178
|
+
"CapabilityChain",
|
|
179
|
+
"CapabilityLayer",
|
|
180
|
+
"CaseAssignee",
|
|
181
|
+
"CaseAssignment",
|
|
182
|
+
"CaseEvent",
|
|
183
|
+
"CaseEvidence",
|
|
184
|
+
"CaseNote",
|
|
185
|
+
"CasePriority",
|
|
186
|
+
"CaseStatus",
|
|
187
|
+
"Coverage",
|
|
188
|
+
"CreateCaseRequest",
|
|
189
|
+
"CryptaScreenConfig",
|
|
190
|
+
"Dac8OperatorInfo",
|
|
191
|
+
"Dac8ReportRequest",
|
|
192
|
+
"Dac8ReportResult",
|
|
193
|
+
"Dac8TransactionData",
|
|
194
|
+
"Dac8UserData",
|
|
195
|
+
"DeletedResponse",
|
|
196
|
+
"DetectorOutcome",
|
|
197
|
+
"Disposition",
|
|
198
|
+
"EntityLabel",
|
|
199
|
+
"EscalateCaseRequest",
|
|
200
|
+
"FindingCategory",
|
|
201
|
+
"GraphEdge",
|
|
202
|
+
"GraphExportFormat",
|
|
203
|
+
"GraphNode",
|
|
204
|
+
"GraphRequest",
|
|
205
|
+
"GraphResponse",
|
|
206
|
+
"GraphScope",
|
|
207
|
+
"GraphScopeStatus",
|
|
208
|
+
"GraphStats",
|
|
209
|
+
"GraphStatus",
|
|
210
|
+
"HeuristicDetectorStatus",
|
|
211
|
+
"HeuristicsStatus",
|
|
212
|
+
"InvestigationCase",
|
|
213
|
+
"ItemsResponse",
|
|
214
|
+
"LayerState",
|
|
215
|
+
"ListCasesParams",
|
|
216
|
+
"MatchState",
|
|
217
|
+
"MonitoredName",
|
|
218
|
+
"MonitoredNamesResponse",
|
|
219
|
+
"MonitoredWallet",
|
|
220
|
+
"MonitoringOverview",
|
|
221
|
+
"NameCoverage",
|
|
222
|
+
"NameDecisionRequest",
|
|
223
|
+
"NameHit",
|
|
224
|
+
"NameIdentifier",
|
|
225
|
+
"NameIdentifierType",
|
|
226
|
+
"NameListedEntity",
|
|
227
|
+
"NameMatchDecision",
|
|
228
|
+
"NameMatchReason",
|
|
229
|
+
"NameMatchStrength",
|
|
230
|
+
"NameMatchingStrength",
|
|
231
|
+
"NameOutcome",
|
|
232
|
+
"NameReasonOutcome",
|
|
233
|
+
"NameScreenOptions",
|
|
234
|
+
"NameScreenRequest",
|
|
235
|
+
"NameScreenResponse",
|
|
236
|
+
"NameScreeningHistoryItem",
|
|
237
|
+
"NameSubjectType",
|
|
238
|
+
"PageOptions",
|
|
239
|
+
"PaginatedResponse",
|
|
240
|
+
"PaginationParams",
|
|
241
|
+
"PolicyVersion",
|
|
242
|
+
"RemovedResponse",
|
|
243
|
+
"ResultValidity",
|
|
244
|
+
"ReviewStatus",
|
|
245
|
+
"RiskLevel",
|
|
246
|
+
"SanctionsCheckResponse",
|
|
247
|
+
"SanctionsCheckResult",
|
|
248
|
+
"SanctionsStatusResponse",
|
|
249
|
+
"ScoreThresholdAuditEntry",
|
|
250
|
+
"ScoreThresholdAuditPage",
|
|
251
|
+
"ScoreThresholdSettings",
|
|
252
|
+
"ScoreThresholdValues",
|
|
253
|
+
"ScreenAddressRequest",
|
|
254
|
+
"ScreeningEvaluation",
|
|
255
|
+
"ScreeningEvaluationPage",
|
|
256
|
+
"ScreeningFlag",
|
|
257
|
+
"ScreeningJob",
|
|
258
|
+
"ScreeningJobItem",
|
|
259
|
+
"ScreeningJobResultsPage",
|
|
260
|
+
"ScreeningJobStatus",
|
|
261
|
+
"ScreeningJobSummary",
|
|
262
|
+
"ScreeningLayer",
|
|
263
|
+
"ScreeningLayers",
|
|
264
|
+
"ScreeningResponse",
|
|
265
|
+
"ScreeningResult",
|
|
266
|
+
"SourceFreshness",
|
|
267
|
+
"TravelRuleCheckRequest",
|
|
268
|
+
"TravelRuleCheckResult",
|
|
269
|
+
"TravelRulePayload",
|
|
270
|
+
"TravelRulePayloadRequest",
|
|
271
|
+
"UpdateCaseStatusRequest",
|
|
272
|
+
"VaspIdentification",
|
|
273
|
+
"VaspInfo",
|
|
274
|
+
"VendorKeyView",
|
|
275
|
+
"VendorLayer",
|
|
276
|
+
"VendorLayerStatus",
|
|
277
|
+
"WalletAssetShare",
|
|
278
|
+
"WalletAssetTotal",
|
|
279
|
+
"WalletCategoryAssetShare",
|
|
280
|
+
"WalletCategoryAssetTotal",
|
|
281
|
+
"WalletCategoryDerivedSource",
|
|
282
|
+
"WalletCategoryExposure",
|
|
283
|
+
"WalletCategoryFlow",
|
|
284
|
+
"WalletCategoryPart",
|
|
285
|
+
"WalletCategoryShare",
|
|
286
|
+
"WalletCounterparty",
|
|
287
|
+
"WalletCounterpartyOptions",
|
|
288
|
+
"WalletCounterpartyPage",
|
|
289
|
+
"WalletDerivedExposure",
|
|
290
|
+
"WalletDerivedStep",
|
|
291
|
+
"WalletDirectionShare",
|
|
292
|
+
"WalletExposureCategory",
|
|
293
|
+
"WalletExposureHit",
|
|
294
|
+
"WalletExposurePaths",
|
|
295
|
+
"WalletFiat",
|
|
296
|
+
"WalletListing",
|
|
297
|
+
"WalletPathStep",
|
|
298
|
+
"WalletSectionOptions",
|
|
299
|
+
"WalletSectionState",
|
|
300
|
+
"WalletSectionStatus",
|
|
301
|
+
"WalletShareOfValue",
|
|
302
|
+
"WalletStolenAssetShare",
|
|
303
|
+
"WalletStolenFundsTrace",
|
|
304
|
+
"WalletTransaction",
|
|
305
|
+
"WalletTransactionOptions",
|
|
306
|
+
"WalletTransactionPage",
|
|
307
|
+
"WalletTransferCount",
|
|
308
|
+
"WalletTransferCountBasis",
|
|
309
|
+
"WalletUsdShare",
|
|
310
|
+
"WebhookConfig",
|
|
311
|
+
"WebhookDelivery",
|
|
312
|
+
"WebhookEventType",
|
|
313
|
+
]
|