Skip to content

Commit 25bb0a7

Browse files
committed
Release 1.6.0
1 parent 2769bb4 commit 25bb0a7

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-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.5.13"
3+
version = "1.6.0"
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.5.13",
17+
"X-Fern-SDK-Version": "1.6.0",
1818
}
1919
headers["x-api-key"] = self.api_key
2020
return headers

src/flagright/types/card_details.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ class CardDetails(pydantic.BaseModel):
4747
card_authenticated: typing.Optional[bool] = pydantic.Field(
4848
alias="cardAuthenticated", description="Authentication of Card"
4949
)
50+
card_present: typing.Optional[bool] = pydantic.Field(alias="cardPresent", description="Card Present")
5051
payment_channel: typing.Optional[str] = pydantic.Field(alias="paymentChannel")
5152
card_type: typing.Optional[CardType] = pydantic.Field(alias="cardType")
5253
merchant_details: typing.Optional[CardMerchantDetails] = pydantic.Field(alias="merchantDetails")

src/flagright/types/webhook_event_type.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ class WebhookEventType(str, enum.Enum):
1212
ALERT_CLOSED = "ALERT_CLOSED"
1313
TRANSACTION_STATUS_UPDATED = "TRANSACTION_STATUS_UPDATED"
1414
KYC_STATUS_UPDATED = "KYC_STATUS_UPDATED"
15+
CASE_OPENED = "CASE_OPENED"
1516

1617
def visit(
1718
self,
@@ -20,6 +21,7 @@ def visit(
2021
alert_closed: typing.Callable[[], T_Result],
2122
transaction_status_updated: typing.Callable[[], T_Result],
2223
kyc_status_updated: typing.Callable[[], T_Result],
24+
case_opened: typing.Callable[[], T_Result],
2325
) -> T_Result:
2426
if self is WebhookEventType.CASE_CLOSED:
2527
return case_closed()
@@ -31,3 +33,5 @@ def visit(
3133
return transaction_status_updated()
3234
if self is WebhookEventType.KYC_STATUS_UPDATED:
3335
return kyc_status_updated()
36+
if self is WebhookEventType.CASE_OPENED:
37+
return case_opened()

0 commit comments

Comments
 (0)