diff --git a/.stats.yml b/.stats.yml index d3fe501a329..9794221f660 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1335 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-909b9ecb3be7ec2f54817533e4ea551d1eac37c0df72ec91b5c9179f9e8195c1.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e86b7715a3c49ac07162a99020f24e8ebe362cd2b6ace2d9d4f96e33bdec729d.yml diff --git a/src/cloudflare/types/healthchecks/http_configuration.py b/src/cloudflare/types/healthchecks/http_configuration.py index e7816f99ec0..b000623d5f9 100644 --- a/src/cloudflare/types/healthchecks/http_configuration.py +++ b/src/cloudflare/types/healthchecks/http_configuration.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List, Optional +from typing import Dict, List, Optional from typing_extensions import Literal from ..._models import BaseModel @@ -28,7 +28,7 @@ class HTTPConfiguration(BaseModel): follow_redirects: Optional[bool] = None """Follow redirects if the origin returns a 3xx status code.""" - header: Optional[object] = None + header: Optional[Dict[str, List[str]]] = None """The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot diff --git a/src/cloudflare/types/healthchecks/http_configuration_param.py b/src/cloudflare/types/healthchecks/http_configuration_param.py index 1b97f2f53c5..f8f0bc4ac32 100644 --- a/src/cloudflare/types/healthchecks/http_configuration_param.py +++ b/src/cloudflare/types/healthchecks/http_configuration_param.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Optional +from typing import Dict, List, Optional from typing_extensions import Literal, TypedDict __all__ = ["HTTPConfigurationParam"] @@ -28,7 +28,7 @@ class HTTPConfigurationParam(TypedDict, total=False): follow_redirects: bool """Follow redirects if the origin returns a 3xx status code.""" - header: Optional[object] + header: Optional[Dict[str, List[str]]] """The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot