Skip to content

Commit f8626f3

Browse files
committed
Release 1.6.17
1 parent f201af5 commit f8626f3

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "flagright"
3-
version = "1.6.16"
3+
version = "1.6.17"
44
description = ""
55
readme = "README.md"
66
authors = []

src/flagright/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def get_headers(self) -> typing.Dict[str, str]:
1414
headers: typing.Dict[str, str] = {
1515
"X-Fern-Language": "Python",
1616
"X-Fern-SDK-Name": "flagright",
17-
"X-Fern-SDK-Version": "1.6.16",
17+
"X-Fern-SDK-Version": "1.6.17",
1818
}
1919
headers["x-api-key"] = self.api_key
2020
return headers

src/flagright/types/sanctions_hit_context.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import typing
55

66
from ..core.datetime_utils import serialize_datetime
7+
from .sanctions_details_entity_type import SanctionsDetailsEntityType
78
from .sanctions_screening_entity import SanctionsScreeningEntity
89

910
try:
@@ -14,10 +15,13 @@
1415

1516
class SanctionsHitContext(pydantic.BaseModel):
1617
entity: typing.Optional[SanctionsScreeningEntity]
18+
entity_type: typing.Optional[SanctionsDetailsEntityType] = pydantic.Field(alias="entityType")
1719
user_id: typing.Optional[str] = pydantic.Field(alias="userId")
1820
transaction_id: typing.Optional[str] = pydantic.Field(alias="transactionId")
1921
rule_instance_id: typing.Optional[str] = pydantic.Field(alias="ruleInstanceId")
2022
iban: typing.Optional[str]
23+
year_of_birth: typing.Optional[float] = pydantic.Field(alias="yearOfBirth")
24+
search_term: typing.Optional[str] = pydantic.Field(alias="searchTerm")
2125

2226
def json(self, **kwargs: typing.Any) -> str:
2327
kwargs_with_defaults: typing.Any = {"by_alias": True, "exclude_unset": True, **kwargs}

0 commit comments

Comments
 (0)