From d5e5eb5f310f886f8a1bb0d36b3e05d8c8c0fc23 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 13:37:24 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#171) --- CONTRIBUTING.md | 2 +- src/cloudflare/types/account_get_response.py | 2 +- src/cloudflare/types/account_update_response.py | 2 +- src/cloudflare/types/accounts/role_get_response.py | 2 +- src/cloudflare/types/addressing/address_map_delete_response.py | 2 +- .../types/addressing/address_maps/account_delete_response.py | 2 +- .../types/addressing/address_maps/account_update_response.py | 2 +- .../types/addressing/address_maps/ip_delete_response.py | 2 +- .../types/addressing/address_maps/ip_update_response.py | 2 +- .../types/addressing/address_maps/zone_delete_response.py | 2 +- .../types/addressing/address_maps/zone_update_response.py | 2 +- src/cloudflare/types/addressing/prefix_delete_response.py | 2 +- .../types/addressing/prefixes/bgp/binding_delete_response.py | 2 +- src/cloudflare/types/alerting/available_alert_list_response.py | 2 +- .../types/alerting/destinations/eligible_get_response.py | 2 +- .../types/alerting/destinations/pagerduty_delete_response.py | 2 +- .../types/alerting/destinations/webhook_delete_response.py | 2 +- src/cloudflare/types/alerting/policy_delete_response.py | 2 +- src/cloudflare/types/argo/smart_routing_edit_response.py | 2 +- src/cloudflare/types/argo/smart_routing_get_response.py | 2 +- src/cloudflare/types/argo/tiered_caching_edit_response.py | 2 +- src/cloudflare/types/argo/tiered_caching_get_response.py | 2 +- src/cloudflare/types/billing/profile_get_response.py | 2 +- .../types/cache/smart_tiered_cache_delete_response.py | 2 +- src/cloudflare/types/cache/smart_tiered_cache_edit_response.py | 2 +- src/cloudflare/types/cache/smart_tiered_cache_get_response.py | 2 +- src/cloudflare/types/cloudforce_one/request_delete_response.py | 2 +- .../types/cloudforce_one/requests/message_delete_response.py | 2 +- .../types/cloudforce_one/requests/priority_delete_response.py | 2 +- src/cloudflare/types/custom_certificate_create_response.py | 2 +- src/cloudflare/types/custom_certificate_edit_response.py | 2 +- src/cloudflare/types/custom_certificate_get_response.py | 2 +- .../types/custom_hostnames/fallback_origin_delete_response.py | 2 +- .../types/custom_hostnames/fallback_origin_get_response.py | 2 +- .../types/custom_hostnames/fallback_origin_update_response.py | 2 +- src/cloudflare/types/custom_nameserver_delete_response.py | 2 +- src/cloudflare/types/d1/database_delete_response.py | 2 +- src/cloudflare/types/dnssec_delete_response.py | 2 +- src/cloudflare/types/firewall/access_rule_create_response.py | 2 +- src/cloudflare/types/firewall/access_rule_edit_response.py | 2 +- src/cloudflare/types/firewall/access_rule_get_response.py | 2 +- src/cloudflare/types/firewall/ua_rule_create_response.py | 2 +- src/cloudflare/types/firewall/ua_rule_get_response.py | 2 +- src/cloudflare/types/firewall/ua_rule_update_response.py | 2 +- src/cloudflare/types/firewall/waf/package_get_response.py | 2 +- src/cloudflare/types/firewall/waf/package_list_response.py | 2 +- .../types/firewall/waf/packages/group_edit_response.py | 2 +- .../types/firewall/waf/packages/group_get_response.py | 2 +- src/cloudflare/types/firewall/waf/packages/rule_get_response.py | 2 +- src/cloudflare/types/hyperdrive/config_delete_response.py | 2 +- src/cloudflare/types/images/v1/variant_delete_response.py | 2 +- src/cloudflare/types/images/v1_delete_response.py | 2 +- .../types/intel/attack_surface_report/issue_dismiss_response.py | 2 +- src/cloudflare/types/intel/miscategorization_create_response.py | 2 +- src/cloudflare/types/kv/namespace_delete_response.py | 2 +- src/cloudflare/types/kv/namespace_update_response.py | 2 +- src/cloudflare/types/kv/namespaces/bulk_delete_response.py | 2 +- src/cloudflare/types/kv/namespaces/bulk_update_response.py | 2 +- src/cloudflare/types/kv/namespaces/value_delete_response.py | 2 +- src/cloudflare/types/kv/namespaces/value_update_response.py | 2 +- .../types/load_balancers/pools/health_get_response.py | 2 +- src/cloudflare/types/load_balancers/region_get_response.py | 2 +- src/cloudflare/types/load_balancers/region_list_response.py | 2 +- src/cloudflare/types/logpush/job_delete_response.py | 2 +- src/cloudflare/types/logs/control/cmb/config_delete_response.py | 2 +- src/cloudflare/types/membership_get_response.py | 2 +- src/cloudflare/types/membership_update_response.py | 2 +- src/cloudflare/types/origin_ca_certificate_create_response.py | 2 +- src/cloudflare/types/origin_ca_certificate_get_response.py | 2 +- .../types/origin_post_quantum_encryption_get_response.py | 2 +- .../types/origin_post_quantum_encryption_update_response.py | 2 +- src/cloudflare/types/origin_tls_client_auth_create_response.py | 2 +- src/cloudflare/types/origin_tls_client_auth_delete_response.py | 2 +- src/cloudflare/types/origin_tls_client_auth_get_response.py | 2 +- src/cloudflare/types/pagerule_create_response.py | 2 +- src/cloudflare/types/pagerule_edit_response.py | 2 +- src/cloudflare/types/pagerule_get_response.py | 2 +- src/cloudflare/types/pagerule_update_response.py | 2 +- src/cloudflare/types/pages/project_create_response.py | 2 +- src/cloudflare/types/pages/project_edit_response.py | 2 +- .../pages/projects/deployments/history/log_get_response.py | 2 +- src/cloudflare/types/pages/projects/domain_create_response.py | 2 +- src/cloudflare/types/pages/projects/domain_edit_response.py | 2 +- src/cloudflare/types/pages/projects/domain_get_response.py | 2 +- src/cloudflare/types/queue_delete_response.py | 2 +- src/cloudflare/types/queues/consumer_delete_response.py | 2 +- src/cloudflare/types/rate_limit_create_response.py | 2 +- src/cloudflare/types/rate_limit_edit_response.py | 2 +- src/cloudflare/types/rate_limit_get_response.py | 2 +- src/cloudflare/types/registrar/domain_get_response.py | 2 +- src/cloudflare/types/registrar/domain_update_response.py | 2 +- src/cloudflare/types/snippet_delete_response.py | 2 +- .../types/spectrum/analytics/events/bytime_get_response.py | 2 +- .../types/spectrum/analytics/events/summary_get_response.py | 2 +- src/cloudflare/types/spectrum/app_get_response.py | 2 +- src/cloudflare/types/ssl/analyze_create_response.py | 2 +- src/cloudflare/types/ssl/certificate_pack_get_response.py | 2 +- src/cloudflare/types/stream/audio_track_delete_response.py | 2 +- src/cloudflare/types/stream/caption_delete_response.py | 2 +- src/cloudflare/types/stream/caption_update_response.py | 2 +- src/cloudflare/types/stream/download_create_response.py | 2 +- src/cloudflare/types/stream/download_delete_response.py | 2 +- src/cloudflare/types/stream/download_get_response.py | 2 +- src/cloudflare/types/stream/key_delete_response.py | 2 +- src/cloudflare/types/stream/watermark_create_response.py | 2 +- src/cloudflare/types/stream/watermark_delete_response.py | 2 +- src/cloudflare/types/stream/watermark_get_response.py | 2 +- src/cloudflare/types/stream/webhook_delete_response.py | 2 +- src/cloudflare/types/stream/webhook_get_response.py | 2 +- src/cloudflare/types/stream/webhook_update_response.py | 2 +- src/cloudflare/types/subscription_create_response.py | 2 +- src/cloudflare/types/subscription_get_response.py | 2 +- src/cloudflare/types/subscription_update_response.py | 2 +- src/cloudflare/types/user/billing/profile_get_response.py | 2 +- src/cloudflare/types/user/invite_edit_response.py | 2 +- src/cloudflare/types/user/invite_get_response.py | 2 +- .../types/user/load_balancers/pool_health_response.py | 2 +- src/cloudflare/types/user/organization_get_response.py | 2 +- src/cloudflare/types/user/subscription_edit_response.py | 2 +- src/cloudflare/types/user/subscription_update_response.py | 2 +- src/cloudflare/types/user/token_get_response.py | 2 +- src/cloudflare/types/user/token_update_response.py | 2 +- src/cloudflare/types/user_edit_response.py | 2 +- src/cloudflare/types/user_get_response.py | 2 +- src/cloudflare/types/vectorize/index_delete_response.py | 2 +- src/cloudflare/types/warp_connector_token_response.py | 2 +- src/cloudflare/types/workers/route_create_response.py | 2 +- src/cloudflare/types/workers/route_delete_response.py | 2 +- src/cloudflare/types/workers/scripts/tail_delete_response.py | 2 +- .../types/zero_trust/access/applications/ca_create_response.py | 2 +- .../types/zero_trust/access/applications/ca_get_response.py | 2 +- src/cloudflare/types/zero_trust/access/key_get_response.py | 2 +- src/cloudflare/types/zero_trust/access/key_rotate_response.py | 2 +- src/cloudflare/types/zero_trust/access/key_update_response.py | 2 +- src/cloudflare/types/zero_trust/device_get_response.py | 2 +- .../zero_trust/devices/posture/integration_delete_response.py | 2 +- .../types/zero_trust/devices/revoke_create_response.py | 2 +- .../types/zero_trust/devices/unrevoke_create_response.py | 2 +- .../types/zero_trust/dlp/profiles/custom_delete_response.py | 2 +- src/cloudflare/types/zero_trust/gateway/list_delete_response.py | 2 +- .../types/zero_trust/gateway/location_delete_response.py | 2 +- .../types/zero_trust/gateway/proxy_endpoint_delete_response.py | 2 +- src/cloudflare/types/zero_trust/gateway/rule_delete_response.py | 2 +- .../zero_trust/networks/virtual_network_create_response.py | 2 +- .../zero_trust/networks/virtual_network_delete_response.py | 2 +- .../types/zero_trust/networks/virtual_network_edit_response.py | 2 +- .../types/zero_trust/tunnels/configuration_get_response.py | 2 +- .../types/zero_trust/tunnels/configuration_update_response.py | 2 +- .../types/zero_trust/tunnels/connection_delete_response.py | 2 +- .../types/zero_trust/tunnels/management_create_response.py | 2 +- src/cloudflare/types/zero_trust/tunnels/token_get_response.py | 2 +- src/cloudflare/types/zones/custom_nameserver_get_response.py | 2 +- src/cloudflare/types/zones/custom_nameserver_update_response.py | 2 +- src/cloudflare/types/zones/subscription_create_response.py | 2 +- src/cloudflare/types/zones/subscription_get_response.py | 2 +- src/cloudflare/types/zones/workers/script_update_response.py | 2 +- 156 files changed, 156 insertions(+), 156 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5d03df6602e..4fc00cc62e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -121,5 +121,5 @@ You can release to package managers by using [the `Publish PyPI` GitHub action]( ### Publish manually -If you need to manually release a package, you can run the `bin/publish-pypi` script with an `PYPI_TOKEN` set on +If you need to manually release a package, you can run the `bin/publish-pypi` script with a `PYPI_TOKEN` set on the environment. diff --git a/src/cloudflare/types/account_get_response.py b/src/cloudflare/types/account_get_response.py index 98b42d31303..90ec592d62b 100644 --- a/src/cloudflare/types/account_get_response.py +++ b/src/cloudflare/types/account_get_response.py @@ -4,4 +4,4 @@ __all__ = ["AccountGetResponse"] -AccountGetResponse = Union[Optional[object], Optional[str]] +AccountGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/account_update_response.py b/src/cloudflare/types/account_update_response.py index fe279b151f8..a10025d46aa 100644 --- a/src/cloudflare/types/account_update_response.py +++ b/src/cloudflare/types/account_update_response.py @@ -4,4 +4,4 @@ __all__ = ["AccountUpdateResponse"] -AccountUpdateResponse = Union[Optional[object], Optional[str]] +AccountUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/accounts/role_get_response.py b/src/cloudflare/types/accounts/role_get_response.py index 268e1f2e986..50bca84535e 100644 --- a/src/cloudflare/types/accounts/role_get_response.py +++ b/src/cloudflare/types/accounts/role_get_response.py @@ -4,4 +4,4 @@ __all__ = ["RoleGetResponse"] -RoleGetResponse = Union[Optional[object], Optional[str]] +RoleGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/addressing/address_map_delete_response.py b/src/cloudflare/types/addressing/address_map_delete_response.py index 45c3f547d5b..57b879481e2 100644 --- a/src/cloudflare/types/addressing/address_map_delete_response.py +++ b/src/cloudflare/types/addressing/address_map_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["AddressMapDeleteResponse"] -AddressMapDeleteResponse = Union[object, List[object], str, None] +AddressMapDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/account_delete_response.py b/src/cloudflare/types/addressing/address_maps/account_delete_response.py index 8d8daea8210..3ddf76cafe9 100644 --- a/src/cloudflare/types/addressing/address_maps/account_delete_response.py +++ b/src/cloudflare/types/addressing/address_maps/account_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["AccountDeleteResponse"] -AccountDeleteResponse = Union[object, List[object], str, None] +AccountDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/account_update_response.py b/src/cloudflare/types/addressing/address_maps/account_update_response.py index cfdb7008dfb..53831e97698 100644 --- a/src/cloudflare/types/addressing/address_maps/account_update_response.py +++ b/src/cloudflare/types/addressing/address_maps/account_update_response.py @@ -4,4 +4,4 @@ __all__ = ["AccountUpdateResponse"] -AccountUpdateResponse = Union[object, List[object], str, None] +AccountUpdateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/ip_delete_response.py b/src/cloudflare/types/addressing/address_maps/ip_delete_response.py index d197346002d..9cb4b12b353 100644 --- a/src/cloudflare/types/addressing/address_maps/ip_delete_response.py +++ b/src/cloudflare/types/addressing/address_maps/ip_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["IPDeleteResponse"] -IPDeleteResponse = Union[object, List[object], str, None] +IPDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/ip_update_response.py b/src/cloudflare/types/addressing/address_maps/ip_update_response.py index 7f7a10d3277..d4b874c9522 100644 --- a/src/cloudflare/types/addressing/address_maps/ip_update_response.py +++ b/src/cloudflare/types/addressing/address_maps/ip_update_response.py @@ -4,4 +4,4 @@ __all__ = ["IPUpdateResponse"] -IPUpdateResponse = Union[object, List[object], str, None] +IPUpdateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/zone_delete_response.py b/src/cloudflare/types/addressing/address_maps/zone_delete_response.py index bb38f6fdd8e..6fdbcc03fa7 100644 --- a/src/cloudflare/types/addressing/address_maps/zone_delete_response.py +++ b/src/cloudflare/types/addressing/address_maps/zone_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ZoneDeleteResponse"] -ZoneDeleteResponse = Union[object, List[object], str, None] +ZoneDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/address_maps/zone_update_response.py b/src/cloudflare/types/addressing/address_maps/zone_update_response.py index ce487712d58..1f488961e0d 100644 --- a/src/cloudflare/types/addressing/address_maps/zone_update_response.py +++ b/src/cloudflare/types/addressing/address_maps/zone_update_response.py @@ -4,4 +4,4 @@ __all__ = ["ZoneUpdateResponse"] -ZoneUpdateResponse = Union[object, List[object], str, None] +ZoneUpdateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/prefix_delete_response.py b/src/cloudflare/types/addressing/prefix_delete_response.py index 2ecfcb5eb4b..cf2acba9231 100644 --- a/src/cloudflare/types/addressing/prefix_delete_response.py +++ b/src/cloudflare/types/addressing/prefix_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["PrefixDeleteResponse"] -PrefixDeleteResponse = Union[object, List[object], str, None] +PrefixDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/addressing/prefixes/bgp/binding_delete_response.py b/src/cloudflare/types/addressing/prefixes/bgp/binding_delete_response.py index 226219a6f93..e2afa483e21 100644 --- a/src/cloudflare/types/addressing/prefixes/bgp/binding_delete_response.py +++ b/src/cloudflare/types/addressing/prefixes/bgp/binding_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["BindingDeleteResponse"] -BindingDeleteResponse = Union[object, List[object], str] +BindingDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/alerting/available_alert_list_response.py b/src/cloudflare/types/alerting/available_alert_list_response.py index 8f97db5d85a..10470fec71c 100644 --- a/src/cloudflare/types/alerting/available_alert_list_response.py +++ b/src/cloudflare/types/alerting/available_alert_list_response.py @@ -4,4 +4,4 @@ __all__ = ["AvailableAlertListResponse"] -AvailableAlertListResponse = Union[object, List[object], str, None] +AvailableAlertListResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/alerting/destinations/eligible_get_response.py b/src/cloudflare/types/alerting/destinations/eligible_get_response.py index a9c18f96343..fa08c934e4b 100644 --- a/src/cloudflare/types/alerting/destinations/eligible_get_response.py +++ b/src/cloudflare/types/alerting/destinations/eligible_get_response.py @@ -4,4 +4,4 @@ __all__ = ["EligibleGetResponse"] -EligibleGetResponse = Union[object, List[object], str, None] +EligibleGetResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py b/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py index 9bda2e1fe94..3171e8788bc 100644 --- a/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py +++ b/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["PagerdutyDeleteResponse"] -PagerdutyDeleteResponse = Union[object, List[object], str, None] +PagerdutyDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/alerting/destinations/webhook_delete_response.py b/src/cloudflare/types/alerting/destinations/webhook_delete_response.py index 2dba8223b80..2869927bb58 100644 --- a/src/cloudflare/types/alerting/destinations/webhook_delete_response.py +++ b/src/cloudflare/types/alerting/destinations/webhook_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["WebhookDeleteResponse"] -WebhookDeleteResponse = Union[object, List[object], str, None] +WebhookDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/alerting/policy_delete_response.py b/src/cloudflare/types/alerting/policy_delete_response.py index 14d3e98dbb8..f211604e11c 100644 --- a/src/cloudflare/types/alerting/policy_delete_response.py +++ b/src/cloudflare/types/alerting/policy_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["PolicyDeleteResponse"] -PolicyDeleteResponse = Union[object, List[object], str, None] +PolicyDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/argo/smart_routing_edit_response.py b/src/cloudflare/types/argo/smart_routing_edit_response.py index 36e2bedf475..6d377a0f9a3 100644 --- a/src/cloudflare/types/argo/smart_routing_edit_response.py +++ b/src/cloudflare/types/argo/smart_routing_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["SmartRoutingEditResponse"] -SmartRoutingEditResponse = Union[Optional[object], Optional[str]] +SmartRoutingEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/argo/smart_routing_get_response.py b/src/cloudflare/types/argo/smart_routing_get_response.py index 1021d90618a..666187291ad 100644 --- a/src/cloudflare/types/argo/smart_routing_get_response.py +++ b/src/cloudflare/types/argo/smart_routing_get_response.py @@ -4,4 +4,4 @@ __all__ = ["SmartRoutingGetResponse"] -SmartRoutingGetResponse = Union[Optional[object], Optional[str]] +SmartRoutingGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/argo/tiered_caching_edit_response.py b/src/cloudflare/types/argo/tiered_caching_edit_response.py index 2a01c59e580..e86ebbfb070 100644 --- a/src/cloudflare/types/argo/tiered_caching_edit_response.py +++ b/src/cloudflare/types/argo/tiered_caching_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["TieredCachingEditResponse"] -TieredCachingEditResponse = Union[Optional[object], Optional[str]] +TieredCachingEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/argo/tiered_caching_get_response.py b/src/cloudflare/types/argo/tiered_caching_get_response.py index 717e2ddf085..b50be22c227 100644 --- a/src/cloudflare/types/argo/tiered_caching_get_response.py +++ b/src/cloudflare/types/argo/tiered_caching_get_response.py @@ -4,4 +4,4 @@ __all__ = ["TieredCachingGetResponse"] -TieredCachingGetResponse = Union[Optional[object], Optional[str]] +TieredCachingGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/billing/profile_get_response.py b/src/cloudflare/types/billing/profile_get_response.py index 6555ddf828b..29d6d78c949 100644 --- a/src/cloudflare/types/billing/profile_get_response.py +++ b/src/cloudflare/types/billing/profile_get_response.py @@ -4,4 +4,4 @@ __all__ = ["ProfileGetResponse"] -ProfileGetResponse = Union[Optional[object], Optional[str]] +ProfileGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py b/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py index e8e3dc4a265..5163ec1c632 100644 --- a/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py +++ b/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["SmartTieredCacheDeleteResponse"] -SmartTieredCacheDeleteResponse = Union[Optional[object], Optional[str]] +SmartTieredCacheDeleteResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/cache/smart_tiered_cache_edit_response.py b/src/cloudflare/types/cache/smart_tiered_cache_edit_response.py index 5bb409bd23b..904f1c78e2f 100644 --- a/src/cloudflare/types/cache/smart_tiered_cache_edit_response.py +++ b/src/cloudflare/types/cache/smart_tiered_cache_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["SmartTieredCacheEditResponse"] -SmartTieredCacheEditResponse = Union[Optional[object], Optional[str]] +SmartTieredCacheEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/cache/smart_tiered_cache_get_response.py b/src/cloudflare/types/cache/smart_tiered_cache_get_response.py index 40f697fe03c..d174244f78d 100644 --- a/src/cloudflare/types/cache/smart_tiered_cache_get_response.py +++ b/src/cloudflare/types/cache/smart_tiered_cache_get_response.py @@ -4,4 +4,4 @@ __all__ = ["SmartTieredCacheGetResponse"] -SmartTieredCacheGetResponse = Union[Optional[object], Optional[str]] +SmartTieredCacheGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/cloudforce_one/request_delete_response.py b/src/cloudflare/types/cloudforce_one/request_delete_response.py index 85ea9df1657..f6dca1edb3f 100644 --- a/src/cloudflare/types/cloudforce_one/request_delete_response.py +++ b/src/cloudflare/types/cloudforce_one/request_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["RequestDeleteResponse"] -RequestDeleteResponse = Union[object, List[object], str] +RequestDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/cloudforce_one/requests/message_delete_response.py b/src/cloudflare/types/cloudforce_one/requests/message_delete_response.py index dcfc1ed5195..eaadbea2ab5 100644 --- a/src/cloudflare/types/cloudforce_one/requests/message_delete_response.py +++ b/src/cloudflare/types/cloudforce_one/requests/message_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["MessageDeleteResponse"] -MessageDeleteResponse = Union[object, List[object], str] +MessageDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/cloudforce_one/requests/priority_delete_response.py b/src/cloudflare/types/cloudforce_one/requests/priority_delete_response.py index 09e8e4e1b73..60bd9aae8bd 100644 --- a/src/cloudflare/types/cloudforce_one/requests/priority_delete_response.py +++ b/src/cloudflare/types/cloudforce_one/requests/priority_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["PriorityDeleteResponse"] -PriorityDeleteResponse = Union[object, List[object], str] +PriorityDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/custom_certificate_create_response.py b/src/cloudflare/types/custom_certificate_create_response.py index 249526db957..2d47fd21628 100644 --- a/src/cloudflare/types/custom_certificate_create_response.py +++ b/src/cloudflare/types/custom_certificate_create_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomCertificateCreateResponse"] -CustomCertificateCreateResponse = Union[object, str] +CustomCertificateCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_certificate_edit_response.py b/src/cloudflare/types/custom_certificate_edit_response.py index 6ba5a848dd5..cd73fcedc37 100644 --- a/src/cloudflare/types/custom_certificate_edit_response.py +++ b/src/cloudflare/types/custom_certificate_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomCertificateEditResponse"] -CustomCertificateEditResponse = Union[object, str] +CustomCertificateEditResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_certificate_get_response.py b/src/cloudflare/types/custom_certificate_get_response.py index 17e84e09d0e..81ac453d05d 100644 --- a/src/cloudflare/types/custom_certificate_get_response.py +++ b/src/cloudflare/types/custom_certificate_get_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomCertificateGetResponse"] -CustomCertificateGetResponse = Union[object, str] +CustomCertificateGetResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py b/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py index 330e8e3127d..25c13dba3c1 100644 --- a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py +++ b/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["FallbackOriginDeleteResponse"] -FallbackOriginDeleteResponse = Union[object, str] +FallbackOriginDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py b/src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py index 82dea224983..6259d8e36f1 100644 --- a/src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py +++ b/src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py @@ -4,4 +4,4 @@ __all__ = ["FallbackOriginGetResponse"] -FallbackOriginGetResponse = Union[object, str] +FallbackOriginGetResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py b/src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py index 1f6ae4a8870..6668392d9f5 100644 --- a/src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py +++ b/src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py @@ -4,4 +4,4 @@ __all__ = ["FallbackOriginUpdateResponse"] -FallbackOriginUpdateResponse = Union[object, str] +FallbackOriginUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/custom_nameserver_delete_response.py b/src/cloudflare/types/custom_nameserver_delete_response.py index 6cce686378a..f50c645a449 100644 --- a/src/cloudflare/types/custom_nameserver_delete_response.py +++ b/src/cloudflare/types/custom_nameserver_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomNameserverDeleteResponse"] -CustomNameserverDeleteResponse = Union[object, List[object], str, None] +CustomNameserverDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/d1/database_delete_response.py b/src/cloudflare/types/d1/database_delete_response.py index 1160b97f925..0d3afb4e896 100644 --- a/src/cloudflare/types/d1/database_delete_response.py +++ b/src/cloudflare/types/d1/database_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["DatabaseDeleteResponse"] -DatabaseDeleteResponse = Union[object, str, None] +DatabaseDeleteResponse = Union[str, object, None] diff --git a/src/cloudflare/types/dnssec_delete_response.py b/src/cloudflare/types/dnssec_delete_response.py index 3440ccca26d..cf05605b328 100644 --- a/src/cloudflare/types/dnssec_delete_response.py +++ b/src/cloudflare/types/dnssec_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["DNSSECDeleteResponse"] -DNSSECDeleteResponse = Union[object, str] +DNSSECDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/firewall/access_rule_create_response.py b/src/cloudflare/types/firewall/access_rule_create_response.py index 80bba02a7e2..d68421c6413 100644 --- a/src/cloudflare/types/firewall/access_rule_create_response.py +++ b/src/cloudflare/types/firewall/access_rule_create_response.py @@ -4,4 +4,4 @@ __all__ = ["AccessRuleCreateResponse"] -AccessRuleCreateResponse = Union[object, str, None] +AccessRuleCreateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/access_rule_edit_response.py b/src/cloudflare/types/firewall/access_rule_edit_response.py index 2cd7a6d15bf..ca5ae10863a 100644 --- a/src/cloudflare/types/firewall/access_rule_edit_response.py +++ b/src/cloudflare/types/firewall/access_rule_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["AccessRuleEditResponse"] -AccessRuleEditResponse = Union[object, str, None] +AccessRuleEditResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/access_rule_get_response.py b/src/cloudflare/types/firewall/access_rule_get_response.py index 259090bbf64..a81cdbb8fa3 100644 --- a/src/cloudflare/types/firewall/access_rule_get_response.py +++ b/src/cloudflare/types/firewall/access_rule_get_response.py @@ -4,4 +4,4 @@ __all__ = ["AccessRuleGetResponse"] -AccessRuleGetResponse = Union[object, str, None] +AccessRuleGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/ua_rule_create_response.py b/src/cloudflare/types/firewall/ua_rule_create_response.py index e47e1ce7aa6..dd128577d6f 100644 --- a/src/cloudflare/types/firewall/ua_rule_create_response.py +++ b/src/cloudflare/types/firewall/ua_rule_create_response.py @@ -4,4 +4,4 @@ __all__ = ["UARuleCreateResponse"] -UARuleCreateResponse = Union[object, str, None] +UARuleCreateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/ua_rule_get_response.py b/src/cloudflare/types/firewall/ua_rule_get_response.py index 1af89204362..c1fbd966332 100644 --- a/src/cloudflare/types/firewall/ua_rule_get_response.py +++ b/src/cloudflare/types/firewall/ua_rule_get_response.py @@ -4,4 +4,4 @@ __all__ = ["UARuleGetResponse"] -UARuleGetResponse = Union[object, str, None] +UARuleGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/ua_rule_update_response.py b/src/cloudflare/types/firewall/ua_rule_update_response.py index d9412a9a056..fde2e2d7b60 100644 --- a/src/cloudflare/types/firewall/ua_rule_update_response.py +++ b/src/cloudflare/types/firewall/ua_rule_update_response.py @@ -4,4 +4,4 @@ __all__ = ["UARuleUpdateResponse"] -UARuleUpdateResponse = Union[object, str, None] +UARuleUpdateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/firewall/waf/package_get_response.py b/src/cloudflare/types/firewall/waf/package_get_response.py index 587ed440049..bfd6ecb7e43 100644 --- a/src/cloudflare/types/firewall/waf/package_get_response.py +++ b/src/cloudflare/types/firewall/waf/package_get_response.py @@ -31,7 +31,7 @@ class LegacyJhsAPIResponseSingle(BaseModel): messages: List[LegacyJhsAPIResponseSingleMessage] - result: Union[object, str, None] = None + result: Union[str, object, None] = None success: Literal[True] """Whether the API call was successful""" diff --git a/src/cloudflare/types/firewall/waf/package_list_response.py b/src/cloudflare/types/firewall/waf/package_list_response.py index b114e2811ae..407cdf602c0 100644 --- a/src/cloudflare/types/firewall/waf/package_list_response.py +++ b/src/cloudflare/types/firewall/waf/package_list_response.py @@ -49,7 +49,7 @@ class LegacyJhsAPIResponseCollection(BaseModel): messages: List[LegacyJhsAPIResponseCollectionMessage] - result: Union[object, List[object], str, None] = None + result: Union[List[object], str, object, None] = None success: Literal[True] """Whether the API call was successful""" diff --git a/src/cloudflare/types/firewall/waf/packages/group_edit_response.py b/src/cloudflare/types/firewall/waf/packages/group_edit_response.py index a79af429682..ea365c5ebe4 100644 --- a/src/cloudflare/types/firewall/waf/packages/group_edit_response.py +++ b/src/cloudflare/types/firewall/waf/packages/group_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["GroupEditResponse"] -GroupEditResponse = Union[object, List[object], str] +GroupEditResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/firewall/waf/packages/group_get_response.py b/src/cloudflare/types/firewall/waf/packages/group_get_response.py index be5cbfd7bcb..303cdb3dfa0 100644 --- a/src/cloudflare/types/firewall/waf/packages/group_get_response.py +++ b/src/cloudflare/types/firewall/waf/packages/group_get_response.py @@ -4,4 +4,4 @@ __all__ = ["GroupGetResponse"] -GroupGetResponse = Union[object, List[object], str] +GroupGetResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/firewall/waf/packages/rule_get_response.py b/src/cloudflare/types/firewall/waf/packages/rule_get_response.py index 5e6d319a953..88ca79a655e 100644 --- a/src/cloudflare/types/firewall/waf/packages/rule_get_response.py +++ b/src/cloudflare/types/firewall/waf/packages/rule_get_response.py @@ -4,4 +4,4 @@ __all__ = ["RuleGetResponse"] -RuleGetResponse = Union[object, List[object], str] +RuleGetResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/hyperdrive/config_delete_response.py b/src/cloudflare/types/hyperdrive/config_delete_response.py index d5003f41920..e0da387119b 100644 --- a/src/cloudflare/types/hyperdrive/config_delete_response.py +++ b/src/cloudflare/types/hyperdrive/config_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ConfigDeleteResponse"] -ConfigDeleteResponse = Union[object, str, None] +ConfigDeleteResponse = Union[str, object, None] diff --git a/src/cloudflare/types/images/v1/variant_delete_response.py b/src/cloudflare/types/images/v1/variant_delete_response.py index 9e103faa937..dc91f59162b 100644 --- a/src/cloudflare/types/images/v1/variant_delete_response.py +++ b/src/cloudflare/types/images/v1/variant_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["VariantDeleteResponse"] -VariantDeleteResponse = Union[object, str] +VariantDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/images/v1_delete_response.py b/src/cloudflare/types/images/v1_delete_response.py index 27d85b7049a..809e17c92e4 100644 --- a/src/cloudflare/types/images/v1_delete_response.py +++ b/src/cloudflare/types/images/v1_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["V1DeleteResponse"] -V1DeleteResponse = Union[object, str] +V1DeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py b/src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py index 6be69708927..f693bbe9eee 100644 --- a/src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py +++ b/src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py @@ -4,4 +4,4 @@ __all__ = ["IssueDismissResponse"] -IssueDismissResponse = Union[object, str] +IssueDismissResponse = Union[str, object] diff --git a/src/cloudflare/types/intel/miscategorization_create_response.py b/src/cloudflare/types/intel/miscategorization_create_response.py index 067a3bb4d64..07185dc54c7 100644 --- a/src/cloudflare/types/intel/miscategorization_create_response.py +++ b/src/cloudflare/types/intel/miscategorization_create_response.py @@ -4,4 +4,4 @@ __all__ = ["MiscategorizationCreateResponse"] -MiscategorizationCreateResponse = Union[object, str] +MiscategorizationCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespace_delete_response.py b/src/cloudflare/types/kv/namespace_delete_response.py index e6d2e379733..9e59782ae79 100644 --- a/src/cloudflare/types/kv/namespace_delete_response.py +++ b/src/cloudflare/types/kv/namespace_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["NamespaceDeleteResponse"] -NamespaceDeleteResponse = Union[object, str] +NamespaceDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespace_update_response.py b/src/cloudflare/types/kv/namespace_update_response.py index 674abb4636c..fbd61fb15c8 100644 --- a/src/cloudflare/types/kv/namespace_update_response.py +++ b/src/cloudflare/types/kv/namespace_update_response.py @@ -4,4 +4,4 @@ __all__ = ["NamespaceUpdateResponse"] -NamespaceUpdateResponse = Union[object, str] +NamespaceUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespaces/bulk_delete_response.py b/src/cloudflare/types/kv/namespaces/bulk_delete_response.py index 93be0c1da7e..56c602c8530 100644 --- a/src/cloudflare/types/kv/namespaces/bulk_delete_response.py +++ b/src/cloudflare/types/kv/namespaces/bulk_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["BulkDeleteResponse"] -BulkDeleteResponse = Union[object, str] +BulkDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespaces/bulk_update_response.py b/src/cloudflare/types/kv/namespaces/bulk_update_response.py index f3713f4ce7f..7a1f035d954 100644 --- a/src/cloudflare/types/kv/namespaces/bulk_update_response.py +++ b/src/cloudflare/types/kv/namespaces/bulk_update_response.py @@ -4,4 +4,4 @@ __all__ = ["BulkUpdateResponse"] -BulkUpdateResponse = Union[object, str] +BulkUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespaces/value_delete_response.py b/src/cloudflare/types/kv/namespaces/value_delete_response.py index 8aa7f91ff88..7c3d2c3fb80 100644 --- a/src/cloudflare/types/kv/namespaces/value_delete_response.py +++ b/src/cloudflare/types/kv/namespaces/value_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ValueDeleteResponse"] -ValueDeleteResponse = Union[object, str] +ValueDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/kv/namespaces/value_update_response.py b/src/cloudflare/types/kv/namespaces/value_update_response.py index 1642608b682..30f088b4fd9 100644 --- a/src/cloudflare/types/kv/namespaces/value_update_response.py +++ b/src/cloudflare/types/kv/namespaces/value_update_response.py @@ -4,4 +4,4 @@ __all__ = ["ValueUpdateResponse"] -ValueUpdateResponse = Union[object, str] +ValueUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/load_balancers/pools/health_get_response.py b/src/cloudflare/types/load_balancers/pools/health_get_response.py index 620c1e69568..03984e327ce 100644 --- a/src/cloudflare/types/load_balancers/pools/health_get_response.py +++ b/src/cloudflare/types/load_balancers/pools/health_get_response.py @@ -4,4 +4,4 @@ __all__ = ["HealthGetResponse"] -HealthGetResponse = Union[Optional[object], Optional[str]] +HealthGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/load_balancers/region_get_response.py b/src/cloudflare/types/load_balancers/region_get_response.py index ee29146e7ae..183ae9eef70 100644 --- a/src/cloudflare/types/load_balancers/region_get_response.py +++ b/src/cloudflare/types/load_balancers/region_get_response.py @@ -4,4 +4,4 @@ __all__ = ["RegionGetResponse"] -RegionGetResponse = Union[Optional[object], Optional[str]] +RegionGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/load_balancers/region_list_response.py b/src/cloudflare/types/load_balancers/region_list_response.py index 11c00361907..1e027bdb51f 100644 --- a/src/cloudflare/types/load_balancers/region_list_response.py +++ b/src/cloudflare/types/load_balancers/region_list_response.py @@ -4,4 +4,4 @@ __all__ = ["RegionListResponse"] -RegionListResponse = Union[Optional[object], Optional[str]] +RegionListResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/logpush/job_delete_response.py b/src/cloudflare/types/logpush/job_delete_response.py index f6c20a93ee1..fef20041b3f 100644 --- a/src/cloudflare/types/logpush/job_delete_response.py +++ b/src/cloudflare/types/logpush/job_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["JobDeleteResponse"] -JobDeleteResponse = Union[object, List[object], str, None] +JobDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/logs/control/cmb/config_delete_response.py b/src/cloudflare/types/logs/control/cmb/config_delete_response.py index de460a02331..4407776e27b 100644 --- a/src/cloudflare/types/logs/control/cmb/config_delete_response.py +++ b/src/cloudflare/types/logs/control/cmb/config_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ConfigDeleteResponse"] -ConfigDeleteResponse = Union[object, List[object], str, None] +ConfigDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/membership_get_response.py b/src/cloudflare/types/membership_get_response.py index c574502de72..58aa5f5943b 100644 --- a/src/cloudflare/types/membership_get_response.py +++ b/src/cloudflare/types/membership_get_response.py @@ -4,4 +4,4 @@ __all__ = ["MembershipGetResponse"] -MembershipGetResponse = Union[Optional[object], Optional[str]] +MembershipGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/membership_update_response.py b/src/cloudflare/types/membership_update_response.py index b02a5819656..adcc658f350 100644 --- a/src/cloudflare/types/membership_update_response.py +++ b/src/cloudflare/types/membership_update_response.py @@ -4,4 +4,4 @@ __all__ = ["MembershipUpdateResponse"] -MembershipUpdateResponse = Union[Optional[object], Optional[str]] +MembershipUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/origin_ca_certificate_create_response.py b/src/cloudflare/types/origin_ca_certificate_create_response.py index 596d30b802f..5d75233e4f8 100644 --- a/src/cloudflare/types/origin_ca_certificate_create_response.py +++ b/src/cloudflare/types/origin_ca_certificate_create_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginCACertificateCreateResponse"] -OriginCACertificateCreateResponse = Union[object, str] +OriginCACertificateCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/origin_ca_certificate_get_response.py b/src/cloudflare/types/origin_ca_certificate_get_response.py index b21019702ef..58f66074e7b 100644 --- a/src/cloudflare/types/origin_ca_certificate_get_response.py +++ b/src/cloudflare/types/origin_ca_certificate_get_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginCACertificateGetResponse"] -OriginCACertificateGetResponse = Union[object, str] +OriginCACertificateGetResponse = Union[str, object] diff --git a/src/cloudflare/types/origin_post_quantum_encryption_get_response.py b/src/cloudflare/types/origin_post_quantum_encryption_get_response.py index e47f0d75ffe..29d22ad7a3b 100644 --- a/src/cloudflare/types/origin_post_quantum_encryption_get_response.py +++ b/src/cloudflare/types/origin_post_quantum_encryption_get_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginPostQuantumEncryptionGetResponse"] -OriginPostQuantumEncryptionGetResponse = Union[Optional[object], Optional[str]] +OriginPostQuantumEncryptionGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/origin_post_quantum_encryption_update_response.py b/src/cloudflare/types/origin_post_quantum_encryption_update_response.py index 8f6abfb2561..ecf11d9553f 100644 --- a/src/cloudflare/types/origin_post_quantum_encryption_update_response.py +++ b/src/cloudflare/types/origin_post_quantum_encryption_update_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginPostQuantumEncryptionUpdateResponse"] -OriginPostQuantumEncryptionUpdateResponse = Union[Optional[object], Optional[str]] +OriginPostQuantumEncryptionUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/origin_tls_client_auth_create_response.py b/src/cloudflare/types/origin_tls_client_auth_create_response.py index c911b1cd668..bc06aca4c10 100644 --- a/src/cloudflare/types/origin_tls_client_auth_create_response.py +++ b/src/cloudflare/types/origin_tls_client_auth_create_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginTLSClientAuthCreateResponse"] -OriginTLSClientAuthCreateResponse = Union[object, str] +OriginTLSClientAuthCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/origin_tls_client_auth_delete_response.py b/src/cloudflare/types/origin_tls_client_auth_delete_response.py index 8c8a84ee325..557dde5710b 100644 --- a/src/cloudflare/types/origin_tls_client_auth_delete_response.py +++ b/src/cloudflare/types/origin_tls_client_auth_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginTLSClientAuthDeleteResponse"] -OriginTLSClientAuthDeleteResponse = Union[object, str] +OriginTLSClientAuthDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/origin_tls_client_auth_get_response.py b/src/cloudflare/types/origin_tls_client_auth_get_response.py index 8258c824a29..bf0bbe3e266 100644 --- a/src/cloudflare/types/origin_tls_client_auth_get_response.py +++ b/src/cloudflare/types/origin_tls_client_auth_get_response.py @@ -4,4 +4,4 @@ __all__ = ["OriginTLSClientAuthGetResponse"] -OriginTLSClientAuthGetResponse = Union[object, str] +OriginTLSClientAuthGetResponse = Union[str, object] diff --git a/src/cloudflare/types/pagerule_create_response.py b/src/cloudflare/types/pagerule_create_response.py index ed6ec9789b5..452edcfe53d 100644 --- a/src/cloudflare/types/pagerule_create_response.py +++ b/src/cloudflare/types/pagerule_create_response.py @@ -4,4 +4,4 @@ __all__ = ["PageruleCreateResponse"] -PageruleCreateResponse = Union[object, str] +PageruleCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/pagerule_edit_response.py b/src/cloudflare/types/pagerule_edit_response.py index a1c31b850f0..f7f7cbe3634 100644 --- a/src/cloudflare/types/pagerule_edit_response.py +++ b/src/cloudflare/types/pagerule_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["PageruleEditResponse"] -PageruleEditResponse = Union[object, str] +PageruleEditResponse = Union[str, object] diff --git a/src/cloudflare/types/pagerule_get_response.py b/src/cloudflare/types/pagerule_get_response.py index 4bb62b9b4f5..b279ddf9a80 100644 --- a/src/cloudflare/types/pagerule_get_response.py +++ b/src/cloudflare/types/pagerule_get_response.py @@ -4,4 +4,4 @@ __all__ = ["PageruleGetResponse"] -PageruleGetResponse = Union[object, str] +PageruleGetResponse = Union[str, object] diff --git a/src/cloudflare/types/pagerule_update_response.py b/src/cloudflare/types/pagerule_update_response.py index da379a71530..77c6804af27 100644 --- a/src/cloudflare/types/pagerule_update_response.py +++ b/src/cloudflare/types/pagerule_update_response.py @@ -4,4 +4,4 @@ __all__ = ["PageruleUpdateResponse"] -PageruleUpdateResponse = Union[object, str] +PageruleUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/pages/project_create_response.py b/src/cloudflare/types/pages/project_create_response.py index c1fa3b5fb78..b9fc105a33a 100644 --- a/src/cloudflare/types/pages/project_create_response.py +++ b/src/cloudflare/types/pages/project_create_response.py @@ -4,4 +4,4 @@ __all__ = ["ProjectCreateResponse"] -ProjectCreateResponse = Union[object, List[object], str] +ProjectCreateResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/pages/project_edit_response.py b/src/cloudflare/types/pages/project_edit_response.py index a86111285d3..3a046d1a9c6 100644 --- a/src/cloudflare/types/pages/project_edit_response.py +++ b/src/cloudflare/types/pages/project_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["ProjectEditResponse"] -ProjectEditResponse = Union[object, List[object], str] +ProjectEditResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/pages/projects/deployments/history/log_get_response.py b/src/cloudflare/types/pages/projects/deployments/history/log_get_response.py index aadce8953b9..c5519eb2f4b 100644 --- a/src/cloudflare/types/pages/projects/deployments/history/log_get_response.py +++ b/src/cloudflare/types/pages/projects/deployments/history/log_get_response.py @@ -4,4 +4,4 @@ __all__ = ["LogGetResponse"] -LogGetResponse = Union[object, List[object], str] +LogGetResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/pages/projects/domain_create_response.py b/src/cloudflare/types/pages/projects/domain_create_response.py index 34daf6a2b46..6d40d9d8a49 100644 --- a/src/cloudflare/types/pages/projects/domain_create_response.py +++ b/src/cloudflare/types/pages/projects/domain_create_response.py @@ -4,4 +4,4 @@ __all__ = ["DomainCreateResponse"] -DomainCreateResponse = Union[object, List[object], str, None] +DomainCreateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/pages/projects/domain_edit_response.py b/src/cloudflare/types/pages/projects/domain_edit_response.py index 5e51e506793..b13c4a8c6f9 100644 --- a/src/cloudflare/types/pages/projects/domain_edit_response.py +++ b/src/cloudflare/types/pages/projects/domain_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["DomainEditResponse"] -DomainEditResponse = Union[object, List[object], str, None] +DomainEditResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/pages/projects/domain_get_response.py b/src/cloudflare/types/pages/projects/domain_get_response.py index 99a84e2a9c7..31cc6350778 100644 --- a/src/cloudflare/types/pages/projects/domain_get_response.py +++ b/src/cloudflare/types/pages/projects/domain_get_response.py @@ -4,4 +4,4 @@ __all__ = ["DomainGetResponse"] -DomainGetResponse = Union[object, List[object], str, None] +DomainGetResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/queue_delete_response.py b/src/cloudflare/types/queue_delete_response.py index a81b74db746..4e660c2b0e0 100644 --- a/src/cloudflare/types/queue_delete_response.py +++ b/src/cloudflare/types/queue_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["QueueDeleteResponse"] -QueueDeleteResponse = Union[object, List[object], str, None] +QueueDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/queues/consumer_delete_response.py b/src/cloudflare/types/queues/consumer_delete_response.py index 5c053c1a81f..341f83809a0 100644 --- a/src/cloudflare/types/queues/consumer_delete_response.py +++ b/src/cloudflare/types/queues/consumer_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ConsumerDeleteResponse"] -ConsumerDeleteResponse = Union[object, List[object], str, None] +ConsumerDeleteResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/rate_limit_create_response.py b/src/cloudflare/types/rate_limit_create_response.py index dbbb4193207..259d16d85ed 100644 --- a/src/cloudflare/types/rate_limit_create_response.py +++ b/src/cloudflare/types/rate_limit_create_response.py @@ -4,4 +4,4 @@ __all__ = ["RateLimitCreateResponse"] -RateLimitCreateResponse = Union[object, str, None] +RateLimitCreateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/rate_limit_edit_response.py b/src/cloudflare/types/rate_limit_edit_response.py index 876f5d5adaa..8cbc4d42071 100644 --- a/src/cloudflare/types/rate_limit_edit_response.py +++ b/src/cloudflare/types/rate_limit_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["RateLimitEditResponse"] -RateLimitEditResponse = Union[object, str, None] +RateLimitEditResponse = Union[str, object, None] diff --git a/src/cloudflare/types/rate_limit_get_response.py b/src/cloudflare/types/rate_limit_get_response.py index ceaed62e1cc..a49c1c80fc6 100644 --- a/src/cloudflare/types/rate_limit_get_response.py +++ b/src/cloudflare/types/rate_limit_get_response.py @@ -4,4 +4,4 @@ __all__ = ["RateLimitGetResponse"] -RateLimitGetResponse = Union[object, str, None] +RateLimitGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/registrar/domain_get_response.py b/src/cloudflare/types/registrar/domain_get_response.py index 99a84e2a9c7..31cc6350778 100644 --- a/src/cloudflare/types/registrar/domain_get_response.py +++ b/src/cloudflare/types/registrar/domain_get_response.py @@ -4,4 +4,4 @@ __all__ = ["DomainGetResponse"] -DomainGetResponse = Union[object, List[object], str, None] +DomainGetResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/registrar/domain_update_response.py b/src/cloudflare/types/registrar/domain_update_response.py index a1cbfd6a746..eda77709047 100644 --- a/src/cloudflare/types/registrar/domain_update_response.py +++ b/src/cloudflare/types/registrar/domain_update_response.py @@ -4,4 +4,4 @@ __all__ = ["DomainUpdateResponse"] -DomainUpdateResponse = Union[object, List[object], str, None] +DomainUpdateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/snippet_delete_response.py b/src/cloudflare/types/snippet_delete_response.py index c779c88f943..4d10682f00e 100644 --- a/src/cloudflare/types/snippet_delete_response.py +++ b/src/cloudflare/types/snippet_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["SnippetDeleteResponse"] -SnippetDeleteResponse = Union[object, List[object], str] +SnippetDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py b/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py index de636db7ba5..66bf70649f0 100644 --- a/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py +++ b/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py @@ -4,4 +4,4 @@ __all__ = ["BytimeGetResponse"] -BytimeGetResponse = Union[object, str, None] +BytimeGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/spectrum/analytics/events/summary_get_response.py b/src/cloudflare/types/spectrum/analytics/events/summary_get_response.py index a9966639b42..1702aa67226 100644 --- a/src/cloudflare/types/spectrum/analytics/events/summary_get_response.py +++ b/src/cloudflare/types/spectrum/analytics/events/summary_get_response.py @@ -4,4 +4,4 @@ __all__ = ["SummaryGetResponse"] -SummaryGetResponse = Union[object, str, None] +SummaryGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/spectrum/app_get_response.py b/src/cloudflare/types/spectrum/app_get_response.py index 6b4ee519a05..c236b54c610 100644 --- a/src/cloudflare/types/spectrum/app_get_response.py +++ b/src/cloudflare/types/spectrum/app_get_response.py @@ -4,4 +4,4 @@ __all__ = ["AppGetResponse"] -AppGetResponse = Union[object, str, None] +AppGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/ssl/analyze_create_response.py b/src/cloudflare/types/ssl/analyze_create_response.py index 87ead97af77..71192d91d66 100644 --- a/src/cloudflare/types/ssl/analyze_create_response.py +++ b/src/cloudflare/types/ssl/analyze_create_response.py @@ -4,4 +4,4 @@ __all__ = ["AnalyzeCreateResponse"] -AnalyzeCreateResponse = Union[object, str] +AnalyzeCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/ssl/certificate_pack_get_response.py b/src/cloudflare/types/ssl/certificate_pack_get_response.py index 8c2cdcc3d3e..b232e7c2018 100644 --- a/src/cloudflare/types/ssl/certificate_pack_get_response.py +++ b/src/cloudflare/types/ssl/certificate_pack_get_response.py @@ -4,4 +4,4 @@ __all__ = ["CertificatePackGetResponse"] -CertificatePackGetResponse = Union[object, str] +CertificatePackGetResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/audio_track_delete_response.py b/src/cloudflare/types/stream/audio_track_delete_response.py index 374f33e76ef..24406bb13e7 100644 --- a/src/cloudflare/types/stream/audio_track_delete_response.py +++ b/src/cloudflare/types/stream/audio_track_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["AudioTrackDeleteResponse"] -AudioTrackDeleteResponse = Union[object, str] +AudioTrackDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/caption_delete_response.py b/src/cloudflare/types/stream/caption_delete_response.py index 768f42fb749..569104a09db 100644 --- a/src/cloudflare/types/stream/caption_delete_response.py +++ b/src/cloudflare/types/stream/caption_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["CaptionDeleteResponse"] -CaptionDeleteResponse = Union[object, List[object], str] +CaptionDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/stream/caption_update_response.py b/src/cloudflare/types/stream/caption_update_response.py index 68e077d854e..e35e3e0b6b6 100644 --- a/src/cloudflare/types/stream/caption_update_response.py +++ b/src/cloudflare/types/stream/caption_update_response.py @@ -4,4 +4,4 @@ __all__ = ["CaptionUpdateResponse"] -CaptionUpdateResponse = Union[object, str] +CaptionUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/download_create_response.py b/src/cloudflare/types/stream/download_create_response.py index d9286ca694d..3b49a17fbbf 100644 --- a/src/cloudflare/types/stream/download_create_response.py +++ b/src/cloudflare/types/stream/download_create_response.py @@ -4,4 +4,4 @@ __all__ = ["DownloadCreateResponse"] -DownloadCreateResponse = Union[object, str] +DownloadCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/download_delete_response.py b/src/cloudflare/types/stream/download_delete_response.py index b3eb1ca4b03..5cc7b88881b 100644 --- a/src/cloudflare/types/stream/download_delete_response.py +++ b/src/cloudflare/types/stream/download_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["DownloadDeleteResponse"] -DownloadDeleteResponse = Union[object, str] +DownloadDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/download_get_response.py b/src/cloudflare/types/stream/download_get_response.py index 6c5745dc86d..86c81865af3 100644 --- a/src/cloudflare/types/stream/download_get_response.py +++ b/src/cloudflare/types/stream/download_get_response.py @@ -4,4 +4,4 @@ __all__ = ["DownloadGetResponse"] -DownloadGetResponse = Union[object, str] +DownloadGetResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/key_delete_response.py b/src/cloudflare/types/stream/key_delete_response.py index 68da0ee0cd6..3ce3eb0cdf6 100644 --- a/src/cloudflare/types/stream/key_delete_response.py +++ b/src/cloudflare/types/stream/key_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["KeyDeleteResponse"] -KeyDeleteResponse = Union[object, str] +KeyDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/watermark_create_response.py b/src/cloudflare/types/stream/watermark_create_response.py index f4ad813f9e2..aa2d892dc74 100644 --- a/src/cloudflare/types/stream/watermark_create_response.py +++ b/src/cloudflare/types/stream/watermark_create_response.py @@ -4,4 +4,4 @@ __all__ = ["WatermarkCreateResponse"] -WatermarkCreateResponse = Union[object, str] +WatermarkCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/watermark_delete_response.py b/src/cloudflare/types/stream/watermark_delete_response.py index a7ea78f41a2..64af4554a0f 100644 --- a/src/cloudflare/types/stream/watermark_delete_response.py +++ b/src/cloudflare/types/stream/watermark_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["WatermarkDeleteResponse"] -WatermarkDeleteResponse = Union[object, str] +WatermarkDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/watermark_get_response.py b/src/cloudflare/types/stream/watermark_get_response.py index db081c31800..10fb745c0a1 100644 --- a/src/cloudflare/types/stream/watermark_get_response.py +++ b/src/cloudflare/types/stream/watermark_get_response.py @@ -4,4 +4,4 @@ __all__ = ["WatermarkGetResponse"] -WatermarkGetResponse = Union[object, str] +WatermarkGetResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/webhook_delete_response.py b/src/cloudflare/types/stream/webhook_delete_response.py index 16b0c0ac00f..a8193942fa5 100644 --- a/src/cloudflare/types/stream/webhook_delete_response.py +++ b/src/cloudflare/types/stream/webhook_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["WebhookDeleteResponse"] -WebhookDeleteResponse = Union[object, str] +WebhookDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/webhook_get_response.py b/src/cloudflare/types/stream/webhook_get_response.py index 3dee548604b..9335fac3543 100644 --- a/src/cloudflare/types/stream/webhook_get_response.py +++ b/src/cloudflare/types/stream/webhook_get_response.py @@ -4,4 +4,4 @@ __all__ = ["WebhookGetResponse"] -WebhookGetResponse = Union[object, str] +WebhookGetResponse = Union[str, object] diff --git a/src/cloudflare/types/stream/webhook_update_response.py b/src/cloudflare/types/stream/webhook_update_response.py index e66f034a03d..64e235c1a9a 100644 --- a/src/cloudflare/types/stream/webhook_update_response.py +++ b/src/cloudflare/types/stream/webhook_update_response.py @@ -4,4 +4,4 @@ __all__ = ["WebhookUpdateResponse"] -WebhookUpdateResponse = Union[object, str] +WebhookUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/subscription_create_response.py b/src/cloudflare/types/subscription_create_response.py index 9a7eb2c9972..4b0efa12663 100644 --- a/src/cloudflare/types/subscription_create_response.py +++ b/src/cloudflare/types/subscription_create_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionCreateResponse"] -SubscriptionCreateResponse = Union[Optional[object], Optional[str]] +SubscriptionCreateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/subscription_get_response.py b/src/cloudflare/types/subscription_get_response.py index b19bf886434..6f4b5754077 100644 --- a/src/cloudflare/types/subscription_get_response.py +++ b/src/cloudflare/types/subscription_get_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionGetResponse"] -SubscriptionGetResponse = Union[Optional[object], Optional[str]] +SubscriptionGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/subscription_update_response.py b/src/cloudflare/types/subscription_update_response.py index 48cbeececaa..12cf6aa283a 100644 --- a/src/cloudflare/types/subscription_update_response.py +++ b/src/cloudflare/types/subscription_update_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionUpdateResponse"] -SubscriptionUpdateResponse = Union[Optional[object], Optional[str]] +SubscriptionUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/billing/profile_get_response.py b/src/cloudflare/types/user/billing/profile_get_response.py index 6555ddf828b..29d6d78c949 100644 --- a/src/cloudflare/types/user/billing/profile_get_response.py +++ b/src/cloudflare/types/user/billing/profile_get_response.py @@ -4,4 +4,4 @@ __all__ = ["ProfileGetResponse"] -ProfileGetResponse = Union[Optional[object], Optional[str]] +ProfileGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/invite_edit_response.py b/src/cloudflare/types/user/invite_edit_response.py index 7453f723b9e..646377ca831 100644 --- a/src/cloudflare/types/user/invite_edit_response.py +++ b/src/cloudflare/types/user/invite_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["InviteEditResponse"] -InviteEditResponse = Union[Optional[object], Optional[str]] +InviteEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/invite_get_response.py b/src/cloudflare/types/user/invite_get_response.py index 4e39ed17282..27a15f71311 100644 --- a/src/cloudflare/types/user/invite_get_response.py +++ b/src/cloudflare/types/user/invite_get_response.py @@ -4,4 +4,4 @@ __all__ = ["InviteGetResponse"] -InviteGetResponse = Union[Optional[object], Optional[str]] +InviteGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/load_balancers/pool_health_response.py b/src/cloudflare/types/user/load_balancers/pool_health_response.py index b42507ea504..a79512176b5 100644 --- a/src/cloudflare/types/user/load_balancers/pool_health_response.py +++ b/src/cloudflare/types/user/load_balancers/pool_health_response.py @@ -4,4 +4,4 @@ __all__ = ["PoolHealthResponse"] -PoolHealthResponse = Union[Optional[object], Optional[str]] +PoolHealthResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/organization_get_response.py b/src/cloudflare/types/user/organization_get_response.py index fb957edf527..4ba74b46f85 100644 --- a/src/cloudflare/types/user/organization_get_response.py +++ b/src/cloudflare/types/user/organization_get_response.py @@ -4,4 +4,4 @@ __all__ = ["OrganizationGetResponse"] -OrganizationGetResponse = Union[Optional[object], Optional[str]] +OrganizationGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/subscription_edit_response.py b/src/cloudflare/types/user/subscription_edit_response.py index aec2d6e4ee0..b83f60ab65b 100644 --- a/src/cloudflare/types/user/subscription_edit_response.py +++ b/src/cloudflare/types/user/subscription_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionEditResponse"] -SubscriptionEditResponse = Union[Optional[object], Optional[str]] +SubscriptionEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/subscription_update_response.py b/src/cloudflare/types/user/subscription_update_response.py index 48cbeececaa..12cf6aa283a 100644 --- a/src/cloudflare/types/user/subscription_update_response.py +++ b/src/cloudflare/types/user/subscription_update_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionUpdateResponse"] -SubscriptionUpdateResponse = Union[Optional[object], Optional[str]] +SubscriptionUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/token_get_response.py b/src/cloudflare/types/user/token_get_response.py index 6628435f50d..a45eff43263 100644 --- a/src/cloudflare/types/user/token_get_response.py +++ b/src/cloudflare/types/user/token_get_response.py @@ -4,4 +4,4 @@ __all__ = ["TokenGetResponse"] -TokenGetResponse = Union[Optional[object], Optional[str]] +TokenGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user/token_update_response.py b/src/cloudflare/types/user/token_update_response.py index 6f40c7a7b52..4600c9aba02 100644 --- a/src/cloudflare/types/user/token_update_response.py +++ b/src/cloudflare/types/user/token_update_response.py @@ -4,4 +4,4 @@ __all__ = ["TokenUpdateResponse"] -TokenUpdateResponse = Union[Optional[object], Optional[str]] +TokenUpdateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user_edit_response.py b/src/cloudflare/types/user_edit_response.py index 94714592599..e2077cf822d 100644 --- a/src/cloudflare/types/user_edit_response.py +++ b/src/cloudflare/types/user_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["UserEditResponse"] -UserEditResponse = Union[Optional[object], Optional[str]] +UserEditResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/user_get_response.py b/src/cloudflare/types/user_get_response.py index 574714b4bd2..7a0f59652a5 100644 --- a/src/cloudflare/types/user_get_response.py +++ b/src/cloudflare/types/user_get_response.py @@ -4,4 +4,4 @@ __all__ = ["UserGetResponse"] -UserGetResponse = Union[Optional[object], Optional[str]] +UserGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/vectorize/index_delete_response.py b/src/cloudflare/types/vectorize/index_delete_response.py index fe466d74f15..813386c525b 100644 --- a/src/cloudflare/types/vectorize/index_delete_response.py +++ b/src/cloudflare/types/vectorize/index_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["IndexDeleteResponse"] -IndexDeleteResponse = Union[object, str, None] +IndexDeleteResponse = Union[str, object, None] diff --git a/src/cloudflare/types/warp_connector_token_response.py b/src/cloudflare/types/warp_connector_token_response.py index 6b6f4140033..7dae0ccbd32 100644 --- a/src/cloudflare/types/warp_connector_token_response.py +++ b/src/cloudflare/types/warp_connector_token_response.py @@ -4,4 +4,4 @@ __all__ = ["WARPConnectorTokenResponse"] -WARPConnectorTokenResponse = Union[object, List[object], str] +WARPConnectorTokenResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/workers/route_create_response.py b/src/cloudflare/types/workers/route_create_response.py index 83a979598ec..c841ac52d0e 100644 --- a/src/cloudflare/types/workers/route_create_response.py +++ b/src/cloudflare/types/workers/route_create_response.py @@ -4,4 +4,4 @@ __all__ = ["RouteCreateResponse"] -RouteCreateResponse = Union[object, str] +RouteCreateResponse = Union[str, object] diff --git a/src/cloudflare/types/workers/route_delete_response.py b/src/cloudflare/types/workers/route_delete_response.py index f46281e9c60..f84ca5cc534 100644 --- a/src/cloudflare/types/workers/route_delete_response.py +++ b/src/cloudflare/types/workers/route_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["RouteDeleteResponse"] -RouteDeleteResponse = Union[object, str] +RouteDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/workers/scripts/tail_delete_response.py b/src/cloudflare/types/workers/scripts/tail_delete_response.py index 61de1b914a1..5c1bf53bdf6 100644 --- a/src/cloudflare/types/workers/scripts/tail_delete_response.py +++ b/src/cloudflare/types/workers/scripts/tail_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["TailDeleteResponse"] -TailDeleteResponse = Union[object, List[object], str] +TailDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/access/applications/ca_create_response.py b/src/cloudflare/types/zero_trust/access/applications/ca_create_response.py index 122c83a0fc0..a104dcf93de 100644 --- a/src/cloudflare/types/zero_trust/access/applications/ca_create_response.py +++ b/src/cloudflare/types/zero_trust/access/applications/ca_create_response.py @@ -4,4 +4,4 @@ __all__ = ["CACreateResponse"] -CACreateResponse = Union[object, str] +CACreateResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py b/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py index f11f7393abb..01b4759ad89 100644 --- a/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py +++ b/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py @@ -4,4 +4,4 @@ __all__ = ["CAGetResponse"] -CAGetResponse = Union[object, str] +CAGetResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/access/key_get_response.py b/src/cloudflare/types/zero_trust/access/key_get_response.py index 227b4179405..79cfd988d58 100644 --- a/src/cloudflare/types/zero_trust/access/key_get_response.py +++ b/src/cloudflare/types/zero_trust/access/key_get_response.py @@ -4,4 +4,4 @@ __all__ = ["KeyGetResponse"] -KeyGetResponse = Union[object, str] +KeyGetResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/access/key_rotate_response.py b/src/cloudflare/types/zero_trust/access/key_rotate_response.py index 19c9ac9d27f..1ababd82b3c 100644 --- a/src/cloudflare/types/zero_trust/access/key_rotate_response.py +++ b/src/cloudflare/types/zero_trust/access/key_rotate_response.py @@ -4,4 +4,4 @@ __all__ = ["KeyRotateResponse"] -KeyRotateResponse = Union[object, str] +KeyRotateResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/access/key_update_response.py b/src/cloudflare/types/zero_trust/access/key_update_response.py index 209c8d97c34..a63396635f6 100644 --- a/src/cloudflare/types/zero_trust/access/key_update_response.py +++ b/src/cloudflare/types/zero_trust/access/key_update_response.py @@ -4,4 +4,4 @@ __all__ = ["KeyUpdateResponse"] -KeyUpdateResponse = Union[object, str] +KeyUpdateResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/device_get_response.py b/src/cloudflare/types/zero_trust/device_get_response.py index 5d801097349..0365cadad59 100644 --- a/src/cloudflare/types/zero_trust/device_get_response.py +++ b/src/cloudflare/types/zero_trust/device_get_response.py @@ -4,4 +4,4 @@ __all__ = ["DeviceGetResponse"] -DeviceGetResponse = Union[object, str, None] +DeviceGetResponse = Union[str, object, None] diff --git a/src/cloudflare/types/zero_trust/devices/posture/integration_delete_response.py b/src/cloudflare/types/zero_trust/devices/posture/integration_delete_response.py index f8b1ccd2394..05c1748f44b 100644 --- a/src/cloudflare/types/zero_trust/devices/posture/integration_delete_response.py +++ b/src/cloudflare/types/zero_trust/devices/posture/integration_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["IntegrationDeleteResponse"] -IntegrationDeleteResponse = Union[object, str, None] +IntegrationDeleteResponse = Union[str, object, None] diff --git a/src/cloudflare/types/zero_trust/devices/revoke_create_response.py b/src/cloudflare/types/zero_trust/devices/revoke_create_response.py index d2a88c6791e..67ea75e5ec0 100644 --- a/src/cloudflare/types/zero_trust/devices/revoke_create_response.py +++ b/src/cloudflare/types/zero_trust/devices/revoke_create_response.py @@ -4,4 +4,4 @@ __all__ = ["RevokeCreateResponse"] -RevokeCreateResponse = Union[object, str, None] +RevokeCreateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/zero_trust/devices/unrevoke_create_response.py b/src/cloudflare/types/zero_trust/devices/unrevoke_create_response.py index 2d18e0deb06..7462d7fafeb 100644 --- a/src/cloudflare/types/zero_trust/devices/unrevoke_create_response.py +++ b/src/cloudflare/types/zero_trust/devices/unrevoke_create_response.py @@ -4,4 +4,4 @@ __all__ = ["UnrevokeCreateResponse"] -UnrevokeCreateResponse = Union[object, str, None] +UnrevokeCreateResponse = Union[str, object, None] diff --git a/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_response.py b/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_response.py index 255aed2cf24..15f451c25c3 100644 --- a/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_response.py +++ b/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomDeleteResponse"] -CustomDeleteResponse = Union[Optional[object], Optional[str]] +CustomDeleteResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/zero_trust/gateway/list_delete_response.py b/src/cloudflare/types/zero_trust/gateway/list_delete_response.py index 99ed7424b81..ca9c43f744b 100644 --- a/src/cloudflare/types/zero_trust/gateway/list_delete_response.py +++ b/src/cloudflare/types/zero_trust/gateway/list_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ListDeleteResponse"] -ListDeleteResponse = Union[object, str] +ListDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/gateway/location_delete_response.py b/src/cloudflare/types/zero_trust/gateway/location_delete_response.py index d2102916929..5c1f628ac32 100644 --- a/src/cloudflare/types/zero_trust/gateway/location_delete_response.py +++ b/src/cloudflare/types/zero_trust/gateway/location_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["LocationDeleteResponse"] -LocationDeleteResponse = Union[object, str] +LocationDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py b/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py index 70f318beaa2..633466c153c 100644 --- a/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py +++ b/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ProxyEndpointDeleteResponse"] -ProxyEndpointDeleteResponse = Union[object, str] +ProxyEndpointDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/gateway/rule_delete_response.py b/src/cloudflare/types/zero_trust/gateway/rule_delete_response.py index 18059baf077..ba9fb55f8dc 100644 --- a/src/cloudflare/types/zero_trust/gateway/rule_delete_response.py +++ b/src/cloudflare/types/zero_trust/gateway/rule_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["RuleDeleteResponse"] -RuleDeleteResponse = Union[object, str] +RuleDeleteResponse = Union[str, object] diff --git a/src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py b/src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py index a2d0f6bae53..72b480fefc9 100644 --- a/src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py +++ b/src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py @@ -4,4 +4,4 @@ __all__ = ["VirtualNetworkCreateResponse"] -VirtualNetworkCreateResponse = Union[object, List[object], str] +VirtualNetworkCreateResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py b/src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py index 1b69ed27e7d..8974890539f 100644 --- a/src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py +++ b/src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["VirtualNetworkDeleteResponse"] -VirtualNetworkDeleteResponse = Union[object, List[object], str] +VirtualNetworkDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py b/src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py index da728490987..df75a34f89c 100644 --- a/src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py +++ b/src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py @@ -4,4 +4,4 @@ __all__ = ["VirtualNetworkEditResponse"] -VirtualNetworkEditResponse = Union[object, List[object], str] +VirtualNetworkEditResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py b/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py index 4b0337836c2..c85fe4c8221 100644 --- a/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py +++ b/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py @@ -4,4 +4,4 @@ __all__ = ["ConfigurationGetResponse"] -ConfigurationGetResponse = Union[object, List[object], str] +ConfigurationGetResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py b/src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py index b9acf2cd4cc..122da9f590b 100644 --- a/src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py +++ b/src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py @@ -4,4 +4,4 @@ __all__ = ["ConfigurationUpdateResponse"] -ConfigurationUpdateResponse = Union[object, List[object], str] +ConfigurationUpdateResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py b/src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py index 2d392e51d9f..256bbaccfc5 100644 --- a/src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py +++ b/src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py @@ -4,4 +4,4 @@ __all__ = ["ConnectionDeleteResponse"] -ConnectionDeleteResponse = Union[object, List[object], str] +ConnectionDeleteResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/tunnels/management_create_response.py b/src/cloudflare/types/zero_trust/tunnels/management_create_response.py index 84469651a1a..703537b0981 100644 --- a/src/cloudflare/types/zero_trust/tunnels/management_create_response.py +++ b/src/cloudflare/types/zero_trust/tunnels/management_create_response.py @@ -4,4 +4,4 @@ __all__ = ["ManagementCreateResponse"] -ManagementCreateResponse = Union[object, List[object], str] +ManagementCreateResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zero_trust/tunnels/token_get_response.py b/src/cloudflare/types/zero_trust/tunnels/token_get_response.py index 0414dce1f9f..ab26f35cec7 100644 --- a/src/cloudflare/types/zero_trust/tunnels/token_get_response.py +++ b/src/cloudflare/types/zero_trust/tunnels/token_get_response.py @@ -4,4 +4,4 @@ __all__ = ["TokenGetResponse"] -TokenGetResponse = Union[object, List[object], str] +TokenGetResponse = Union[List[object], str, object] diff --git a/src/cloudflare/types/zones/custom_nameserver_get_response.py b/src/cloudflare/types/zones/custom_nameserver_get_response.py index 61b1dab1175..a257787a184 100644 --- a/src/cloudflare/types/zones/custom_nameserver_get_response.py +++ b/src/cloudflare/types/zones/custom_nameserver_get_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomNameserverGetResponse"] -CustomNameserverGetResponse = Union[object, List[object], str, None] +CustomNameserverGetResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/zones/custom_nameserver_update_response.py b/src/cloudflare/types/zones/custom_nameserver_update_response.py index 2a2da92ffbc..d2c3ed336e7 100644 --- a/src/cloudflare/types/zones/custom_nameserver_update_response.py +++ b/src/cloudflare/types/zones/custom_nameserver_update_response.py @@ -4,4 +4,4 @@ __all__ = ["CustomNameserverUpdateResponse"] -CustomNameserverUpdateResponse = Union[object, List[object], str, None] +CustomNameserverUpdateResponse = Union[List[object], str, object, None] diff --git a/src/cloudflare/types/zones/subscription_create_response.py b/src/cloudflare/types/zones/subscription_create_response.py index 9a7eb2c9972..4b0efa12663 100644 --- a/src/cloudflare/types/zones/subscription_create_response.py +++ b/src/cloudflare/types/zones/subscription_create_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionCreateResponse"] -SubscriptionCreateResponse = Union[Optional[object], Optional[str]] +SubscriptionCreateResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/zones/subscription_get_response.py b/src/cloudflare/types/zones/subscription_get_response.py index b19bf886434..6f4b5754077 100644 --- a/src/cloudflare/types/zones/subscription_get_response.py +++ b/src/cloudflare/types/zones/subscription_get_response.py @@ -4,4 +4,4 @@ __all__ = ["SubscriptionGetResponse"] -SubscriptionGetResponse = Union[Optional[object], Optional[str]] +SubscriptionGetResponse = Union[Optional[str], Optional[object]] diff --git a/src/cloudflare/types/zones/workers/script_update_response.py b/src/cloudflare/types/zones/workers/script_update_response.py index c8d838489be..969aa308536 100644 --- a/src/cloudflare/types/zones/workers/script_update_response.py +++ b/src/cloudflare/types/zones/workers/script_update_response.py @@ -4,4 +4,4 @@ __all__ = ["ScriptUpdateResponse"] -ScriptUpdateResponse = Union[object, str] +ScriptUpdateResponse = Union[str, object]