diff --git a/.stats.yml b/.stats.yml index b882f703b73..4a8cb087804 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1348 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-60eaec2f4029582531bbb45c66bb499e91203845eeeb3d507ae7ed5675a6bbe6.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9d1a5f2de8e753867ab88ca1b88d1d1cdc944a7834fb81506a7ace10ed151624.yml diff --git a/src/cloudflare/types/accounts/account.py b/src/cloudflare/types/accounts/account.py index 8c402e4bac9..1c26f03b23e 100644 --- a/src/cloudflare/types/accounts/account.py +++ b/src/cloudflare/types/accounts/account.py @@ -10,6 +10,9 @@ class Settings(BaseModel): + abuse_contact_email: Optional[str] = None + """Sets an abuse contact email to notify for abuse reports.""" + default_nameservers: Optional[Literal["cloudflare.standard", "custom.account", "custom.tenant"]] = None """ Specifies the default nameservers to be used for new zones added to this diff --git a/src/cloudflare/types/accounts/account_update_params.py b/src/cloudflare/types/accounts/account_update_params.py index 031f13d3375..3b472cb0778 100644 --- a/src/cloudflare/types/accounts/account_update_params.py +++ b/src/cloudflare/types/accounts/account_update_params.py @@ -18,6 +18,9 @@ class AccountUpdateParams(TypedDict, total=False): class Settings(TypedDict, total=False): + abuse_contact_email: str + """Sets an abuse contact email to notify for abuse reports.""" + default_nameservers: Literal["cloudflare.standard", "custom.account", "custom.tenant"] """ Specifies the default nameservers to be used for new zones added to this diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py index 501299704c4..53f68ccb9e1 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -31,6 +31,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None: account_id={}, name="Demo Account", settings={ + "abuse_contact_email": "string", "default_nameservers": "cloudflare.standard", "enforce_twofactor": True, "use_account_custom_ns_by_default": True, @@ -148,6 +149,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare account_id={}, name="Demo Account", settings={ + "abuse_contact_email": "string", "default_nameservers": "cloudflare.standard", "enforce_twofactor": True, "use_account_custom_ns_by_default": True,