Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-beta.26"
".": "0.1.0-beta.27"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 110
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-512ec51333e2e803d366c0aebea858913541a7ef0269a56f9371686feed26cd8.yml
openapi_spec_hash: 9b6d9f90c1aff0165ef7769f2311a1bd
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/stigg/stigg-a3b1cb64a010bc54278d208eb9ef309cb7c31e9099c45470fa3d032b1f4a17f6.yml
openapi_spec_hash: 09e5366c0f3dd1ea84dadb90e7cbf762
config_hash: 0eca08dde117ac62155a012abb0ecac7
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-beta.27 (2026-06-23)

Full Changelog: [v0.1.0-beta.26...v0.1.0-beta.27](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.26...v0.1.0-beta.27)

### Features

* **api:** add has_soft_limit parameter to addons/plans entitlements ([74cff73](https://github.com/stiggio/stigg-python/commit/74cff73cd8457463b0b309b9c8dffeb4a0f536c4))

## 0.1.0-beta.26 (2026-06-22)

Full Changelog: [v0.1.0-beta.25...v0.1.0-beta.26](https://github.com/stiggio/stigg-python/compare/v0.1.0-beta.25...v0.1.0-beta.26)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stigg"
version = "0.1.0-beta.26"
version = "0.1.0-beta.27"
description = "The official Python library for the stigg API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/stigg/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "stigg"
__version__ = "0.1.0-beta.26" # x-release-please-version
__version__ = "0.1.0-beta.27" # x-release-please-version
10 changes: 10 additions & 0 deletions src/stigg/resources/v1/addons/entitlements.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def update(
dependency_feature_id: Optional[str] | Omit = omit,
description: str | Omit = omit,
display_name_override: str | Omit = omit,
has_soft_limit: bool | Omit = omit,
hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] | Omit = omit,
is_custom: bool | Omit = omit,
is_granted: bool | Omit = omit,
Expand Down Expand Up @@ -225,6 +226,10 @@ def update(

display_name_override: Override display name for the entitlement

has_soft_limit: Whether the credit wallet is soft-limited. When true, getEntitlement returns
hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
false.

hidden_from_widgets: Widget types where this entitlement is hidden

is_custom: Whether this is a custom entitlement
Expand Down Expand Up @@ -592,6 +597,7 @@ async def update(
dependency_feature_id: Optional[str] | Omit = omit,
description: str | Omit = omit,
display_name_override: str | Omit = omit,
has_soft_limit: bool | Omit = omit,
hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] | Omit = omit,
is_custom: bool | Omit = omit,
is_granted: bool | Omit = omit,
Expand Down Expand Up @@ -624,6 +630,10 @@ async def update(

display_name_override: Override display name for the entitlement

has_soft_limit: Whether the credit wallet is soft-limited. When true, getEntitlement returns
hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
false.

hidden_from_widgets: Widget types where this entitlement is hidden

is_custom: Whether this is a custom entitlement
Expand Down
10 changes: 10 additions & 0 deletions src/stigg/resources/v1/plans/entitlements.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def update(
dependency_feature_id: Optional[str] | Omit = omit,
description: str | Omit = omit,
display_name_override: str | Omit = omit,
has_soft_limit: bool | Omit = omit,
hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] | Omit = omit,
is_custom: bool | Omit = omit,
is_granted: bool | Omit = omit,
Expand Down Expand Up @@ -225,6 +226,10 @@ def update(

display_name_override: Override display name for the entitlement

has_soft_limit: Whether the credit wallet is soft-limited. When true, getEntitlement returns
hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
false.

hidden_from_widgets: Widget types where this entitlement is hidden

is_custom: Whether this is a custom entitlement
Expand Down Expand Up @@ -592,6 +597,7 @@ async def update(
dependency_feature_id: Optional[str] | Omit = omit,
description: str | Omit = omit,
display_name_override: str | Omit = omit,
has_soft_limit: bool | Omit = omit,
hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] | Omit = omit,
is_custom: bool | Omit = omit,
is_granted: bool | Omit = omit,
Expand Down Expand Up @@ -624,6 +630,10 @@ async def update(

display_name_override: Override display name for the entitlement

has_soft_limit: Whether the credit wallet is soft-limited. When true, getEntitlement returns
hasAccess=true past the limit; vendors decide whether to enforce. Defaults to
false.

hidden_from_widgets: Widget types where this entitlement is hidden

is_custom: Whether this is a custom entitlement
Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/addons/addon_package_entitlement.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/addons/entitlement_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ class EntitlementCredit(TypedDict, total=False):
display_name_override: Annotated[str, PropertyInfo(alias="displayNameOverride")]
"""Override display name for the entitlement"""

has_soft_limit: Annotated[bool, PropertyInfo(alias="hasSoftLimit")]
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: Annotated[
List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]], PropertyInfo(alias="hiddenFromWidgets")
]
Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/addons/entitlement_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/addons/entitlement_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/addons/entitlement_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ class UpdateCreditEntitlementRequest(TypedDict, total=False):
display_name_override: Annotated[str, PropertyInfo(alias="displayNameOverride")]
"""Override display name for the entitlement"""

has_soft_limit: Annotated[bool, PropertyInfo(alias="hasSoftLimit")]
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: Annotated[
List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]], PropertyInfo(alias="hiddenFromWidgets")
]
Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/plans/entitlement_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ class EntitlementCredit(TypedDict, total=False):
display_name_override: Annotated[str, PropertyInfo(alias="displayNameOverride")]
"""Override display name for the entitlement"""

has_soft_limit: Annotated[bool, PropertyInfo(alias="hasSoftLimit")]
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: Annotated[
List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]], PropertyInfo(alias="hiddenFromWidgets")
]
Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/plans/entitlement_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/plans/entitlement_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/plans/entitlement_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@ class UpdateCreditEntitlementRequest(TypedDict, total=False):
display_name_override: Annotated[str, PropertyInfo(alias="displayNameOverride")]
"""Override display name for the entitlement"""

has_soft_limit: Annotated[bool, PropertyInfo(alias="hasSoftLimit")]
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: Annotated[
List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]], PropertyInfo(alias="hiddenFromWidgets")
]
Expand Down
7 changes: 7 additions & 0 deletions src/stigg/types/v1/plans/plan_entitlement.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,13 @@ class DataCredit(BaseModel):
display_name_override: Optional[str] = FieldInfo(alias="displayNameOverride", default=None)
"""Override display name for the entitlement"""

has_soft_limit: Optional[bool] = FieldInfo(alias="hasSoftLimit", default=None)
"""Whether the credit wallet is soft-limited.

When true, getEntitlement returns hasAccess=true past the limit; vendors decide
whether to enforce. Defaults to false.
"""

hidden_from_widgets: List[Literal["PAYWALL", "CUSTOMER_PORTAL", "CHECKOUT"]] = FieldInfo(alias="hiddenFromWidgets")
"""Widget types where this entitlement is hidden"""

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/v1/addons/test_entitlements.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def test_method_update_with_all_params_overload_2(self, client: Stigg) -> None:
dependency_feature_id="dependencyFeatureId",
description="description",
display_name_override="displayNameOverride",
has_soft_limit=True,
hidden_from_widgets=["PAYWALL"],
is_custom=True,
is_granted=True,
Expand Down Expand Up @@ -606,6 +607,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn
dependency_feature_id="dependencyFeatureId",
description="description",
display_name_override="displayNameOverride",
has_soft_limit=True,
hidden_from_widgets=["PAYWALL"],
is_custom=True,
is_granted=True,
Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/v1/plans/test_entitlements.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ def test_method_update_with_all_params_overload_2(self, client: Stigg) -> None:
dependency_feature_id="dependencyFeatureId",
description="description",
display_name_override="displayNameOverride",
has_soft_limit=True,
hidden_from_widgets=["PAYWALL"],
is_custom=True,
is_granted=True,
Expand Down Expand Up @@ -606,6 +607,7 @@ async def test_method_update_with_all_params_overload_2(self, async_client: Asyn
dependency_feature_id="dependencyFeatureId",
description="description",
display_name_override="displayNameOverride",
has_soft_limit=True,
hidden_from_widgets=["PAYWALL"],
is_custom=True,
is_granted=True,
Expand Down