diff --git a/api.md b/api.md
index a29c18da5f0..e004f49a646 100644
--- a/api.md
+++ b/api.md
@@ -3,19 +3,19 @@
```python
from cloudflare.types import (
ErrorData,
+ Identifier,
+ ResponseInfo,
+ Result,
UnnamedSchemaRef025497b7e63379c31929636b5186e45c,
UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9,
UnnamedSchemaRef23001f1f0b697900e282236466a95fa3,
- UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19,
UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
- UnnamedSchemaRef5cf232a1d651060af6450ae882932776,
UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
UnnamedSchemaRef619309774d07ec6904f1e354560d6028,
UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1,
UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151,
UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c,
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6,
@@ -23,7 +23,6 @@ from cloudflare.types import (
UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6,
UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854,
UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
- UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
)
@@ -83,14 +82,14 @@ Methods:
Types:
```python
-from cloudflare.types import OriginCACertificate
+from cloudflare.types import OriginCACertificate, OriginCACertificateDeleteResponse
```
Methods:
- client.origin_ca_certificates.create(\*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.origin_ca_certificates.list(\*\*params) -> SyncSinglePage[OriginCACertificate]
-- client.origin_ca_certificates.delete(certificate_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.origin_ca_certificates.delete(certificate_id, \*\*params) -> OriginCACertificateDeleteResponse
- client.origin_ca_certificates.get(certificate_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# IPs
@@ -1323,13 +1322,18 @@ Methods:
Types:
```python
-from cloudflare.types.ssl import HostItem, CertificatePackListResponse, CertificatePackEditResponse
+from cloudflare.types.ssl import (
+ HostItem,
+ CertificatePackListResponse,
+ CertificatePackDeleteResponse,
+ CertificatePackEditResponse,
+)
```
Methods:
- client.ssl.certificate_packs.list(\*, zone_id, \*\*params) -> SyncSinglePage[object]
-- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackDeleteResponse
- client.ssl.certificate_packs.edit(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackEditResponse
- client.ssl.certificate_packs.get(certificate_pack_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
@@ -1510,14 +1514,14 @@ Methods:
Types:
```python
-from cloudflare.types import CustomCertificate, GeoRestrictions
+from cloudflare.types import CustomCertificate, GeoRestrictions, CustomCertificateDeleteResponse
```
Methods:
- client.custom_certificates.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.custom_certificates.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[CustomCertificate]
-- client.custom_certificates.delete(custom_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.custom_certificates.delete(custom_certificate_id, \*, zone_id, \*\*params) -> CustomCertificateDeleteResponse
- client.custom_certificates.edit(custom_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.custom_certificates.get(custom_certificate_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
@@ -1545,6 +1549,7 @@ from cloudflare.types import (
UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510,
UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1,
UnnamedSchemaRefD2a16d7ee1ad3a888dd5821c918d51fd,
+ CustomHostnameDeleteResponse,
)
```
@@ -1552,7 +1557,7 @@ Methods:
- client.custom_hostnames.create(\*, zone_id, \*\*params) -> CustomHostname
- client.custom_hostnames.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[CustomHostname]
-- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostnameDeleteResponse
- client.custom_hostnames.edit(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostname
- client.custom_hostnames.get(custom_hostname_id, \*, zone_id) -> CustomHostname
@@ -2023,6 +2028,7 @@ from cloudflare.types import (
KeylessCertificate,
Tunnel,
UnnamedSchemaRefA91f0bd72ee433f010eecfdc94ccf298,
+ KeylessCertificateDeleteResponse,
)
```
@@ -2030,7 +2036,7 @@ Methods:
- client.keyless_certificates.create(\*, zone_id, \*\*params) -> Hostname
- client.keyless_certificates.list(\*, zone_id) -> SyncSinglePage[KeylessCertificate]
-- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id, \*\*params) -> KeylessCertificateDeleteResponse
- client.keyless_certificates.edit(keyless_certificate_id, \*, zone_id, \*\*params) -> Hostname
- client.keyless_certificates.get(keyless_certificate_id, \*, zone_id) -> Hostname
diff --git a/src/cloudflare/resources/custom_certificates/custom_certificates.py b/src/cloudflare/resources/custom_certificates/custom_certificates.py
index eff68a66667..ddf3a01a32a 100644
--- a/src/cloudflare/resources/custom_certificates/custom_certificates.py
+++ b/src/cloudflare/resources/custom_certificates/custom_certificates.py
@@ -10,6 +10,7 @@
from ...types import (
CustomCertificate,
GeoRestrictionsParam,
+ CustomCertificateDeleteResponse,
UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
custom_certificate_edit_params,
custom_certificate_list_params,
@@ -43,10 +44,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["CustomCertificates", "AsyncCustomCertificates"]
@@ -230,7 +228,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CustomCertificateDeleteResponse:
"""
Remove a SSL certificate from a zone.
@@ -263,10 +261,7 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[CustomCertificateDeleteResponse], ResultWrapper[CustomCertificateDeleteResponse]),
)
def edit(
@@ -596,7 +591,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CustomCertificateDeleteResponse:
"""
Remove a SSL certificate from a zone.
@@ -629,10 +624,7 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[CustomCertificateDeleteResponse], ResultWrapper[CustomCertificateDeleteResponse]),
)
async def edit(
diff --git a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
index ac4184e61d4..4f777142e29 100644
--- a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
+++ b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
@@ -10,6 +10,7 @@
from ...types import (
CustomHostname,
CustomMetadataParam,
+ CustomHostnameDeleteResponse,
custom_hostname_edit_params,
custom_hostname_list_params,
custom_hostname_create_params,
@@ -34,7 +35,6 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
from .fallback_origin import (
FallbackOrigin,
AsyncFallbackOrigin,
@@ -209,7 +209,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CustomHostnameDeleteResponse:
"""
Delete Custom Hostname (and any issued SSL certificates)
@@ -236,7 +236,7 @@ def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ cast_to=CustomHostnameDeleteResponse,
)
def edit(
@@ -520,7 +520,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CustomHostnameDeleteResponse:
"""
Delete Custom Hostname (and any issued SSL certificates)
@@ -547,7 +547,7 @@ async def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ cast_to=CustomHostnameDeleteResponse,
)
async def edit(
diff --git a/src/cloudflare/resources/keyless_certificates.py b/src/cloudflare/resources/keyless_certificates.py
index 6ab2afa8aad..e0f813a8ebc 100644
--- a/src/cloudflare/resources/keyless_certificates.py
+++ b/src/cloudflare/resources/keyless_certificates.py
@@ -10,6 +10,7 @@
Hostname,
TunnelParam,
KeylessCertificate,
+ KeylessCertificateDeleteResponse,
UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
keyless_certificate_edit_params,
keyless_certificate_create_params,
@@ -34,7 +35,6 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
__all__ = ["KeylessCertificates", "AsyncKeylessCertificates"]
@@ -168,7 +168,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> KeylessCertificateDeleteResponse:
"""
Delete Keyless SSL Configuration
@@ -201,10 +201,7 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[KeylessCertificateDeleteResponse], ResultWrapper[KeylessCertificateDeleteResponse]),
)
def edit(
@@ -457,7 +454,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> KeylessCertificateDeleteResponse:
"""
Delete Keyless SSL Configuration
@@ -490,10 +487,7 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[KeylessCertificateDeleteResponse], ResultWrapper[KeylessCertificateDeleteResponse]),
)
async def edit(
diff --git a/src/cloudflare/resources/origin_ca_certificates.py b/src/cloudflare/resources/origin_ca_certificates.py
index c8ed79c2688..0e223984f29 100644
--- a/src/cloudflare/resources/origin_ca_certificates.py
+++ b/src/cloudflare/resources/origin_ca_certificates.py
@@ -9,6 +9,7 @@
from ..types import (
OriginCACertificate,
+ OriginCACertificateDeleteResponse,
origin_ca_certificate_list_params,
origin_ca_certificate_create_params,
origin_ca_certificate_delete_params,
@@ -32,10 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from ..types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["OriginCACertificates", "AsyncOriginCACertificates"]
@@ -167,7 +165,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> OriginCACertificateDeleteResponse:
"""Revoke an existing Origin CA certificate by its serial number.
Use your Origin
@@ -197,10 +195,7 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[OriginCACertificateDeleteResponse], ResultWrapper[OriginCACertificateDeleteResponse]),
)
def get(
@@ -378,7 +373,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> OriginCACertificateDeleteResponse:
"""Revoke an existing Origin CA certificate by its serial number.
Use your Origin
@@ -408,10 +403,7 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[OriginCACertificateDeleteResponse], ResultWrapper[OriginCACertificateDeleteResponse]),
)
async def get(
diff --git a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
index 334393eade7..bfc4d588351 100644
--- a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
+++ b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
@@ -39,6 +39,7 @@
from ...._wrappers import ResultWrapper
from ....types.ssl import (
CertificatePackEditResponse,
+ CertificatePackDeleteResponse,
certificate_pack_edit_params,
certificate_pack_list_params,
certificate_pack_delete_params,
@@ -48,10 +49,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["CertificatePacks", "AsyncCertificatePacks"]
@@ -128,7 +126,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CertificatePackDeleteResponse:
"""
For a given zone, delete an advanced certificate pack.
@@ -161,10 +159,7 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[CertificatePackDeleteResponse], ResultWrapper[CertificatePackDeleteResponse]),
)
def edit(
@@ -342,7 +337,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
+ ) -> CertificatePackDeleteResponse:
"""
For a given zone, delete an advanced certificate pack.
@@ -375,10 +370,7 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(
- Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
- ),
+ cast_to=cast(Type[CertificatePackDeleteResponse], ResultWrapper[CertificatePackDeleteResponse]),
)
async def edit(
diff --git a/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/settings.py b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/settings.py
index ad3c6fc6905..adc6596e51a 100644
--- a/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/settings.py
+++ b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/settings.py
@@ -46,8 +46,8 @@ def edit(
*,
account_id: str,
dispatch_namespace: str,
- errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
- messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ errors: Iterable[shared_params.ResponseInfo],
+ messages: Iterable[shared_params.ResponseInfo],
result: ScriptSettingParam,
success: Literal[True],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -169,8 +169,8 @@ async def edit(
*,
account_id: str,
dispatch_namespace: str,
- errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
- messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ errors: Iterable[shared_params.ResponseInfo],
+ messages: Iterable[shared_params.ResponseInfo],
result: ScriptSettingParam,
success: Literal[True],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
diff --git a/src/cloudflare/types/__init__.py b/src/cloudflare/types/__init__.py
index de0385e90d0..0e2fe8d41d1 100644
--- a/src/cloudflare/types/__init__.py
+++ b/src/cloudflare/types/__init__.py
@@ -17,9 +17,11 @@
from .header import Header as Header
from .origin import Origin as Origin
from .shared import (
+ Result as Result,
ErrorData as ErrorData,
+ Identifier as Identifier,
+ ResponseInfo as ResponseInfo,
UnnamedSchemaRef025497b7e63379c31929636b5186e45c as UnnamedSchemaRef025497b7e63379c31929636b5186e45c,
- UnnamedSchemaRef5cf232a1d651060af6450ae882932776 as UnnamedSchemaRef5cf232a1d651060af6450ae882932776,
UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f as UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19 as UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19,
UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1 as UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1,
@@ -28,8 +30,6 @@
UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8 as UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0 as UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9 as UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9,
- UnnamedSchemaRef3248f24329456e19dfa042fff9986f72 as UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837 as UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
UnnamedSchemaRef23001f1f0b697900e282236466a95fa3 as UnnamedSchemaRef23001f1f0b697900e282236466a95fa3,
UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a as UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
UnnamedSchemaRef619309774d07ec6904f1e354560d6028 as UnnamedSchemaRef619309774d07ec6904f1e354560d6028,
@@ -38,7 +38,6 @@
UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6 as UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6,
UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854 as UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854,
UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b as UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
- UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b as UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846 as UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 as UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
)
@@ -262,6 +261,7 @@
from .mtls_certificate_delete_params import MTLSCertificateDeleteParams as MTLSCertificateDeleteParams
from .url_normalization_get_response import URLNormalizationGetResponse as URLNormalizationGetResponse
from .zone_authenticated_origin_pull import ZoneAuthenticatedOriginPull as ZoneAuthenticatedOriginPull
+from .custom_hostname_delete_response import CustomHostnameDeleteResponse as CustomHostnameDeleteResponse
from .custom_nameserver_create_params import CustomNameserverCreateParams as CustomNameserverCreateParams
from .custom_nameserver_delete_params import CustomNameserverDeleteParams as CustomNameserverDeleteParams
from .custom_nameserver_verify_params import CustomNameserverVerifyParams as CustomNameserverVerifyParams
@@ -278,11 +278,16 @@
from .origin_ca_certificate_list_params import OriginCACertificateListParams as OriginCACertificateListParams
from .session_affinity_attributes_param import SessionAffinityAttributesParam as SessionAffinityAttributesParam
from .url_normalization_update_response import URLNormalizationUpdateResponse as URLNormalizationUpdateResponse
+from .custom_certificate_delete_response import CustomCertificateDeleteResponse as CustomCertificateDeleteResponse
from .super_bot_fight_mode_likely_config import SuperBotFightModeLikelyConfig as SuperBotFightModeLikelyConfig
+from .keyless_certificate_delete_response import KeylessCertificateDeleteResponse as KeylessCertificateDeleteResponse
from .origin_ca_certificate_create_params import OriginCACertificateCreateParams as OriginCACertificateCreateParams
from .origin_ca_certificate_delete_params import OriginCACertificateDeleteParams as OriginCACertificateDeleteParams
from .origin_tls_client_auth_create_params import OriginTLSClientAuthCreateParams as OriginTLSClientAuthCreateParams
from .origin_tls_client_auth_delete_params import OriginTLSClientAuthDeleteParams as OriginTLSClientAuthDeleteParams
+from .origin_ca_certificate_delete_response import (
+ OriginCACertificateDeleteResponse as OriginCACertificateDeleteResponse,
+)
from .custom_nameserver_availabilty_response import (
CustomNameserverAvailabiltyResponse as CustomNameserverAvailabiltyResponse,
)
diff --git a/src/cloudflare/types/custom_certificate_delete_response.py b/src/cloudflare/types/custom_certificate_delete_response.py
new file mode 100644
index 00000000000..5c1e68f5ba8
--- /dev/null
+++ b/src/cloudflare/types/custom_certificate_delete_response.py
@@ -0,0 +1,12 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from .._models import BaseModel
+
+__all__ = ["CustomCertificateDeleteResponse"]
+
+
+class CustomCertificateDeleteResponse(BaseModel):
+ id: Optional[str] = None
+ """Identifier"""
diff --git a/src/cloudflare/types/custom_hostname_delete_response.py b/src/cloudflare/types/custom_hostname_delete_response.py
new file mode 100644
index 00000000000..f4a736fa8ce
--- /dev/null
+++ b/src/cloudflare/types/custom_hostname_delete_response.py
@@ -0,0 +1,12 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from .._models import BaseModel
+
+__all__ = ["CustomHostnameDeleteResponse"]
+
+
+class CustomHostnameDeleteResponse(BaseModel):
+ id: Optional[str] = None
+ """Identifier"""
diff --git a/src/cloudflare/types/firewall/waf/package_get_response.py b/src/cloudflare/types/firewall/waf/package_get_response.py
index 630f062115f..15ae939180a 100644
--- a/src/cloudflare/types/firewall/waf/package_get_response.py
+++ b/src/cloudflare/types/firewall/waf/package_get_response.py
@@ -3,16 +3,16 @@
from typing import List, Union, Optional
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ...shared import ResponseInfo, UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
from ...._models import BaseModel
__all__ = ["PackageGetResponse", "FirewallAPIResponseSingle", "Result"]
class FirewallAPIResponseSingle(BaseModel):
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
diff --git a/src/cloudflare/types/firewall/waf/package_list_response.py b/src/cloudflare/types/firewall/waf/package_list_response.py
index 76b79e5a6f7..ce5e23e4e67 100644
--- a/src/cloudflare/types/firewall/waf/package_list_response.py
+++ b/src/cloudflare/types/firewall/waf/package_list_response.py
@@ -3,7 +3,7 @@
from typing import List, Union, Optional
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151, UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ...shared import ResponseInfo, UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from ...._models import BaseModel
__all__ = [
@@ -32,9 +32,9 @@ class FirewallAPIResponseCollectionResultInfo(BaseModel):
class FirewallAPIResponseCollection(BaseModel):
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151] = None
diff --git a/src/cloudflare/types/images/v1_list_response.py b/src/cloudflare/types/images/v1_list_response.py
index 2a7055ab20f..20552ea88e7 100644
--- a/src/cloudflare/types/images/v1_list_response.py
+++ b/src/cloudflare/types/images/v1_list_response.py
@@ -4,7 +4,7 @@
from typing_extensions import Literal
from .image import Image
-from ..shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ..shared import ResponseInfo
from ..._models import BaseModel
__all__ = ["V1ListResponse", "Result"]
@@ -15,9 +15,9 @@ class Result(BaseModel):
class V1ListResponse(BaseModel):
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: Result
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_list_response.py b/src/cloudflare/types/intel/attack_surface_report/issue_list_response.py
index 1b73cc500b8..a61dae3081c 100644
--- a/src/cloudflare/types/intel/attack_surface_report/issue_list_response.py
+++ b/src/cloudflare/types/intel/attack_surface_report/issue_list_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ...shared import ResponseInfo
from ...._models import BaseModel
__all__ = ["IssueListResponse", "Result", "ResultIssue"]
@@ -56,9 +56,9 @@ class Result(BaseModel):
class IssueListResponse(BaseModel):
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: Result
diff --git a/src/cloudflare/types/keyless_certificate_delete_response.py b/src/cloudflare/types/keyless_certificate_delete_response.py
new file mode 100644
index 00000000000..f21484a947b
--- /dev/null
+++ b/src/cloudflare/types/keyless_certificate_delete_response.py
@@ -0,0 +1,12 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from .._models import BaseModel
+
+__all__ = ["KeylessCertificateDeleteResponse"]
+
+
+class KeylessCertificateDeleteResponse(BaseModel):
+ id: Optional[str] = None
+ """Identifier"""
diff --git a/src/cloudflare/types/origin_ca_certificate_delete_response.py b/src/cloudflare/types/origin_ca_certificate_delete_response.py
new file mode 100644
index 00000000000..ac83d7b288e
--- /dev/null
+++ b/src/cloudflare/types/origin_ca_certificate_delete_response.py
@@ -0,0 +1,12 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from .._models import BaseModel
+
+__all__ = ["OriginCACertificateDeleteResponse"]
+
+
+class OriginCACertificateDeleteResponse(BaseModel):
+ id: Optional[str] = None
+ """Identifier"""
diff --git a/src/cloudflare/types/shared/__init__.py b/src/cloudflare/types/shared/__init__.py
index 61089ccc32b..4ddeabf905d 100644
--- a/src/cloudflare/types/shared/__init__.py
+++ b/src/cloudflare/types/shared/__init__.py
@@ -1,12 +1,12 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+from .result import Result as Result
from .error_data import ErrorData as ErrorData
+from .identifier import Identifier as Identifier
+from .response_info import ResponseInfo as ResponseInfo
from .unnamed_schema_ref_025497b7e63379c31929636b5186e45c import (
UnnamedSchemaRef025497b7e63379c31929636b5186e45c as UnnamedSchemaRef025497b7e63379c31929636b5186e45c,
)
-from .unnamed_schema_ref_5cf232a1d651060af6450ae882932776 import (
- UnnamedSchemaRef5cf232a1d651060af6450ae882932776 as UnnamedSchemaRef5cf232a1d651060af6450ae882932776,
-)
from .unnamed_schema_ref_8d6a37a1e4190f86652802244d29525f import (
UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f as UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
)
@@ -31,12 +31,6 @@
from .unnamed_schema_ref_2173d81a0b2d332c9e2ac46900fe8bb9 import (
UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9 as UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9,
)
-from .unnamed_schema_ref_3248f24329456e19dfa042fff9986f72 import (
- UnnamedSchemaRef3248f24329456e19dfa042fff9986f72 as UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
-)
-from .unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837 import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837 as UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
-)
from .unnamed_schema_ref_23001f1f0b697900e282236466a95fa3 import (
UnnamedSchemaRef23001f1f0b697900e282236466a95fa3 as UnnamedSchemaRef23001f1f0b697900e282236466a95fa3,
)
@@ -61,9 +55,6 @@
from .unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b import (
UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b as UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
)
-from .unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b import (
- UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b as UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
-)
from .unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846 import (
UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846 as UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
)
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py b/src/cloudflare/types/shared/identifier.py
similarity index 60%
rename from src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py
rename to src/cloudflare/types/shared/identifier.py
index 16cfba37c50..f45e7984c3f 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py
+++ b/src/cloudflare/types/shared/identifier.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef5cf232a1d651060af6450ae882932776"]
+__all__ = ["Identifier"]
-class UnnamedSchemaRef5cf232a1d651060af6450ae882932776(BaseModel):
+class Identifier(BaseModel):
id: Optional[str] = None
"""Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py b/src/cloudflare/types/shared/response_info.py
similarity index 54%
rename from src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
rename to src/cloudflare/types/shared/response_info.py
index 898f10b8d27..3208261ab12 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
+++ b/src/cloudflare/types/shared/response_info.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef3248f24329456e19dfa042fff9986f72"]
+__all__ = ["ResponseInfo"]
-class UnnamedSchemaRef3248f24329456e19dfa042fff9986f72(BaseModel):
+class ResponseInfo(BaseModel):
code: int
message: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py b/src/cloudflare/types/shared/result.py
similarity index 88%
rename from src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py
rename to src/cloudflare/types/shared/result.py
index ba236ab375c..3de75940ec9 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py
+++ b/src/cloudflare/types/shared/result.py
@@ -7,11 +7,11 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from .unnamed_schema_ref_3248f24329456e19dfa042fff9986f72 import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from .response_info import ResponseInfo
from .unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846 import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
__all__ = [
- "UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b",
+ "Result",
"UnionMember0",
"UnionMember0Result",
"UnionMember0ResultAction",
@@ -102,9 +102,9 @@ class UnionMember0(BaseModel):
class AaaAPIResponseCommon(BaseModel):
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
@@ -112,4 +112,4 @@ class AaaAPIResponseCommon(BaseModel):
"""Whether the API call was successful"""
-UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b = Union[UnionMember0, AaaAPIResponseCommon]
+Result = Union[UnionMember0, AaaAPIResponseCommon]
diff --git a/src/cloudflare/types/shared_params/__init__.py b/src/cloudflare/types/shared_params/__init__.py
index e13f5e8dfc7..91ba5ddd999 100644
--- a/src/cloudflare/types/shared_params/__init__.py
+++ b/src/cloudflare/types/shared_params/__init__.py
@@ -1,11 +1,9 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+from .response_info import ResponseInfo as ResponseInfo
from .unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c import (
UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c as UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c,
)
-from .unnamed_schema_ref_3248f24329456e19dfa042fff9986f72 import (
- UnnamedSchemaRef3248f24329456e19dfa042fff9986f72 as UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
-)
from .unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24 import (
UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 as UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
)
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py b/src/cloudflare/types/shared_params/response_info.py
similarity index 61%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
rename to src/cloudflare/types/shared_params/response_info.py
index 14c9d60db84..5e5530fa01e 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
+++ b/src/cloudflare/types/shared_params/response_info.py
@@ -4,10 +4,10 @@
from typing_extensions import Required, TypedDict
-__all__ = ["UnnamedSchemaRef3248f24329456e19dfa042fff9986f72"]
+__all__ = ["ResponseInfo"]
-class UnnamedSchemaRef3248f24329456e19dfa042fff9986f72(TypedDict, total=False):
+class ResponseInfo(TypedDict, total=False):
code: Required[int]
message: Required[str]
diff --git a/src/cloudflare/types/speed/test_list_response.py b/src/cloudflare/types/speed/test_list_response.py
index 6701b1f6359..e97b4874d95 100644
--- a/src/cloudflare/types/speed/test_list_response.py
+++ b/src/cloudflare/types/speed/test_list_response.py
@@ -2,7 +2,7 @@
from typing import List, Optional
-from ..shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ..shared import ResponseInfo
from ..._models import BaseModel
__all__ = ["TestListResponse", "ResultInfo"]
@@ -20,9 +20,9 @@ class ResultInfo(BaseModel):
class TestListResponse(BaseModel):
__test__ = False
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
success: bool
"""Whether the API call was successful."""
diff --git a/src/cloudflare/types/ssl/__init__.py b/src/cloudflare/types/ssl/__init__.py
index 6eacc7d5f8e..664a28d76c8 100644
--- a/src/cloudflare/types/ssl/__init__.py
+++ b/src/cloudflare/types/ssl/__init__.py
@@ -14,3 +14,4 @@
from .certificate_pack_list_params import CertificatePackListParams as CertificatePackListParams
from .certificate_pack_delete_params import CertificatePackDeleteParams as CertificatePackDeleteParams
from .certificate_pack_edit_response import CertificatePackEditResponse as CertificatePackEditResponse
+from .certificate_pack_delete_response import CertificatePackDeleteResponse as CertificatePackDeleteResponse
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py b/src/cloudflare/types/ssl/certificate_pack_delete_response.py
similarity index 60%
rename from src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py
rename to src/cloudflare/types/ssl/certificate_pack_delete_response.py
index 7e2f0b2b0a8..20f9fa49401 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py
+++ b/src/cloudflare/types/ssl/certificate_pack_delete_response.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837"]
+__all__ = ["CertificatePackDeleteResponse"]
-class UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837(BaseModel):
+class CertificatePackDeleteResponse(BaseModel):
id: Optional[str] = None
"""Identifier"""
diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py
index b3d4eb4ddb4..006e229ecb6 100644
--- a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py
+++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py
@@ -18,9 +18,9 @@ class SettingEditParams(TypedDict, total=False):
dispatch_namespace: Required[str]
"""Name of the Workers for Platforms dispatch namespace."""
- errors: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
+ errors: Required[Iterable[shared_params.ResponseInfo]]
- messages: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
+ messages: Required[Iterable[shared_params.ResponseInfo]]
result: Required[ScriptSettingParam]
diff --git a/src/cloudflare/types/zero_trust/dex/test_list_response.py b/src/cloudflare/types/zero_trust/dex/test_list_response.py
index 04c1d51345f..dfe04367d23 100644
--- a/src/cloudflare/types/zero_trust/dex/test_list_response.py
+++ b/src/cloudflare/types/zero_trust/dex/test_list_response.py
@@ -4,7 +4,7 @@
from typing_extensions import Literal
from .tests import Tests
-from ...shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from ...shared import ResponseInfo
from ...._models import BaseModel
__all__ = ["TestListResponse", "ResultInfo"]
@@ -26,9 +26,9 @@ class ResultInfo(BaseModel):
class TestListResponse(BaseModel):
__test__ = False
- errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ errors: List[ResponseInfo]
- messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
+ messages: List[ResponseInfo]
result: Tests
diff --git a/tests/api_resources/ssl/test_certificate_packs.py b/tests/api_resources/ssl/test_certificate_packs.py
index 13cad6ef813..1eedf90cf48 100644
--- a/tests/api_resources/ssl/test_certificate_packs.py
+++ b/tests/api_resources/ssl/test_certificate_packs.py
@@ -11,12 +11,10 @@
from tests.utils import assert_matches_type
from cloudflare.types.ssl import (
CertificatePackEditResponse,
+ CertificatePackDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -83,7 +81,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -97,7 +95,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -111,7 +109,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -304,7 +302,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -318,7 +316,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -332,7 +330,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
+ assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_custom_certificates.py b/tests/api_resources/test_custom_certificates.py
index 4b38015f15c..c407e129207 100644
--- a/tests/api_resources/test_custom_certificates.py
+++ b/tests/api_resources/test_custom_certificates.py
@@ -11,12 +11,10 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
CustomCertificate,
+ CustomCertificateDeleteResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -150,7 +148,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -164,7 +162,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -178,7 +176,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -447,7 +445,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -461,7 +459,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -475,7 +473,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
+ assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_custom_hostnames.py b/tests/api_resources/test_custom_hostnames.py
index bd784e3d6f1..b1a65483012 100644
--- a/tests/api_resources/test_custom_hostnames.py
+++ b/tests/api_resources/test_custom_hostnames.py
@@ -11,9 +11,9 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
CustomHostname,
+ CustomHostnameDeleteResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -162,7 +162,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -176,7 +176,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_hostname = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -190,7 +190,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_hostname = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -488,7 +488,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -502,7 +502,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_hostname = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -516,7 +516,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_hostname = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
+ assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_keyless_certificates.py b/tests/api_resources/test_keyless_certificates.py
index 1a2be35ac0f..6144dd8edad 100644
--- a/tests/api_resources/test_keyless_certificates.py
+++ b/tests/api_resources/test_keyless_certificates.py
@@ -12,9 +12,9 @@
from cloudflare.types import (
Hostname,
KeylessCertificate,
+ KeylessCertificateDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -143,7 +143,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -157,7 +157,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
keyless_certificate = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -171,9 +171,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
keyless_certificate = response.parse()
- assert_matches_type(
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"]
- )
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -446,7 +444,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -460,7 +458,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
keyless_certificate = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -474,9 +472,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
keyless_certificate = await response.parse()
- assert_matches_type(
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"]
- )
+ assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_origin_ca_certificates.py b/tests/api_resources/test_origin_ca_certificates.py
index 6d25f679da5..3f1d7089ecc 100644
--- a/tests/api_resources/test_origin_ca_certificates.py
+++ b/tests/api_resources/test_origin_ca_certificates.py
@@ -11,12 +11,10 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
OriginCACertificate,
+ OriginCACertificateDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import (
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
- UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -108,7 +106,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -121,7 +119,7 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -134,9 +132,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = response.parse()
- assert_matches_type(
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"]
- )
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -281,7 +277,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -294,7 +290,7 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = await response.parse()
- assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -307,9 +303,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = await response.parse()
- assert_matches_type(
- UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"]
- )
+ assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
assert cast(Any, response.is_closed) is True