From 7b2beb3e0cf0bf5415b3cf434ab36cf54546c864 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:02:32 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#195) --- .../access/applications/applications.py | 24 +++++++++----- .../access/application_create_params.py | 17 +++++----- .../access/application_update_params.py | 17 +++++----- .../applications/policy_create_params.py | 4 +-- .../applications/policy_update_params.py | 4 +-- .../applications/zero_trust_policies.py | 2 +- .../access/service_token_create_response.py | 2 +- .../access/service_token_rotate_response.py | 2 +- .../zero_trust/access/zero_trust_apps.py | 15 +++++---- .../zero_trust/access/zero_trust_bookmarks.py | 2 +- .../access/zero_trust_certificates.py | 2 +- .../zero_trust/access/zero_trust_users.py | 4 +-- .../zero_trust/access/test_applications.py | 32 +++++++++---------- 13 files changed, 69 insertions(+), 58 deletions(-) diff --git a/src/cloudflare/resources/zero_trust/access/applications/applications.py b/src/cloudflare/resources/zero_trust/access/applications/applications.py index 79e1cc21d43..1fc1f0789fd 100644 --- a/src/cloudflare/resources/zero_trust/access/applications/applications.py +++ b/src/cloudflare/resources/zero_trust/access/applications/applications.py @@ -620,7 +620,7 @@ def create( *, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, - app_launcher_visible: object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, domain: str | NotGiven = NOT_GIVEN, logo_url: str | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, @@ -641,6 +641,8 @@ def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + app_launcher_visible: Displays the application in the App Launcher. + domain: The URL or domain of the bookmark. logo_url: The image URL for the logo shown in the App Launcher dashboard. @@ -673,7 +675,7 @@ def create( zone_id: str | NotGiven = NOT_GIVEN, allow_authenticate_via_warp: bool | NotGiven = NOT_GIVEN, allowed_idps: List[str] | NotGiven = NOT_GIVEN, - app_launcher_visible: bool | object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, auto_redirect_to_identity: bool | NotGiven = NOT_GIVEN, cors_headers: application_create_params.SelfHostedApplicationCorsHeaders | NotGiven = NOT_GIVEN, custom_deny_message: str | NotGiven = NOT_GIVEN, @@ -1320,7 +1322,7 @@ def update( *, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, - app_launcher_visible: object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, domain: str | NotGiven = NOT_GIVEN, logo_url: str | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, @@ -1343,6 +1345,8 @@ def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + app_launcher_visible: Displays the application in the App Launcher. + domain: The URL or domain of the bookmark. logo_url: The image URL for the logo shown in the App Launcher dashboard. @@ -1376,7 +1380,7 @@ def update( zone_id: str | NotGiven = NOT_GIVEN, allow_authenticate_via_warp: bool | NotGiven = NOT_GIVEN, allowed_idps: List[str] | NotGiven = NOT_GIVEN, - app_launcher_visible: bool | object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, auto_redirect_to_identity: bool | NotGiven = NOT_GIVEN, cors_headers: application_update_params.SelfHostedApplicationCorsHeaders | NotGiven = NOT_GIVEN, custom_deny_message: str | NotGiven = NOT_GIVEN, @@ -2254,7 +2258,7 @@ async def create( *, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, - app_launcher_visible: object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, domain: str | NotGiven = NOT_GIVEN, logo_url: str | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, @@ -2275,6 +2279,8 @@ async def create( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + app_launcher_visible: Displays the application in the App Launcher. + domain: The URL or domain of the bookmark. logo_url: The image URL for the logo shown in the App Launcher dashboard. @@ -2307,7 +2313,7 @@ async def create( zone_id: str | NotGiven = NOT_GIVEN, allow_authenticate_via_warp: bool | NotGiven = NOT_GIVEN, allowed_idps: List[str] | NotGiven = NOT_GIVEN, - app_launcher_visible: bool | object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, auto_redirect_to_identity: bool | NotGiven = NOT_GIVEN, cors_headers: application_create_params.SelfHostedApplicationCorsHeaders | NotGiven = NOT_GIVEN, custom_deny_message: str | NotGiven = NOT_GIVEN, @@ -2954,7 +2960,7 @@ async def update( *, account_id: str | NotGiven = NOT_GIVEN, zone_id: str | NotGiven = NOT_GIVEN, - app_launcher_visible: object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, domain: str | NotGiven = NOT_GIVEN, logo_url: str | NotGiven = NOT_GIVEN, name: str | NotGiven = NOT_GIVEN, @@ -2977,6 +2983,8 @@ async def update( zone_id: The Zone ID to use for this endpoint. Mutually exclusive with the Account ID. + app_launcher_visible: Displays the application in the App Launcher. + domain: The URL or domain of the bookmark. logo_url: The image URL for the logo shown in the App Launcher dashboard. @@ -3010,7 +3018,7 @@ async def update( zone_id: str | NotGiven = NOT_GIVEN, allow_authenticate_via_warp: bool | NotGiven = NOT_GIVEN, allowed_idps: List[str] | NotGiven = NOT_GIVEN, - app_launcher_visible: bool | object | NotGiven = NOT_GIVEN, + app_launcher_visible: bool | NotGiven = NOT_GIVEN, auto_redirect_to_identity: bool | NotGiven = NOT_GIVEN, cors_headers: application_update_params.SelfHostedApplicationCorsHeaders | NotGiven = NOT_GIVEN, custom_deny_message: str | NotGiven = NOT_GIVEN, diff --git a/src/cloudflare/types/zero_trust/access/application_create_params.py b/src/cloudflare/types/zero_trust/access/application_create_params.py index c0fdd9fd956..c8cf94ea9fa 100644 --- a/src/cloudflare/types/zero_trust/access/application_create_params.py +++ b/src/cloudflare/types/zero_trust/access/application_create_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Union, Iterable +from typing import List, Union from typing_extensions import Literal, Required, TypedDict __all__ = [ @@ -160,13 +160,13 @@ class SelfHostedApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -464,13 +464,13 @@ class BrowserSSHApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -611,13 +611,13 @@ class BrowserVncApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -727,7 +727,8 @@ class BookmarkApplication(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" - app_launcher_visible: object + app_launcher_visible: bool + """Displays the application in the App Launcher.""" domain: str """The URL or domain of the bookmark.""" diff --git a/src/cloudflare/types/zero_trust/access/application_update_params.py b/src/cloudflare/types/zero_trust/access/application_update_params.py index d9dcb4ca480..e722654c5b7 100644 --- a/src/cloudflare/types/zero_trust/access/application_update_params.py +++ b/src/cloudflare/types/zero_trust/access/application_update_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import List, Union, Iterable +from typing import List, Union from typing_extensions import Literal, Required, TypedDict __all__ = [ @@ -160,13 +160,13 @@ class SelfHostedApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -464,13 +464,13 @@ class BrowserSSHApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -611,13 +611,13 @@ class BrowserVncApplicationCorsHeaders(TypedDict, total=False): client certificates) with requests. """ - allowed_headers: Iterable[object] + allowed_headers: List[str] """Allowed HTTP request headers.""" allowed_methods: List[Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]] """Allowed HTTP request methods.""" - allowed_origins: Iterable[object] + allowed_origins: List[str] """Allowed origins.""" max_age: float @@ -727,7 +727,8 @@ class BookmarkApplication(TypedDict, total=False): zone_id: str """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.""" - app_launcher_visible: object + app_launcher_visible: bool + """Displays the application in the App Launcher.""" domain: str """The URL or domain of the bookmark.""" diff --git a/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py b/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py index 2dea20f8e01..a6d53febf41 100644 --- a/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py +++ b/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Union, Iterable +from typing import List, Union, Iterable from typing_extensions import Literal, Required, Annotated, TypedDict from ....._utils import PropertyInfo @@ -395,7 +395,7 @@ class ApprovalGroup(TypedDict, total=False): approvals_needed: Required[float] """The number of approvals needed to obtain access.""" - email_addresses: Iterable[object] + email_addresses: List[str] """A list of emails that can approve the access request.""" email_list_uuid: str diff --git a/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py b/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py index 24e018b7080..223aea70ccd 100644 --- a/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py +++ b/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing import Union, Iterable +from typing import List, Union, Iterable from typing_extensions import Literal, Required, Annotated, TypedDict from ....._utils import PropertyInfo @@ -398,7 +398,7 @@ class ApprovalGroup(TypedDict, total=False): approvals_needed: Required[float] """The number of approvals needed to obtain access.""" - email_addresses: Iterable[object] + email_addresses: List[str] """A list of emails that can approve the access request.""" email_list_uuid: str diff --git a/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py b/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py index ff50f127132..91fd93a10f2 100644 --- a/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py +++ b/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py @@ -126,7 +126,7 @@ class ApprovalGroup(BaseModel): approvals_needed: float """The number of approvals needed to obtain access.""" - email_addresses: Optional[List[object]] = None + email_addresses: Optional[List[str]] = None """A list of emails that can approve the access request.""" email_list_uuid: Optional[str] = None diff --git a/src/cloudflare/types/zero_trust/access/service_token_create_response.py b/src/cloudflare/types/zero_trust/access/service_token_create_response.py index 47841d8a654..e74b74cd80b 100644 --- a/src/cloudflare/types/zero_trust/access/service_token_create_response.py +++ b/src/cloudflare/types/zero_trust/access/service_token_create_response.py @@ -9,7 +9,7 @@ class ServiceTokenCreateResponse(BaseModel): - id: Optional[object] = None + id: Optional[str] = None """The ID of the service token.""" client_id: Optional[str] = None diff --git a/src/cloudflare/types/zero_trust/access/service_token_rotate_response.py b/src/cloudflare/types/zero_trust/access/service_token_rotate_response.py index 0eac1cad0bc..b4a74bcfc69 100644 --- a/src/cloudflare/types/zero_trust/access/service_token_rotate_response.py +++ b/src/cloudflare/types/zero_trust/access/service_token_rotate_response.py @@ -9,7 +9,7 @@ class ServiceTokenRotateResponse(BaseModel): - id: Optional[object] = None + id: Optional[str] = None """The ID of the service token.""" client_id: Optional[str] = None diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_apps.py b/src/cloudflare/types/zero_trust/access/zero_trust_apps.py index b0160e4ce25..bbd1111c7da 100644 --- a/src/cloudflare/types/zero_trust/access/zero_trust_apps.py +++ b/src/cloudflare/types/zero_trust/access/zero_trust_apps.py @@ -43,7 +43,7 @@ class SelfHostedApplicationCorsHeaders(BaseModel): client certificates) with requests. """ - allowed_headers: Optional[List[object]] = None + allowed_headers: Optional[List[str]] = None """Allowed HTTP request headers.""" allowed_methods: Optional[ @@ -51,7 +51,7 @@ class SelfHostedApplicationCorsHeaders(BaseModel): ] = None """Allowed HTTP request methods.""" - allowed_origins: Optional[List[object]] = None + allowed_origins: Optional[List[str]] = None """Allowed origins.""" max_age: Optional[float] = None @@ -367,7 +367,7 @@ class BrowserSSHApplicationCorsHeaders(BaseModel): client certificates) with requests. """ - allowed_headers: Optional[List[object]] = None + allowed_headers: Optional[List[str]] = None """Allowed HTTP request headers.""" allowed_methods: Optional[ @@ -375,7 +375,7 @@ class BrowserSSHApplicationCorsHeaders(BaseModel): ] = None """Allowed HTTP request methods.""" - allowed_origins: Optional[List[object]] = None + allowed_origins: Optional[List[str]] = None """Allowed origins.""" max_age: Optional[float] = None @@ -520,7 +520,7 @@ class BrowserVncApplicationCorsHeaders(BaseModel): client certificates) with requests. """ - allowed_headers: Optional[List[object]] = None + allowed_headers: Optional[List[str]] = None """Allowed HTTP request headers.""" allowed_methods: Optional[ @@ -528,7 +528,7 @@ class BrowserVncApplicationCorsHeaders(BaseModel): ] = None """Allowed HTTP request methods.""" - allowed_origins: Optional[List[object]] = None + allowed_origins: Optional[List[str]] = None """Allowed origins.""" max_age: Optional[float] = None @@ -799,7 +799,8 @@ class BookmarkApplication(BaseModel): id: Optional[str] = None """UUID""" - app_launcher_visible: Optional[object] = None + app_launcher_visible: Optional[bool] = None + """Displays the application in the App Launcher.""" aud: Optional[str] = None """Audience tag.""" diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_bookmarks.py b/src/cloudflare/types/zero_trust/access/zero_trust_bookmarks.py index 4d760428841..6ecee05ac03 100644 --- a/src/cloudflare/types/zero_trust/access/zero_trust_bookmarks.py +++ b/src/cloudflare/types/zero_trust/access/zero_trust_bookmarks.py @@ -9,7 +9,7 @@ class ZeroTrustBookmarks(BaseModel): - id: Optional[object] = None + id: Optional[str] = None """The unique identifier for the Bookmark application.""" app_launcher_visible: Optional[bool] = None diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_certificates.py b/src/cloudflare/types/zero_trust/access/zero_trust_certificates.py index 94eeacc0530..07c742c30e3 100644 --- a/src/cloudflare/types/zero_trust/access/zero_trust_certificates.py +++ b/src/cloudflare/types/zero_trust/access/zero_trust_certificates.py @@ -9,7 +9,7 @@ class ZeroTrustCertificates(BaseModel): - id: Optional[object] = None + id: Optional[str] = None """The ID of the application that will use this certificate.""" associated_hostnames: Optional[List[str]] = None diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_users.py b/src/cloudflare/types/zero_trust/access/zero_trust_users.py index dc771a52d92..df60d7a1ecf 100644 --- a/src/cloudflare/types/zero_trust/access/zero_trust_users.py +++ b/src/cloudflare/types/zero_trust/access/zero_trust_users.py @@ -32,10 +32,10 @@ class ZeroTrustUsers(BaseModel): name: Optional[str] = None """The name of the user.""" - seat_uid: Optional[object] = None + seat_uid: Optional[str] = None """The unique API identifier for the Zero Trust seat.""" - uid: Optional[object] = None + uid: Optional[str] = None """The unique API identifier for the user.""" updated_at: Optional[datetime] = None diff --git a/tests/api_resources/zero_trust/access/test_applications.py b/tests/api_resources/zero_trust/access/test_applications.py index 883a2dc7233..8902c1dc5df 100644 --- a/tests/api_resources/zero_trust/access/test_applications.py +++ b/tests/api_resources/zero_trust/access/test_applications.py @@ -53,7 +53,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -257,7 +257,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -367,7 +367,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -682,7 +682,7 @@ def test_method_create_with_all_params_overload_8(self, client: Cloudflare) -> N application = client.zero_trust.access.applications.create( account_id="string", zone_id="string", - app_launcher_visible={}, + app_launcher_visible=True, domain="https://mybookmark.com", logo_url="https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg", name="Admin Site", @@ -768,7 +768,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -984,7 +984,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -1100,7 +1100,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -1439,7 +1439,7 @@ def test_method_update_with_all_params_overload_8(self, client: Cloudflare) -> N "023e105f4ecef8ad9ca31a8372d0c353", account_id="string", zone_id="string", - app_launcher_visible={}, + app_launcher_visible=True, domain="https://mybookmark.com", logo_url="https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg", name="Admin Site", @@ -1793,7 +1793,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -1997,7 +1997,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -2107,7 +2107,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -2422,7 +2422,7 @@ async def test_method_create_with_all_params_overload_8(self, async_client: Asyn application = await async_client.zero_trust.access.applications.create( account_id="string", zone_id="string", - app_launcher_visible={}, + app_launcher_visible=True, domain="https://mybookmark.com", logo_url="https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg", name="Admin Site", @@ -2508,7 +2508,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -2724,7 +2724,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -2840,7 +2840,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn "allow_all_methods": True, "allow_all_origins": True, "allow_credentials": True, - "allowed_headers": [{}, {}, {}], + "allowed_headers": ["string", "string", "string"], "allowed_methods": ["GET"], "allowed_origins": ["https://example.com"], "max_age": -1, @@ -3179,7 +3179,7 @@ async def test_method_update_with_all_params_overload_8(self, async_client: Asyn "023e105f4ecef8ad9ca31a8372d0c353", account_id="string", zone_id="string", - app_launcher_visible={}, + app_launcher_visible=True, domain="https://mybookmark.com", logo_url="https://www.cloudflare.com/img/logo-web-badges/cf-logo-on-white-bg.svg", name="Admin Site",