chore: 🐝 Update SDK - Generate (spec change merged) 0.11.31 (#450)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-14 21:08:12 +00:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent 869165cefe
commit 06daeeb11f
23 changed files with 273 additions and 203 deletions
@@ -36,7 +36,7 @@ class CreateGuardrailRequestTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""Description of the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -44,7 +44,9 @@ class CreateGuardrailRequestTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -84,7 +86,7 @@ class CreateGuardrailRequest(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -96,7 +98,10 @@ class CreateGuardrailRequest(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
@@ -127,6 +132,7 @@ class CreateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -146,6 +152,7 @@ class CreateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
+11 -4
View File
@@ -42,7 +42,7 @@ class GuardrailTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""Description of the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -50,7 +50,9 @@ class GuardrailTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model canonical_slugs to exclude from routing"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -97,7 +99,7 @@ class Guardrail(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -109,7 +111,10 @@ class Guardrail(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model canonical_slugs to exclude from routing"""
@@ -140,6 +145,7 @@ class Guardrail(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -159,6 +165,7 @@ class Guardrail(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -34,7 +34,7 @@ class UpdateGuardrailRequestTypedDict(TypedDict):
description: NotRequired[Nullable[str]]
r"""New description for the guardrail"""
enforce_zdr: NotRequired[Nullable[bool]]
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
enforce_zdr_google: NotRequired[Nullable[bool]]
@@ -42,7 +42,9 @@ class UpdateGuardrailRequestTypedDict(TypedDict):
enforce_zdr_openai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: NotRequired[Nullable[bool]]
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: NotRequired[Nullable[List[str]]]
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
ignored_providers: NotRequired[Nullable[List[str]]]
@@ -79,7 +81,7 @@ class UpdateGuardrailRequest(BaseModel):
deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible."
),
] = UNSET
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
r"""Deprecated. Use enforce_zdr_anthropic, enforce_zdr_openai, enforce_zdr_google, enforce_zdr_xai, and enforce_zdr_other instead. When provided, its value is copied into any of those per-provider fields that are not explicitly specified on the request."""
enforce_zdr_anthropic: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for Anthropic models. Falls back to enforce_zdr when not provided."""
@@ -91,7 +93,10 @@ class UpdateGuardrailRequest(BaseModel):
r"""Whether to enforce zero data retention for OpenAI models. Falls back to enforce_zdr when not provided."""
enforce_zdr_other: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, or Google. Falls back to enforce_zdr when not provided."""
r"""Whether to enforce zero data retention for models that are not from Anthropic, OpenAI, Google, or xAI. Falls back to enforce_zdr when not provided."""
enforce_zdr_xai: OptionalNullable[bool] = UNSET
r"""Whether to enforce zero data retention for xAI models. Falls back to enforce_zdr when not provided."""
ignored_models: OptionalNullable[List[str]] = UNSET
r"""Array of model identifiers to exclude from routing (slug or canonical_slug accepted)"""
@@ -122,6 +127,7 @@ class UpdateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",
@@ -141,6 +147,7 @@ class UpdateGuardrailRequest(BaseModel):
"enforce_zdr_google",
"enforce_zdr_openai",
"enforce_zdr_other",
"enforce_zdr_xai",
"ignored_models",
"ignored_providers",
"limit_usd",