Skip to content

Commit

Permalink
Release 1.6.23
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Sep 9, 2024
1 parent 502a44e commit 00e5eb3
Show file tree
Hide file tree
Showing 18 changed files with 877 additions and 602 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "flagright"
version = "1.6.22"
version = "1.6.23"
description = ""
readme = "README.md"
authors = []
Expand Down
30 changes: 20 additions & 10 deletions src/flagright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
AlertOpenedDetails,
Amount,
ApiErrorResponse,
BatchResponse,
BooleanString,
BusinessBase,
BusinessOptional,
Expand Down Expand Up @@ -56,6 +57,7 @@
CompanyGeneralDetails,
CompanyRegistrationDetails,
ConsumerName,
ConsumerUserEvent,
ConsumerUserEventWithRulesResult,
ConsumerUserMonitoringResult,
ConsumerUserSegment,
Expand Down Expand Up @@ -132,6 +134,7 @@
TransactionDestinationPaymentDetails_Swift,
TransactionDestinationPaymentDetails_Upi,
TransactionDestinationPaymentDetails_Wallet,
TransactionEvent,
TransactionEventMonitoringResult,
TransactionEventWithRulesResult,
TransactionLimit,
Expand Down Expand Up @@ -196,6 +199,7 @@
TransactionWithRulesResultOriginPaymentDetails_Wallet,
UpiDetails,
UpiPaymentMethod,
User,
UserBase,
UserDetails,
UserEntityLink,
Expand All @@ -213,6 +217,16 @@
UserRegistrationStatus,
UserRiskScoreDetails,
UserRulesResult,
UserSavedPaymentDetailsItem,
UserSavedPaymentDetailsItem_Ach,
UserSavedPaymentDetailsItem_Card,
UserSavedPaymentDetailsItem_Check,
UserSavedPaymentDetailsItem_GenericBankAccount,
UserSavedPaymentDetailsItem_Iban,
UserSavedPaymentDetailsItem_Mpesa,
UserSavedPaymentDetailsItem_Swift,
UserSavedPaymentDetailsItem_Upi,
UserSavedPaymentDetailsItem_Wallet,
UserState,
UserStateDetails,
UserWithRulesResult,
Expand Down Expand Up @@ -251,16 +265,7 @@
BusinessUsersCreateResponse,
ConsumerUsersCreateResponse,
TransactionsVerifyResponse,
UserSavedPaymentDetailsItem,
UserSavedPaymentDetailsItem_Ach,
UserSavedPaymentDetailsItem_Card,
UserSavedPaymentDetailsItem_Check,
UserSavedPaymentDetailsItem_GenericBankAccount,
UserSavedPaymentDetailsItem_Iban,
UserSavedPaymentDetailsItem_Mpesa,
UserSavedPaymentDetailsItem_Swift,
UserSavedPaymentDetailsItem_Upi,
UserSavedPaymentDetailsItem_Wallet,
batch,
business_user_events,
business_users,
consumer_user_events,
Expand All @@ -280,6 +285,7 @@
"Amount",
"ApiErrorResponse",
"BadRequestError",
"BatchResponse",
"BooleanString",
"BusinessBase",
"BusinessOptional",
Expand Down Expand Up @@ -338,6 +344,7 @@
"CompanyGeneralDetails",
"CompanyRegistrationDetails",
"ConsumerName",
"ConsumerUserEvent",
"ConsumerUserEventWithRulesResult",
"ConsumerUserMonitoringResult",
"ConsumerUserSegment",
Expand Down Expand Up @@ -417,6 +424,7 @@
"TransactionDestinationPaymentDetails_Swift",
"TransactionDestinationPaymentDetails_Upi",
"TransactionDestinationPaymentDetails_Wallet",
"TransactionEvent",
"TransactionEventMonitoringResult",
"TransactionEventWithRulesResult",
"TransactionLimit",
Expand Down Expand Up @@ -483,6 +491,7 @@
"UnauthorizedError",
"UpiDetails",
"UpiPaymentMethod",
"User",
"UserBase",
"UserDetails",
"UserEntityLink",
Expand Down Expand Up @@ -532,6 +541,7 @@
"WebhookEventData",
"WebhookEventTriggeredBy",
"WebhookEventType",
"batch",
"business_user_events",
"business_users",
"consumer_user_events",
Expand Down
3 changes: 3 additions & 0 deletions src/flagright/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .environment import FlagrightEnvironment
from .resources.batch.client import AsyncBatchClient, BatchClient
from .resources.business_user_events.client import AsyncBusinessUserEventsClient, BusinessUserEventsClient
from .resources.business_users.client import AsyncBusinessUsersClient, BusinessUsersClient
from .resources.consumer_user_events.client import AsyncConsumerUserEventsClient, ConsumerUserEventsClient
Expand All @@ -30,6 +31,7 @@ def __init__(
httpx_client=httpx.Client(timeout=timeout) if httpx_client is None else httpx_client,
)
self.transactions = TransactionsClient(client_wrapper=self._client_wrapper)
self.batch = BatchClient(client_wrapper=self._client_wrapper)
self.transaction_events = TransactionEventsClient(client_wrapper=self._client_wrapper)
self.consumer_users = ConsumerUsersClient(client_wrapper=self._client_wrapper)
self.business_users = BusinessUsersClient(client_wrapper=self._client_wrapper)
Expand All @@ -53,6 +55,7 @@ def __init__(
httpx_client=httpx.AsyncClient(timeout=timeout) if httpx_client is None else httpx_client,
)
self.transactions = AsyncTransactionsClient(client_wrapper=self._client_wrapper)
self.batch = AsyncBatchClient(client_wrapper=self._client_wrapper)
self.transaction_events = AsyncTransactionEventsClient(client_wrapper=self._client_wrapper)
self.consumer_users = AsyncConsumerUsersClient(client_wrapper=self._client_wrapper)
self.business_users = AsyncBusinessUsersClient(client_wrapper=self._client_wrapper)
Expand Down
2 changes: 1 addition & 1 deletion src/flagright/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "flagright",
"X-Fern-SDK-Version": "1.6.22",
"X-Fern-SDK-Version": "1.6.23",
}
headers["x-api-key"] = self.api_key
return headers
Expand Down
26 changes: 3 additions & 23 deletions src/flagright/resources/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This file was auto-generated by Fern from our API Definition.

from . import (
batch,
business_user_events,
business_users,
consumer_user_events,
Expand All @@ -21,19 +22,7 @@
BusinessSavedPaymentDetailsItem_Wallet,
BusinessUsersCreateResponse,
)
from .consumer_users import (
ConsumerUsersCreateResponse,
UserSavedPaymentDetailsItem,
UserSavedPaymentDetailsItem_Ach,
UserSavedPaymentDetailsItem_Card,
UserSavedPaymentDetailsItem_Check,
UserSavedPaymentDetailsItem_GenericBankAccount,
UserSavedPaymentDetailsItem_Iban,
UserSavedPaymentDetailsItem_Mpesa,
UserSavedPaymentDetailsItem_Swift,
UserSavedPaymentDetailsItem_Upi,
UserSavedPaymentDetailsItem_Wallet,
)
from .consumer_users import ConsumerUsersCreateResponse
from .transactions import TransactionsVerifyResponse

__all__ = [
Expand All @@ -50,16 +39,7 @@
"BusinessUsersCreateResponse",
"ConsumerUsersCreateResponse",
"TransactionsVerifyResponse",
"UserSavedPaymentDetailsItem",
"UserSavedPaymentDetailsItem_Ach",
"UserSavedPaymentDetailsItem_Card",
"UserSavedPaymentDetailsItem_Check",
"UserSavedPaymentDetailsItem_GenericBankAccount",
"UserSavedPaymentDetailsItem_Iban",
"UserSavedPaymentDetailsItem_Mpesa",
"UserSavedPaymentDetailsItem_Swift",
"UserSavedPaymentDetailsItem_Upi",
"UserSavedPaymentDetailsItem_Wallet",
"batch",
"business_user_events",
"business_users",
"consumer_user_events",
Expand Down
2 changes: 2 additions & 0 deletions src/flagright/resources/batch/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file was auto-generated by Fern from our API Definition.

Loading

0 comments on commit 00e5eb3

Please sign in to comment.