Skip to content

Commit

Permalink
Release 1.6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 2, 2024
1 parent 6bf6668 commit 2f34b56
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 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.5"
version = "1.6.6"
description = ""
readme = "README.md"
authors = []
Expand Down
8 changes: 4 additions & 4 deletions src/flagright/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
BusinessOptionalSavedPaymentDetailsItem_Upi,
BusinessOptionalSavedPaymentDetailsItem_Wallet,
BusinessUserEvent,
BusinessUserMonitoringResult,
BusinessUserSegment,
BusinessUsersResponse,
BusinessWithRulesResult,
BusinessWithRulesResultSavedPaymentDetailsItem,
BusinessWithRulesResultSavedPaymentDetailsItem_Ach,
Expand Down Expand Up @@ -57,8 +57,8 @@
CompanyRegistrationDetails,
ConsumerName,
ConsumerUserEvent,
ConsumerUserMonitoringResult,
ConsumerUserSegment,
ConsumerUsersResponse,
ContactDetails,
CountryCode,
CurrencyCode,
Expand Down Expand Up @@ -297,9 +297,9 @@
"BusinessSavedPaymentDetailsItem_Upi",
"BusinessSavedPaymentDetailsItem_Wallet",
"BusinessUserEvent",
"BusinessUserMonitoringResult",
"BusinessUserSegment",
"BusinessUsersCreateResponse",
"BusinessUsersResponse",
"BusinessWithRulesResult",
"BusinessWithRulesResultSavedPaymentDetailsItem",
"BusinessWithRulesResultSavedPaymentDetailsItem_Ach",
Expand Down Expand Up @@ -332,9 +332,9 @@
"CompanyRegistrationDetails",
"ConsumerName",
"ConsumerUserEvent",
"ConsumerUserMonitoringResult",
"ConsumerUserSegment",
"ConsumerUsersCreateResponse",
"ConsumerUsersResponse",
"ContactDetails",
"CountryCode",
"CurrencyCode",
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.5",
"X-Fern-SDK-Version": "1.6.6",
}
headers["x-api-key"] = self.api_key
return headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import typing

from ....core.datetime_utils import serialize_datetime
from ....types.business_users_response import BusinessUsersResponse
from ....types.business_user_monitoring_result import BusinessUserMonitoringResult


class BusinessUsersCreateResponse(BusinessUsersResponse):
class BusinessUsersCreateResponse(BusinessUserMonitoringResult):
message: typing.Optional[str]

def json(self, **kwargs: typing.Any) -> str:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import typing

from ....core.datetime_utils import serialize_datetime
from ....types.consumer_users_response import ConsumerUsersResponse
from ....types.consumer_user_monitoring_result import ConsumerUserMonitoringResult


class ConsumerUsersCreateResponse(ConsumerUsersResponse):
class ConsumerUsersCreateResponse(ConsumerUserMonitoringResult):
message: typing.Optional[str]

def json(self, **kwargs: typing.Any) -> str:
Expand Down
8 changes: 4 additions & 4 deletions src/flagright/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
BusinessOptionalSavedPaymentDetailsItem_Wallet,
)
from .business_user_event import BusinessUserEvent
from .business_user_monitoring_result import BusinessUserMonitoringResult
from .business_user_segment import BusinessUserSegment
from .business_users_response import BusinessUsersResponse
from .business_with_rules_result import BusinessWithRulesResult
from .business_with_rules_result_saved_payment_details_item import (
BusinessWithRulesResultSavedPaymentDetailsItem,
Expand Down Expand Up @@ -60,8 +60,8 @@
from .company_registration_details import CompanyRegistrationDetails
from .consumer_name import ConsumerName
from .consumer_user_event import ConsumerUserEvent
from .consumer_user_monitoring_result import ConsumerUserMonitoringResult
from .consumer_user_segment import ConsumerUserSegment
from .consumer_users_response import ConsumerUsersResponse
from .contact_details import ContactDetails
from .country_code import CountryCode
from .currency_code import CurrencyCode
Expand Down Expand Up @@ -271,8 +271,8 @@
"BusinessOptionalSavedPaymentDetailsItem_Upi",
"BusinessOptionalSavedPaymentDetailsItem_Wallet",
"BusinessUserEvent",
"BusinessUserMonitoringResult",
"BusinessUserSegment",
"BusinessUsersResponse",
"BusinessWithRulesResult",
"BusinessWithRulesResultSavedPaymentDetailsItem",
"BusinessWithRulesResultSavedPaymentDetailsItem_Ach",
Expand Down Expand Up @@ -305,8 +305,8 @@
"CompanyRegistrationDetails",
"ConsumerName",
"ConsumerUserEvent",
"ConsumerUserMonitoringResult",
"ConsumerUserSegment",
"ConsumerUsersResponse",
"ContactDetails",
"CountryCode",
"CurrencyCode",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pydantic # type: ignore


class BusinessUsersResponse(pydantic.BaseModel):
class BusinessUserMonitoringResult(pydantic.BaseModel):
"""
Model for business user risk score response
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import pydantic # type: ignore


class ConsumerUsersResponse(pydantic.BaseModel):
class ConsumerUserMonitoringResult(pydantic.BaseModel):
"""
Model for consumer user risk score response
"""
Expand Down

0 comments on commit 2f34b56

Please sign in to comment.