From d7cc83e2901cbaff3e2e8520853d33b1275eb27a Mon Sep 17 00:00:00 2001
From: "stainless-app[bot]"
<142633134+stainless-app[bot]@users.noreply.github.com>
Date: Thu, 4 Apr 2024 19:25:45 +0000
Subject: [PATCH] feat(api): update via SDK Studio (#221)
---
api.md | 1137 +++++++----------
src/cloudflare/resources/accounts/accounts.py | 32 +-
src/cloudflare/resources/accounts/roles.py | 15 +-
.../addressing/address_maps/accounts.py | 32 +-
.../addressing/address_maps/address_maps.py | 14 +-
.../resources/addressing/address_maps/ips.py | 27 +-
.../addressing/address_maps/zones.py | 32 +-
.../addressing/prefixes/bgp/bindings.py | 14 +-
.../resources/addressing/prefixes/prefixes.py | 21 +-
.../resources/alerting/available_alerts.py | 14 +-
.../alerting/destinations/pagerduty.py | 20 +-
.../alerting/destinations/webhooks.py | 14 +-
src/cloudflare/resources/alerting/policies.py | 14 +-
.../resources/argo/smart_routing.py | 27 +-
.../resources/argo/tiered_caching.py | 27 +-
src/cloudflare/resources/billing/profiles.py | 14 +-
.../resources/cache/smart_tiered_cache.py | 45 +-
.../cloudforce_one/requests/message.py | 14 +-
.../cloudforce_one/requests/priority.py | 14 +-
.../cloudforce_one/requests/requests.py | 14 +-
.../custom_certificates.py | 68 +-
.../custom_hostnames/custom_hostnames.py | 10 +-
.../custom_hostnames/fallback_origin.py | 45 +-
.../resources/custom_nameservers.py | 14 +-
src/cloudflare/resources/d1/database.py | 16 +-
src/cloudflare/resources/dnssec.py | 14 +-
.../resources/firewall/access_rules.py | 38 +-
src/cloudflare/resources/firewall/ua_rules.py | 38 +-
.../resources/firewall/waf/packages/groups.py | 33 +-
.../resources/firewall/waf/packages/rules.py | 21 +-
.../resources/hostnames/settings/tls.py | 11 +-
.../resources/hyperdrive/configs.py | 14 +-
src/cloudflare/resources/images/v1/v1.py | 23 +-
.../resources/images/v1/variants.py | 14 +-
.../intel/attack_surface_report/issues.py | 14 +-
.../resources/intel/miscategorizations.py | 15 +-
.../resources/keyless_certificates.py | 22 +-
.../resources/kv/namespaces/bulk.py | 27 +-
.../resources/kv/namespaces/namespaces.py | 27 +-
.../resources/kv/namespaces/values.py | 32 +-
.../resources/load_balancers/regions.py | 15 +-
src/cloudflare/resources/logpush/jobs.py | 14 +-
src/cloudflare/resources/logpush/ownership.py | 22 +-
.../resources/logs/control/cmb/config.py | 14 +-
src/cloudflare/resources/logs/rayid.py | 19 +-
.../resources/logs/received/received.py | 15 +-
src/cloudflare/resources/memberships.py | 27 +-
.../resources/origin_ca_certificates.py | 45 +-
.../origin_post_quantum_encryption.py | 31 +-
.../origin_tls_client_auth.py | 40 +-
.../resources/pagerules/pagerules.py | 53 +-
.../projects/deployments/history/logs.py | 16 +-
.../resources/pages/projects/domains.py | 46 +-
.../resources/pages/projects/projects.py | 29 +-
src/cloudflare/resources/queues/consumers.py | 14 +-
src/cloudflare/resources/queues/queues.py | 14 +-
src/cloudflare/resources/rate_limits.py | 38 +-
src/cloudflare/resources/registrar/domains.py | 27 +-
src/cloudflare/resources/rulesets/rules.py | 42 +-
src/cloudflare/resources/snippets/snippets.py | 14 +-
.../spectrum/analytics/events/bytimes.py | 17 +-
.../spectrum/analytics/events/summaries.py | 17 +-
src/cloudflare/resources/spectrum/apps.py | 14 +-
src/cloudflare/resources/ssl/analyze.py | 21 +-
.../certificate_packs/certificate_packs.py | 32 +-
.../resources/stream/audio_tracks.py | 21 +-
src/cloudflare/resources/stream/captions.py | 21 +-
src/cloudflare/resources/stream/downloads.py | 42 +-
src/cloudflare/resources/stream/keys.py | 15 +-
src/cloudflare/resources/stream/watermarks.py | 47 +-
src/cloudflare/resources/stream/webhooks.py | 46 +-
src/cloudflare/resources/subscriptions.py | 50 +-
.../resources/user/billing/profile.py | 14 +-
src/cloudflare/resources/user/invites.py | 27 +-
.../resources/user/organizations.py | 21 +-
.../resources/user/subscriptions.py | 37 +-
.../resources/user/tokens/tokens.py | 27 +-
src/cloudflare/resources/user/user.py | 27 +-
src/cloudflare/resources/vectorize/indexes.py | 14 +-
src/cloudflare/resources/warp_connector.py | 69 +-
src/cloudflare/resources/workers/ai.py | 11 +-
src/cloudflare/resources/workers/routes.py | 34 +-
.../resources/workers/scripts/content.py | 4 +-
.../resources/workers/scripts/deployments.py | 11 +-
.../resources/workers/scripts/tail.py | 14 +-
.../workers/services/environments/content.py | 4 +-
.../workers/services/environments/settings.py | 8 +-
.../dispatch/namespaces/scripts/content.py | 4 +-
.../dispatch/namespaces/scripts/settings.py | 8 +-
.../zero_trust/access/applications/cas.py | 27 +-
.../resources/zero_trust/access/keys.py | 39 +-
.../resources/zero_trust/devices/devices.py | 16 +-
.../devices/posture/integrations.py | 14 +-
.../resources/zero_trust/devices/revoke.py | 16 +-
.../resources/zero_trust/devices/unrevoke.py | 16 +-
.../resources/zero_trust/dlp/patterns.py | 19 +-
.../resources/zero_trust/dlp/payload_logs.py | 30 +-
.../zero_trust/dlp/profiles/custom.py | 14 +-
.../zero_trust/gateway/configurations.py | 10 +-
.../zero_trust/gateway/lists/lists.py | 14 +-
.../resources/zero_trust/gateway/locations.py | 14 +-
.../resources/zero_trust/gateway/logging.py | 11 +-
.../zero_trust/gateway/proxy_endpoints.py | 14 +-
.../resources/zero_trust/gateway/rules.py | 14 +-
.../zero_trust/identity_providers.py | 244 ++--
.../zero_trust/networks/virtual_networks.py | 42 +-
.../zero_trust/tunnels/configurations.py | 33 +-
.../zero_trust/tunnels/connections.py | 15 +-
.../resources/zero_trust/tunnels/tunnels.py | 33 +-
.../resources/zones/custom_nameservers.py | 27 +-
src/cloudflare/resources/zones/holds.py | 50 +-
.../resources/zones/subscriptions.py | 32 +-
.../resources/zones/workers/script.py | 15 +-
src/cloudflare/types/__init__.py | 268 ++--
src/cloudflare/types/account_get_response.py | 7 -
.../types/account_update_response.py | 7 -
src/cloudflare/types/accounts/__init__.py | 1 -
.../types/accounts/role_get_response.py | 7 -
src/cloudflare/types/addressing/__init__.py | 2 -
.../addressing/address_map_delete_response.py | 7 -
.../types/addressing/address_maps/__init__.py | 6 -
.../address_maps/account_update_response.py | 7 -
.../address_maps/ip_delete_response.py | 7 -
.../address_maps/ip_update_response.py | 7 -
.../address_maps/zone_delete_response.py | 7 -
.../address_maps/zone_update_response.py | 7 -
.../addressing/prefix_delete_response.py | 7 -
src/cloudflare/types/alerting/__init__.py | 2 +-
.../available_alert_list_response.py} | 4 +-
.../types/alerting/destinations/__init__.py | 2 -
.../destinations/pagerduty_delete_response.py | 7 -
.../destinations/webhook_delete_response.py | 7 -
.../types/alerting/policy_delete_response.py | 7 -
src/cloudflare/types/argo/__init__.py | 4 -
.../types/argo/smart_routing_edit_response.py | 7 -
.../types/argo/smart_routing_get_response.py | 7 -
.../argo/tiered_caching_edit_response.py | 7 -
.../types/argo/tiered_caching_get_response.py | 7 -
src/cloudflare/types/billing/__init__.py | 2 -
.../types/billing/profile_get_response.py | 7 -
src/cloudflare/types/cache/__init__.py | 15 +-
.../cache/cache_reserve_clear_response.py | 4 +-
.../cache/cache_reserve_edit_response.py | 4 +-
.../types/cache/cache_reserve_get_response.py | 4 +-
.../cache/cache_reserve_status_response.py | 4 +-
src/cloudflare/types/cache/cache_variants.py | 4 +-
.../regional_tiered_cache_edit_response.py | 6 +-
.../regional_tiered_cache_get_response.py | 6 +-
.../smart_tiered_cache_delete_response.py | 7 -
.../cache/smart_tiered_cache_edit_response.py | 7 -
.../cache/smart_tiered_cache_get_response.py | 7 -
...ma_ref_2b5e755404a4bfd7892291ce97c4968d.py | 7 +
...ma_ref_37c385b4ebac5c7a6475b3f81ef9a7ad.py | 7 +
...ma_ref_6535d2df7d4d089d21166bd140651307.py | 7 +
...ma_ref_669bfbb16c0913af7077c3c194fbfcd0.py | 7 +
.../types/cache/variant_edit_response.py | 4 +-
.../types/cache/variant_get_response.py | 4 +-
src/cloudflare/types/custom_certificate.py | 4 +-
.../types/custom_certificate_create_params.py | 4 +-
.../custom_certificate_create_response.py | 7 -
.../custom_certificate_delete_response.py | 12 -
.../types/custom_certificate_edit_params.py | 4 +-
.../types/custom_certificate_edit_response.py | 7 -
.../types/custom_certificate_get_response.py | 7 -
.../types/custom_hostname_create_params.py | 12 +-
.../types/custom_hostname_create_response.py | 12 +-
.../types/custom_hostname_delete_response.py | 12 -
.../types/custom_hostname_edit_params.py | 12 +-
.../types/custom_hostname_edit_response.py | 12 +-
.../types/custom_hostname_get_response.py | 12 +-
.../types/custom_hostname_list_response.py | 12 +-
.../types/custom_hostnames/__init__.py | 3 -
.../fallback_origin_delete_response.py | 7 -
.../fallback_origin_get_response.py | 7 -
.../fallback_origin_update_response.py | 7 -
.../custom_nameserver_delete_response.py | 7 -
src/cloudflare/types/dns/__init__.py | 6 +
.../dns/analytics/dns_analytics_report.py | 4 +-
.../reports/dns_analytics_report_by_time.py | 7 +-
src/cloudflare/types/dns/dns_record.py | 42 +-
...a_ref_1391721bdb8938d5420a8bc738a44deb.py} | 4 +-
...a_ref_2f895e023ae55b55d2f5925449b819cd.py} | 4 +-
src/cloudflare/types/firewall/__init__.py | 3 +
.../types/firewall/firewall_filter_rule.py | 4 +-
...a_ref_ab48d2d33259c9107401d174735701c7.py} | 4 +-
.../firewall/waf/package_get_response.py | 8 +-
.../firewall/waf/package_list_response.py | 8 +-
.../types/firewall/waf/packages/__init__.py | 6 +-
.../waf/packages/group_edit_response.py | 7 -
.../waf/packages/group_get_response.py | 7 -
.../waf/packages/rule_edit_response.py | 8 +-
.../waf/packages/rule_get_response.py | 7 -
...a_ref_532d8b97684c9032dd36bae8acddebf5.py} | 6 +-
.../waf/packages/waf_managed_rules_rule.py | 8 +-
.../types/hostnames/settings/__init__.py | 1 +
.../settings/hostname_stting.py} | 6 +-
.../hostnames/settings/tls_get_response.py | 27 +-
src/cloudflare/types/images/__init__.py | 1 -
src/cloudflare/types/images/v1/__init__.py | 1 -
.../images/v1/variant_delete_response.py | 7 -
.../types/images/v1_delete_response.py | 7 -
.../types/images/v1_list_response.py | 6 +-
src/cloudflare/types/intel/__init__.py | 4 +-
.../intel/attack_surface_report/__init__.py | 1 -
.../issue_dismiss_response.py | 7 -
.../issue_list_response.py | 6 +-
.../types/intel/intel_passive_dns_by_ip.py | 4 +-
.../miscategorization_create_response.py | 7 -
...a_ref_b5e16cee4f32382c294201aedb9fc050.py} | 4 +-
.../types/intel_phishing_url_info.py | 15 +-
.../types/intel_phishing_url_submit.py | 10 +-
.../keyless_certificate_create_params.py | 4 +-
.../keyless_certificate_delete_response.py | 12 -
src/cloudflare/types/kv/__init__.py | 2 -
.../types/kv/namespace_delete_response.py | 7 -
.../types/kv/namespace_update_response.py | 7 -
.../types/kv/namespaces/__init__.py | 4 -
.../kv/namespaces/bulk_delete_response.py | 7 -
.../kv/namespaces/bulk_update_response.py | 7 -
.../kv/namespaces/value_delete_response.py | 7 -
.../kv/namespaces/value_update_response.py | 7 -
.../types/load_balancers/__init__.py | 1 -
.../monitors/reference_get_response.py | 4 +-
.../pools/reference_get_response.py | 4 +-
.../load_balancers/region_list_response.py | 7 -
src/cloudflare/types/logpush/__init__.py | 1 -
.../logpush/ownership_validate_response.py | 11 -
src/cloudflare/types/logs/__init__.py | 2 -
.../types/logs/rayid_get_response.py | 7 -
.../types/logs/received_get_response.py | 7 -
.../cf_interconnect_list_response.py | 7 +-
.../cf_interconnect_update_params.py | 7 +-
.../gre_tunnel_create_response.py | 7 +-
.../magic_transit/gre_tunnel_list_response.py | 7 +-
.../magic_transit/gre_tunnel_update_params.py | 7 +-
.../ipsec_tunnel_create_params.py | 7 +-
.../ipsec_tunnel_create_response.py | 7 +-
.../ipsec_tunnel_list_response.py | 7 +-
.../ipsec_tunnel_update_params.py | 7 +-
.../types/magic_transit/sites/__init__.py | 3 +
.../magic_transit/sites/acl_create_params.py | 4 +-
.../sites/acl_create_response.py | 4 +-
.../sites/acl_delete_response.py | 4 +-
.../magic_transit/sites/acl_get_response.py | 4 +-
.../magic_transit/sites/acl_list_response.py | 4 +-
.../magic_transit/sites/acl_update_params.py | 4 +-
.../sites/acl_update_response.py | 4 +-
.../magic_transit/sites/lan_create_params.py | 12 +-
.../sites/lan_create_response.py | 12 +-
.../sites/lan_delete_response.py | 12 +-
.../magic_transit/sites/lan_get_response.py | 12 +-
.../magic_transit/sites/lan_list_response.py | 12 +-
.../magic_transit/sites/lan_update_params.py | 12 +-
.../sites/lan_update_response.py | 12 +-
...ma_ref_87fa9e5fe9f6b8d607be1df57340d916.py | 7 +
.../types/membership_get_response.py | 7 -
.../types/membership_update_response.py | 7 -
.../origin_ca_certificate_create_response.py | 7 -
.../origin_ca_certificate_delete_response.py | 12 -
.../origin_ca_certificate_get_response.py | 7 -
...in_post_quantum_encryption_get_response.py | 7 -
...post_quantum_encryption_update_response.py | 7 -
.../origin_tls_client_auth_create_response.py | 7 -
.../origin_tls_client_auth_delete_response.py | 7 -
.../origin_tls_client_auth_get_response.py | 7 -
.../types/pagerule_create_response.py | 7 -
.../types/pagerule_edit_response.py | 7 -
src/cloudflare/types/pagerule_get_response.py | 7 -
.../types/pagerule_update_response.py | 7 -
src/cloudflare/types/pages/__init__.py | 2 -
.../types/pages/project_create_response.py | 7 -
.../types/pages/project_edit_response.py | 7 -
.../types/pages/projects/__init__.py | 3 -
.../projects/deployments/history/__init__.py | 2 -
.../deployments/history/log_get_response.py | 7 -
.../pages/projects/domain_create_response.py | 7 -
.../pages/projects/domain_edit_response.py | 7 -
.../pages/projects/domain_get_response.py | 7 -
src/cloudflare/types/queue_delete_response.py | 7 -
src/cloudflare/types/queues/__init__.py | 4 +-
.../types/queues/consumer_create_response.py | 4 +-
.../types/queues/consumer_delete_response.py | 7 -
.../types/queues/consumer_get_response.py | 4 +-
...a_ref_fbd3a4642487e41594e9af0ccb9a5ca5.py} | 4 +-
src/cloudflare/types/r2/__init__.py | 3 +
src/cloudflare/types/r2/r2_sippy.py | 4 +-
.../types/r2/sippy_update_params.py | 6 +-
...a_ref_6430970563db310f19d39aafe3debd27.py} | 6 +-
src/cloudflare/types/radar/__init__.py | 8 +-
.../radar/annotations/outage_get_response.py | 6 +-
.../annotations/outage_locations_response.py | 4 +-
.../radar/as112/summary_dnssec_response.py | 8 +-
.../radar/as112/summary_edns_response.py | 8 +-
.../as112/summary_ip_version_response.py | 12 +-
.../radar/as112/summary_protocol_response.py | 8 +-
.../as112/summary_query_type_response.py | 8 +-
.../as112/summary_response_codes_response.py | 8 +-
.../types/radar/as112/top_dnssec_response.py | 21 +-
.../types/radar/as112/top_edns_response.py | 21 +-
.../radar/as112/top_ip_version_response.py | 21 +-
.../radar/as112/top_locations_response.py | 21 +-
.../types/radar/as112_timeseries_response.py | 12 +-
.../layer3/summary_bitrate_response.py | 8 +-
.../layer3/summary_duration_response.py | 8 +-
.../attacks/layer3/summary_get_response.py | 8 +-
.../layer3/summary_ip_version_response.py | 19 +-
.../layer3/summary_protocol_response.py | 8 +-
.../attacks/layer3/summary_vector_response.py | 8 +-
.../layer3/timeseries_group_get_response.py | 8 +-
.../timeseries_group_industry_response.py | 4 +-
.../timeseries_group_ip_version_response.py | 4 +-
.../timeseries_group_vector_response.py | 18 +-
.../timeseries_group_vertical_response.py | 18 +-
.../layer3/top/location_origin_response.py | 8 +-
.../layer3/top/location_target_response.py | 8 +-
.../attacks/layer3/top_attacks_response.py | 8 +-
.../attacks/layer3/top_industry_response.py | 19 +-
.../attacks/layer3/top_vertical_response.py | 19 +-
.../attacks/layer3_timeseries_response.py | 13 +-
.../attacks/layer7/summary_get_response.py | 8 +-
.../layer7/summary_http_method_response.py | 8 +-
.../layer7/summary_http_version_response.py | 8 +-
.../layer7/summary_ip_version_response.py | 19 +-
.../layer7/summary_managed_rules_response.py | 8 +-
.../summary_mitigation_product_response.py | 8 +-
.../layer7/timeseries_group_get_response.py | 8 +-
.../timeseries_group_industry_response.py | 4 +-
.../timeseries_group_ip_version_response.py | 15 +-
.../timeseries_group_vertical_response.py | 18 +-
.../attacks/layer7/top/ase_origin_response.py | 8 +-
.../layer7/top/location_origin_response.py | 8 +-
.../layer7/top/location_target_response.py | 8 +-
.../attacks/layer7/top_attacks_response.py | 8 +-
.../attacks/layer7/top_industry_response.py | 19 +-
.../attacks/layer7/top_vertical_response.py | 19 +-
.../attacks/layer7_timeseries_response.py | 12 +-
.../types/radar/bgp/route_moas_response.py | 4 +-
.../types/radar/bgp/route_pfx2as_response.py | 4 +-
.../types/radar/bgp/route_stats_response.py | 4 +-
.../radar/bgp/route_timeseries_response.py | 4 +-
.../types/radar/bgp/top/ase_get_response.py | 4 +-
.../radar/bgp/top/ase_prefixes_response.py | 4 +-
.../types/radar/bgp/top_prefixes_response.py | 4 +-
.../types/radar/bgp_timeseries_response.py | 12 +-
.../connection_tampering_summary_response.py | 8 +-
...on_tampering_timeseries_groups_response.py | 8 +-
.../types/radar/dns/top_ases_response.py | 12 +-
.../types/radar/dns/top_locations_response.py | 21 +-
.../email/routing/summary_arc_response.py | 12 +-
.../email/routing/summary_dkim_response.py | 12 +-
.../email/routing/summary_dmarc_response.py | 12 +-
.../routing/summary_encrypted_response.py | 8 +-
.../routing/summary_ip_version_response.py | 19 +-
.../email/routing/summary_spf_response.py | 12 +-
.../routing/timeseries_group_arc_response.py | 4 +-
.../routing/timeseries_group_dkim_response.py | 4 +-
.../timeseries_group_dmarc_response.py | 4 +-
.../routing/timeseries_group_spf_response.py | 4 +-
.../email/security/summary_arc_response.py | 12 +-
.../email/security/summary_dkim_response.py | 12 +-
.../email/security/summary_dmarc_response.py | 12 +-
.../security/summary_malicious_response.py | 8 +-
.../email/security/summary_spam_response.py | 8 +-
.../email/security/summary_spf_response.py | 12 +-
.../email/security/summary_spoof_response.py | 8 +-
.../summary_threat_category_response.py | 8 +-
.../security/summary_tls_version_response.py | 8 +-
.../security/timeseries_group_arc_response.py | 4 +-
.../timeseries_group_dkim_response.py | 4 +-
.../timeseries_group_dmarc_response.py | 4 +-
.../security/timeseries_group_spf_response.py | 4 +-
.../email/security/top/tld_get_response.py | 19 +-
.../top/tlds/malicious_get_response.py | 19 +-
.../security/top/tlds/spam_get_response.py | 19 +-
.../security/top/tlds/spoof_get_response.py | 19 +-
.../types/radar/entities/asn_rel_response.py | 4 +-
.../types/radar/http/ase_get_response.py | 21 +-
.../radar/http/ases/bot_class_get_response.py | 21 +-
.../http/ases/device_type_get_response.py | 21 +-
.../http/ases/http_method_get_response.py | 21 +-
.../http/ases/http_protocol_get_response.py | 21 +-
.../http/ases/ip_version_get_response.py | 21 +-
.../types/radar/http/ases/os_get_response.py | 21 +-
.../http/ases/tls_version_get_response.py | 21 +-
.../types/radar/http/location_get_response.py | 21 +-
.../http/locations/bot_class_get_response.py | 21 +-
.../locations/device_type_get_response.py | 21 +-
.../locations/http_method_get_response.py | 21 +-
.../locations/http_protocol_get_response.py | 21 +-
.../http/locations/ip_version_get_response.py | 21 +-
.../radar/http/locations/os_get_response.py | 21 +-
.../locations/tls_version_get_response.py | 21 +-
.../radar/http/summary_bot_class_response.py | 8 +-
.../http/summary_device_type_response.py | 8 +-
.../http/summary_http_protocol_response.py | 8 +-
.../http/summary_http_version_response.py | 8 +-
.../radar/http/summary_ip_version_response.py | 19 +-
.../types/radar/http/summary_os_response.py | 8 +-
.../http/summary_tls_version_response.py | 8 +-
...imeseries_group_browser_family_response.py | 18 +-
.../http/timeseries_group_browser_response.py | 18 +-
.../timeseries_group_ip_version_response.py | 4 +-
.../http/timeseries_group_os_response.py | 18 +-
.../http/top_browser_families_response.py | 19 +-
.../types/radar/http/top_browsers_response.py | 19 +-
.../radar/netflow_timeseries_response.py | 12 +-
.../radar/quality/iqi_summary_response.py | 8 +-
.../radar/quality/speed/top_ases_response.py | 8 +-
.../quality/speed/top_locations_response.py | 8 +-
.../radar/quality/speed_summary_response.py | 8 +-
.../ranking_timeseries_groups_response.py | 4 +-
.../location_get_response.py | 4 +-
.../radar/traffic_anomaly_get_response.py | 8 +-
...a_ref_67c73d4742566cab0909f71b1822e88c.py} | 4 +-
...a_ref_853c157ad369010995e35be614e0343f.py} | 4 +-
.../radar/verified_bots/top_bots_response.py | 8 +-
.../verified_bots/top_categories_response.py | 8 +-
src/cloudflare/types/registrar/__init__.py | 2 -
.../types/registrar/domain_get_response.py | 7 -
.../types/registrar/domain_update_response.py | 7 -
src/cloudflare/types/rules/lists/__init__.py | 6 +
...a_ref_34bb6e31800bc0207c083affa12d2775.py} | 6 +-
...ma_ref_cc279fb99baf6a166db5c4e790a8c6cd.py | 7 +
src/cloudflare/types/ruleset_create_params.py | 10 +-
.../types/ruleset_create_response.py | 10 +-
src/cloudflare/types/ruleset_get_response.py | 10 +-
src/cloudflare/types/ruleset_update_params.py | 10 +-
.../types/ruleset_update_response.py | 10 +-
.../types/rulesets/phase_get_response.py | 10 +-
.../types/rulesets/phase_update_params.py | 10 +-
.../types/rulesets/phase_update_response.py | 10 +-
.../rulesets/phases/version_get_response.py | 10 +-
.../types/rulesets/rule_create_params.py | 10 +-
.../types/rulesets/rule_create_response.py | 10 +-
.../types/rulesets/rule_delete_response.py | 10 +-
.../types/rulesets/rule_edit_params.py | 10 +-
.../types/rulesets/rule_edit_response.py | 10 +-
.../types/rulesets/version_get_response.py | 10 +-
.../rulesets/versions/by_tag_get_response.py | 10 +-
.../types/secondary_dns/__init__.py | 4 +-
...a_ref_bf34e74a34c9a2f63d85505dc69d4adc.py} | 4 +-
src/cloudflare/types/shared/__init__.py | 193 ++-
...a_ref_025497b7e63379c31929636b5186e45c.py} | 4 +-
.../types/shared/unnamed_schema_ref_100.py | 12 -
.../types/shared/unnamed_schema_ref_101.py | 13 -
.../types/shared/unnamed_schema_ref_103.py | 15 -
.../types/shared/unnamed_schema_ref_104.py | 11 -
.../types/shared/unnamed_schema_ref_105.py | 11 -
.../types/shared/unnamed_schema_ref_108.py | 11 -
.../types/shared/unnamed_schema_ref_109.py | 388 ------
.../types/shared/unnamed_schema_ref_110.py | 16 -
.../types/shared/unnamed_schema_ref_111.py | 97 --
.../types/shared/unnamed_schema_ref_113.py | 12 -
.../types/shared/unnamed_schema_ref_114.py | 35 -
.../types/shared/unnamed_schema_ref_115.py | 29 -
.../types/shared/unnamed_schema_ref_116.py | 7 -
.../types/shared/unnamed_schema_ref_117.py | 15 -
.../types/shared/unnamed_schema_ref_118.py | 26 -
.../types/shared/unnamed_schema_ref_119.py | 7 -
.../types/shared/unnamed_schema_ref_121.py | 7 -
.../types/shared/unnamed_schema_ref_122.py | 21 -
.../types/shared/unnamed_schema_ref_131.py | 12 -
.../types/shared/unnamed_schema_ref_135.py | 13 -
.../types/shared/unnamed_schema_ref_136.py | 11 -
.../types/shared/unnamed_schema_ref_139.py | 7 -
.../types/shared/unnamed_schema_ref_140.py | 7 -
.../types/shared/unnamed_schema_ref_142.py | 7 -
.../types/shared/unnamed_schema_ref_143.py | 12 -
.../types/shared/unnamed_schema_ref_144.py | 7 -
.../types/shared/unnamed_schema_ref_146.py | 7 -
.../types/shared/unnamed_schema_ref_151.py | 7 -
.../types/shared/unnamed_schema_ref_152.py | 12 -
.../types/shared/unnamed_schema_ref_158.py | 39 -
.../types/shared/unnamed_schema_ref_161.py | 7 -
.../types/shared/unnamed_schema_ref_169.py | 7 -
.../types/shared/unnamed_schema_ref_170.py | 13 -
.../types/shared/unnamed_schema_ref_171.py | 7 -
.../types/shared/unnamed_schema_ref_173.py | 7 -
.../types/shared/unnamed_schema_ref_2.py | 7 -
...a_ref_2173d81a0b2d332c9e2ac46900fe8bb9.py} | 4 +-
.../types/shared/unnamed_schema_ref_23.py | 7 -
...a_ref_23001f1f0b697900e282236466a95fa3.py} | 4 +-
.../types/shared/unnamed_schema_ref_25.py | 18 -
...a_ref_3248f24329456e19dfa042fff9986f72.py} | 4 +-
...a_ref_33f2e3917f3fe46ad98af0acbb1d9a19.py} | 4 +-
.../types/shared/unnamed_schema_ref_34.py | 20 -
.../types/shared/unnamed_schema_ref_36.py | 11 -
.../types/shared/unnamed_schema_ref_37.py | 11 -
.../types/shared/unnamed_schema_ref_38.py | 91 --
.../types/shared/unnamed_schema_ref_39.py | 85 --
.../types/shared/unnamed_schema_ref_4.py | 81 --
.../types/shared/unnamed_schema_ref_40.py | 49 -
...a_ref_413ab4522f0bb93f63444799121fe2f8.py} | 4 +-
.../types/shared/unnamed_schema_ref_43.py | 12 -
.../types/shared/unnamed_schema_ref_46.py | 11 -
.../types/shared/unnamed_schema_ref_49.py | 7 -
.../types/shared/unnamed_schema_ref_5.py | 12 -
.../types/shared/unnamed_schema_ref_57.py | 12 -
.../types/shared/unnamed_schema_ref_59.py | 22 -
...a_ref_5cf232a1d651060af6450ae882932776.py} | 4 +-
...ma_ref_602dd5f63eab958d53da61434dec08f0.py | 7 +
.../types/shared/unnamed_schema_ref_61.py | 15 -
...a_ref_619309774d07ec6904f1e354560d6028.py} | 3 -
...ma_ref_65e3c8c1a9c4638ec25cdbbaca7165c1.py | 7 +
...ma_ref_67bbb1ccdd42c3e2937b9fd19f791151.py | 7 +
.../types/shared/unnamed_schema_ref_69.py | 11 -
.../types/shared/unnamed_schema_ref_7.py | 19 -
...a_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py} | 8 +-
.../types/shared/unnamed_schema_ref_71.py | 69 -
.../types/shared/unnamed_schema_ref_72.py | 12 -
.../types/shared/unnamed_schema_ref_73.py | 131 --
.../types/shared/unnamed_schema_ref_77.py | 7 -
.../types/shared/unnamed_schema_ref_78.py | 7 -
.../types/shared/unnamed_schema_ref_79.py | 7 -
.../types/shared/unnamed_schema_ref_8.py | 11 -
.../types/shared/unnamed_schema_ref_80.py | 7 -
.../types/shared/unnamed_schema_ref_81.py | 7 -
.../types/shared/unnamed_schema_ref_82.py | 7 -
.../types/shared/unnamed_schema_ref_83.py | 7 -
.../types/shared/unnamed_schema_ref_84.py | 7 -
.../types/shared/unnamed_schema_ref_85.py | 7 -
.../types/shared/unnamed_schema_ref_87.py | 7 -
.../types/shared/unnamed_schema_ref_88.py | 7 -
.../types/shared/unnamed_schema_ref_89.py | 23 -
...a_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py} | 4 +-
...ma_ref_8d6a37a1e4190f86652802244d29525f.py | 7 +
.../types/shared/unnamed_schema_ref_90.py | 18 -
.../types/shared/unnamed_schema_ref_91.py | 14 -
.../types/shared/unnamed_schema_ref_92.py | 7 -
.../types/shared/unnamed_schema_ref_93.py | 13 -
.../types/shared/unnamed_schema_ref_94.py | 15 -
...ma_ref_9444735ca60712dbcf8afd832eb5716a.py | 7 +
.../types/shared/unnamed_schema_ref_96.py | 7 -
.../types/shared/unnamed_schema_ref_97.py | 7 -
.../types/shared/unnamed_schema_ref_98.py | 267 ----
.../types/shared/unnamed_schema_ref_99.py | 12 -
...ma_ref_b0ec5cc02c98b665099a5707a2db4ea6.py | 9 +
...a_ref_b52ad7cf99890d19f16edcd84d16ef5b.py} | 4 +-
...a_ref_b92f86eb861cd3dee83c40884802fda6.py} | 4 +-
...a_ref_cc2ac1a037e5d6702fc77b3bcb527854.py} | 4 +-
...ma_ref_d8600eb4758b3ae35607a0327bcd691b.py | 7 +
...ma_ref_dfef9380cb53cc7d4bda9f75e109d7a2.py | 7 +
...a_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py} | 14 +-
...ma_ref_ec4d85c3d1bcc6b3b7e99c199ae99846.py | 7 +
...a_ref_ee1e79edcb234d14c4dd266880f2fd24.py} | 4 +-
...a_ref_fb1dc8bb871d835b75bd0c2f50bd8572.py} | 4 +-
.../types/shared_params/__init__.py | 30 +-
.../shared_params/unnamed_schema_ref_121.py | 9 -
.../shared_params/unnamed_schema_ref_131.py | 12 -
.../shared_params/unnamed_schema_ref_163.py | 24 -
...a_ref_3248f24329456e19dfa042fff9986f72.py} | 4 +-
...a_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py} | 4 +-
.../shared_params/unnamed_schema_ref_75.py | 13 -
.../shared_params/unnamed_schema_ref_78.py | 9 -
.../shared_params/unnamed_schema_ref_81.py | 9 -
.../shared_params/unnamed_schema_ref_82.py | 9 -
.../shared_params/unnamed_schema_ref_83.py | 9 -
.../shared_params/unnamed_schema_ref_84.py | 9 -
.../shared_params/unnamed_schema_ref_85.py | 9 -
.../shared_params/unnamed_schema_ref_87.py | 9 -
.../shared_params/unnamed_schema_ref_88.py | 9 -
.../shared_params/unnamed_schema_ref_92.py | 9 -
...a_ref_ee1e79edcb234d14c4dd266880f2fd24.py} | 4 +-
.../spectrum/analytics/events/__init__.py | 2 -
.../analytics/events/bytime_get_response.py | 7 -
.../analytics/events/summary_get_response.py | 7 -
.../types/speed/test_list_response.py | 6 +-
src/cloudflare/types/ssl/__init__.py | 3 -
.../types/ssl/analyze_create_params.py | 4 +-
.../types/ssl/analyze_create_response.py | 7 -
.../ssl/certificate_pack_get_response.py | 7 -
src/cloudflare/types/storage/__init__.py | 3 +
...a_ref_608bee5065f7314d6fa572b89a1910f7.py} | 4 +-
.../workers_kv_components_schemas_result.py | 4 +-
.../storage/workers_kv_schemas_result.py | 4 +-
src/cloudflare/types/stream/__init__.py | 11 -
.../stream/audio_track_delete_response.py | 7 -
.../types/stream/caption_update_response.py | 7 -
.../types/stream/download_create_response.py | 7 -
.../types/stream/download_delete_response.py | 7 -
.../types/stream/download_get_response.py | 7 -
.../types/stream/key_delete_response.py | 7 -
.../types/stream/watermark_create_response.py | 7 -
.../types/stream/watermark_get_response.py | 7 -
.../types/stream/webhook_delete_response.py | 7 -
.../types/stream/webhook_get_response.py | 7 -
.../types/stream/webhook_update_response.py | 7 -
.../types/subscription_create_response.py | 7 -
.../types/subscription_delete_response.py | 12 +
.../types/subscription_get_response.py | 7 -
.../types/subscription_update_response.py | 7 -
...ma_ref_16aca57bde2963201c7e6e895436c1c1.py | 7 +
...a_ref_16e559c45a31db5480e21fbe904b2e42.py} | 4 +-
...a_ref_209db30ed499548152d6f3bccf720b54.py} | 6 +-
...a_ref_39419d70e2399b28b15cd660afd342fb.py} | 6 +-
...ma_ref_3b1a76a5e4a139b72ed7d93834773d39.py | 7 +
...a_ref_3e10ea08deb8102a27500f986488c1e8.py} | 6 +-
...a_ref_4124a22436f90127c7fa2c4543219752.py} | 4 +-
...a_ref_44e66100b948bfe723054c56b6144766.py} | 6 +-
...a_ref_6595695ff25b0614667b25f66b7bbaba.py} | 6 +-
...ma_ref_65be9614de145bf4a58d0fddf46df7ca.py | 7 +
...a_ref_75bae70cf28e6bcef364b9840db3bdeb.py} | 4 +-
...a_ref_767c0981cf47f45f0c766253dbd18669.py} | 6 +-
...a_ref_7826220e105d84352ba1108d9ed88e55.py} | 4 +-
...ma_ref_78adb375f06c6d462dd92b99e2ecf510.py | 7 +
...a_ref_83a14d589e799bc901b9ccc870251d09.py} | 4 +-
...a_ref_85b45d163202bbab7456da6b346d9fe2.py} | 6 +-
...a_ref_8b383e904d9fb02521257ef9cc77d297.py} | 4 +-
...a_ref_9002274ed7cb7f3dc567421e31529a3a.py} | 4 +-
...a_ref_9a9935a9a770967bb604ae41a81e42e1.py} | 6 +-
...a_ref_9b4c9779a35b172cb69c71389ebc7014.py} | 6 +-
...a_ref_a64e2a18a86750b6bd72cdf37ecfd869.py} | 6 +-
...a_ref_b5f3bd1840490bc487ffef84567807b1.py} | 4 +-
...a_ref_baac9d7da12de53e99142f8ecd3982e5.py} | 4 +-
...a_ref_c5858f1f916a921846e0b6159af470a7.py} | 4 +-
...ma_ref_eebdc868ce7f7ae92e23438caa84e7b5.py | 7 +
src/cloudflare/types/url_scanner/__init__.py | 4 +-
.../types/url_scanner/scan_get_response.py | 25 +-
.../types/url_scanner/scan_har_response.py | 19 +-
...a_ref_6d7a78acccfc753a8e931b1c4e72b6a6.py} | 4 +-
src/cloudflare/types/user/__init__.py | 8 +-
src/cloudflare/types/user/billing/__init__.py | 1 -
.../user/billing/profile_get_response.py | 7 -
.../types/user/invite_edit_response.py | 7 -
.../types/user/invite_get_response.py | 7 -
.../monitor_references_response.py | 4 +-
.../pool_references_response.py | 4 +-
.../types/user/organization_get_response.py | 7 -
.../subscription_delete_response.py} | 4 +-
.../types/user/subscription_edit_response.py | 7 -
.../user/subscription_update_response.py | 7 -
.../types/user/token_get_response.py | 7 -
.../types/user/token_update_response.py | 7 -
src/cloudflare/types/user_edit_response.py | 7 -
src/cloudflare/types/user_get_response.py | 7 -
src/cloudflare/types/workers/__init__.py | 2 -
src/cloudflare/types/workers/ai_run_params.py | 4 +-
.../types/workers/ai_run_response.py | 30 +-
.../types/workers/route_create_response.py | 7 -
.../types/workers/route_delete_response.py | 7 -
.../types/workers/scripts/__init__.py | 9 +
.../workers/scripts/content_update_params.py | 2 +-
.../scripts/deployment_create_params.py | 15 +-
.../scripts/deployment_create_response.py | 12 +-
.../scripts/deployment_get_response.py | 12 +-
.../workers/scripts/schedule_get_response.py | 4 +-
.../scripts/schedule_update_response.py | 4 +-
...a_ref_c8302c265937f9d6f96fd69644e56b26.py} | 6 +-
...ma_ref_fda1c6f6758e763ae3b2964521f2fdd8.py | 14 +
..._fda1c6f6758e763ae3b2964521f2fdd8_param.py | 14 +
.../environments/content_update_params.py | 2 +-
.../environments/setting_edit_params.py | 4 +-
.../scripts/content_update_params.py | 2 +-
.../namespaces/scripts/setting_edit_params.py | 4 +-
src/cloudflare/types/zero_trust/__init__.py | 12 +
.../types/zero_trust/access/__init__.py | 15 +-
.../access/application_create_params.py | 13 +-
.../access/application_update_params.py | 13 +-
.../access/applications/__init__.py | 5 +-
.../access/applications/ca_create_response.py | 7 -
.../applications/policy_create_params.py | 25 +-
.../applications/policy_update_params.py | 25 +-
...ma_ref_6a02fe18089d53b52b2cd3949b717919.py | 11 +
.../user_policy_check_list_response.py | 9 +-
.../applications/zero_trust_policies.py | 25 +-
.../zero_trust/access/group_create_params.py | 25 +-
.../zero_trust/access/group_update_params.py | 25 +-
.../zero_trust/access/key_get_response.py | 7 -
.../zero_trust/access/key_rotate_response.py | 7 -
.../zero_trust/access/key_update_response.py | 7 -
...a_ref_6ed9646890b9be79e16f1cfff86ec832.py} | 6 +-
...6ed9646890b9be79e16f1cfff86ec832_param.py} | 4 +-
...a_ref_c335ce55d4fdf132c942dfce6e45dcb9.py} | 4 +-
...ma_ref_c6200e37c458aaa3c42e6e5b999bc419.py | 7 +
.../users/active_session_get_response.py | 17 +-
.../access/users/zero_trust_identity.py | 9 +-
.../zero_trust/access/zero_trust_apps.py | 10 +-
.../zero_trust/access/zero_trust_groups.py | 33 +-
.../types/zero_trust/devices/__init__.py | 6 +
.../devices/device_posture_rules.py | 23 +-
.../devices/posture_create_params.py | 23 +-
.../devices/posture_update_params.py | 23 +-
...ma_ref_34ef0ad73a63c3f76ed170adca181930.py | 7 +
...ma_ref_41885dd46b9e0294254c49305a273681.py | 7 +
...ital_experience_monitoring_http_details.py | 13 +-
.../digital_experience_monitoring_tests.py | 14 +-
...xperience_monitoring_traceroute_details.py | 13 +-
.../zero_trust/dex/test_list_response.py | 6 +-
.../types/zero_trust/dlp/__init__.py | 12 +-
.../dlp/pattern_validate_response.py | 11 -
.../dlp/payload_log_update_response.py | 11 -
.../dlp/profiles/dlp_custom_profile.py | 4 +-
.../dlp/profiles/dlp_predefined_profile.py | 4 +-
...ma_ref_c105db122868c71badeac3b4822ad6b1.py | 7 +
...a_ref_e31ff4936b1b42746e8cb62bbc87f2e5.py} | 4 +-
...ma_ref_e38bfdf1acf5a4bfada6779c79528bc0.py | 7 +
.../types/zero_trust/gateway/__init__.py | 16 +-
.../gateway/configuration_edit_params.py | 6 +-
.../gateway/configuration_edit_response.py | 4 +-
.../gateway/configuration_get_response.py | 4 +-
.../gateway/configuration_update_params.py | 6 +-
.../gateway/configuration_update_response.py | 4 +-
.../gateway/list_delete_response.py | 7 -
.../gateway/location_delete_response.py | 7 -
.../gateway/logging_update_params.py | 6 +-
.../gateway/proxy_endpoint_delete_response.py | 7 -
.../gateway/rule_delete_response.py | 7 -
...a_ref_055aaf3918bf29f81c09d394a864182e.py} | 6 +-
...055aaf3918bf29f81c09d394a864182e_param.py} | 4 +-
...a_ref_e86eeb84b7e922c35cfb0031a6309f7b.py} | 6 +-
...e86eeb84b7e922c35cfb0031a6309f7b_param.py} | 4 +-
...ateway_gateway_account_logging_settings.py | 4 +-
.../identity_provider_create_params.py | 62 +-
.../identity_provider_list_response.py | 55 +-
.../identity_provider_update_params.py | 62 +-
.../types/zero_trust/networks/__init__.py | 3 -
.../virtual_network_create_response.py | 7 -
.../virtual_network_delete_response.py | 7 -
.../networks/virtual_network_edit_response.py | 7 -
.../types/zero_trust/tunnels/__init__.py | 3 -
.../tunnels/configuration_get_response.py | 7 -
.../tunnels/configuration_update_response.py | 7 -
.../tunnels/connection_delete_response.py | 7 -
...a_ref_9ab84e842cdf571c8f3898648bcdabcb.py} | 4 +-
...ma_ref_bf9e2abcf1b78a6cab8e6e29e2228a11.py | 14 +
...a_ref_dd86d8b7ea73283da7b160ed3f86cae1.py} | 4 +-
...dd86d8b7ea73283da7b160ed3f86cae1_param.py} | 4 +-
.../zero_trust_identity_providers.py | 59 +-
src/cloudflare/types/zones/__init__.py | 10 +-
.../zones/custom_nameserver_get_response.py | 7 -
.../custom_nameserver_update_response.py | 7 -
.../types/zones/hold_get_response.py | 15 -
.../types/zones/settings/__init__.py | 3 +
.../zones/settings/minify_edit_params.py | 4 +-
.../origin_max_http_version_edit_response.py | 4 +-
.../origin_max_http_version_get_response.py | 4 +-
...ma_ref_b234e6a28c1a1c7c29213787c0621eaa.py | 7 +
.../zones/settings/zone_setting_minify.py | 3 +-
.../settings/zone_setting_minify_param.py | 4 +-
.../zones/subscription_create_response.py | 7 -
.../types/zones/subscription_get_response.py | 7 -
...a_ref_45004a9444b6da9f88158ed2fb9a5820.py} | 4 +-
.../types/zones/unnamed_schema_ref_64.py | 15 -
.../types/zones/workers/__init__.py | 1 -
.../zones/workers/script_update_response.py | 7 -
tests/api_resources/accounts/test_roles.py | 15 +-
.../addressing/address_maps/test_accounts.py | 29 +-
.../addressing/address_maps/test_ips.py | 29 +-
.../addressing/address_maps/test_zones.py | 29 +-
.../addressing/prefixes/bgp/test_bindings.py | 14 +-
.../addressing/test_address_maps.py | 18 +-
.../api_resources/addressing/test_prefixes.py | 14 +-
.../alerting/destinations/test_pagerduty.py | 24 +-
.../alerting/destinations/test_webhooks.py | 14 +-
.../alerting/test_available_alerts.py | 14 +-
tests/api_resources/alerting/test_policies.py | 14 +-
.../api_resources/argo/test_smart_routing.py | 26 +-
.../api_resources/argo/test_tiered_caching.py | 26 +-
tests/api_resources/billing/test_profiles.py | 14 +-
.../cache/test_smart_tiered_cache.py | 42 +-
.../cloudforce_one/requests/test_message.py | 14 +-
.../cloudforce_one/requests/test_priority.py | 14 +-
.../cloudforce_one/test_requests.py | 14 +-
.../custom_hostnames/test_fallback_origin.py | 42 +-
tests/api_resources/d1/test_database.py | 16 +-
.../firewall/test_access_rules.py | 50 +-
tests/api_resources/firewall/test_ua_rules.py | 38 +-
.../firewall/waf/packages/test_groups.py | 35 +-
.../firewall/waf/packages/test_rules.py | 14 +-
.../hostnames/settings/test_tls.py | 15 +-
.../api_resources/hyperdrive/test_configs.py | 14 +-
tests/api_resources/images/test_v1.py | 14 +-
.../api_resources/images/v1/test_variants.py | 14 +-
.../attack_surface_report/test_issues.py | 18 +-
.../intel/test_miscategorizations.py | 18 +-
.../api_resources/kv/namespaces/test_bulk.py | 29 +-
.../kv/namespaces/test_values.py | 29 +-
tests/api_resources/kv/test_namespaces.py | 27 +-
.../load_balancers/test_regions.py | 19 +-
tests/api_resources/logpush/test_jobs.py | 18 +-
tests/api_resources/logpush/test_ownership.py | 26 +-
.../logs/control/cmb/test_config.py | 14 +-
tests/api_resources/logs/test_rayid.py | 18 +-
tests/api_resources/logs/test_received.py | 18 +-
.../projects/deployments/history/test_logs.py | 16 +-
.../pages/projects/test_domains.py | 42 +-
tests/api_resources/pages/test_projects.py | 33 +-
tests/api_resources/queues/test_consumers.py | 14 +-
tests/api_resources/registrar/test_domains.py | 31 +-
.../spectrum/analytics/events/test_bytimes.py | 20 +-
.../analytics/events/test_summaries.py | 20 +-
tests/api_resources/spectrum/test_apps.py | 14 +-
tests/api_resources/ssl/test_analyze.py | 18 +-
.../ssl/test_certificate_packs.py | 30 +-
.../api_resources/stream/test_audio_tracks.py | 19 +-
tests/api_resources/stream/test_captions.py | 14 +-
tests/api_resources/stream/test_downloads.py | 43 +-
tests/api_resources/stream/test_keys.py | 15 +-
tests/api_resources/stream/test_watermarks.py | 49 +-
tests/api_resources/stream/test_webhooks.py | 43 +-
tests/api_resources/test_accounts.py | 30 +-
.../api_resources/test_custom_certificates.py | 64 +-
tests/api_resources/test_custom_hostnames.py | 14 +-
.../api_resources/test_custom_nameservers.py | 26 +-
tests/api_resources/test_dnssec.py | 14 +-
.../test_keyless_certificates.py | 18 +-
tests/api_resources/test_memberships.py | 27 +-
.../test_origin_ca_certificates.py | 59 +-
.../test_origin_post_quantum_encryption.py | 37 +-
.../test_origin_tls_client_auth.py | 52 +-
tests/api_resources/test_pagerules.py | 65 +-
tests/api_resources/test_queues.py | 14 +-
tests/api_resources/test_rate_limits.py | 38 +-
tests/api_resources/test_snippets.py | 14 +-
tests/api_resources/test_subscriptions.py | 62 +-
tests/api_resources/test_user.py | 30 +-
tests/api_resources/test_warp_connector.py | 102 +-
.../user/billing/test_profile.py | 14 +-
tests/api_resources/user/test_invites.py | 27 +-
.../api_resources/user/test_organizations.py | 14 +-
.../api_resources/user/test_subscriptions.py | 49 +-
tests/api_resources/user/test_tokens.py | 31 +-
tests/api_resources/vectorize/test_indexes.py | 14 +-
.../workers/scripts/test_deployments.py | 5 +-
.../workers/scripts/test_tail.py | 14 +-
tests/api_resources/workers/test_routes.py | 35 +-
.../access/applications/test_cas.py | 40 +-
.../zero_trust/access/test_keys.py | 38 +-
.../devices/posture/test_integrations.py | 14 +-
.../zero_trust/devices/test_revoke.py | 16 +-
.../zero_trust/devices/test_unrevoke.py | 16 +-
.../zero_trust/dlp/profiles/test_custom.py | 14 +-
.../zero_trust/dlp/test_patterns.py | 16 +-
.../zero_trust/dlp/test_payload_logs.py | 36 +-
.../zero_trust/gateway/test_lists.py | 14 +-
.../zero_trust/gateway/test_locations.py | 14 +-
.../zero_trust/gateway/test_logging.py | 4 +-
.../gateway/test_proxy_endpoints.py | 14 +-
.../zero_trust/gateway/test_rules.py | 14 +-
.../networks/test_virtual_networks.py | 94 +-
.../api_resources/zero_trust/test_devices.py | 16 +-
.../api_resources/zero_trust/test_tunnels.py | 50 +-
.../zero_trust/tunnels/test_configurations.py | 63 +-
.../zero_trust/tunnels/test_connections.py | 22 +-
.../zones/test_custom_nameservers.py | 61 +-
tests/api_resources/zones/test_holds.py | 48 +-
.../api_resources/zones/test_subscriptions.py | 35 +-
.../zones/workers/test_script.py | 14 +-
848 files changed, 5478 insertions(+), 8704 deletions(-)
delete mode 100644 src/cloudflare/types/account_get_response.py
delete mode 100644 src/cloudflare/types/account_update_response.py
delete mode 100644 src/cloudflare/types/accounts/role_get_response.py
delete mode 100644 src/cloudflare/types/addressing/address_map_delete_response.py
delete mode 100644 src/cloudflare/types/addressing/address_maps/account_update_response.py
delete mode 100644 src/cloudflare/types/addressing/address_maps/ip_delete_response.py
delete mode 100644 src/cloudflare/types/addressing/address_maps/ip_update_response.py
delete mode 100644 src/cloudflare/types/addressing/address_maps/zone_delete_response.py
delete mode 100644 src/cloudflare/types/addressing/address_maps/zone_update_response.py
delete mode 100644 src/cloudflare/types/addressing/prefix_delete_response.py
rename src/cloudflare/types/{addressing/address_maps/account_delete_response.py => alerting/available_alert_list_response.py} (52%)
delete mode 100644 src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py
delete mode 100644 src/cloudflare/types/alerting/destinations/webhook_delete_response.py
delete mode 100644 src/cloudflare/types/alerting/policy_delete_response.py
delete mode 100644 src/cloudflare/types/argo/smart_routing_edit_response.py
delete mode 100644 src/cloudflare/types/argo/smart_routing_get_response.py
delete mode 100644 src/cloudflare/types/argo/tiered_caching_edit_response.py
delete mode 100644 src/cloudflare/types/argo/tiered_caching_get_response.py
delete mode 100644 src/cloudflare/types/billing/profile_get_response.py
delete mode 100644 src/cloudflare/types/cache/smart_tiered_cache_delete_response.py
delete mode 100644 src/cloudflare/types/cache/smart_tiered_cache_edit_response.py
delete mode 100644 src/cloudflare/types/cache/smart_tiered_cache_get_response.py
create mode 100644 src/cloudflare/types/cache/unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d.py
create mode 100644 src/cloudflare/types/cache/unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad.py
create mode 100644 src/cloudflare/types/cache/unnamed_schema_ref_6535d2df7d4d089d21166bd140651307.py
create mode 100644 src/cloudflare/types/cache/unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0.py
delete mode 100644 src/cloudflare/types/custom_certificate_create_response.py
delete mode 100644 src/cloudflare/types/custom_certificate_delete_response.py
delete mode 100644 src/cloudflare/types/custom_certificate_edit_response.py
delete mode 100644 src/cloudflare/types/custom_certificate_get_response.py
delete mode 100644 src/cloudflare/types/custom_hostname_delete_response.py
delete mode 100644 src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py
delete mode 100644 src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py
delete mode 100644 src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py
delete mode 100644 src/cloudflare/types/custom_nameserver_delete_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_162.py => dns/unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb.py} (74%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_62.py => dns/unnamed_schema_ref_2f895e023ae55b55d2f5925449b819cd.py} (77%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_107.py => firewall/unnamed_schema_ref_ab48d2d33259c9107401d174735701c7.py} (67%)
delete mode 100644 src/cloudflare/types/firewall/waf/packages/group_edit_response.py
delete mode 100644 src/cloudflare/types/firewall/waf/packages/group_get_response.py
delete mode 100644 src/cloudflare/types/firewall/waf/packages/rule_get_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_120.py => firewall/waf/packages/unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5.py} (61%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_65.py => hostnames/settings/hostname_stting.py} (86%)
delete mode 100644 src/cloudflare/types/images/v1/variant_delete_response.py
delete mode 100644 src/cloudflare/types/images/v1_delete_response.py
delete mode 100644 src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py
delete mode 100644 src/cloudflare/types/intel/miscategorization_create_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_35.py => intel/unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050.py} (78%)
delete mode 100644 src/cloudflare/types/keyless_certificate_delete_response.py
delete mode 100644 src/cloudflare/types/kv/namespace_delete_response.py
delete mode 100644 src/cloudflare/types/kv/namespace_update_response.py
delete mode 100644 src/cloudflare/types/kv/namespaces/bulk_delete_response.py
delete mode 100644 src/cloudflare/types/kv/namespaces/bulk_update_response.py
delete mode 100644 src/cloudflare/types/kv/namespaces/value_delete_response.py
delete mode 100644 src/cloudflare/types/kv/namespaces/value_update_response.py
delete mode 100644 src/cloudflare/types/load_balancers/region_list_response.py
delete mode 100644 src/cloudflare/types/logpush/ownership_validate_response.py
delete mode 100644 src/cloudflare/types/logs/rayid_get_response.py
delete mode 100644 src/cloudflare/types/logs/received_get_response.py
create mode 100644 src/cloudflare/types/magic_transit/sites/unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916.py
delete mode 100644 src/cloudflare/types/membership_get_response.py
delete mode 100644 src/cloudflare/types/membership_update_response.py
delete mode 100644 src/cloudflare/types/origin_ca_certificate_create_response.py
delete mode 100644 src/cloudflare/types/origin_ca_certificate_delete_response.py
delete mode 100644 src/cloudflare/types/origin_ca_certificate_get_response.py
delete mode 100644 src/cloudflare/types/origin_post_quantum_encryption_get_response.py
delete mode 100644 src/cloudflare/types/origin_post_quantum_encryption_update_response.py
delete mode 100644 src/cloudflare/types/origin_tls_client_auth_create_response.py
delete mode 100644 src/cloudflare/types/origin_tls_client_auth_delete_response.py
delete mode 100644 src/cloudflare/types/origin_tls_client_auth_get_response.py
delete mode 100644 src/cloudflare/types/pagerule_create_response.py
delete mode 100644 src/cloudflare/types/pagerule_edit_response.py
delete mode 100644 src/cloudflare/types/pagerule_get_response.py
delete mode 100644 src/cloudflare/types/pagerule_update_response.py
delete mode 100644 src/cloudflare/types/pages/project_create_response.py
delete mode 100644 src/cloudflare/types/pages/project_edit_response.py
delete mode 100644 src/cloudflare/types/pages/projects/deployments/history/log_get_response.py
delete mode 100644 src/cloudflare/types/pages/projects/domain_create_response.py
delete mode 100644 src/cloudflare/types/pages/projects/domain_edit_response.py
delete mode 100644 src/cloudflare/types/pages/projects/domain_get_response.py
delete mode 100644 src/cloudflare/types/queue_delete_response.py
delete mode 100644 src/cloudflare/types/queues/consumer_delete_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_41.py => queues/unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5.py} (72%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_119.py => r2/unnamed_schema_ref_6430970563db310f19d39aafe3debd27.py} (50%)
rename src/cloudflare/types/radar/{unnamed_schema_ref_150.py => unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c.py} (71%)
rename src/cloudflare/types/radar/{unnamed_schema_ref_149.py => unnamed_schema_ref_853c157ad369010995e35be614e0343f.py} (68%)
delete mode 100644 src/cloudflare/types/registrar/domain_get_response.py
delete mode 100644 src/cloudflare/types/registrar/domain_update_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_44.py => rules/lists/unnamed_schema_ref_34bb6e31800bc0207c083affa12d2775.py} (53%)
create mode 100644 src/cloudflare/types/rules/lists/unnamed_schema_ref_cc279fb99baf6a166db5c4e790a8c6cd.py
rename src/cloudflare/types/secondary_dns/{unnamed_schema_ref_70.py => unnamed_schema_ref_bf34e74a34c9a2f63d85505dc69d4adc.py} (54%)
rename src/cloudflare/types/shared/{unnamed_schema_ref_126.py => unnamed_schema_ref_025497b7e63379c31929636b5186e45c.py} (69%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_100.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_101.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_103.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_104.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_105.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_108.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_109.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_110.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_111.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_113.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_114.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_115.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_116.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_117.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_118.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_119.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_121.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_122.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_131.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_135.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_136.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_139.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_140.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_142.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_143.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_144.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_146.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_151.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_152.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_158.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_161.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_169.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_170.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_171.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_173.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_2.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_155.py => unnamed_schema_ref_2173d81a0b2d332c9e2ac46900fe8bb9.py} (54%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_23.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_52.py => unnamed_schema_ref_23001f1f0b697900e282236466a95fa3.py} (68%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_25.py
rename src/cloudflare/types/shared/{response_info.py => unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py} (54%)
rename src/cloudflare/types/shared/{unnamed_schema_ref_123.py => unnamed_schema_ref_33f2e3917f3fe46ad98af0acbb1d9a19.py} (97%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_34.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_36.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_37.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_38.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_39.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_4.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_40.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_156.py => unnamed_schema_ref_413ab4522f0bb93f63444799121fe2f8.py} (97%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_43.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_46.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_49.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_5.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_57.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_59.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_63.py => unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py} (60%)
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_602dd5f63eab958d53da61434dec08f0.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_61.py
rename src/cloudflare/types/{zero_trust/access/applications/ca_get_response.py => shared/unnamed_schema_ref_619309774d07ec6904f1e354560d6028.py} (50%)
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_65e3c8c1a9c4638ec25cdbbaca7165c1.py
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_67bbb1ccdd42c3e2937b9fd19f791151.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_69.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_7.py
rename src/cloudflare/types/{logging.py => shared/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py} (50%)
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_71.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_72.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_73.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_77.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_78.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_79.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_8.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_80.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_81.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_82.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_83.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_84.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_85.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_87.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_88.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_89.py
rename src/cloudflare/types/{ssl/certificate_pack_delete_response.py => shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py} (60%)
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_8d6a37a1e4190f86652802244d29525f.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_90.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_91.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_92.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_93.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_94.py
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_9444735ca60712dbcf8afd832eb5716a.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_96.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_97.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_98.py
delete mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_99.py
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_b0ec5cc02c98b665099a5707a2db4ea6.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_145.py => unnamed_schema_ref_b52ad7cf99890d19f16edcd84d16ef5b.py} (96%)
rename src/cloudflare/types/shared/{unnamed_schema_ref_147.py => unnamed_schema_ref_b92f86eb861cd3dee83c40884802fda6.py} (98%)
rename src/cloudflare/types/shared/{unnamed_schema_ref_124.py => unnamed_schema_ref_cc2ac1a037e5d6702fc77b3bcb527854.py} (58%)
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b.py
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_dfef9380cb53cc7d4bda9f75e109d7a2.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_9.py => unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py} (83%)
create mode 100644 src/cloudflare/types/shared/unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846.py
rename src/cloudflare/types/shared/{unnamed_schema_ref_51.py => unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py} (81%)
rename src/cloudflare/types/shared/{unnamed_schema_ref_132.py => unnamed_schema_ref_fb1dc8bb871d835b75bd0c2f50bd8572.py} (60%)
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_121.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_131.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_163.py
rename src/cloudflare/types/shared_params/{response_info.py => unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py} (61%)
rename src/cloudflare/types/{logging_param.py => shared_params/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py} (64%)
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_75.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_78.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_81.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_82.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_83.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_84.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_85.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_87.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_88.py
delete mode 100644 src/cloudflare/types/shared_params/unnamed_schema_ref_92.py
rename src/cloudflare/types/shared_params/{unnamed_schema_ref_51.py => unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py} (79%)
delete mode 100644 src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py
delete mode 100644 src/cloudflare/types/spectrum/analytics/events/summary_get_response.py
delete mode 100644 src/cloudflare/types/ssl/analyze_create_response.py
delete mode 100644 src/cloudflare/types/ssl/certificate_pack_get_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_148.py => storage/unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7.py} (63%)
delete mode 100644 src/cloudflare/types/stream/audio_track_delete_response.py
delete mode 100644 src/cloudflare/types/stream/caption_update_response.py
delete mode 100644 src/cloudflare/types/stream/download_create_response.py
delete mode 100644 src/cloudflare/types/stream/download_delete_response.py
delete mode 100644 src/cloudflare/types/stream/download_get_response.py
delete mode 100644 src/cloudflare/types/stream/key_delete_response.py
delete mode 100644 src/cloudflare/types/stream/watermark_create_response.py
delete mode 100644 src/cloudflare/types/stream/watermark_get_response.py
delete mode 100644 src/cloudflare/types/stream/webhook_delete_response.py
delete mode 100644 src/cloudflare/types/stream/webhook_get_response.py
delete mode 100644 src/cloudflare/types/stream/webhook_update_response.py
delete mode 100644 src/cloudflare/types/subscription_create_response.py
create mode 100644 src/cloudflare/types/subscription_delete_response.py
delete mode 100644 src/cloudflare/types/subscription_get_response.py
delete mode 100644 src/cloudflare/types/subscription_update_response.py
create mode 100644 src/cloudflare/types/unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1.py
rename src/cloudflare/types/{unnamed_schema_ref_106.py => unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42.py} (53%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_13.py => unnamed_schema_ref_209db30ed499548152d6f3bccf720b54.py} (64%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_12.py => unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb.py} (64%)
create mode 100644 src/cloudflare/types/unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_15.py => unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8.py} (72%)
rename src/cloudflare/types/{unnamed_schema_ref_154.py => unnamed_schema_ref_4124a22436f90127c7fa2c4543219752.py} (68%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_11.py => unnamed_schema_ref_44e66100b948bfe723054c56b6144766.py} (63%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_22.py => unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba.py} (69%)
create mode 100644 src/cloudflare/types/unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca.py
rename src/cloudflare/types/{unnamed_schema_ref_129.py => unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb.py} (63%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_10.py => unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669.py} (52%)
rename src/cloudflare/types/{unnamed_schema_ref_153.py => unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55.py} (78%)
create mode 100644 src/cloudflare/types/unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510.py
rename src/cloudflare/types/{unnamed_schema_ref_160.py => unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09.py} (71%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_24.py => unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2.py} (85%)
rename src/cloudflare/types/{unnamed_schema_ref_128.py => unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297.py} (65%)
rename src/cloudflare/types/{unnamed_schema_ref_53.py => unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a.py} (70%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_77.py => unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1.py} (50%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_14.py => unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014.py} (71%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_16.py => unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869.py} (75%)
rename src/cloudflare/types/{unnamed_schema_ref_174.py => unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1.py} (83%)
rename src/cloudflare/types/{unnamed_schema_ref_175.py => unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5.py} (74%)
rename src/cloudflare/types/{unnamed_schema_ref_130.py => unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7.py} (58%)
create mode 100644 src/cloudflare/types/unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5.py
rename src/cloudflare/types/url_scanner/{unnamed_schema_ref_134.py => unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6.py} (63%)
delete mode 100644 src/cloudflare/types/user/billing/profile_get_response.py
delete mode 100644 src/cloudflare/types/user/invite_edit_response.py
delete mode 100644 src/cloudflare/types/user/invite_get_response.py
delete mode 100644 src/cloudflare/types/user/organization_get_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_3.py => user/subscription_delete_response.py} (73%)
delete mode 100644 src/cloudflare/types/user/subscription_edit_response.py
delete mode 100644 src/cloudflare/types/user/subscription_update_response.py
delete mode 100644 src/cloudflare/types/user/token_get_response.py
delete mode 100644 src/cloudflare/types/user/token_update_response.py
delete mode 100644 src/cloudflare/types/user_edit_response.py
delete mode 100644 src/cloudflare/types/user_get_response.py
delete mode 100644 src/cloudflare/types/workers/route_create_response.py
delete mode 100644 src/cloudflare/types/workers/route_delete_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_102.py => workers/scripts/unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26.py} (59%)
create mode 100644 src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8.py
create mode 100644 src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param.py
delete mode 100644 src/cloudflare/types/zero_trust/access/applications/ca_create_response.py
create mode 100644 src/cloudflare/types/zero_trust/access/applications/unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919.py
delete mode 100644 src/cloudflare/types/zero_trust/access/key_get_response.py
delete mode 100644 src/cloudflare/types/zero_trust/access/key_rotate_response.py
delete mode 100644 src/cloudflare/types/zero_trust/access/key_update_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_76.py => zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832.py} (53%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_76.py => zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param.py} (59%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_75.py => zero_trust/access/unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9.py} (71%)
create mode 100644 src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419.py
create mode 100644 src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930.py
create mode 100644 src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_41885dd46b9e0294254c49305a273681.py
delete mode 100644 src/cloudflare/types/zero_trust/dlp/pattern_validate_response.py
delete mode 100644 src/cloudflare/types/zero_trust/dlp/payload_log_update_response.py
create mode 100644 src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1.py
rename src/cloudflare/types/zero_trust/dlp/{payload_log_get_response.py => unnamed_schema_ref_e31ff4936b1b42746e8cb62bbc87f2e5.py} (59%)
create mode 100644 src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0.py
delete mode 100644 src/cloudflare/types/zero_trust/gateway/list_delete_response.py
delete mode 100644 src/cloudflare/types/zero_trust/gateway/location_delete_response.py
delete mode 100644 src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py
delete mode 100644 src/cloudflare/types/zero_trust/gateway/rule_delete_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_125.py => zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e.py} (96%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_125.py => zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param.py} (96%)
rename src/cloudflare/types/{shared/unnamed_schema_ref_28.py => zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b.py} (69%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_28.py => zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param.py} (70%)
delete mode 100644 src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py
delete mode 100644 src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py
delete mode 100644 src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py
delete mode 100644 src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py
delete mode 100644 src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py
delete mode 100644 src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_163.py => zero_trust/unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb.py} (73%)
create mode 100644 src/cloudflare/types/zero_trust/unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11.py
rename src/cloudflare/types/{shared/unnamed_schema_ref_159.py => zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1.py} (90%)
rename src/cloudflare/types/{shared_params/unnamed_schema_ref_158.py => zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param.py} (88%)
delete mode 100644 src/cloudflare/types/zones/custom_nameserver_get_response.py
delete mode 100644 src/cloudflare/types/zones/custom_nameserver_update_response.py
delete mode 100644 src/cloudflare/types/zones/hold_get_response.py
create mode 100644 src/cloudflare/types/zones/settings/unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa.py
delete mode 100644 src/cloudflare/types/zones/subscription_create_response.py
delete mode 100644 src/cloudflare/types/zones/subscription_get_response.py
rename src/cloudflare/types/zones/{hold_create_response.py => unnamed_schema_ref_45004a9444b6da9f88158ed2fb9a5820.py} (67%)
delete mode 100644 src/cloudflare/types/zones/unnamed_schema_ref_64.py
delete mode 100644 src/cloudflare/types/zones/workers/script_update_response.py
diff --git a/api.md b/api.md
index 1ab3b15ccc20..e7bbe6b3587c 100644
--- a/api.md
+++ b/api.md
@@ -3,124 +3,31 @@
```python
from cloudflare.types import (
ErrorData,
- ResponseInfo,
- UnnamedSchemaRef10,
- UnnamedSchemaRef100,
- UnnamedSchemaRef101,
- UnnamedSchemaRef102,
- UnnamedSchemaRef103,
- UnnamedSchemaRef104,
- UnnamedSchemaRef105,
- UnnamedSchemaRef107,
- UnnamedSchemaRef108,
- UnnamedSchemaRef109,
- UnnamedSchemaRef11,
- UnnamedSchemaRef110,
- UnnamedSchemaRef111,
- UnnamedSchemaRef113,
- UnnamedSchemaRef114,
- UnnamedSchemaRef115,
- UnnamedSchemaRef116,
- UnnamedSchemaRef117,
- UnnamedSchemaRef118,
- UnnamedSchemaRef119,
- UnnamedSchemaRef12,
- UnnamedSchemaRef120,
- UnnamedSchemaRef121,
- UnnamedSchemaRef122,
- UnnamedSchemaRef123,
- UnnamedSchemaRef124,
- UnnamedSchemaRef125,
- UnnamedSchemaRef126,
- UnnamedSchemaRef13,
- UnnamedSchemaRef131,
- UnnamedSchemaRef132,
- UnnamedSchemaRef135,
- UnnamedSchemaRef136,
- UnnamedSchemaRef139,
- UnnamedSchemaRef14,
- UnnamedSchemaRef140,
- UnnamedSchemaRef142,
- UnnamedSchemaRef143,
- UnnamedSchemaRef144,
- UnnamedSchemaRef145,
- UnnamedSchemaRef146,
- UnnamedSchemaRef147,
- UnnamedSchemaRef148,
- UnnamedSchemaRef15,
- UnnamedSchemaRef151,
- UnnamedSchemaRef152,
- UnnamedSchemaRef155,
- UnnamedSchemaRef156,
- UnnamedSchemaRef158,
- UnnamedSchemaRef159,
- UnnamedSchemaRef16,
- UnnamedSchemaRef161,
- UnnamedSchemaRef162,
- UnnamedSchemaRef163,
- UnnamedSchemaRef169,
- UnnamedSchemaRef170,
- UnnamedSchemaRef171,
- UnnamedSchemaRef173,
- UnnamedSchemaRef2,
- UnnamedSchemaRef22,
- UnnamedSchemaRef23,
- UnnamedSchemaRef24,
- UnnamedSchemaRef25,
- UnnamedSchemaRef28,
- UnnamedSchemaRef3,
- UnnamedSchemaRef34,
- UnnamedSchemaRef35,
- UnnamedSchemaRef36,
- UnnamedSchemaRef37,
- UnnamedSchemaRef38,
- UnnamedSchemaRef39,
- UnnamedSchemaRef4,
- UnnamedSchemaRef40,
- UnnamedSchemaRef41,
- UnnamedSchemaRef43,
- UnnamedSchemaRef44,
- UnnamedSchemaRef46,
- UnnamedSchemaRef49,
- UnnamedSchemaRef5,
- UnnamedSchemaRef51,
- UnnamedSchemaRef52,
- UnnamedSchemaRef57,
- UnnamedSchemaRef59,
- UnnamedSchemaRef61,
- UnnamedSchemaRef62,
- UnnamedSchemaRef63,
- UnnamedSchemaRef65,
- UnnamedSchemaRef69,
- UnnamedSchemaRef7,
- UnnamedSchemaRef71,
- UnnamedSchemaRef72,
- UnnamedSchemaRef73,
- UnnamedSchemaRef75,
- UnnamedSchemaRef76,
- UnnamedSchemaRef77,
- UnnamedSchemaRef78,
- UnnamedSchemaRef79,
- UnnamedSchemaRef8,
- UnnamedSchemaRef80,
- UnnamedSchemaRef81,
- UnnamedSchemaRef82,
- UnnamedSchemaRef83,
- UnnamedSchemaRef84,
- UnnamedSchemaRef85,
- UnnamedSchemaRef87,
- UnnamedSchemaRef88,
- UnnamedSchemaRef89,
- UnnamedSchemaRef9,
- UnnamedSchemaRef90,
- UnnamedSchemaRef91,
- UnnamedSchemaRef92,
- UnnamedSchemaRef93,
- UnnamedSchemaRef94,
- UnnamedSchemaRef96,
- UnnamedSchemaRef97,
- UnnamedSchemaRef98,
- UnnamedSchemaRef99,
+ UnnamedSchemaRef025497b7e63379c31929636b5186e45c,
+ UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9,
+ UnnamedSchemaRef23001f1f0b697900e282236466a95fa3,
+ UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
+ UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
+ UnnamedSchemaRef5cf232a1d651060af6450ae882932776,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef619309774d07ec6904f1e354560d6028,
+ UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1,
+ UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151,
+ UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c,
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+ UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6,
+ UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b,
+ UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6,
+ UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854,
+ UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
+ UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2,
+ UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
+ UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
+ UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572,
)
```
@@ -129,14 +36,14 @@ from cloudflare.types import (
Types:
```python
-from cloudflare.types import Account, AccountUpdateResponse, AccountListResponse, AccountGetResponse
+from cloudflare.types import Account, AccountListResponse
```
Methods:
-- client.accounts.update(\*, account_id, \*\*params) -> AccountUpdateResponse
+- client.accounts.update(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.accounts.list(\*\*params) -> SyncV4PagePaginationArray[object]
-- client.accounts.get(\*, account_id) -> AccountGetResponse
+- client.accounts.get(\*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Members
@@ -165,33 +72,28 @@ Methods:
Types:
```python
-from cloudflare.types.accounts import PermissionGrant, Role, RoleListResponse, RoleGetResponse
+from cloudflare.types.accounts import PermissionGrant, Role, RoleListResponse
```
Methods:
- client.accounts.roles.list(\*, account_id) -> SyncSinglePage[RoleListResponse]
-- client.accounts.roles.get(role_id, \*, account_id) -> RoleGetResponse
+- client.accounts.roles.get(role_id, \*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# OriginCACertificates
Types:
```python
-from cloudflare.types import (
- OriginCACertificate,
- OriginCACertificateCreateResponse,
- OriginCACertificateDeleteResponse,
- OriginCACertificateGetResponse,
-)
+from cloudflare.types import OriginCACertificate
```
Methods:
-- client.origin_ca_certificates.create(\*\*params) -> OriginCACertificateCreateResponse
+- client.origin_ca_certificates.create(\*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.origin_ca_certificates.list(\*\*params) -> SyncSinglePage[OriginCACertificate]
-- client.origin_ca_certificates.delete(certificate_id, \*\*params) -> OriginCACertificateDeleteResponse
-- client.origin_ca_certificates.get(certificate_id) -> OriginCACertificateGetResponse
+- client.origin_ca_certificates.delete(certificate_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.origin_ca_certificates.get(certificate_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# IPs
@@ -210,33 +112,28 @@ Methods:
Types:
```python
-from cloudflare.types import (
- Membership,
- MembershipUpdateResponse,
- MembershipDeleteResponse,
- MembershipGetResponse,
-)
+from cloudflare.types import Membership, MembershipDeleteResponse
```
Methods:
-- client.memberships.update(membership_id, \*\*params) -> MembershipUpdateResponse
+- client.memberships.update(membership_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.memberships.list(\*\*params) -> SyncV4PagePaginationArray[Membership]
- client.memberships.delete(membership_id, \*\*params) -> MembershipDeleteResponse
-- client.memberships.get(membership_id) -> MembershipGetResponse
+- client.memberships.get(membership_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# UserResource
Types:
```python
-from cloudflare.types import User, UserEditResponse, UserGetResponse
+from cloudflare.types import User
```
Methods:
-- client.user.edit(\*\*params) -> UserEditResponse
-- client.user.get() -> UserGetResponse
+- client.user.edit(\*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.user.get() -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## AuditLogs
@@ -266,15 +163,9 @@ Methods:
### Profile
-Types:
-
-```python
-from cloudflare.types.user.billing import ProfileGetResponse
-```
-
Methods:
-- client.user.billing.profile.get() -> ProfileGetResponse
+- client.user.billing.profile.get() -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Firewall
@@ -298,14 +189,14 @@ Methods:
Types:
```python
-from cloudflare.types.user import Invite, InviteListResponse, InviteEditResponse, InviteGetResponse
+from cloudflare.types.user import Invite, InviteListResponse
```
Methods:
- client.user.invites.list() -> SyncSinglePage[InviteListResponse]
-- client.user.invites.edit(invite_id, \*\*params) -> InviteEditResponse
-- client.user.invites.get(invite_id) -> InviteGetResponse
+- client.user.invites.edit(invite_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.user.invites.get(invite_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## LoadBalancers
@@ -390,33 +281,28 @@ Methods:
Types:
```python
-from cloudflare.types.user import Organization, OrganizationDeleteResponse, OrganizationGetResponse
+from cloudflare.types.user import Organization, OrganizationDeleteResponse
```
Methods:
- client.user.organizations.list(\*\*params) -> SyncV4PagePaginationArray[Organization]
- client.user.organizations.delete(organization_id, \*\*params) -> OrganizationDeleteResponse
-- client.user.organizations.get(organization_id) -> OrganizationGetResponse
+- client.user.organizations.get(organization_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Subscriptions
Types:
```python
-from cloudflare.types.user import (
- Subscription,
- SubscriptionUpdateResponse,
- SubscriptionEditResponse,
- SubscriptionGetResponse,
-)
+from cloudflare.types.user import Subscription, SubscriptionDeleteResponse, SubscriptionGetResponse
```
Methods:
-- client.user.subscriptions.update(identifier, \*\*params) -> SubscriptionUpdateResponse
-- client.user.subscriptions.delete(identifier, \*\*params) -> UnnamedSchemaRef3
-- client.user.subscriptions.edit(identifier, \*\*params) -> SubscriptionEditResponse
+- client.user.subscriptions.update(identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.user.subscriptions.delete(identifier, \*\*params) -> SubscriptionDeleteResponse
+- client.user.subscriptions.edit(identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.user.subscriptions.get() -> Optional
## Tokens
@@ -426,10 +312,8 @@ Types:
```python
from cloudflare.types.user import (
TokenCreateResponse,
- TokenUpdateResponse,
TokenListResponse,
TokenDeleteResponse,
- TokenGetResponse,
TokenVerifyResponse,
)
```
@@ -437,10 +321,10 @@ from cloudflare.types.user import (
Methods:
- client.user.tokens.create(\*\*params) -> TokenCreateResponse
-- client.user.tokens.update(token_id, \*\*params) -> TokenUpdateResponse
+- client.user.tokens.update(token_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.user.tokens.list(\*\*params) -> SyncV4PagePaginationArray[object]
- client.user.tokens.delete(token_id, \*\*params) -> Optional
-- client.user.tokens.get(token_id) -> TokenGetResponse
+- client.user.tokens.get(token_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.user.tokens.verify() -> TokenVerifyResponse
### PermissionGroups
@@ -929,6 +813,7 @@ Types:
```python
from cloudflare.types.zones.settings import (
+ UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa,
OriginMaxHTTPVersionEditResponse,
OriginMaxHTTPVersionGetResponse,
)
@@ -1188,44 +1073,32 @@ Methods:
## CustomNameservers
-Types:
-
-```python
-from cloudflare.types.zones import CustomNameserverUpdateResponse, CustomNameserverGetResponse
-```
-
Methods:
-- client.zones.custom_nameservers.update(\*, zone_id, \*\*params) -> Optional
-- client.zones.custom_nameservers.get(\*, zone_id) -> Optional
+- client.zones.custom_nameservers.update(\*, zone_id, \*\*params) -> Optional
+- client.zones.custom_nameservers.get(\*, zone_id) -> Optional
## Holds
Types:
```python
-from cloudflare.types.zones import UnnamedSchemaRef64, HoldCreateResponse, HoldGetResponse
+from cloudflare.types.zones import UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820
```
Methods:
-- client.zones.holds.create(\*, zone_id, \*\*params) -> HoldCreateResponse
-- client.zones.holds.delete(\*, zone_id, \*\*params) -> Optional
-- client.zones.holds.get(\*, zone_id) -> HoldGetResponse
+- client.zones.holds.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820
+- client.zones.holds.delete(\*, zone_id, \*\*params) -> Optional
+- client.zones.holds.get(\*, zone_id) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820
## Workers
### Script
-Types:
-
-```python
-from cloudflare.types.zones.workers import ScriptUpdateResponse
-```
-
Methods:
-- client.zones.workers.script.update(\*, zone_id, \*\*params) -> ScriptUpdateResponse
+- client.zones.workers.script.update(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zones.workers.script.delete(\*, zone_id, \*\*params) -> None
- client.zones.workers.script.get(\*, zone_id) -> BinaryAPIResponse
@@ -1234,25 +1107,25 @@ Methods:
Types:
```python
-from cloudflare.types.zones import (
- SubscriptionCreateResponse,
- SubscriptionListResponse,
- SubscriptionGetResponse,
-)
+from cloudflare.types.zones import SubscriptionListResponse
```
Methods:
-- client.zones.subscriptions.create(identifier, \*\*params) -> SubscriptionCreateResponse
+- client.zones.subscriptions.create(identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zones.subscriptions.list(account_identifier) -> SyncSinglePage[SubscriptionListResponse]
-- client.zones.subscriptions.get(identifier) -> SubscriptionGetResponse
+- client.zones.subscriptions.get(identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# LoadBalancers
Types:
```python
-from cloudflare.types import LoadBalancer, UnnamedSchemaRef112, LoadBalancerDeleteResponse
+from cloudflare.types import (
+ LoadBalancer,
+ UnnamedSchemaRef06ba14ec7860c091efc98fd9af30f382,
+ LoadBalancerDeleteResponse,
+)
```
Methods:
@@ -1358,12 +1231,12 @@ Methods:
Types:
```python
-from cloudflare.types.load_balancers import RegionListResponse, RegionGetResponse
+from cloudflare.types.load_balancers import RegionGetResponse
```
Methods:
-- client.load_balancers.regions.list(\*, account_id, \*\*params) -> RegionListResponse
+- client.load_balancers.regions.list(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.load_balancers.regions.get(region_id, \*, account_id) -> RegionGetResponse
## Searches
@@ -1396,6 +1269,8 @@ Types:
```python
from cloudflare.types.cache import (
+ UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d,
+ UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad,
CacheReserveClearResponse,
CacheReserveEditResponse,
CacheReserveGetResponse,
@@ -1412,28 +1287,23 @@ Methods:
## SmartTieredCache
-Types:
-
-```python
-from cloudflare.types.cache import (
- SmartTieredCacheDeleteResponse,
- SmartTieredCacheEditResponse,
- SmartTieredCacheGetResponse,
-)
-```
-
Methods:
-- client.cache.smart_tiered_cache.delete(\*, zone_id, \*\*params) -> SmartTieredCacheDeleteResponse
-- client.cache.smart_tiered_cache.edit(\*, zone_id, \*\*params) -> SmartTieredCacheEditResponse
-- client.cache.smart_tiered_cache.get(\*, zone_id) -> SmartTieredCacheGetResponse
+- client.cache.smart_tiered_cache.delete(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.cache.smart_tiered_cache.edit(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.cache.smart_tiered_cache.get(\*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Variants
Types:
```python
-from cloudflare.types.cache import CacheVariants, VariantEditResponse, VariantGetResponse
+from cloudflare.types.cache import (
+ CacheVariants,
+ UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0,
+ VariantEditResponse,
+ VariantGetResponse,
+)
```
Methods:
@@ -1447,7 +1317,11 @@ Methods:
Types:
```python
-from cloudflare.types.cache import RegionalTieredCacheEditResponse, RegionalTieredCacheGetResponse
+from cloudflare.types.cache import (
+ UnnamedSchemaRef6535d2df7d4d089d21166bd140651307,
+ RegionalTieredCacheEditResponse,
+ RegionalTieredCacheGetResponse,
+)
```
Methods:
@@ -1459,35 +1333,24 @@ Methods:
## Analyze
-Types:
-
-```python
-from cloudflare.types.ssl import AnalyzeCreateResponse
-```
-
Methods:
-- client.ssl.analyze.create(\*, zone_id, \*\*params) -> AnalyzeCreateResponse
+- client.ssl.analyze.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## CertificatePacks
Types:
```python
-from cloudflare.types.ssl import (
- CertificatePackListResponse,
- CertificatePackDeleteResponse,
- CertificatePackEditResponse,
- CertificatePackGetResponse,
-)
+from cloudflare.types.ssl import CertificatePackListResponse, CertificatePackEditResponse
```
Methods:
- client.ssl.certificate_packs.list(\*, zone_id, \*\*params) -> SyncSinglePage[object]
-- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackDeleteResponse
+- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
- client.ssl.certificate_packs.edit(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackEditResponse
-- client.ssl.certificate_packs.get(certificate_pack_id, \*, zone_id) -> CertificatePackGetResponse
+- client.ssl.certificate_packs.get(certificate_pack_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
### Order
@@ -1562,21 +1425,16 @@ Methods:
Types:
```python
-from cloudflare.types import (
- SubscriptionCreateResponse,
- SubscriptionUpdateResponse,
- SubscriptionListResponse,
- SubscriptionGetResponse,
-)
+from cloudflare.types import SubscriptionListResponse, SubscriptionDeleteResponse
```
Methods:
-- client.subscriptions.create(identifier, \*\*params) -> SubscriptionCreateResponse
-- client.subscriptions.update(subscription_identifier, \*, account_identifier, \*\*params) -> SubscriptionUpdateResponse
+- client.subscriptions.create(identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.subscriptions.update(subscription_identifier, \*, account_identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.subscriptions.list(account_identifier) -> SyncSinglePage[SubscriptionListResponse]
-- client.subscriptions.delete(subscription_identifier, \*, account_identifier, \*\*params) -> UnnamedSchemaRef3
-- client.subscriptions.get(identifier) -> SubscriptionGetResponse
+- client.subscriptions.delete(subscription_identifier, \*, account_identifier, \*\*params) -> SubscriptionDeleteResponse
+- client.subscriptions.get(identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# ACM
@@ -1597,29 +1455,17 @@ Methods:
## SmartRouting
-Types:
-
-```python
-from cloudflare.types.argo import SmartRoutingEditResponse, SmartRoutingGetResponse
-```
-
Methods:
-- client.argo.smart_routing.edit(\*, zone_id, \*\*params) -> SmartRoutingEditResponse
-- client.argo.smart_routing.get(\*, zone_id) -> SmartRoutingGetResponse
+- client.argo.smart_routing.edit(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.argo.smart_routing.get(\*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## TieredCaching
-Types:
-
-```python
-from cloudflare.types.argo import TieredCachingEditResponse, TieredCachingGetResponse
-```
-
Methods:
-- client.argo.tiered_caching.edit(\*, zone_id, \*\*params) -> TieredCachingEditResponse
-- client.argo.tiered_caching.get(\*, zone_id) -> TieredCachingGetResponse
+- client.argo.tiered_caching.edit(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.argo.tiered_caching.get(\*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# Plans
@@ -1686,22 +1532,16 @@ Methods:
Types:
```python
-from cloudflare.types import (
- CustomCertificate,
- CustomCertificateCreateResponse,
- CustomCertificateDeleteResponse,
- CustomCertificateEditResponse,
- CustomCertificateGetResponse,
-)
+from cloudflare.types import CustomCertificate
```
Methods:
-- client.custom_certificates.create(\*, zone_id, \*\*params) -> CustomCertificateCreateResponse
+- 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) -> CustomCertificateDeleteResponse
-- client.custom_certificates.edit(custom_certificate_id, \*, zone_id, \*\*params) -> CustomCertificateEditResponse
-- client.custom_certificates.get(custom_certificate_id, \*, zone_id) -> CustomCertificateGetResponse
+- client.custom_certificates.delete(custom_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
+- client.custom_certificates.edit(custom_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.custom_certificates.get(custom_certificate_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Prioritize
@@ -1722,10 +1562,12 @@ Types:
```python
from cloudflare.types import (
CustomHostname,
- UnnamedSchemaRef60,
+ UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
+ UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510,
+ UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1,
+ UnnamedSchemaRefD2a16d7ee1ad3a888dd5821c918d51fd,
CustomHostnameCreateResponse,
CustomHostnameListResponse,
- CustomHostnameDeleteResponse,
CustomHostnameEditResponse,
CustomHostnameGetResponse,
)
@@ -1735,27 +1577,17 @@ Methods:
- client.custom_hostnames.create(\*, zone_id, \*\*params) -> CustomHostnameCreateResponse
- client.custom_hostnames.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[CustomHostnameListResponse]
-- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostnameDeleteResponse
+- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
- client.custom_hostnames.edit(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostnameEditResponse
- client.custom_hostnames.get(custom_hostname_id, \*, zone_id) -> CustomHostnameGetResponse
## FallbackOrigin
-Types:
-
-```python
-from cloudflare.types.custom_hostnames import (
- FallbackOriginUpdateResponse,
- FallbackOriginDeleteResponse,
- FallbackOriginGetResponse,
-)
-```
-
Methods:
-- client.custom_hostnames.fallback_origin.update(\*, zone_id, \*\*params) -> FallbackOriginUpdateResponse
-- client.custom_hostnames.fallback_origin.delete(\*, zone_id, \*\*params) -> FallbackOriginDeleteResponse
-- client.custom_hostnames.fallback_origin.get(\*, zone_id) -> FallbackOriginGetResponse
+- client.custom_hostnames.fallback_origin.update(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.custom_hostnames.fallback_origin.delete(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.custom_hostnames.fallback_origin.get(\*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# CustomNameservers
@@ -1764,7 +1596,6 @@ Types:
```python
from cloudflare.types import (
CustomNameserver,
- CustomNameserverDeleteResponse,
CustomNameserverAvailabiltyResponse,
CustomNameserverGetResponse,
CustomNameserverVerifyResponse,
@@ -1774,13 +1605,23 @@ from cloudflare.types import (
Methods:
- client.custom_nameservers.create(\*, account_id, \*\*params) -> CustomNameserver
-- client.custom_nameservers.delete(custom_ns_id, \*, account_id, \*\*params) -> Optional
+- client.custom_nameservers.delete(custom_ns_id, \*, account_id, \*\*params) -> Optional
- client.custom_nameservers.availabilty(\*, account_id) -> Optional
- client.custom_nameservers.get(\*, account_id) -> Optional
- client.custom_nameservers.verify(\*, account_id, \*\*params) -> Optional
# DNS
+Types:
+
+```python
+from cloudflare.types import (
+ UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba,
+ UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca,
+ UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2,
+)
+```
+
## Records
Types:
@@ -1788,6 +1629,9 @@ Types:
```python
from cloudflare.types.dns import (
DNSRecord,
+ UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb,
+ UnnamedSchemaRef186756a742f85f535cb7bfb2d03b2b8c,
+ UnnamedSchemaRef2f895e023ae55b55d2f5925449b819cd,
RecordDeleteResponse,
RecordExportResponse,
RecordImportResponse,
@@ -1838,7 +1682,11 @@ Methods:
Types:
```python
-from cloudflare.types.dns import DNSFirewall, UnnamedSchemaRef21, FirewallDeleteResponse
+from cloudflare.types.dns import (
+ DNSFirewall,
+ UnnamedSchemaRef7a0f93d9e1afc3221d2a57b7bab16955,
+ FirewallDeleteResponse,
+)
```
Methods:
@@ -1873,7 +1721,7 @@ from cloudflare.types import DNSSEC
Methods:
-- client.dnssec.delete(\*, zone_id, \*\*params) -> UnnamedSchemaRef49
+- client.dnssec.delete(\*, zone_id, \*\*params) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
- client.dnssec.edit(\*, zone_id, \*\*params) -> DNSSEC
- client.dnssec.get(\*, zone_id) -> DNSSEC
@@ -1970,7 +1818,11 @@ Methods:
Types:
```python
-from cloudflare.types import FirewallFilter, FilterCreateResponse
+from cloudflare.types import (
+ FirewallFilter,
+ UnnamedSchemaRef39af4f78d23244e2595fb47c811221df,
+ FilterCreateResponse,
+)
```
Methods:
@@ -1990,7 +1842,7 @@ Types:
```python
from cloudflare.types.firewall import (
FirewallZoneLockdown,
- UnnamedSchemaRef54,
+ UnnamedSchemaRefA4044d3c73ad1e6c8fff4dc05f922ab5,
LockdownDeleteResponse,
)
```
@@ -2008,7 +1860,13 @@ Methods:
Types:
```python
-from cloudflare.types.firewall import FirewallFilterRule, RuleCreateResponse, RuleEditResponse
+from cloudflare.types.firewall import (
+ FirewallFilterRule,
+ UnnamedSchemaRef6fe6c1eba94d9c3f475fb22f0118bf57,
+ UnnamedSchemaRefAb48d2d33259c9107401d174735701c7,
+ RuleCreateResponse,
+ RuleEditResponse,
+)
```
Methods:
@@ -2030,11 +1888,11 @@ from cloudflare.types.firewall import AccessRuleListResponse, AccessRuleDeleteRe
Methods:
-- client.firewall.access_rules.create(\*, account_id, zone_id, \*\*params) -> Optional
+- client.firewall.access_rules.create(\*, account_id, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.firewall.access_rules.list(\*, account_id, zone_id, \*\*params) -> SyncV4PagePaginationArray[object]
- client.firewall.access_rules.delete(identifier, \*, account_id, zone_id, \*\*params) -> Optional
-- client.firewall.access_rules.edit(identifier, \*, account_id, zone_id, \*\*params) -> Optional
-- client.firewall.access_rules.get(identifier, \*, account_id, zone_id) -> Optional
+- client.firewall.access_rules.edit(identifier, \*, account_id, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.firewall.access_rules.get(identifier, \*, account_id, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## UARules
@@ -2050,11 +1908,11 @@ from cloudflare.types.firewall import (
Methods:
-- client.firewall.ua_rules.create(zone_identifier, \*\*params) -> Optional
-- client.firewall.ua_rules.update(id, \*, zone_identifier, \*\*params) -> Optional
+- client.firewall.ua_rules.create(zone_identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.firewall.ua_rules.update(id, \*, zone_identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.firewall.ua_rules.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[UARuleListResponse]
- client.firewall.ua_rules.delete(id, \*, zone_identifier, \*\*params) -> Optional
-- client.firewall.ua_rules.get(id, \*, zone_identifier) -> Optional
+- client.firewall.ua_rules.get(id, \*, zone_identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## WAF
@@ -2063,7 +1921,11 @@ Methods:
Types:
```python
-from cloudflare.types.firewall.waf import UnnamedSchemaRef55, WAFOverride, OverrideDeleteResponse
+from cloudflare.types.firewall.waf import (
+ UnnamedSchemaRefA9cc7506f87ce3d646e3794e609120a1,
+ WAFOverride,
+ OverrideDeleteResponse,
+)
```
Methods:
@@ -2092,18 +1954,14 @@ Methods:
Types:
```python
-from cloudflare.types.firewall.waf.packages import (
- WAFManagedRulesGroup,
- GroupEditResponse,
- GroupGetResponse,
-)
+from cloudflare.types.firewall.waf.packages import WAFManagedRulesGroup
```
Methods:
- client.firewall.waf.packages.groups.list(package_id, \*, zone_id, \*\*params) -> SyncV4PagePaginationArray[WAFManagedRulesGroup]
-- client.firewall.waf.packages.groups.edit(group_id, \*, zone_id, package_id, \*\*params) -> GroupEditResponse
-- client.firewall.waf.packages.groups.get(group_id, \*, zone_id, package_id) -> GroupGetResponse
+- client.firewall.waf.packages.groups.edit(group_id, \*, zone_id, package_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.firewall.waf.packages.groups.get(group_id, \*, zone_id, package_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
#### Rules
@@ -2111,9 +1969,9 @@ Types:
```python
from cloudflare.types.firewall.waf.packages import (
+ UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5,
WAFManagedRulesRule,
RuleEditResponse,
- RuleGetResponse,
)
```
@@ -2121,14 +1979,18 @@ Methods:
- client.firewall.waf.packages.rules.list(package_id, \*, zone_id, \*\*params) -> SyncV4PagePaginationArray[WAFManagedRulesRule]
- client.firewall.waf.packages.rules.edit(rule_id, \*, zone_id, package_id, \*\*params) -> RuleEditResponse
-- client.firewall.waf.packages.rules.get(rule_id, \*, zone_id, package_id) -> RuleGetResponse
+- client.firewall.waf.packages.rules.get(rule_id, \*, zone_id, package_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# Healthchecks
Types:
```python
-from cloudflare.types import Healthcheck, UnnamedSchemaRef141, HealthcheckDeleteResponse
+from cloudflare.types import (
+ Healthcheck,
+ UnnamedSchemaRefAaa560acadcbf1ae1dc619ba1ea5948e,
+ HealthcheckDeleteResponse,
+)
```
Methods:
@@ -2162,8 +2024,7 @@ Types:
from cloudflare.types import (
KeylessCertificate,
KeylessCertificateHostname,
- UnnamedSchemaRef66,
- KeylessCertificateDeleteResponse,
+ UnnamedSchemaRefA91f0bd72ee433f010eecfdc94ccf298,
)
```
@@ -2171,7 +2032,7 @@ Methods:
- client.keyless_certificates.create(\*, zone_id, \*\*params) -> KeylessCertificateHostname
- client.keyless_certificates.list(\*, zone_id) -> SyncSinglePage[KeylessCertificateHostname]
-- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id, \*\*params) -> KeylessCertificateDeleteResponse
+- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
- client.keyless_certificates.edit(keyless_certificate_id, \*, zone_id, \*\*params) -> KeylessCertificateHostname
- client.keyless_certificates.get(keyless_certificate_id, \*, zone_id) -> KeylessCertificateHostname
@@ -2221,7 +2082,7 @@ Methods:
Types:
```python
-from cloudflare.types.logpush import UnnamedSchemaRef74
+from cloudflare.types.logpush import UnnamedSchemaRef2f2e9d7fbcc0e6856257a03a1dbbdfb5
```
Methods:
@@ -2229,7 +2090,7 @@ Methods:
- client.logpush.jobs.create(\*, account_id, zone_id, \*\*params) -> Optional
- client.logpush.jobs.update(job_id, \*, account_id, zone_id, \*\*params) -> Optional
- client.logpush.jobs.list(\*, account_id, zone_id) -> SyncSinglePage[Optional]
-- client.logpush.jobs.delete(job_id, \*, account_id, zone_id, \*\*params) -> Optional
+- client.logpush.jobs.delete(job_id, \*, account_id, zone_id, \*\*params) -> Optional
- client.logpush.jobs.get(job_id, \*, account_id, zone_id) -> Optional
## Ownership
@@ -2237,13 +2098,13 @@ Methods:
Types:
```python
-from cloudflare.types.logpush import OwnershipCreateResponse, OwnershipValidateResponse
+from cloudflare.types.logpush import OwnershipCreateResponse
```
Methods:
- client.logpush.ownership.create(\*, account_id, zone_id, \*\*params) -> Optional
-- client.logpush.ownership.validate(\*, account_id, zone_id, \*\*params) -> Optional
+- client.logpush.ownership.validate(\*, account_id, zone_id, \*\*params) -> Optional
## Validate
@@ -2290,32 +2151,20 @@ from cloudflare.types.logs.control.cmb import CmbConfig
Methods:
- client.logs.control.cmb.config.create(\*, account_id, \*\*params) -> Optional
-- client.logs.control.cmb.config.delete(\*, account_id, \*\*params) -> Optional
+- client.logs.control.cmb.config.delete(\*, account_id, \*\*params) -> Optional
- client.logs.control.cmb.config.get(\*, account_id) -> Optional
## RayID
-Types:
-
-```python
-from cloudflare.types.logs import RayIDGetResponse
-```
-
Methods:
-- client.logs.rayid.get(ray_identifier, \*, zone_identifier, \*\*params) -> RayIDGetResponse
+- client.logs.rayid.get(ray_identifier, \*, zone_identifier, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
## Received
-Types:
-
-```python
-from cloudflare.types.logs import ReceivedGetResponse
-```
-
Methods:
-- client.logs.received.get(zone_identifier, \*\*params) -> ReceivedGetResponse
+- client.logs.received.get(zone_identifier, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
### Fields
@@ -2336,19 +2185,16 @@ Types:
```python
from cloudflare.types import (
OriginTLSClientCertificateZoneAuthenticatedOriginPull,
- OriginTLSClientAuthCreateResponse,
OriginTLSClientAuthListResponse,
- OriginTLSClientAuthDeleteResponse,
- OriginTLSClientAuthGetResponse,
)
```
Methods:
-- client.origin_tls_client_auth.create(\*, zone_id, \*\*params) -> OriginTLSClientAuthCreateResponse
+- client.origin_tls_client_auth.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.origin_tls_client_auth.list(\*, zone_id) -> SyncSinglePage[OriginTLSClientAuthListResponse]
-- client.origin_tls_client_auth.delete(certificate_id, \*, zone_id, \*\*params) -> OriginTLSClientAuthDeleteResponse
-- client.origin_tls_client_auth.get(certificate_id, \*, zone_id) -> OriginTLSClientAuthGetResponse
+- client.origin_tls_client_auth.delete(certificate_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.origin_tls_client_auth.get(certificate_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Hostnames
@@ -2374,7 +2220,7 @@ Types:
```python
from cloudflare.types.origin_tls_client_auth.hostnames import (
OriginTLSClientCertificate,
- UnnamedSchemaRef67,
+ UnnamedSchemaRefD182888b36f93a765d9ce5aefa3009e9,
)
```
@@ -2403,26 +2249,17 @@ Methods:
Types:
```python
-from cloudflare.types import (
- UnnamedSchemaRef68,
- ZonesPagerule,
- PageruleCreateResponse,
- PageruleUpdateResponse,
- PageruleListResponse,
- PageruleDeleteResponse,
- PageruleEditResponse,
- PageruleGetResponse,
-)
+from cloudflare.types import ZonesPagerule, PageruleListResponse, PageruleDeleteResponse
```
Methods:
-- client.pagerules.create(\*, zone_id, \*\*params) -> PageruleCreateResponse
-- client.pagerules.update(pagerule_id, \*, zone_id, \*\*params) -> PageruleUpdateResponse
+- client.pagerules.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.pagerules.update(pagerule_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.pagerules.list(\*, zone_id, \*\*params) -> PageruleListResponse
- client.pagerules.delete(pagerule_id, \*, zone_id, \*\*params) -> Optional
-- client.pagerules.edit(pagerule_id, \*, zone_id, \*\*params) -> PageruleEditResponse
-- client.pagerules.get(pagerule_id, \*, zone_id) -> PageruleGetResponse
+- client.pagerules.edit(pagerule_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.pagerules.get(pagerule_id, \*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Settings
@@ -2446,11 +2283,11 @@ from cloudflare.types import RateLimit, RateLimitListResponse, RateLimitDeleteRe
Methods:
-- client.rate_limits.create(zone_identifier, \*\*params) -> Optional
+- client.rate_limits.create(zone_identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.rate_limits.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[RateLimitListResponse]
- client.rate_limits.delete(id, \*, zone_identifier, \*\*params) -> Optional
-- client.rate_limits.edit(id, \*, zone_identifier, \*\*params) -> Optional
-- client.rate_limits.get(id, \*, zone_identifier) -> Optional
+- client.rate_limits.edit(id, \*, zone_identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.rate_limits.get(id, \*, zone_identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# SecondaryDNS
@@ -2472,6 +2309,7 @@ Types:
```python
from cloudflare.types.secondary_dns import (
+ UnnamedSchemaRef150c555e27f53dbb40cdce4d6644ff0a,
IncomingCreateResponse,
IncomingUpdateResponse,
IncomingDeleteResponse,
@@ -2494,7 +2332,8 @@ Types:
from cloudflare.types.secondary_dns import (
SecondaryDNSDisableTransfer,
SecondaryDNSEnableTransfer,
- UnnamedSchemaRef70,
+ UnnamedSchemaRef0e152c3e4c55b8a0ca6531578a42c564,
+ UnnamedSchemaRefBf34e74a34c9a2f63d85505dc69d4adc,
OutgoingCreateResponse,
OutgoingUpdateResponse,
OutgoingDeleteResponse,
@@ -2524,7 +2363,11 @@ Methods:
Types:
```python
-from cloudflare.types.secondary_dns import SecondaryDNSACL, UnnamedSchemaRef45, ACLDeleteResponse
+from cloudflare.types.secondary_dns import (
+ SecondaryDNSACL,
+ UnnamedSchemaRef08eaa2f22bb9ce0f80063d710d4edafd,
+ ACLDeleteResponse,
+)
```
Methods:
@@ -2540,7 +2383,11 @@ Methods:
Types:
```python
-from cloudflare.types.secondary_dns import SecondaryDNSPeer, UnnamedSchemaRef47, PeerDeleteResponse
+from cloudflare.types.secondary_dns import (
+ SecondaryDNSPeer,
+ UnnamedSchemaRefBc727f0a53d75f2b531245a82603fbe0,
+ PeerDeleteResponse,
+)
```
Methods:
@@ -2556,7 +2403,11 @@ Methods:
Types:
```python
-from cloudflare.types.secondary_dns import SecondaryDNSTSIG, UnnamedSchemaRef48, TSIGDeleteResponse
+from cloudflare.types.secondary_dns import (
+ SecondaryDNSTSIG,
+ UnnamedSchemaRefC3d6ffaf5dde0c570eaa72462c2ee738,
+ TSIGDeleteResponse,
+)
```
Methods:
@@ -2572,7 +2423,11 @@ Methods:
Types:
```python
-from cloudflare.types import WaitingRoom, WaitingRoomDeleteResponse
+from cloudflare.types import (
+ UnnamedSchemaRefA282afe149b2cf60a204505bd4c53324,
+ WaitingRoom,
+ WaitingRoomDeleteResponse,
+)
```
Methods:
@@ -2601,7 +2456,11 @@ Methods:
Types:
```python
-from cloudflare.types.waiting_rooms import WaitingroomEvent, EventDeleteResponse
+from cloudflare.types.waiting_rooms import (
+ UnnamedSchemaRef229c159575bc68a9c21f5a1615629cf6,
+ WaitingroomEvent,
+ EventDeleteResponse,
+)
```
Methods:
@@ -2631,6 +2490,7 @@ Types:
```python
from cloudflare.types.waiting_rooms import (
+ UnnamedSchemaRefF1c0ba8f44601f2db2e07b9397b6c430,
WaitingroomRule,
RuleCreateResponse,
RuleUpdateResponse,
@@ -2665,6 +2525,7 @@ Types:
```python
from cloudflare.types.waiting_rooms import (
+ UnnamedSchemaRef59ecd22a3d62548e441274daec82ee7a,
SettingUpdateResponse,
SettingEditResponse,
SettingGetResponse,
@@ -2684,7 +2545,11 @@ Methods:
Types:
```python
-from cloudflare.types.web3 import DistributedWebHostname, UnnamedSchemaRef56, HostnameDeleteResponse
+from cloudflare.types.web3 import (
+ DistributedWebHostname,
+ UnnamedSchemaRef2e420942fb77cd2cd2ba3ca7b5f32e1e,
+ HostnameDeleteResponse,
+)
```
Methods:
@@ -2717,7 +2582,7 @@ Types:
```python
from cloudflare.types.web3.hostnames.ipfs_universal_paths.content_lists import (
DistributedWebConfigContentListEntry,
- UnnamedSchemaRef58,
+ UnnamedSchemaRef5e618833803e286db9ee7c73727f8b86,
EntryListResponse,
EntryDeleteResponse,
)
@@ -2777,7 +2642,11 @@ Methods:
Types:
```python
-from cloudflare.types.workers.scripts import ScheduleUpdateResponse, ScheduleGetResponse
+from cloudflare.types.workers.scripts import (
+ UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26,
+ ScheduleUpdateResponse,
+ ScheduleGetResponse,
+)
```
Methods:
@@ -2796,7 +2665,7 @@ from cloudflare.types.workers.scripts import TailCreateResponse, TailGetResponse
Methods:
- client.workers.scripts.tail.create(script_name, \*, account_id, \*\*params) -> TailCreateResponse
-- client.workers.scripts.tail.delete(id, \*, account_id, script_name, \*\*params) -> UnnamedSchemaRef171
+- client.workers.scripts.tail.delete(id, \*, account_id, script_name, \*\*params) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.workers.scripts.tail.get(script_name, \*, account_id) -> TailGetResponse
### UsageModel
@@ -2842,7 +2711,11 @@ Methods:
Types:
```python
-from cloudflare.types.workers.scripts import DeploymentCreateResponse, DeploymentGetResponse
+from cloudflare.types.workers.scripts import (
+ UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8,
+ DeploymentCreateResponse,
+ DeploymentGetResponse,
+)
```
Methods:
@@ -2901,15 +2774,15 @@ Methods:
Types:
```python
-from cloudflare.types.workers import WorkersRoute, RouteCreateResponse, RouteDeleteResponse
+from cloudflare.types.workers import WorkersRoute
```
Methods:
-- client.workers.routes.create(\*, zone_id, \*\*params) -> RouteCreateResponse
+- client.workers.routes.create(\*, zone_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.workers.routes.update(route_id, \*, zone_id, \*\*params) -> WorkersRoute
- client.workers.routes.list(\*, zone_id) -> SyncSinglePage[WorkersRoute]
-- client.workers.routes.delete(route_id, \*, zone_id, \*\*params) -> RouteDeleteResponse
+- client.workers.routes.delete(route_id, \*, zone_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.workers.routes.get(route_id, \*, zone_id) -> WorkersRoute
## AccountSettings
@@ -3010,28 +2883,22 @@ Methods:
Types:
```python
-from cloudflare.types.kv import WorkersKVNamespace, NamespaceUpdateResponse, NamespaceDeleteResponse
+from cloudflare.types.kv import WorkersKVNamespace
```
Methods:
- client.kv.namespaces.create(\*, account_id, \*\*params) -> WorkersKVNamespace
-- client.kv.namespaces.update(namespace_id, \*, account_id, \*\*params) -> NamespaceUpdateResponse
+- client.kv.namespaces.update(namespace_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.kv.namespaces.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[WorkersKVNamespace]
-- client.kv.namespaces.delete(namespace_id, \*, account_id, \*\*params) -> NamespaceDeleteResponse
+- client.kv.namespaces.delete(namespace_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
### Bulk
-Types:
-
-```python
-from cloudflare.types.kv.namespaces import BulkUpdateResponse, BulkDeleteResponse
-```
-
Methods:
-- client.kv.namespaces.bulk.update(namespace_id, \*, account_id, \*\*params) -> BulkUpdateResponse
-- client.kv.namespaces.bulk.delete(namespace_id, \*, account_id, \*\*params) -> BulkDeleteResponse
+- client.kv.namespaces.bulk.update(namespace_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+- client.kv.namespaces.bulk.delete(namespace_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
### Keys
@@ -3062,17 +2929,13 @@ Methods:
Types:
```python
-from cloudflare.types.kv.namespaces import (
- ValueUpdateResponse,
- ValueDeleteResponse,
- ValueGetResponse,
-)
+from cloudflare.types.kv.namespaces import ValueGetResponse
```
Methods:
-- client.kv.namespaces.values.update(key_name, \*, account_id, namespace_id, \*\*params) -> ValueUpdateResponse
-- client.kv.namespaces.values.delete(key_name, \*, account_id, namespace_id, \*\*params) -> ValueDeleteResponse
+- client.kv.namespaces.values.update(key_name, \*, account_id, namespace_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+- client.kv.namespaces.values.delete(key_name, \*, account_id, namespace_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.kv.namespaces.values.get(key_name, \*, account_id, namespace_id) -> str
# DurableObjects
@@ -3113,7 +2976,6 @@ from cloudflare.types import (
QueueCreateResponse,
QueueUpdateResponse,
QueueListResponse,
- QueueDeleteResponse,
QueueGetResponse,
)
```
@@ -3123,7 +2985,7 @@ Methods:
- client.queues.create(\*, account_id, \*\*params) -> Optional
- client.queues.update(queue_id, \*, account_id, \*\*params) -> Optional
- client.queues.list(\*, account_id) -> Optional
-- client.queues.delete(queue_id, \*, account_id, \*\*params) -> Optional
+- client.queues.delete(queue_id, \*, account_id, \*\*params) -> Optional
- client.queues.get(queue_id, \*, account_id) -> Optional
## Consumers
@@ -3133,9 +2995,9 @@ Types:
```python
from cloudflare.types.queues import (
Consumer,
+ UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5,
ConsumerCreateResponse,
ConsumerUpdateResponse,
- ConsumerDeleteResponse,
ConsumerGetResponse,
)
```
@@ -3144,7 +3006,7 @@ Methods:
- client.queues.consumers.create(queue_id, \*, account_id, \*\*params) -> Optional
- client.queues.consumers.update(consumer_id, \*, account_id, queue_id, \*\*params) -> Optional
-- client.queues.consumers.delete(consumer_id, \*, account_id, queue_id, \*\*params) -> Optional
+- client.queues.consumers.delete(consumer_id, \*, account_id, queue_id, \*\*params) -> Optional
- client.queues.consumers.get(queue_id, \*, account_id) -> Optional
## Messages
@@ -3234,7 +3096,6 @@ Types:
```python
from cloudflare.types import (
- Logging,
RulesetCreateResponse,
RulesetUpdateResponse,
RulesetListResponse,
@@ -3351,27 +3212,15 @@ Methods:
#### Bytimes
-Types:
-
-```python
-from cloudflare.types.spectrum.analytics.events import BytimeGetResponse
-```
-
Methods:
-- client.spectrum.analytics.events.bytimes.get(zone, \*\*params) -> Optional
+- client.spectrum.analytics.events.bytimes.get(zone, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
#### Summaries
-Types:
-
-```python
-from cloudflare.types.spectrum.analytics.events import SummaryGetResponse
-```
-
Methods:
-- client.spectrum.analytics.events.summaries.get(zone, \*\*params) -> Optional
+- client.spectrum.analytics.events.summaries.get(zone, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
## Apps
@@ -3392,7 +3241,7 @@ Methods:
- client.spectrum.apps.update(app_id, \*, zone, \*\*params) -> Optional
- client.spectrum.apps.list(zone, \*\*params) -> SyncV4PagePaginationArray[object]
- client.spectrum.apps.delete(app_id, \*, zone, \*\*params) -> Optional
-- client.spectrum.apps.get(app_id, \*, zone) -> Optional
+- client.spectrum.apps.get(app_id, \*, zone) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# Addressing
@@ -3416,7 +3265,6 @@ Types:
from cloudflare.types.addressing import (
AddressingAddressMaps,
AddressMapCreateResponse,
- AddressMapDeleteResponse,
AddressMapGetResponse,
)
```
@@ -3425,48 +3273,30 @@ Methods:
- client.addressing.address_maps.create(\*, account_id, \*\*params) -> AddressMapCreateResponse
- client.addressing.address_maps.list(\*, account_id) -> SyncSinglePage[AddressingAddressMaps]
-- client.addressing.address_maps.delete(address_map_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.delete(address_map_id, \*, account_id, \*\*params) -> Optional
- client.addressing.address_maps.edit(address_map_id, \*, account_id, \*\*params) -> AddressingAddressMaps
- client.addressing.address_maps.get(address_map_id, \*, account_id) -> AddressMapGetResponse
### Accounts
-Types:
-
-```python
-from cloudflare.types.addressing.address_maps import AccountUpdateResponse, AccountDeleteResponse
-```
-
Methods:
-- client.addressing.address_maps.accounts.update(address_map_id, \*, account_id, \*\*params) -> Optional
-- client.addressing.address_maps.accounts.delete(address_map_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.accounts.update(address_map_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.accounts.delete(address_map_id, \*, account_id, \*\*params) -> Optional
### IPs
-Types:
-
-```python
-from cloudflare.types.addressing.address_maps import IPUpdateResponse, IPDeleteResponse
-```
-
Methods:
-- client.addressing.address_maps.ips.update(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
-- client.addressing.address_maps.ips.delete(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
+- client.addressing.address_maps.ips.update(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
+- client.addressing.address_maps.ips.delete(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
### Zones
-Types:
-
-```python
-from cloudflare.types.addressing.address_maps import ZoneUpdateResponse, ZoneDeleteResponse
-```
-
Methods:
-- client.addressing.address_maps.zones.update(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
-- client.addressing.address_maps.zones.delete(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.zones.update(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.zones.delete(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
## LOADocuments
@@ -3499,8 +3329,7 @@ Types:
```python
from cloudflare.types.addressing import (
AddressingIpamPrefixes,
- UnnamedSchemaRef6,
- PrefixDeleteResponse,
+ UnnamedSchemaRefE358666e049bf8f9281c0a4f89b5fe46,
)
```
@@ -3508,7 +3337,7 @@ Methods:
- client.addressing.prefixes.create(\*, account_id, \*\*params) -> AddressingIpamPrefixes
- client.addressing.prefixes.list(\*, account_id) -> SyncSinglePage[AddressingIpamPrefixes]
-- client.addressing.prefixes.delete(prefix_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.prefixes.delete(prefix_id, \*, account_id, \*\*params) -> Optional
- client.addressing.prefixes.edit(prefix_id, \*, account_id, \*\*params) -> AddressingIpamPrefixes
- client.addressing.prefixes.get(prefix_id, \*, account_id) -> AddressingIpamPrefixes
@@ -3526,7 +3355,7 @@ Methods:
- client.addressing.prefixes.bgp.bindings.create(prefix_id, \*, account_id, \*\*params) -> AddressingServiceBinding
- client.addressing.prefixes.bgp.bindings.list(prefix_id, \*, account_id) -> SyncSinglePage[AddressingServiceBinding]
-- client.addressing.prefixes.bgp.bindings.delete(binding_id, \*, account_id, prefix_id) -> UnnamedSchemaRef171
+- client.addressing.prefixes.bgp.bindings.delete(binding_id, \*, account_id, prefix_id) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.addressing.prefixes.bgp.bindings.get(binding_id, \*, account_id, prefix_id) -> AddressingServiceBinding
#### Prefixes
@@ -3586,22 +3415,26 @@ Methods:
## Profiles
-Types:
-
-```python
-from cloudflare.types.billing import ProfileGetResponse
-```
-
Methods:
-- client.billing.profiles.get(account_identifier) -> ProfileGetResponse
+- client.billing.profiles.get(account_identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# BrandProtection
Types:
```python
-from cloudflare.types import IntelPhishingURLInfo, IntelPhishingURLSubmit
+from cloudflare.types import (
+ IntelPhishingURLInfo,
+ IntelPhishingURLSubmit,
+ UnnamedSchemaRef209db30ed499548152d6f3bccf720b54,
+ UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb,
+ UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8,
+ UnnamedSchemaRef44e66100b948bfe723054c56b6144766,
+ UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669,
+ UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014,
+ UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869,
+)
```
Methods:
@@ -3630,14 +3463,18 @@ Methods:
Types:
```python
-from cloudflare.types.images import Image, UnnamedSchemaRef31, V1ListResponse, V1DeleteResponse
+from cloudflare.types.images import (
+ Image,
+ UnnamedSchemaRefE8461c343d70f42d35d6d68f1a58d05a,
+ V1ListResponse,
+)
```
Methods:
- client.images.v1.create(\*, account_id, \*\*params) -> Image
- client.images.v1.list(\*, account_id, \*\*params) -> SyncV4PagePagination[V1ListResponse]
-- client.images.v1.delete(image_id, \*, account_id, \*\*params) -> V1DeleteResponse
+- client.images.v1.delete(image_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.images.v1.edit(image_id, \*, account_id, \*\*params) -> Image
- client.images.v1.get(image_id, \*, account_id) -> Image
@@ -3646,7 +3483,10 @@ Methods:
Types:
```python
-from cloudflare.types.images.v1 import ImagesImageKeys, UnnamedSchemaRef32
+from cloudflare.types.images.v1 import (
+ ImagesImageKeys,
+ UnnamedSchemaRef918e794287a67b5e85126e00cf2d9a95,
+)
```
Methods:
@@ -3673,10 +3513,9 @@ Types:
```python
from cloudflare.types.images.v1 import (
- UnnamedSchemaRef33,
+ UnnamedSchemaRefD02195de7dadf27801875f36cddfa3a3,
V1ImageVariant,
V1ImageVariants,
- VariantDeleteResponse,
)
```
@@ -3684,7 +3523,7 @@ Methods:
- client.images.v1.variants.create(\*, account_id, \*\*params) -> V1ImageVariant
- client.images.v1.variants.list(\*, account_id) -> V1ImageVariants
-- client.images.v1.variants.delete(variant_id, \*, account_id, \*\*params) -> VariantDeleteResponse
+- client.images.v1.variants.delete(variant_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.images.v1.variants.edit(variant_id, \*, account_id, \*\*params) -> V1ImageVariant
- client.images.v1.variants.get(variant_id, \*, account_id) -> V1ImageVariant
@@ -3749,7 +3588,10 @@ Methods:
Types:
```python
-from cloudflare.types.intel import IntelPassiveDNSByIP
+from cloudflare.types.intel import (
+ IntelPassiveDNSByIP,
+ UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050,
+)
```
Methods:
@@ -3818,15 +3660,9 @@ Methods:
## Miscategorizations
-Types:
-
-```python
-from cloudflare.types.intel import MiscategorizationCreateResponse
-```
-
Methods:
-- client.intel.miscategorizations.create(\*, account_id, \*\*params) -> MiscategorizationCreateResponse
+- client.intel.miscategorizations.create(\*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
## Whois
@@ -3914,7 +3750,6 @@ Types:
from cloudflare.types.intel.attack_surface_report import (
IssueListResponse,
IssueClassResponse,
- IssueDismissResponse,
IssueSeverityResponse,
IssueTypeResponse,
)
@@ -3924,12 +3759,21 @@ Methods:
- client.intel.attack_surface_report.issues.list(\*, account_id, \*\*params) -> SyncV4PagePagination[IssueListResponse]
- client.intel.attack*surface_report.issues.class*(\*, account_id, \*\*params) -> IssueClassResponse
-- client.intel.attack_surface_report.issues.dismiss(issue_id, \*, account_id, \*\*params) -> IssueDismissResponse
+- client.intel.attack_surface_report.issues.dismiss(issue_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.intel.attack_surface_report.issues.severity(\*, account_id, \*\*params) -> IssueSeverityResponse
- client.intel.attack_surface_report.issues.type(\*, account_id, \*\*params) -> IssueTypeResponse
# MagicTransit
+Types:
+
+```python
+from cloudflare.types import (
+ UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39,
+ UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5,
+)
+```
+
## CfInterconnects
Types:
@@ -4046,6 +3890,7 @@ Types:
```python
from cloudflare.types.magic_transit.sites import (
+ UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916,
ACLCreateResponse,
ACLUpdateResponse,
ACLListResponse,
@@ -4115,7 +3960,7 @@ Types:
```python
from cloudflare.types.magic_network_monitoring import (
MagicNetworkMonitoringConfig,
- UnnamedSchemaRef137,
+ UnnamedSchemaRef621ca3f6ea9a96427c902b0d14279ff8,
)
```
@@ -4140,7 +3985,7 @@ Types:
```python
from cloudflare.types.magic_network_monitoring import (
MagicNetworkMonitoringRule,
- UnnamedSchemaRef127,
+ UnnamedSchemaRef99ba74ba6027c3c87ca03d4e81cfc16d,
)
```
@@ -4202,19 +4047,17 @@ Types:
from cloudflare.types.pages import (
PagesDeployments,
PagesProjects,
- ProjectCreateResponse,
ProjectDeleteResponse,
- ProjectEditResponse,
ProjectPurgeBuildCacheResponse,
)
```
Methods:
-- client.pages.projects.create(\*, account_id, \*\*params) -> ProjectCreateResponse
+- client.pages.projects.create(\*, account_id, \*\*params) -> Optional
- client.pages.projects.list(\*, account_id) -> SyncSinglePage[PagesDeployments]
- client.pages.projects.delete(project_name, \*, account_id, \*\*params) -> object
-- client.pages.projects.edit(project_name, \*, account_id, \*\*params) -> ProjectEditResponse
+- client.pages.projects.edit(project_name, \*, account_id, \*\*params) -> Optional
- client.pages.projects.get(project_name, \*, account_id) -> PagesProjects
- client.pages.projects.purge_build_cache(project_name, \*, account_id) -> object
@@ -4239,37 +4082,25 @@ Methods:
##### Logs
-Types:
-
-```python
-from cloudflare.types.pages.projects.deployments.history import LogGetResponse
-```
-
Methods:
-- client.pages.projects.deployments.history.logs.get(deployment_id, \*, account_id, project_name) -> LogGetResponse
+- client.pages.projects.deployments.history.logs.get(deployment_id, \*, account_id, project_name) -> Optional
### Domains
Types:
```python
-from cloudflare.types.pages.projects import (
- DomainCreateResponse,
- DomainListResponse,
- DomainDeleteResponse,
- DomainEditResponse,
- DomainGetResponse,
-)
+from cloudflare.types.pages.projects import DomainListResponse, DomainDeleteResponse
```
Methods:
-- client.pages.projects.domains.create(project_name, \*, account_id, \*\*params) -> Optional
+- client.pages.projects.domains.create(project_name, \*, account_id, \*\*params) -> Optional
- client.pages.projects.domains.list(project_name, \*, account_id) -> SyncSinglePage[object]
- client.pages.projects.domains.delete(domain_name, \*, account_id, project_name, \*\*params) -> object
-- client.pages.projects.domains.edit(domain_name, \*, account_id, project_name, \*\*params) -> Optional
-- client.pages.projects.domains.get(domain_name, \*, account_id, project_name) -> Optional
+- client.pages.projects.domains.edit(domain_name, \*, account_id, project_name, \*\*params) -> Optional
+- client.pages.projects.domains.get(domain_name, \*, account_id, project_name) -> Optional
# PCAPs
@@ -4313,19 +4144,14 @@ Methods:
Types:
```python
-from cloudflare.types.registrar import (
- RegistrarDomains,
- DomainUpdateResponse,
- DomainListResponse,
- DomainGetResponse,
-)
+from cloudflare.types.registrar import RegistrarDomains, DomainListResponse
```
Methods:
-- client.registrar.domains.update(domain_name, \*, account_id, \*\*params) -> Optional
+- client.registrar.domains.update(domain_name, \*, account_id, \*\*params) -> Optional
- client.registrar.domains.list(\*, account_id) -> SyncSinglePage[DomainListResponse]
-- client.registrar.domains.get(domain_name, \*, account_id) -> Optional
+- client.registrar.domains.get(domain_name, \*, account_id) -> Optional
# RequestTracers
@@ -4348,7 +4174,11 @@ Methods:
Types:
```python
-from cloudflare.types.rules import ListsList, UnnamedSchemaRef42, ListDeleteResponse
+from cloudflare.types.rules import (
+ ListsList,
+ UnnamedSchemaRefE706d5e8367564544e2991af82ebb07a,
+ ListDeleteResponse,
+)
```
Methods:
@@ -4364,7 +4194,10 @@ Methods:
Types:
```python
-from cloudflare.types.rules.lists import BulkOperationGetResponse
+from cloudflare.types.rules.lists import (
+ UnnamedSchemaRefCc279fb99baf6a166db5c4e790a8c6cd,
+ BulkOperationGetResponse,
+)
```
Methods:
@@ -4377,6 +4210,8 @@ Types:
```python
from cloudflare.types.rules.lists import (
+ UnnamedSchemaRef34bb6e31800bc0207c083affa12d2775,
+ UnnamedSchemaRef46621d4d5b6644caae5c9167b8e28865,
ItemCreateResponse,
ItemUpdateResponse,
ItemListResponse,
@@ -4400,7 +4235,11 @@ Methods:
Types:
```python
-from cloudflare.types.storage import WorkersKVComponentsSchemasResult, WorkersKVSchemasResult
+from cloudflare.types.storage import (
+ UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7,
+ WorkersKVComponentsSchemasResult,
+ WorkersKVSchemasResult,
+)
```
Methods:
@@ -4428,12 +4267,12 @@ Methods:
Types:
```python
-from cloudflare.types.stream import StreamAudio, AudioTrackDeleteResponse, AudioTrackGetResponse
+from cloudflare.types.stream import StreamAudio, AudioTrackGetResponse
```
Methods:
-- client.stream.audio_tracks.delete(audio_identifier, \*, account_id, identifier) -> AudioTrackDeleteResponse
+- client.stream.audio_tracks.delete(audio_identifier, \*, account_id, identifier) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
- client.stream.audio_tracks.copy(identifier, \*, account_id, \*\*params) -> StreamAudio
- client.stream.audio_tracks.edit(audio_identifier, \*, account_id, identifier, \*\*params) -> StreamAudio
- client.stream.audio_tracks.get(identifier, \*, account_id) -> AudioTrackGetResponse
@@ -4485,13 +4324,13 @@ Methods:
Types:
```python
-from cloudflare.types.stream import StreamKeys, KeyDeleteResponse, KeyGetResponse
+from cloudflare.types.stream import StreamKeys, KeyGetResponse
```
Methods:
- client.stream.keys.create(\*, account_id, \*\*params) -> StreamKeys
-- client.stream.keys.delete(identifier, \*, account_id, \*\*params) -> KeyDeleteResponse
+- client.stream.keys.delete(identifier, \*, account_id, \*\*params) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
- client.stream.keys.get(\*, account_id) -> KeyGetResponse
## LiveInputs
@@ -4530,66 +4369,45 @@ Methods:
Types:
```python
-from cloudflare.types.stream import StreamWatermarks, WatermarkCreateResponse, WatermarkGetResponse
+from cloudflare.types.stream import StreamWatermarks
```
Methods:
-- client.stream.watermarks.create(\*, account_id, \*\*params) -> WatermarkCreateResponse
+- client.stream.watermarks.create(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.stream.watermarks.list(\*, account_id) -> SyncSinglePage[StreamWatermarks]
-- client.stream.watermarks.delete(identifier, \*, account_id, \*\*params) -> UnnamedSchemaRef49
-- client.stream.watermarks.get(identifier, \*, account_id) -> WatermarkGetResponse
+- client.stream.watermarks.delete(identifier, \*, account_id, \*\*params) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+- client.stream.watermarks.get(identifier, \*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Webhooks
-Types:
-
-```python
-from cloudflare.types.stream import WebhookUpdateResponse, WebhookDeleteResponse, WebhookGetResponse
-```
-
Methods:
-- client.stream.webhooks.update(\*, account_id, \*\*params) -> WebhookUpdateResponse
-- client.stream.webhooks.delete(\*, account_id, \*\*params) -> WebhookDeleteResponse
-- client.stream.webhooks.get(\*, account_id) -> WebhookGetResponse
+- client.stream.webhooks.update(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.stream.webhooks.delete(\*, account_id, \*\*params) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+- client.stream.webhooks.get(\*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Captions
Types:
```python
-from cloudflare.types.stream import (
- StreamCaptions,
- CaptionUpdateResponse,
- CaptionDeleteResponse,
- CaptionGetResponse,
-)
+from cloudflare.types.stream import StreamCaptions, CaptionDeleteResponse, CaptionGetResponse
```
Methods:
-- client.stream.captions.update(language, \*, account_id, identifier, \*\*params) -> CaptionUpdateResponse
+- client.stream.captions.update(language, \*, account_id, identifier, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.stream.captions.delete(language, \*, account_id, identifier, \*\*params) -> CaptionDeleteResponse
- client.stream.captions.get(identifier, \*, account_id) -> CaptionGetResponse
## Downloads
-Types:
-
-```python
-from cloudflare.types.stream import (
- DownloadCreateResponse,
- DownloadDeleteResponse,
- DownloadGetResponse,
-)
-```
-
Methods:
-- client.stream.downloads.create(identifier, \*, account_id, \*\*params) -> DownloadCreateResponse
-- client.stream.downloads.delete(identifier, \*, account_id) -> DownloadDeleteResponse
-- client.stream.downloads.get(identifier, \*, account_id) -> DownloadGetResponse
+- client.stream.downloads.create(identifier, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.stream.downloads.delete(identifier, \*, account_id) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+- client.stream.downloads.get(identifier, \*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
## Embed
@@ -4617,11 +4435,23 @@ Methods:
# Alerting
+Types:
+
+```python
+from cloudflare.types import UnnamedSchemaRefD6e23adacaca017802aaa484a8b3f405
+```
+
## AvailableAlerts
+Types:
+
+```python
+from cloudflare.types.alerting import AvailableAlertListResponse
+```
+
Methods:
-- client.alerting.available_alerts.list(\*, account_id) -> Optional
+- client.alerting.available_alerts.list(\*, account_id) -> Optional
## Destinations
@@ -4645,7 +4475,6 @@ Types:
from cloudflare.types.alerting.destinations import (
AlertingPagerduty,
PagerdutyCreateResponse,
- PagerdutyDeleteResponse,
PagerdutyGetResponse,
PagerdutyLinkResponse,
)
@@ -4654,7 +4483,7 @@ from cloudflare.types.alerting.destinations import (
Methods:
- client.alerting.destinations.pagerduty.create(\*, account_id) -> PagerdutyCreateResponse
-- client.alerting.destinations.pagerduty.delete(\*, account_id) -> Optional
+- client.alerting.destinations.pagerduty.delete(\*, account_id) -> Optional
- client.alerting.destinations.pagerduty.get(\*, account_id) -> Optional
- client.alerting.destinations.pagerduty.link(token_id, \*, account_id) -> PagerdutyLinkResponse
@@ -4667,7 +4496,6 @@ from cloudflare.types.alerting.destinations import (
AlertingWebhooks,
WebhookCreateResponse,
WebhookUpdateResponse,
- WebhookDeleteResponse,
)
```
@@ -4676,7 +4504,7 @@ Methods:
- client.alerting.destinations.webhooks.create(\*, account_id, \*\*params) -> WebhookCreateResponse
- client.alerting.destinations.webhooks.update(webhook_id, \*, account_id, \*\*params) -> WebhookUpdateResponse
- client.alerting.destinations.webhooks.list(\*, account_id) -> SyncSinglePage[AlertingWebhooks]
-- client.alerting.destinations.webhooks.delete(webhook_id, \*, account_id) -> Optional
+- client.alerting.destinations.webhooks.delete(webhook_id, \*, account_id) -> Optional
- client.alerting.destinations.webhooks.get(webhook_id, \*, account_id) -> AlertingWebhooks
## History
@@ -4696,12 +4524,7 @@ Methods:
Types:
```python
-from cloudflare.types.alerting import (
- AlertingPolicies,
- PolicyCreateResponse,
- PolicyUpdateResponse,
- PolicyDeleteResponse,
-)
+from cloudflare.types.alerting import AlertingPolicies, PolicyCreateResponse, PolicyUpdateResponse
```
Methods:
@@ -4709,7 +4532,7 @@ Methods:
- client.alerting.policies.create(\*, account_id, \*\*params) -> PolicyCreateResponse
- client.alerting.policies.update(policy_id, \*, account_id, \*\*params) -> PolicyUpdateResponse
- client.alerting.policies.list(\*, account_id) -> SyncSinglePage[AlertingPolicies]
-- client.alerting.policies.delete(policy_id, \*, account_id) -> Optional
+- client.alerting.policies.delete(policy_id, \*, account_id) -> Optional
- client.alerting.policies.get(policy_id, \*, account_id) -> AlertingPolicies
# D1
@@ -4731,7 +4554,7 @@ Methods:
- client.d1.database.create(\*, account_id, \*\*params) -> D1CreateDatabase
- client.d1.database.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[D1CreateDatabase]
-- client.d1.database.delete(database_identifier, \*, account_identifier) -> Optional
+- client.d1.database.delete(database_identifier, \*, account_identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.d1.database.get(database_identifier, \*, account_identifier) -> D1DatabaseDetails
- client.d1.database.query(database_identifier, \*, account_identifier, \*\*params) -> DatabaseQueryResponse
@@ -4757,7 +4580,11 @@ Methods:
Types:
```python
-from cloudflare.types.r2 import R2Sippy, SippyDeleteResponse
+from cloudflare.types.r2 import (
+ R2Sippy,
+ UnnamedSchemaRef6430970563db310f19d39aafe3debd27,
+ SippyDeleteResponse,
+)
```
Methods:
@@ -4776,11 +4603,11 @@ from cloudflare.types import WARPConnectorTokenResponse
Methods:
-- client.warp_connector.create(\*, account_id, \*\*params) -> UnnamedSchemaRef123
-- client.warp_connector.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[UnnamedSchemaRef123]
-- client.warp_connector.delete(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef123
-- client.warp_connector.edit(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef123
-- client.warp_connector.get(tunnel_id, \*, account_id) -> UnnamedSchemaRef123
+- client.warp_connector.create(\*, account_id, \*\*params) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+- client.warp_connector.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
+- client.warp_connector.delete(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+- client.warp_connector.edit(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+- client.warp_connector.get(tunnel_id, \*, account_id) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
- client.warp_connector.token(tunnel_id, \*, account_id) -> WARPConnectorTokenResponse
# WorkersForPlatforms
@@ -4871,7 +4698,7 @@ from cloudflare.types.zero_trust import ZeroTrustDevices
Methods:
- client.zero_trust.devices.list(\*, account_id) -> SyncSinglePage[ZeroTrustDevices]
-- client.zero_trust.devices.get(device_id, \*, account_id) -> Optional
+- client.zero_trust.devices.get(device_id, \*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
### DEXTests
@@ -4880,7 +4707,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices import (
DEXTestSchemasHTTP,
- UnnamedSchemaRef95,
+ UnnamedSchemaRef15fd6ef0641450fd873ffb71715170c9,
DEXTestDeleteResponse,
)
```
@@ -4900,7 +4727,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices import (
DeviceManagedNetworks,
- UnnamedSchemaRef17,
+ UnnamedSchemaRefD2b048663faf5e0cd5c90501b71171de,
NetworkDeleteResponse,
)
```
@@ -4920,7 +4747,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices import (
DevicesDeviceSettingsPolicy,
- UnnamedSchemaRef18,
+ UnnamedSchemaRefF636ff9f2cb41ff4b715cf8ed8515581,
PolicyDeleteResponse,
)
```
@@ -4952,6 +4779,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices.policies import (
DevicesSplitTunnel,
+ UnnamedSchemaRef0462afe1a32ee90b1999d4277af59fa8,
ExcludeUpdateResponse,
ExcludeGetResponse,
)
@@ -4970,6 +4798,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices.policies import (
DevicesFallbackDomain,
+ UnnamedSchemaRef1fbf91ecd61792c751fead58dc8005e6,
FallbackDomainUpdateResponse,
FallbackDomainGetResponse,
)
@@ -4988,6 +4817,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices.policies import (
DevicesSplitTunnelInclude,
+ UnnamedSchemaRef5e0c6134a624678286f4a424b001870a,
IncludeUpdateResponse,
IncludeGetResponse,
)
@@ -5006,7 +4836,9 @@ Types:
```python
from cloudflare.types.zero_trust.devices import (
DevicePostureRules,
- UnnamedSchemaRef19,
+ UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930,
+ UnnamedSchemaRef41885dd46b9e0294254c49305a273681,
+ UnnamedSchemaRef9e35ef84511131488ae286ce78ac4b27,
PostureDeleteResponse,
)
```
@@ -5026,7 +4858,7 @@ Types:
```python
from cloudflare.types.zero_trust.devices.posture import (
DevicePostureIntegrations,
- UnnamedSchemaRef20,
+ UnnamedSchemaRefB84b377dfc9454d455b646d4bc9ab507,
)
```
@@ -5034,7 +4866,7 @@ Methods:
- client.zero_trust.devices.posture.integrations.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.integrations.list(\*, account_id) -> SyncSinglePage[DevicePostureIntegrations]
-- client.zero_trust.devices.posture.integrations.delete(integration_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.posture.integrations.delete(integration_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.devices.posture.integrations.edit(integration_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.integrations.get(integration_id, \*, account_id) -> Optional
@@ -5042,7 +4874,7 @@ Methods:
Methods:
-- client.zero_trust.devices.revoke.create(\*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.revoke.create(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
### Settings
@@ -5061,7 +4893,7 @@ Methods:
Methods:
-- client.zero_trust.devices.unrevoke.create(\*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.unrevoke.create(\*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
### OverrideCodes
@@ -5081,6 +4913,8 @@ Types:
```python
from cloudflare.types.zero_trust import (
+ UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1,
ZeroTrustIdentityProviders,
IdentityProviderListResponse,
IdentityProviderDeleteResponse,
@@ -5130,6 +4964,9 @@ Types:
```python
from cloudflare.types.zero_trust.access import (
+ UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832,
+ UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9,
+ UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419,
ZeroTrustApps,
ApplicationDeleteResponse,
ApplicationRevokeTokensResponse,
@@ -5150,27 +4987,25 @@ Methods:
Types:
```python
-from cloudflare.types.zero_trust.access.applications import (
- ZeroTrustCA,
- CACreateResponse,
- CADeleteResponse,
- CAGetResponse,
-)
+from cloudflare.types.zero_trust.access.applications import ZeroTrustCA, CADeleteResponse
```
Methods:
-- client.zero_trust.access.applications.cas.create(uuid, \*, account_id, zone_id) -> CACreateResponse
+- client.zero_trust.access.applications.cas.create(uuid, \*, account_id, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.access.applications.cas.list(\*, account_id, zone_id) -> SyncSinglePage[ZeroTrustCA]
- client.zero_trust.access.applications.cas.delete(uuid, \*, account_id, zone_id) -> CADeleteResponse
-- client.zero_trust.access.applications.cas.get(uuid, \*, account_id, zone_id) -> CAGetResponse
+- client.zero_trust.access.applications.cas.get(uuid, \*, account_id, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
#### UserPolicyChecks
Types:
```python
-from cloudflare.types.zero_trust.access.applications import UserPolicyCheckListResponse
+from cloudflare.types.zero_trust.access.applications import (
+ UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919,
+ UserPolicyCheckListResponse,
+)
```
Methods:
@@ -5281,17 +5116,11 @@ Methods:
### Keys
-Types:
-
-```python
-from cloudflare.types.zero_trust.access import KeyUpdateResponse, KeyGetResponse, KeyRotateResponse
-```
-
Methods:
-- client.zero_trust.access.keys.update(identifier, \*\*params) -> KeyUpdateResponse
-- client.zero_trust.access.keys.get(identifier) -> KeyGetResponse
-- client.zero_trust.access.keys.rotate(identifier) -> KeyRotateResponse
+- client.zero_trust.access.keys.update(identifier, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+- client.zero_trust.access.keys.get(identifier) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+- client.zero_trust.access.keys.rotate(identifier) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
### Logs
@@ -5400,6 +5229,12 @@ Methods:
## DEX
+Types:
+
+```python
+from cloudflare.types.zero_trust import UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11
+```
+
### Colos
Types:
@@ -5526,48 +5361,38 @@ Methods:
Types:
```python
-from cloudflare.types.zero_trust import TunnelArgoTunnel, UnnamedSchemaRef50
+from cloudflare.types.zero_trust import (
+ TunnelArgoTunnel,
+ UnnamedSchemaRefA9c0e0a8cc5fd0e244f41ea806cd954a,
+)
```
Methods:
- client.zero_trust.tunnels.create(\*, account_id, \*\*params) -> TunnelArgoTunnel
-- client.zero_trust.tunnels.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[UnnamedSchemaRef123]
+- client.zero_trust.tunnels.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
- client.zero_trust.tunnels.delete(tunnel_id, \*, account_id, \*\*params) -> TunnelArgoTunnel
-- client.zero_trust.tunnels.edit(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef123
+- client.zero_trust.tunnels.edit(tunnel_id, \*, account_id, \*\*params) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
- client.zero_trust.tunnels.get(tunnel_id, \*, account_id) -> TunnelArgoTunnel
### Configurations
-Types:
-
-```python
-from cloudflare.types.zero_trust.tunnels import (
- ConfigurationUpdateResponse,
- ConfigurationGetResponse,
-)
-```
-
Methods:
-- client.zero_trust.tunnels.configurations.update(tunnel_id, \*, account_id, \*\*params) -> ConfigurationUpdateResponse
-- client.zero_trust.tunnels.configurations.get(tunnel_id, \*, account_id) -> ConfigurationGetResponse
+- client.zero_trust.tunnels.configurations.update(tunnel_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.tunnels.configurations.get(tunnel_id, \*, account_id) -> Optional
### Connections
Types:
```python
-from cloudflare.types.zero_trust.tunnels import (
- TunnelTunnelClient,
- ConnectionDeleteResponse,
- ConnectionGetResponse,
-)
+from cloudflare.types.zero_trust.tunnels import TunnelTunnelClient, ConnectionGetResponse
```
Methods:
-- client.zero_trust.tunnels.connections.delete(tunnel_id, \*, account_id, \*\*params) -> ConnectionDeleteResponse
+- client.zero_trust.tunnels.connections.delete(tunnel_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.tunnels.connections.get(tunnel_id, \*, account_id) -> Optional
### Token
@@ -5649,35 +5474,34 @@ Methods:
### Patterns
-Types:
-
-```python
-from cloudflare.types.zero_trust.dlp import PatternValidateResponse
-```
-
Methods:
-- client.zero_trust.dlp.patterns.validate(\*, account_id, \*\*params) -> PatternValidateResponse
+- client.zero_trust.dlp.patterns.validate(\*, account_id, \*\*params) -> Optional
### PayloadLogs
Types:
```python
-from cloudflare.types.zero_trust.dlp import PayloadLogUpdateResponse, PayloadLogGetResponse
+from cloudflare.types.zero_trust.dlp import UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5
```
Methods:
-- client.zero_trust.dlp.payload_logs.update(\*, account_id, \*\*params) -> PayloadLogUpdateResponse
-- client.zero_trust.dlp.payload_logs.get(\*, account_id) -> PayloadLogGetResponse
+- client.zero_trust.dlp.payload_logs.update(\*, account_id, \*\*params) -> Optional
+- client.zero_trust.dlp.payload_logs.get(\*, account_id) -> Optional
### Profiles
Types:
```python
-from cloudflare.types.zero_trust.dlp import DLPProfiles, ProfileGetResponse
+from cloudflare.types.zero_trust.dlp import (
+ DLPProfiles,
+ UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1,
+ UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0,
+ ProfileGetResponse,
+)
```
Methods:
@@ -5697,7 +5521,7 @@ Methods:
- client.zero_trust.dlp.profiles.custom.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.dlp.profiles.custom.update(profile_id, \*, account_id, \*\*params) -> DLPCustomProfile
-- client.zero_trust.dlp.profiles.custom.delete(profile_id, \*, account_id, \*\*params) -> UnnamedSchemaRef169
+- client.zero_trust.dlp.profiles.custom.delete(profile_id, \*, account_id, \*\*params) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
- client.zero_trust.dlp.profiles.custom.get(profile_id, \*, account_id) -> DLPCustomProfile
#### Predefined
@@ -5769,6 +5593,7 @@ Types:
```python
from cloudflare.types.zero_trust.gateway import (
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e,
ConfigurationUpdateResponse,
ConfigurationEditResponse,
ConfigurationGetResponse,
@@ -5787,10 +5612,9 @@ Types:
```python
from cloudflare.types.zero_trust.gateway import (
- UnnamedSchemaRef26,
+ UnnamedSchemaRef30ecd0f5ce68fc07dbb7760deda3d707,
ZeroTrustGatewayLists,
ListCreateResponse,
- ListDeleteResponse,
)
```
@@ -5799,7 +5623,7 @@ Methods:
- client.zero_trust.gateway.lists.create(\*, account_id, \*\*params) -> ListCreateResponse
- client.zero_trust.gateway.lists.update(list_id, \*, account_id, \*\*params) -> ZeroTrustGatewayLists
- client.zero_trust.gateway.lists.list(\*, account_id) -> SyncSinglePage[ZeroTrustGatewayLists]
-- client.zero_trust.gateway.lists.delete(list_id, \*, account_id, \*\*params) -> ListDeleteResponse
+- client.zero_trust.gateway.lists.delete(list_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.gateway.lists.edit(list_id, \*, account_id, \*\*params) -> ZeroTrustGatewayLists
- client.zero_trust.gateway.lists.get(list_id, \*, account_id) -> ZeroTrustGatewayLists
@@ -5821,9 +5645,8 @@ Types:
```python
from cloudflare.types.zero_trust.gateway import (
- UnnamedSchemaRef27,
+ UnnamedSchemaRef1b37523fdb0ae5806cd8e062492aab66,
ZeroTrustGatewayLocations,
- LocationDeleteResponse,
)
```
@@ -5832,7 +5655,7 @@ Methods:
- client.zero_trust.gateway.locations.create(\*, account_id, \*\*params) -> ZeroTrustGatewayLocations
- client.zero_trust.gateway.locations.update(location_id, \*, account_id, \*\*params) -> ZeroTrustGatewayLocations
- client.zero_trust.gateway.locations.list(\*, account_id) -> SyncSinglePage[ZeroTrustGatewayLocations]
-- client.zero_trust.gateway.locations.delete(location_id, \*, account_id, \*\*params) -> LocationDeleteResponse
+- client.zero_trust.gateway.locations.delete(location_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.gateway.locations.get(location_id, \*, account_id) -> ZeroTrustGatewayLocations
### Logging
@@ -5840,7 +5663,10 @@ Methods:
Types:
```python
-from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayGatewayAccountLoggingSettings
+from cloudflare.types.zero_trust.gateway import (
+ UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b,
+ ZeroTrustGatewayGatewayAccountLoggingSettings,
+)
```
Methods:
@@ -5854,9 +5680,8 @@ Types:
```python
from cloudflare.types.zero_trust.gateway import (
- UnnamedSchemaRef29,
+ UnnamedSchemaRef4753ee81779d0e57189420079abab61e,
ZeroTrustGatewayProxyEndpoints,
- ProxyEndpointDeleteResponse,
)
```
@@ -5864,7 +5689,7 @@ Methods:
- client.zero_trust.gateway.proxy_endpoints.create(\*, account_id, \*\*params) -> ZeroTrustGatewayProxyEndpoints
- client.zero_trust.gateway.proxy_endpoints.list(\*, account_id) -> SyncSinglePage[ZeroTrustGatewayProxyEndpoints]
-- client.zero_trust.gateway.proxy_endpoints.delete(proxy_endpoint_id, \*, account_id, \*\*params) -> ProxyEndpointDeleteResponse
+- client.zero_trust.gateway.proxy_endpoints.delete(proxy_endpoint_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.gateway.proxy_endpoints.edit(proxy_endpoint_id, \*, account_id, \*\*params) -> ZeroTrustGatewayProxyEndpoints
- client.zero_trust.gateway.proxy_endpoints.get(proxy_endpoint_id, \*, account_id) -> ZeroTrustGatewayProxyEndpoints
@@ -5874,9 +5699,8 @@ Types:
```python
from cloudflare.types.zero_trust.gateway import (
- UnnamedSchemaRef30,
+ UnnamedSchemaRef0b0764cdb06aad66b555fd74c8c78b2a,
ZeroTrustGatewayRules,
- RuleDeleteResponse,
)
```
@@ -5885,7 +5709,7 @@ Methods:
- client.zero_trust.gateway.rules.create(\*, account_id, \*\*params) -> ZeroTrustGatewayRules
- client.zero_trust.gateway.rules.update(rule_id, \*, account_id, \*\*params) -> ZeroTrustGatewayRules
- client.zero_trust.gateway.rules.list(\*, account_id) -> SyncSinglePage[ZeroTrustGatewayRules]
-- client.zero_trust.gateway.rules.delete(rule_id, \*, account_id, \*\*params) -> RuleDeleteResponse
+- client.zero_trust.gateway.rules.delete(rule_id, \*, account_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.zero_trust.gateway.rules.get(rule_id, \*, account_id) -> ZeroTrustGatewayRules
## Networks
@@ -5895,7 +5719,11 @@ Methods:
Types:
```python
-from cloudflare.types.zero_trust.networks import TunnelRoute, TunnelTeamnet, UnnamedSchemaRef138
+from cloudflare.types.zero_trust.networks import (
+ TunnelRoute,
+ TunnelTeamnet,
+ UnnamedSchemaRefC125d35cbb7f93aab989cd19bd764ed6,
+)
```
Methods:
@@ -5924,20 +5752,15 @@ Methods:
Types:
```python
-from cloudflare.types.zero_trust.networks import (
- TunnelVirtualNetwork,
- VirtualNetworkCreateResponse,
- VirtualNetworkDeleteResponse,
- VirtualNetworkEditResponse,
-)
+from cloudflare.types.zero_trust.networks import TunnelVirtualNetwork
```
Methods:
-- client.zero_trust.networks.virtual_networks.create(\*, account_id, \*\*params) -> VirtualNetworkCreateResponse
+- client.zero_trust.networks.virtual_networks.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.networks.virtual_networks.list(\*, account_id, \*\*params) -> SyncSinglePage[TunnelVirtualNetwork]
-- client.zero_trust.networks.virtual_networks.delete(virtual_network_id, \*, account_id, \*\*params) -> VirtualNetworkDeleteResponse
-- client.zero_trust.networks.virtual_networks.edit(virtual_network_id, \*, account_id, \*\*params) -> VirtualNetworkEditResponse
+- client.zero_trust.networks.virtual_networks.delete(virtual_network_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.networks.virtual_networks.edit(virtual_network_id, \*, account_id, \*\*params) -> Optional
# Challenges
@@ -5985,7 +5808,7 @@ Methods:
- client.hyperdrive.configs.create(\*, account_id, \*\*params) -> Optional
- client.hyperdrive.configs.update(hyperdrive_id, \*, account_id, \*\*params) -> Optional
- client.hyperdrive.configs.list(\*, account_id) -> SyncSinglePage[ConfigListResponse]
-- client.hyperdrive.configs.delete(hyperdrive_id, \*, account_id) -> Optional
+- client.hyperdrive.configs.delete(hyperdrive_id, \*, account_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.hyperdrive.configs.edit(hyperdrive_id, \*, account_id, \*\*params) -> Optional
- client.hyperdrive.configs.get(hyperdrive_id, \*, account_id) -> Optional
@@ -6044,7 +5867,7 @@ Methods:
- client.vectorize.indexes.create(account_identifier, \*\*params) -> Optional
- client.vectorize.indexes.update(index_name, \*, account_identifier, \*\*params) -> Optional
- client.vectorize.indexes.list(account_identifier) -> SyncSinglePage[VectorizeCreateIndex]
-- client.vectorize.indexes.delete(index_name, \*, account_identifier) -> Optional
+- client.vectorize.indexes.delete(index_name, \*, account_identifier) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
- client.vectorize.indexes.delete_by_ids(index_name, \*, account_identifier, \*\*params) -> Optional
- client.vectorize.indexes.get(index_name, \*, account_identifier) -> Optional
- client.vectorize.indexes.get_by_ids(index_name, \*, account_identifier, \*\*params) -> object
@@ -6070,8 +5893,8 @@ Types:
```python
from cloudflare.types.url_scanner import (
- UnnamedSchemaRef1,
- UnnamedSchemaRef134,
+ UnnamedSchemaRef3750739f772bbdf0bb00d6634ccc0631,
+ UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6,
ScanCreateResponse,
ScanGetResponse,
ScanHarResponse,
@@ -6091,17 +5914,17 @@ Types:
```python
from cloudflare.types import (
- UnnamedSchemaRef106,
- UnnamedSchemaRef128,
- UnnamedSchemaRef129,
- UnnamedSchemaRef130,
- UnnamedSchemaRef153,
- UnnamedSchemaRef154,
- UnnamedSchemaRef160,
- UnnamedSchemaRef168,
- UnnamedSchemaRef174,
- UnnamedSchemaRef175,
- UnnamedSchemaRef53,
+ UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42,
+ UnnamedSchemaRef4124a22436f90127c7fa2c4543219752,
+ UnnamedSchemaRef73de8b634bb48667e28a6c6c56080c51,
+ UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb,
+ UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55,
+ UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09,
+ UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297,
+ UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a,
+ UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1,
+ UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5,
+ UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7,
)
```
@@ -6383,7 +6206,10 @@ Methods:
Types:
```python
-from cloudflare.types.radar import UnnamedSchemaRef149, UnnamedSchemaRef150
+from cloudflare.types.radar import (
+ UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c,
+ UnnamedSchemaRef853c157ad369010995e35be614e0343f,
+)
```
### Routing
@@ -7165,19 +6991,10 @@ Methods:
# OriginPostQuantumEncryption
-Types:
-
-```python
-from cloudflare.types import (
- OriginPostQuantumEncryptionUpdateResponse,
- OriginPostQuantumEncryptionGetResponse,
-)
-```
-
Methods:
-- client.origin_post_quantum_encryption.update(\*, zone_id, \*\*params) -> OriginPostQuantumEncryptionUpdateResponse
-- client.origin_post_quantum_encryption.get(\*, zone_id) -> OriginPostQuantumEncryptionGetResponse
+- client.origin_post_quantum_encryption.update(\*, zone_id, \*\*params) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+- client.origin_post_quantum_encryption.get(\*, zone_id) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
# Speed
@@ -7276,7 +7093,7 @@ from cloudflare.types.hostnames.settings import (
Methods:
-- client.hostnames.settings.tls.update(hostname, \*, zone_id, setting_id, \*\*params) -> UnnamedSchemaRef65
+- client.hostnames.settings.tls.update(hostname, \*, zone_id, setting_id, \*\*params) -> HostnameStting
- client.hostnames.settings.tls.delete(hostname, \*, zone_id, setting_id) -> HostnameSettingDelete
- client.hostnames.settings.tls.get(setting_id, \*, zone_id) -> Optional
@@ -7292,7 +7109,7 @@ Methods:
- client.snippets.update(snippet_name, \*, zone_identifier, \*\*params) -> Snippet
- client.snippets.list(zone_identifier) -> SyncSinglePage[Snippet]
-- client.snippets.delete(snippet_name, \*, zone_identifier) -> UnnamedSchemaRef171
+- client.snippets.delete(snippet_name, \*, zone_identifier) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.snippets.get(snippet_name, \*, zone_identifier) -> Snippet
## Content
@@ -7351,7 +7168,7 @@ Methods:
- client.cloudforce_one.requests.create(account_identifier, \*\*params) -> CloudforceOneRequestItem
- client.cloudforce_one.requests.update(request_identifier, \*, account_identifier, \*\*params) -> CloudforceOneRequestItem
- client.cloudforce_one.requests.list(account_identifier, \*\*params) -> SyncV4PagePaginationArray[CloudforceOneRequestListItem]
-- client.cloudforce_one.requests.delete(request_identifier, \*, account_identifier) -> UnnamedSchemaRef171
+- client.cloudforce_one.requests.delete(request_identifier, \*, account_identifier) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.cloudforce_one.requests.constants(account_identifier) -> CloudforceOneRequestConstants
- client.cloudforce_one.requests.get(request_identifier, \*, account_identifier) -> CloudforceOneRequestItem
- client.cloudforce_one.requests.quota(account_identifier) -> CloudforceOneQuota
@@ -7372,7 +7189,7 @@ Methods:
- client.cloudforce_one.requests.message.create(request_identifier, \*, account_identifier, \*\*params) -> CloudforceOneRequestMessageItem
- client.cloudforce_one.requests.message.update(message_identifer, \*, account_identifier, request_identifier, \*\*params) -> CloudforceOneRequestMessageItem
-- client.cloudforce_one.requests.message.delete(message_identifer, \*, account_identifier, request_identifier) -> UnnamedSchemaRef171
+- client.cloudforce_one.requests.message.delete(message_identifer, \*, account_identifier, request_identifier) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.cloudforce_one.requests.message.get(request_identifier, \*, account_identifier, \*\*params) -> MessageGetResponse
### Priority
@@ -7387,6 +7204,6 @@ Methods:
- client.cloudforce_one.requests.priority.create(account_identifier, \*\*params) -> CloudforceOnePriorityItem
- client.cloudforce_one.requests.priority.update(priority_identifer, \*, account_identifier, \*\*params) -> CloudforceOneRequestItem
-- client.cloudforce_one.requests.priority.delete(priority_identifer, \*, account_identifier) -> UnnamedSchemaRef171
+- client.cloudforce_one.requests.priority.delete(priority_identifer, \*, account_identifier) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
- client.cloudforce_one.requests.priority.get(priority_identifer, \*, account_identifier) -> CloudforceOneRequestItem
- client.cloudforce_one.requests.priority.quota(account_identifier) -> CloudforceOneQuota
diff --git a/src/cloudflare/resources/accounts/accounts.py b/src/cloudflare/resources/accounts/accounts.py
index e28952068c52..086913def356 100644
--- a/src/cloudflare/resources/accounts/accounts.py
+++ b/src/cloudflare/resources/accounts/accounts.py
@@ -15,12 +15,7 @@
RolesWithStreamingResponse,
AsyncRolesWithStreamingResponse,
)
-from ...types import (
- AccountGetResponse,
- AccountUpdateResponse,
- account_list_params,
- account_update_params,
-)
+from ...types import account_list_params, account_update_params
from .members import (
Members,
AsyncMembers,
@@ -48,6 +43,7 @@
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Accounts", "AsyncAccounts"]
@@ -81,7 +77,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AccountUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update an existing account.
@@ -99,7 +95,7 @@ def update(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- AccountUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/accounts/{account_id}",
body=maybe_transform(
@@ -117,7 +113,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -187,7 +183,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AccountGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific account that you are a member of.
@@ -201,7 +197,7 @@ def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- AccountGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}",
options=make_request_options(
@@ -212,7 +208,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -247,7 +243,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AccountUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update an existing account.
@@ -265,7 +261,7 @@ async def update(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- AccountUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/accounts/{account_id}",
body=await async_maybe_transform(
@@ -283,7 +279,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -353,7 +349,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AccountGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific account that you are a member of.
@@ -367,7 +363,7 @@ async def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- AccountGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}",
options=make_request_options(
@@ -378,7 +374,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/accounts/roles.py b/src/cloudflare/resources/accounts/roles.py
index c3d7190308e3..f6b06f5ff026 100644
--- a/src/cloudflare/resources/accounts/roles.py
+++ b/src/cloudflare/resources/accounts/roles.py
@@ -21,7 +21,8 @@
AsyncPaginator,
make_request_options,
)
-from ...types.accounts import RoleGetResponse, RoleListResponse
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from ...types.accounts import RoleListResponse
__all__ = ["Roles", "AsyncRoles"]
@@ -78,7 +79,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RoleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific role for an account.
@@ -92,7 +93,7 @@ def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- RoleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/roles/{role_id}",
options=make_request_options(
@@ -103,7 +104,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RoleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -161,7 +162,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RoleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific role for an account.
@@ -175,7 +176,7 @@ async def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- RoleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/roles/{role_id}",
options=make_request_options(
@@ -186,7 +187,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RoleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/address_maps/accounts.py b/src/cloudflare/resources/addressing/address_maps/accounts.py
index 71b9fb4dd2ae..bfb1b39ad44c 100644
--- a/src/cloudflare/resources/addressing/address_maps/accounts.py
+++ b/src/cloudflare/resources/addressing/address_maps/accounts.py
@@ -23,12 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import (
- AccountDeleteResponse,
- AccountUpdateResponse,
- account_delete_params,
- account_update_params,
-)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from ....types.addressing.address_maps import account_delete_params, account_update_params
__all__ = ["Accounts", "AsyncAccounts"]
@@ -54,7 +50,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AccountUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add an account as a member of a particular address map.
@@ -76,7 +72,7 @@ def update(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AccountUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
body=maybe_transform(body, account_update_params.AccountUpdateParams),
@@ -88,7 +84,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -105,7 +101,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AccountDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove an account as a member of a particular address map.
@@ -127,7 +123,7 @@ def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AccountDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
body=maybe_transform(body, account_delete_params.AccountDeleteParams),
@@ -139,7 +135,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -166,7 +162,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AccountUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add an account as a member of a particular address map.
@@ -188,7 +184,7 @@ async def update(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AccountUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
body=await async_maybe_transform(body, account_update_params.AccountUpdateParams),
@@ -200,7 +196,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -217,7 +213,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AccountDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove an account as a member of a particular address map.
@@ -239,7 +235,7 @@ async def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AccountDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
body=await async_maybe_transform(body, account_delete_params.AccountDeleteParams),
@@ -251,7 +247,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AccountDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/address_maps/address_maps.py b/src/cloudflare/resources/addressing/address_maps/address_maps.py
index 8d42cd84a16c..86420e471f23 100644
--- a/src/cloudflare/resources/addressing/address_maps/address_maps.py
+++ b/src/cloudflare/resources/addressing/address_maps/address_maps.py
@@ -49,11 +49,11 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from ....types.addressing import (
AddressingAddressMaps,
AddressMapGetResponse,
AddressMapCreateResponse,
- AddressMapDeleteResponse,
address_map_edit_params,
address_map_create_params,
address_map_delete_params,
@@ -185,7 +185,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AddressMapDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""Delete a particular address map owned by the account.
An Address Map must be
@@ -209,7 +209,7 @@ def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AddressMapDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}",
body=maybe_transform(body, address_map_delete_params.AddressMapDeleteParams),
@@ -221,7 +221,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AddressMapDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -461,7 +461,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[AddressMapDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""Delete a particular address map owned by the account.
An Address Map must be
@@ -485,7 +485,7 @@ async def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[AddressMapDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}",
body=await async_maybe_transform(body, address_map_delete_params.AddressMapDeleteParams),
@@ -497,7 +497,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AddressMapDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/address_maps/ips.py b/src/cloudflare/resources/addressing/address_maps/ips.py
index ff87f190f0bc..1cfc8cfe1773 100644
--- a/src/cloudflare/resources/addressing/address_maps/ips.py
+++ b/src/cloudflare/resources/addressing/address_maps/ips.py
@@ -23,7 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import IPDeleteResponse, IPUpdateResponse, ip_delete_params, ip_update_params
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from ....types.addressing.address_maps import ip_delete_params, ip_update_params
__all__ = ["IPs", "AsyncIPs"]
@@ -50,7 +51,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[IPUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add an IP from a prefix owned by the account to a particular address map.
@@ -76,7 +77,7 @@ def update(
if not ip_address:
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return cast(
- Optional[IPUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
body=maybe_transform(body, ip_update_params.IPUpdateParams),
@@ -88,7 +89,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IPUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -106,7 +107,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[IPDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove an IP from a particular address map.
@@ -132,7 +133,7 @@ def delete(
if not ip_address:
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return cast(
- Optional[IPDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
body=maybe_transform(body, ip_delete_params.IPDeleteParams),
@@ -144,7 +145,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IPDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -172,7 +173,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[IPUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add an IP from a prefix owned by the account to a particular address map.
@@ -198,7 +199,7 @@ async def update(
if not ip_address:
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return cast(
- Optional[IPUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
body=await async_maybe_transform(body, ip_update_params.IPUpdateParams),
@@ -210,7 +211,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IPUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -228,7 +229,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[IPDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove an IP from a particular address map.
@@ -254,7 +255,7 @@ async def delete(
if not ip_address:
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return cast(
- Optional[IPDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
body=await async_maybe_transform(body, ip_delete_params.IPDeleteParams),
@@ -266,7 +267,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IPDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/address_maps/zones.py b/src/cloudflare/resources/addressing/address_maps/zones.py
index 6bf140d4d710..092e5f711de8 100644
--- a/src/cloudflare/resources/addressing/address_maps/zones.py
+++ b/src/cloudflare/resources/addressing/address_maps/zones.py
@@ -23,12 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import (
- ZoneDeleteResponse,
- ZoneUpdateResponse,
- zone_delete_params,
- zone_update_params,
-)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from ....types.addressing.address_maps import zone_delete_params, zone_update_params
__all__ = ["Zones", "AsyncZones"]
@@ -55,7 +51,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ZoneUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add a zone as a member of a particular address map.
@@ -81,7 +77,7 @@ def update(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[ZoneUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
body=maybe_transform(body, zone_update_params.ZoneUpdateParams),
@@ -93,7 +89,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ZoneUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -111,7 +107,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ZoneDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove a zone as a member of a particular address map.
@@ -137,7 +133,7 @@ def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[ZoneDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
body=maybe_transform(body, zone_delete_params.ZoneDeleteParams),
@@ -149,7 +145,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ZoneDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -177,7 +173,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ZoneUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Add a zone as a member of a particular address map.
@@ -203,7 +199,7 @@ async def update(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[ZoneUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._put(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
body=await async_maybe_transform(body, zone_update_params.ZoneUpdateParams),
@@ -215,7 +211,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ZoneUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -233,7 +229,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ZoneDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Remove a zone as a member of a particular address map.
@@ -259,7 +255,7 @@ async def delete(
if not address_map_id:
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return cast(
- Optional[ZoneDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
body=await async_maybe_transform(body, zone_delete_params.ZoneDeleteParams),
@@ -271,7 +267,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ZoneDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/prefixes/bgp/bindings.py b/src/cloudflare/resources/addressing/prefixes/bgp/bindings.py
index 8b83ba3380d0..35d3c67232fd 100644
--- a/src/cloudflare/resources/addressing/prefixes/bgp/bindings.py
+++ b/src/cloudflare/resources/addressing/prefixes/bgp/bindings.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from .....types.shared import UnnamedSchemaRef171
+from .....types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from .....types.addressing.prefixes.bgp import AddressingServiceBinding, binding_create_params
__all__ = ["Bindings", "AsyncBindings"]
@@ -159,7 +159,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Service Binding
@@ -185,7 +185,7 @@ def delete(
if not binding_id:
raise ValueError(f"Expected a non-empty value for `binding_id` but received {binding_id!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings/{binding_id}",
options=make_request_options(
@@ -196,7 +196,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -379,7 +379,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Service Binding
@@ -405,7 +405,7 @@ async def delete(
if not binding_id:
raise ValueError(f"Expected a non-empty value for `binding_id` but received {binding_id!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings/{binding_id}",
options=make_request_options(
@@ -416,7 +416,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/addressing/prefixes/prefixes.py b/src/cloudflare/resources/addressing/prefixes/prefixes.py
index ff45c6c4ac55..7844e7fab443 100644
--- a/src/cloudflare/resources/addressing/prefixes/prefixes.py
+++ b/src/cloudflare/resources/addressing/prefixes/prefixes.py
@@ -42,13 +42,8 @@
AsyncPaginator,
make_request_options,
)
-from ....types.addressing import (
- PrefixDeleteResponse,
- AddressingIpamPrefixes,
- prefix_edit_params,
- prefix_create_params,
- prefix_delete_params,
-)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from ....types.addressing import AddressingIpamPrefixes, prefix_edit_params, prefix_create_params, prefix_delete_params
__all__ = ["Prefixes", "AsyncPrefixes"]
@@ -174,7 +169,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PrefixDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete an unapproved prefix owned by the account.
@@ -196,7 +191,7 @@ def delete(
if not prefix_id:
raise ValueError(f"Expected a non-empty value for `prefix_id` but received {prefix_id!r}")
return cast(
- Optional[PrefixDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}",
body=maybe_transform(body, prefix_delete_params.PrefixDeleteParams),
@@ -208,7 +203,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PrefixDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -427,7 +422,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PrefixDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete an unapproved prefix owned by the account.
@@ -449,7 +444,7 @@ async def delete(
if not prefix_id:
raise ValueError(f"Expected a non-empty value for `prefix_id` but received {prefix_id!r}")
return cast(
- Optional[PrefixDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}",
body=await async_maybe_transform(body, prefix_delete_params.PrefixDeleteParams),
@@ -461,7 +456,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PrefixDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/alerting/available_alerts.py b/src/cloudflare/resources/alerting/available_alerts.py
index c82b9a6af068..660b0e2fb6fc 100644
--- a/src/cloudflare/resources/alerting/available_alerts.py
+++ b/src/cloudflare/resources/alerting/available_alerts.py
@@ -19,7 +19,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef116
+from ...types.alerting import AvailableAlertListResponse
__all__ = ["AvailableAlerts", "AsyncAvailableAlerts"]
@@ -43,7 +43,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef116]:
+ ) -> Optional[AvailableAlertListResponse]:
"""
Gets a list of all alert types for which an account is eligible.
@@ -61,7 +61,7 @@ def list(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef116],
+ Optional[AvailableAlertListResponse],
self._get(
f"/accounts/{account_id}/alerting/v3/available_alerts",
options=make_request_options(
@@ -72,7 +72,7 @@ def list(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef116]
+ Any, ResultWrapper[AvailableAlertListResponse]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -97,7 +97,7 @@ async def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef116]:
+ ) -> Optional[AvailableAlertListResponse]:
"""
Gets a list of all alert types for which an account is eligible.
@@ -115,7 +115,7 @@ async def list(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef116],
+ Optional[AvailableAlertListResponse],
await self._get(
f"/accounts/{account_id}/alerting/v3/available_alerts",
options=make_request_options(
@@ -126,7 +126,7 @@ async def list(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef116]
+ Any, ResultWrapper[AvailableAlertListResponse]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/alerting/destinations/pagerduty.py b/src/cloudflare/resources/alerting/destinations/pagerduty.py
index d92b8bf9a8d2..029d578f405b 100644
--- a/src/cloudflare/resources/alerting/destinations/pagerduty.py
+++ b/src/cloudflare/resources/alerting/destinations/pagerduty.py
@@ -19,12 +19,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.alerting.destinations import (
- PagerdutyGetResponse,
- PagerdutyLinkResponse,
- PagerdutyCreateResponse,
- PagerdutyDeleteResponse,
-)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from ....types.alerting.destinations import PagerdutyGetResponse, PagerdutyLinkResponse, PagerdutyCreateResponse
__all__ = ["Pagerduty", "AsyncPagerduty"]
@@ -87,7 +83,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PagerdutyDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes all the PagerDuty Services connected to the account.
@@ -105,7 +101,7 @@ def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[PagerdutyDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/alerting/v3/destinations/pagerduty",
options=make_request_options(
@@ -116,7 +112,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PagerdutyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -263,7 +259,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PagerdutyDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes all the PagerDuty Services connected to the account.
@@ -281,7 +277,7 @@ async def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[PagerdutyDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/alerting/v3/destinations/pagerduty",
options=make_request_options(
@@ -292,7 +288,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PagerdutyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/alerting/destinations/webhooks.py b/src/cloudflare/resources/alerting/destinations/webhooks.py
index 62528f9e7418..def4692982b8 100644
--- a/src/cloudflare/resources/alerting/destinations/webhooks.py
+++ b/src/cloudflare/resources/alerting/destinations/webhooks.py
@@ -25,10 +25,10 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from ....types.alerting.destinations import (
AlertingWebhooks,
WebhookCreateResponse,
- WebhookDeleteResponse,
WebhookUpdateResponse,
webhook_create_params,
webhook_update_params,
@@ -216,7 +216,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[WebhookDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete a configured webhook destination.
@@ -238,7 +238,7 @@ def delete(
if not webhook_id:
raise ValueError(f"Expected a non-empty value for `webhook_id` but received {webhook_id!r}")
return cast(
- Optional[WebhookDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}",
options=make_request_options(
@@ -249,7 +249,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -478,7 +478,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[WebhookDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete a configured webhook destination.
@@ -500,7 +500,7 @@ async def delete(
if not webhook_id:
raise ValueError(f"Expected a non-empty value for `webhook_id` but received {webhook_id!r}")
return cast(
- Optional[WebhookDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}",
options=make_request_options(
@@ -511,7 +511,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/alerting/policies.py b/src/cloudflare/resources/alerting/policies.py
index a3372cb90f58..5f1c5891e587 100644
--- a/src/cloudflare/resources/alerting/policies.py
+++ b/src/cloudflare/resources/alerting/policies.py
@@ -26,10 +26,10 @@
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from ...types.alerting import (
AlertingPolicies,
PolicyCreateResponse,
- PolicyDeleteResponse,
PolicyUpdateResponse,
policy_create_params,
policy_update_params,
@@ -358,7 +358,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PolicyDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete a Notification policy.
@@ -380,7 +380,7 @@ def delete(
if not policy_id:
raise ValueError(f"Expected a non-empty value for `policy_id` but received {policy_id!r}")
return cast(
- Optional[PolicyDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/alerting/v3/policies/{policy_id}",
options=make_request_options(
@@ -391,7 +391,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PolicyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -761,7 +761,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[PolicyDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete a Notification policy.
@@ -783,7 +783,7 @@ async def delete(
if not policy_id:
raise ValueError(f"Expected a non-empty value for `policy_id` but received {policy_id!r}")
return cast(
- Optional[PolicyDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/alerting/v3/policies/{policy_id}",
options=make_request_options(
@@ -794,7 +794,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PolicyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/argo/smart_routing.py b/src/cloudflare/resources/argo/smart_routing.py
index b80da8e83d3a..25e676d9de9a 100644
--- a/src/cloudflare/resources/argo/smart_routing.py
+++ b/src/cloudflare/resources/argo/smart_routing.py
@@ -21,10 +21,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.argo import SmartRoutingGetResponse, SmartRoutingEditResponse, smart_routing_edit_params
+from ...types.argo import smart_routing_edit_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["SmartRouting", "AsyncSmartRouting"]
@@ -49,7 +50,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartRoutingEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Argo Smart Routing.
@@ -69,7 +70,7 @@ def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartRoutingEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/argo/smart_routing",
body=maybe_transform({"value": value}, smart_routing_edit_params.SmartRoutingEditParams),
@@ -81,7 +82,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartRoutingEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -96,7 +97,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartRoutingGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Argo Smart Routing setting
@@ -114,7 +115,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartRoutingGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/argo/smart_routing",
options=make_request_options(
@@ -125,7 +126,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartRoutingGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -151,7 +152,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartRoutingEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Argo Smart Routing.
@@ -171,7 +172,7 @@ async def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartRoutingEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/argo/smart_routing",
body=await async_maybe_transform({"value": value}, smart_routing_edit_params.SmartRoutingEditParams),
@@ -183,7 +184,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartRoutingEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -198,7 +199,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartRoutingGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Argo Smart Routing setting
@@ -216,7 +217,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartRoutingGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/argo/smart_routing",
options=make_request_options(
@@ -227,7 +228,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartRoutingGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/argo/tiered_caching.py b/src/cloudflare/resources/argo/tiered_caching.py
index 354ba514e3af..578afa33b629 100644
--- a/src/cloudflare/resources/argo/tiered_caching.py
+++ b/src/cloudflare/resources/argo/tiered_caching.py
@@ -21,10 +21,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.argo import TieredCachingGetResponse, TieredCachingEditResponse, tiered_caching_edit_params
+from ...types.argo import tiered_caching_edit_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["TieredCaching", "AsyncTieredCaching"]
@@ -49,7 +50,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TieredCachingEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Tiered Caching
@@ -69,7 +70,7 @@ def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- TieredCachingEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/argo/tiered_caching",
body=maybe_transform({"value": value}, tiered_caching_edit_params.TieredCachingEditParams),
@@ -81,7 +82,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TieredCachingEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -96,7 +97,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TieredCachingGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Tiered Caching setting
@@ -114,7 +115,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- TieredCachingGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/argo/tiered_caching",
options=make_request_options(
@@ -125,7 +126,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TieredCachingGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -151,7 +152,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TieredCachingEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Tiered Caching
@@ -171,7 +172,7 @@ async def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- TieredCachingEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/argo/tiered_caching",
body=await async_maybe_transform({"value": value}, tiered_caching_edit_params.TieredCachingEditParams),
@@ -183,7 +184,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TieredCachingEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -198,7 +199,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TieredCachingGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Tiered Caching setting
@@ -216,7 +217,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- TieredCachingGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/argo/tiered_caching",
options=make_request_options(
@@ -227,7 +228,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TieredCachingGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/billing/profiles.py b/src/cloudflare/resources/billing/profiles.py
index b7e24e1868a5..061d4fcfd64c 100644
--- a/src/cloudflare/resources/billing/profiles.py
+++ b/src/cloudflare/resources/billing/profiles.py
@@ -19,7 +19,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.billing import ProfileGetResponse
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Profiles", "AsyncProfiles"]
@@ -43,7 +43,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProfileGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the current billing profile for the account.
@@ -57,7 +57,7 @@ def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- ProfileGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_identifier}/billing/profile",
options=make_request_options(
@@ -68,7 +68,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProfileGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -93,7 +93,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProfileGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the current billing profile for the account.
@@ -107,7 +107,7 @@ async def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- ProfileGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_identifier}/billing/profile",
options=make_request_options(
@@ -118,7 +118,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProfileGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/cache/smart_tiered_cache.py b/src/cloudflare/resources/cache/smart_tiered_cache.py
index c7a485797b02..67334bb7f00f 100644
--- a/src/cloudflare/resources/cache/smart_tiered_cache.py
+++ b/src/cloudflare/resources/cache/smart_tiered_cache.py
@@ -21,16 +21,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.cache import (
- SmartTieredCacheGetResponse,
- SmartTieredCacheEditResponse,
- SmartTieredCacheDeleteResponse,
- smart_tiered_cache_edit_params,
- smart_tiered_cache_delete_params,
-)
+from ...types.cache import smart_tiered_cache_edit_params, smart_tiered_cache_delete_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["SmartTieredCache", "AsyncSmartTieredCache"]
@@ -55,7 +50,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Remvoves enablement of Smart Tiered Cache
@@ -73,7 +68,7 @@ def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
body=maybe_transform(body, smart_tiered_cache_delete_params.SmartTieredCacheDeleteParams),
@@ -85,7 +80,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -101,7 +96,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Tiered Cache
@@ -121,7 +116,7 @@ def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
body=maybe_transform({"value": value}, smart_tiered_cache_edit_params.SmartTieredCacheEditParams),
@@ -133,7 +128,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -148,7 +143,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Smart Tiered Cache setting
@@ -166,7 +161,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
options=make_request_options(
@@ -177,7 +172,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -203,7 +198,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Remvoves enablement of Smart Tiered Cache
@@ -221,7 +216,7 @@ async def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
body=await async_maybe_transform(body, smart_tiered_cache_delete_params.SmartTieredCacheDeleteParams),
@@ -233,7 +228,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -249,7 +244,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates enablement of Tiered Cache
@@ -269,7 +264,7 @@ async def edit(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
body=await async_maybe_transform(
@@ -283,7 +278,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -298,7 +293,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SmartTieredCacheGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Smart Tiered Cache setting
@@ -316,7 +311,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- SmartTieredCacheGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
options=make_request_options(
@@ -327,7 +322,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SmartTieredCacheGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/cloudforce_one/requests/message.py b/src/cloudflare/resources/cloudforce_one/requests/message.py
index 3a034129e868..ca2d2f9dccd2 100644
--- a/src/cloudflare/resources/cloudforce_one/requests/message.py
+++ b/src/cloudflare/resources/cloudforce_one/requests/message.py
@@ -25,7 +25,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef171
+from ....types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from ....types.cloudforce_one.requests import (
MessageGetResponse,
CloudforceOneRequestMessageItem,
@@ -178,7 +178,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Request Message
@@ -200,7 +200,7 @@ def delete(
if not request_identifier:
raise ValueError(f"Expected a non-empty value for `request_identifier` but received {request_identifier!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/{request_identifier}/message/{message_identifer}",
options=make_request_options(
@@ -211,7 +211,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -431,7 +431,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Request Message
@@ -453,7 +453,7 @@ async def delete(
if not request_identifier:
raise ValueError(f"Expected a non-empty value for `request_identifier` but received {request_identifier!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/{request_identifier}/message/{message_identifer}",
options=make_request_options(
@@ -464,7 +464,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/cloudforce_one/requests/priority.py b/src/cloudflare/resources/cloudforce_one/requests/priority.py
index 96c17d232525..76b7eabea30f 100644
--- a/src/cloudflare/resources/cloudforce_one/requests/priority.py
+++ b/src/cloudflare/resources/cloudforce_one/requests/priority.py
@@ -24,7 +24,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef171
+from ....types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from ....types.cloudforce_one import CloudforceOneQuota, CloudforceOneRequestItem
from ....types.cloudforce_one.requests import CloudforceOnePriorityItem, priority_create_params, priority_update_params
@@ -176,7 +176,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Priority Intelligence Report
@@ -198,7 +198,7 @@ def delete(
if not priority_identifer:
raise ValueError(f"Expected a non-empty value for `priority_identifer` but received {priority_identifer!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/priority/{priority_identifer}",
options=make_request_options(
@@ -209,7 +209,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -443,7 +443,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Priority Intelligence Report
@@ -465,7 +465,7 @@ async def delete(
if not priority_identifer:
raise ValueError(f"Expected a non-empty value for `priority_identifer` but received {priority_identifer!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/priority/{priority_identifer}",
options=make_request_options(
@@ -476,7 +476,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/cloudforce_one/requests/requests.py b/src/cloudflare/resources/cloudforce_one/requests/requests.py
index 7c4134a8771f..cc623d1a55fe 100644
--- a/src/cloudflare/resources/cloudforce_one/requests/requests.py
+++ b/src/cloudflare/resources/cloudforce_one/requests/requests.py
@@ -43,7 +43,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef171
+from ....types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from ....types.cloudforce_one import (
CloudforceOneQuota,
CloudforceOneRequestItem,
@@ -306,7 +306,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Request
@@ -328,7 +328,7 @@ def delete(
if not request_identifier:
raise ValueError(f"Expected a non-empty value for `request_identifier` but received {request_identifier!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/{request_identifier}",
options=make_request_options(
@@ -339,7 +339,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -754,7 +754,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete a Request
@@ -776,7 +776,7 @@ async def delete(
if not request_identifier:
raise ValueError(f"Expected a non-empty value for `request_identifier` but received {request_identifier!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/accounts/{account_identifier}/cloudforce-one/requests/{request_identifier}",
options=make_request_options(
@@ -787,7 +787,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/custom_certificates/custom_certificates.py b/src/cloudflare/resources/custom_certificates/custom_certificates.py
index 03c105e3ea7c..1d943cad9f83 100644
--- a/src/cloudflare/resources/custom_certificates/custom_certificates.py
+++ b/src/cloudflare/resources/custom_certificates/custom_certificates.py
@@ -9,10 +9,7 @@
from ...types import (
CustomCertificate,
- CustomCertificateGetResponse,
- CustomCertificateEditResponse,
- CustomCertificateCreateResponse,
- CustomCertificateDeleteResponse,
+ UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
custom_certificate_edit_params,
custom_certificate_list_params,
custom_certificate_create_params,
@@ -45,7 +42,10 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef78
+from ...types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
__all__ = ["CustomCertificates", "AsyncCustomCertificates"]
@@ -69,7 +69,7 @@ def create(
zone_id: str,
certificate: str,
private_key: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
geo_restrictions: custom_certificate_create_params.GeoRestrictions | NotGiven = NOT_GIVEN,
policy: str | NotGiven = NOT_GIVEN,
type: Literal["legacy_custom", "sni_custom"] | NotGiven = NOT_GIVEN,
@@ -79,7 +79,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload a new SSL certificate for a zone.
@@ -127,7 +127,7 @@ def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- CustomCertificateCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_id}/custom_certificates",
body=maybe_transform(
@@ -149,7 +149,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -229,7 +229,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Remove a SSL certificate from a zone.
@@ -262,7 +262,10 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[CustomCertificateDeleteResponse], ResultWrapper[CustomCertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
def edit(
@@ -270,7 +273,7 @@ def edit(
custom_certificate_id: str,
*,
zone_id: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
certificate: str | NotGiven = NOT_GIVEN,
geo_restrictions: custom_certificate_edit_params.GeoRestrictions | NotGiven = NOT_GIVEN,
policy: str | NotGiven = NOT_GIVEN,
@@ -281,7 +284,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Upload a new private key and/or PEM/CRT for the SSL certificate.
Note: PATCHing
@@ -335,7 +338,7 @@ def edit(
f"Expected a non-empty value for `custom_certificate_id` but received {custom_certificate_id!r}"
)
return cast(
- CustomCertificateEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
body=maybe_transform(
@@ -356,7 +359,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -372,7 +375,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
SSL Configuration Details
@@ -396,7 +399,7 @@ def get(
f"Expected a non-empty value for `custom_certificate_id` but received {custom_certificate_id!r}"
)
return cast(
- CustomCertificateGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
options=make_request_options(
@@ -407,7 +410,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -432,7 +435,7 @@ async def create(
zone_id: str,
certificate: str,
private_key: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
geo_restrictions: custom_certificate_create_params.GeoRestrictions | NotGiven = NOT_GIVEN,
policy: str | NotGiven = NOT_GIVEN,
type: Literal["legacy_custom", "sni_custom"] | NotGiven = NOT_GIVEN,
@@ -442,7 +445,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload a new SSL certificate for a zone.
@@ -490,7 +493,7 @@ async def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- CustomCertificateCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_id}/custom_certificates",
body=await async_maybe_transform(
@@ -512,7 +515,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -592,7 +595,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Remove a SSL certificate from a zone.
@@ -625,7 +628,10 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[CustomCertificateDeleteResponse], ResultWrapper[CustomCertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
async def edit(
@@ -633,7 +639,7 @@ async def edit(
custom_certificate_id: str,
*,
zone_id: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
certificate: str | NotGiven = NOT_GIVEN,
geo_restrictions: custom_certificate_edit_params.GeoRestrictions | NotGiven = NOT_GIVEN,
policy: str | NotGiven = NOT_GIVEN,
@@ -644,7 +650,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Upload a new private key and/or PEM/CRT for the SSL certificate.
Note: PATCHing
@@ -698,7 +704,7 @@ async def edit(
f"Expected a non-empty value for `custom_certificate_id` but received {custom_certificate_id!r}"
)
return cast(
- CustomCertificateEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
body=await async_maybe_transform(
@@ -719,7 +725,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -735,7 +741,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomCertificateGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
SSL Configuration Details
@@ -759,7 +765,7 @@ async def get(
f"Expected a non-empty value for `custom_certificate_id` but received {custom_certificate_id!r}"
)
return cast(
- CustomCertificateGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
options=make_request_options(
@@ -770,7 +776,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomCertificateGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
index 843db8f09080..8df996166acd 100644
--- a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
+++ b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
@@ -12,7 +12,6 @@
CustomHostnameEditResponse,
CustomHostnameListResponse,
CustomHostnameCreateResponse,
- CustomHostnameDeleteResponse,
custom_hostname_edit_params,
custom_hostname_list_params,
custom_hostname_create_params,
@@ -37,6 +36,7 @@
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
from .fallback_origin import (
FallbackOrigin,
AsyncFallbackOrigin,
@@ -211,7 +211,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomHostnameDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Delete Custom Hostname (and any issued SSL certificates)
@@ -238,7 +238,7 @@ def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=CustomHostnameDeleteResponse,
+ cast_to=UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
)
def edit(
@@ -522,7 +522,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CustomHostnameDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Delete Custom Hostname (and any issued SSL certificates)
@@ -549,7 +549,7 @@ async def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=CustomHostnameDeleteResponse,
+ cast_to=UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
)
async def edit(
diff --git a/src/cloudflare/resources/custom_hostnames/fallback_origin.py b/src/cloudflare/resources/custom_hostnames/fallback_origin.py
index f5f725c8d56c..5f221a567da9 100644
--- a/src/cloudflare/resources/custom_hostnames/fallback_origin.py
+++ b/src/cloudflare/resources/custom_hostnames/fallback_origin.py
@@ -23,13 +23,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.custom_hostnames import (
- FallbackOriginGetResponse,
- FallbackOriginDeleteResponse,
- FallbackOriginUpdateResponse,
- fallback_origin_delete_params,
- fallback_origin_update_params,
-)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from ...types.custom_hostnames import fallback_origin_delete_params, fallback_origin_update_params
__all__ = ["FallbackOrigin", "AsyncFallbackOrigin"]
@@ -54,7 +49,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update Fallback Origin for Custom Hostnames
@@ -74,7 +69,7 @@ def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
body=maybe_transform({"origin": origin}, fallback_origin_update_params.FallbackOriginUpdateParams),
@@ -86,7 +81,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -102,7 +97,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete Fallback Origin for Custom Hostnames
@@ -120,7 +115,7 @@ def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
body=maybe_transform(body, fallback_origin_delete_params.FallbackOriginDeleteParams),
@@ -132,7 +127,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -147,7 +142,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Fallback Origin for Custom Hostnames
@@ -165,7 +160,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
options=make_request_options(
@@ -176,7 +171,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -202,7 +197,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update Fallback Origin for Custom Hostnames
@@ -222,7 +217,7 @@ async def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
body=await async_maybe_transform(
@@ -236,7 +231,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -252,7 +247,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete Fallback Origin for Custom Hostnames
@@ -270,7 +265,7 @@ async def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
body=await async_maybe_transform(body, fallback_origin_delete_params.FallbackOriginDeleteParams),
@@ -282,7 +277,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -297,7 +292,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> FallbackOriginGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Fallback Origin for Custom Hostnames
@@ -315,7 +310,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- FallbackOriginGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
options=make_request_options(
@@ -326,7 +321,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[FallbackOriginGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/custom_nameservers.py b/src/cloudflare/resources/custom_nameservers.py
index 6223345685a1..343c70594957 100644
--- a/src/cloudflare/resources/custom_nameservers.py
+++ b/src/cloudflare/resources/custom_nameservers.py
@@ -9,7 +9,6 @@
from ..types import (
CustomNameserver,
CustomNameserverGetResponse,
- CustomNameserverDeleteResponse,
CustomNameserverVerifyResponse,
CustomNameserverAvailabiltyResponse,
custom_nameserver_create_params,
@@ -33,6 +32,7 @@
from .._base_client import (
make_request_options,
)
+from ..types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
__all__ = ["CustomNameservers", "AsyncCustomNameservers"]
@@ -110,7 +110,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete Account Custom Nameserver
@@ -132,7 +132,7 @@ def delete(
if not custom_ns_id:
raise ValueError(f"Expected a non-empty value for `custom_ns_id` but received {custom_ns_id!r}")
return cast(
- Optional[CustomNameserverDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/custom_ns/{custom_ns_id}",
body=maybe_transform(body, custom_nameserver_delete_params.CustomNameserverDeleteParams),
@@ -144,7 +144,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -344,7 +344,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Delete Account Custom Nameserver
@@ -366,7 +366,7 @@ async def delete(
if not custom_ns_id:
raise ValueError(f"Expected a non-empty value for `custom_ns_id` but received {custom_ns_id!r}")
return cast(
- Optional[CustomNameserverDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/custom_ns/{custom_ns_id}",
body=await async_maybe_transform(body, custom_nameserver_delete_params.CustomNameserverDeleteParams),
@@ -378,7 +378,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/d1/database.py b/src/cloudflare/resources/d1/database.py
index fbd55ad01e7d..3961a6bc1935 100644
--- a/src/cloudflare/resources/d1/database.py
+++ b/src/cloudflare/resources/d1/database.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Type, Optional, cast
+from typing import Any, List, Type, cast
import httpx
@@ -33,7 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Database", "AsyncDatabase"]
@@ -155,7 +155,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified D1 database.
@@ -177,7 +177,7 @@ def delete(
f"Expected a non-empty value for `database_identifier` but received {database_identifier!r}"
)
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_identifier}/d1/database/{database_identifier}",
options=make_request_options(
@@ -188,7 +188,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -408,7 +408,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified D1 database.
@@ -430,7 +430,7 @@ async def delete(
f"Expected a non-empty value for `database_identifier` but received {database_identifier!r}"
)
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_identifier}/d1/database/{database_identifier}",
options=make_request_options(
@@ -441,7 +441,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/dnssec.py b/src/cloudflare/resources/dnssec.py
index b6dbd5f3a104..de852178cb00 100644
--- a/src/cloudflare/resources/dnssec.py
+++ b/src/cloudflare/resources/dnssec.py
@@ -25,7 +25,7 @@
from .._base_client import (
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef49
+from ..types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
__all__ = ["DNSSECResource", "AsyncDNSSECResource"]
@@ -50,7 +50,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef49:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Delete DNSSEC.
@@ -68,7 +68,7 @@ def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- UnnamedSchemaRef49,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/zones/{zone_id}/dnssec",
body=maybe_transform(body, dnssec_delete_params.DNSSECDeleteParams),
@@ -80,7 +80,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef49]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -214,7 +214,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef49:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Delete DNSSEC.
@@ -232,7 +232,7 @@ async def delete(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- UnnamedSchemaRef49,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/zones/{zone_id}/dnssec",
body=await async_maybe_transform(body, dnssec_delete_params.DNSSECDeleteParams),
@@ -244,7 +244,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef49]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/firewall/access_rules.py b/src/cloudflare/resources/firewall/access_rules.py
index a8f571363f9c..eeb7875093bf 100644
--- a/src/cloudflare/resources/firewall/access_rules.py
+++ b/src/cloudflare/resources/firewall/access_rules.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ...types.firewall import (
AccessRuleDeleteResponse,
access_rule_edit_params,
@@ -61,7 +61,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Creates a new IP Access rule for an account or zone.
The rule will apply to all
@@ -105,7 +105,7 @@ def create(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules",
body=maybe_transform(
@@ -124,7 +124,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -287,7 +287,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an IP Access rule defined.
@@ -328,7 +328,7 @@ def edit(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
body=maybe_transform(
@@ -347,7 +347,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -364,7 +364,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of an IP Access rule defined.
@@ -397,7 +397,7 @@ def get(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
options=make_request_options(
@@ -408,7 +408,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -437,7 +437,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Creates a new IP Access rule for an account or zone.
The rule will apply to all
@@ -481,7 +481,7 @@ async def create(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules",
body=await async_maybe_transform(
@@ -500,7 +500,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -663,7 +663,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an IP Access rule defined.
@@ -704,7 +704,7 @@ async def edit(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
body=await async_maybe_transform(
@@ -723,7 +723,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -740,7 +740,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of an IP Access rule defined.
@@ -773,7 +773,7 @@ async def get(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
options=make_request_options(
@@ -784,7 +784,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/firewall/ua_rules.py b/src/cloudflare/resources/firewall/ua_rules.py
index da5cd2f8bbf7..a08a66614706 100644
--- a/src/cloudflare/resources/firewall/ua_rules.py
+++ b/src/cloudflare/resources/firewall/ua_rules.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ...types.firewall import (
UARuleListResponse,
UARuleDeleteResponse,
@@ -58,7 +58,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a new User Agent Blocking rule in a zone.
@@ -76,7 +76,7 @@ def create(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_identifier}/firewall/ua_rules",
body=maybe_transform(body, ua_rule_create_params.UARuleCreateParams),
@@ -88,7 +88,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -105,7 +105,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an existing User Agent Blocking rule.
@@ -127,7 +127,7 @@ def update(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
body=maybe_transform(body, ua_rule_update_params.UARuleUpdateParams),
@@ -139,7 +139,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -268,7 +268,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a User Agent Blocking rule.
@@ -290,7 +290,7 @@ def get(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
options=make_request_options(
@@ -301,7 +301,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -327,7 +327,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a new User Agent Blocking rule in a zone.
@@ -345,7 +345,7 @@ async def create(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_identifier}/firewall/ua_rules",
body=await async_maybe_transform(body, ua_rule_create_params.UARuleCreateParams),
@@ -357,7 +357,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -374,7 +374,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an existing User Agent Blocking rule.
@@ -396,7 +396,7 @@ async def update(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
body=await async_maybe_transform(body, ua_rule_update_params.UARuleUpdateParams),
@@ -408,7 +408,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -537,7 +537,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a User Agent Blocking rule.
@@ -559,7 +559,7 @@ async def get(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
options=make_request_options(
@@ -570,7 +570,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/firewall/waf/packages/groups.py b/src/cloudflare/resources/firewall/waf/packages/groups.py
index 8dad7b604188..048f71acf115 100644
--- a/src/cloudflare/resources/firewall/waf/packages/groups.py
+++ b/src/cloudflare/resources/firewall/waf/packages/groups.py
@@ -26,13 +26,8 @@
AsyncPaginator,
make_request_options,
)
-from .....types.firewall.waf.packages import (
- GroupGetResponse,
- GroupEditResponse,
- WAFManagedRulesGroup,
- group_edit_params,
- group_list_params,
-)
+from .....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from .....types.firewall.waf.packages import WAFManagedRulesGroup, group_edit_params, group_list_params
__all__ = ["Groups", "AsyncGroups"]
@@ -145,7 +140,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> GroupEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Updates a WAF rule group.
You can update the state (`mode` parameter) of a rule
@@ -179,7 +174,7 @@ def edit(
if not group_id:
raise ValueError(f"Expected a non-empty value for `group_id` but received {group_id!r}")
return cast(
- GroupEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}",
body=maybe_transform({"mode": mode}, group_edit_params.GroupEditParams),
@@ -191,7 +186,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[GroupEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -208,7 +203,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> GroupGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a WAF rule group.
@@ -237,7 +232,7 @@ def get(
if not group_id:
raise ValueError(f"Expected a non-empty value for `group_id` but received {group_id!r}")
return cast(
- GroupGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}",
options=make_request_options(
@@ -248,7 +243,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[GroupGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -362,7 +357,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> GroupEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Updates a WAF rule group.
You can update the state (`mode` parameter) of a rule
@@ -396,7 +391,7 @@ async def edit(
if not group_id:
raise ValueError(f"Expected a non-empty value for `group_id` but received {group_id!r}")
return cast(
- GroupEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}",
body=await async_maybe_transform({"mode": mode}, group_edit_params.GroupEditParams),
@@ -408,7 +403,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[GroupEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -425,7 +420,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> GroupGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a WAF rule group.
@@ -454,7 +449,7 @@ async def get(
if not group_id:
raise ValueError(f"Expected a non-empty value for `group_id` but received {group_id!r}")
return cast(
- GroupGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}",
options=make_request_options(
@@ -465,7 +460,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[GroupGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/firewall/waf/packages/rules.py b/src/cloudflare/resources/firewall/waf/packages/rules.py
index 2944a8249c26..175ca9e97ade 100644
--- a/src/cloudflare/resources/firewall/waf/packages/rules.py
+++ b/src/cloudflare/resources/firewall/waf/packages/rules.py
@@ -26,13 +26,8 @@
AsyncPaginator,
make_request_options,
)
-from .....types.firewall.waf.packages import (
- RuleGetResponse,
- RuleEditResponse,
- WAFManagedRulesRule,
- rule_edit_params,
- rule_list_params,
-)
+from .....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from .....types.firewall.waf.packages import RuleEditResponse, WAFManagedRulesRule, rule_edit_params, rule_list_params
__all__ = ["Rules", "AsyncRules"]
@@ -210,7 +205,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RuleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a WAF rule in a WAF package.
@@ -239,7 +234,7 @@ def get(
if not rule_id:
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return cast(
- RuleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}",
options=make_request_options(
@@ -250,7 +245,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RuleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -429,7 +424,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RuleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a WAF rule in a WAF package.
@@ -458,7 +453,7 @@ async def get(
if not rule_id:
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return cast(
- RuleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}",
options=make_request_options(
@@ -469,7 +464,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RuleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/hostnames/settings/tls.py b/src/cloudflare/resources/hostnames/settings/tls.py
index 2c97cc762503..9c58de5addea 100644
--- a/src/cloudflare/resources/hostnames/settings/tls.py
+++ b/src/cloudflare/resources/hostnames/settings/tls.py
@@ -24,8 +24,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef65
-from ....types.hostnames.settings import TLSGetResponse, HostnameSettingDelete, tls_update_params
+from ....types.hostnames.settings import HostnameStting, TLSGetResponse, HostnameSettingDelete, tls_update_params
__all__ = ["TLS", "AsyncTLS"]
@@ -52,7 +51,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef65:
+ ) -> HostnameStting:
"""
Update the tls setting value for the hostname.
@@ -89,7 +88,7 @@ def update(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[UnnamedSchemaRef65], ResultWrapper[UnnamedSchemaRef65]),
+ cast_to=cast(Type[HostnameStting], ResultWrapper[HostnameStting]),
)
def delete(
@@ -208,7 +207,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef65:
+ ) -> HostnameStting:
"""
Update the tls setting value for the hostname.
@@ -245,7 +244,7 @@ async def update(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[UnnamedSchemaRef65], ResultWrapper[UnnamedSchemaRef65]),
+ cast_to=cast(Type[HostnameStting], ResultWrapper[HostnameStting]),
)
async def delete(
diff --git a/src/cloudflare/resources/hyperdrive/configs.py b/src/cloudflare/resources/hyperdrive/configs.py
index ff1fa9c98e0c..d1ee65861088 100644
--- a/src/cloudflare/resources/hyperdrive/configs.py
+++ b/src/cloudflare/resources/hyperdrive/configs.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ...types.hyperdrive import (
ConfigGetResponse,
ConfigEditResponse,
@@ -197,7 +197,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified Hyperdrive.
@@ -219,7 +219,7 @@ def delete(
if not hyperdrive_id:
raise ValueError(f"Expected a non-empty value for `hyperdrive_id` but received {hyperdrive_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}",
options=make_request_options(
@@ -230,7 +230,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -485,7 +485,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified Hyperdrive.
@@ -507,7 +507,7 @@ async def delete(
if not hyperdrive_id:
raise ValueError(f"Expected a non-empty value for `hyperdrive_id` but received {hyperdrive_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}",
options=make_request_options(
@@ -518,7 +518,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/images/v1/v1.py b/src/cloudflare/resources/images/v1/v1.py
index 0c9b03b6ceb4..2fea92dac9b7 100644
--- a/src/cloudflare/resources/images/v1/v1.py
+++ b/src/cloudflare/resources/images/v1/v1.py
@@ -58,15 +58,8 @@
AsyncPaginator,
make_request_options,
)
-from ....types.images import (
- Image,
- V1ListResponse,
- V1DeleteResponse,
- v1_edit_params,
- v1_list_params,
- v1_create_params,
- v1_delete_params,
-)
+from ....types.images import Image, V1ListResponse, v1_edit_params, v1_list_params, v1_create_params, v1_delete_params
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["V1", "AsyncV1"]
@@ -263,7 +256,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> V1DeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Delete an image on Cloudflare Images.
On success, all copies of the image are
@@ -287,7 +280,7 @@ def delete(
if not image_id:
raise ValueError(f"Expected a non-empty value for `image_id` but received {image_id!r}")
return cast(
- V1DeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/images/v1/{image_id}",
body=maybe_transform(body, v1_delete_params.V1DeleteParams),
@@ -299,7 +292,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[V1DeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -603,7 +596,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> V1DeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Delete an image on Cloudflare Images.
On success, all copies of the image are
@@ -627,7 +620,7 @@ async def delete(
if not image_id:
raise ValueError(f"Expected a non-empty value for `image_id` but received {image_id!r}")
return cast(
- V1DeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/images/v1/{image_id}",
body=await async_maybe_transform(body, v1_delete_params.V1DeleteParams),
@@ -639,7 +632,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[V1DeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/images/v1/variants.py b/src/cloudflare/resources/images/v1/variants.py
index 125aebbf6ff0..7e5ab26a4705 100644
--- a/src/cloudflare/resources/images/v1/variants.py
+++ b/src/cloudflare/resources/images/v1/variants.py
@@ -23,10 +23,10 @@
from ...._base_client import (
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.images.v1 import (
V1ImageVariant,
V1ImageVariants,
- VariantDeleteResponse,
variant_edit_params,
variant_create_params,
variant_delete_params,
@@ -150,7 +150,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VariantDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deleting a variant purges the cache for all images associated with the variant.
@@ -170,7 +170,7 @@ def delete(
if not variant_id:
raise ValueError(f"Expected a non-empty value for `variant_id` but received {variant_id!r}")
return cast(
- VariantDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/images/v1/variants/{variant_id}",
body=maybe_transform(body, variant_delete_params.VariantDeleteParams),
@@ -182,7 +182,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VariantDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -401,7 +401,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VariantDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deleting a variant purges the cache for all images associated with the variant.
@@ -421,7 +421,7 @@ async def delete(
if not variant_id:
raise ValueError(f"Expected a non-empty value for `variant_id` but received {variant_id!r}")
return cast(
- VariantDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/images/v1/variants/{variant_id}",
body=await async_maybe_transform(body, variant_delete_params.VariantDeleteParams),
@@ -433,7 +433,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VariantDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/intel/attack_surface_report/issues.py b/src/cloudflare/resources/intel/attack_surface_report/issues.py
index 4ce6fc5a93f7..8f9ec5195069 100644
--- a/src/cloudflare/resources/intel/attack_surface_report/issues.py
+++ b/src/cloudflare/resources/intel/attack_surface_report/issues.py
@@ -26,11 +26,11 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
from ....types.intel.attack_surface_report import (
IssueListResponse,
IssueTypeResponse,
IssueClassResponse,
- IssueDismissResponse,
IssueSeverityResponse,
issue_list_params,
issue_type_params,
@@ -239,7 +239,7 @@ def dismiss(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> IssueDismissResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Archive Security Center Insight
@@ -259,7 +259,7 @@ def dismiss(
if not issue_id:
raise ValueError(f"Expected a non-empty value for `issue_id` but received {issue_id!r}")
return cast(
- IssueDismissResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._put(
f"/accounts/{account_id}/intel/attack-surface-report/{issue_id}/dismiss",
body=maybe_transform({"dismiss": dismiss}, issue_dismiss_params.IssueDismissParams),
@@ -271,7 +271,7 @@ def dismiss(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IssueDismissResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -642,7 +642,7 @@ async def dismiss(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> IssueDismissResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Archive Security Center Insight
@@ -662,7 +662,7 @@ async def dismiss(
if not issue_id:
raise ValueError(f"Expected a non-empty value for `issue_id` but received {issue_id!r}")
return cast(
- IssueDismissResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._put(
f"/accounts/{account_id}/intel/attack-surface-report/{issue_id}/dismiss",
body=await async_maybe_transform({"dismiss": dismiss}, issue_dismiss_params.IssueDismissParams),
@@ -674,7 +674,7 @@ async def dismiss(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[IssueDismissResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/intel/miscategorizations.py b/src/cloudflare/resources/intel/miscategorizations.py
index 34b12eb83dac..1ff73f921598 100644
--- a/src/cloudflare/resources/intel/miscategorizations.py
+++ b/src/cloudflare/resources/intel/miscategorizations.py
@@ -21,10 +21,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.intel import MiscategorizationCreateResponse, miscategorization_create_params
+from ...types.intel import miscategorization_create_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
__all__ = ["Miscategorizations", "AsyncMiscategorizations"]
@@ -55,7 +56,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MiscategorizationCreateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Create Miscategorization
@@ -87,7 +88,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- MiscategorizationCreateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._post(
f"/accounts/{account_id}/intel/miscategorization",
body=maybe_transform(
@@ -110,7 +111,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MiscategorizationCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -142,7 +143,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MiscategorizationCreateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Create Miscategorization
@@ -174,7 +175,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- MiscategorizationCreateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._post(
f"/accounts/{account_id}/intel/miscategorization",
body=await async_maybe_transform(
@@ -197,7 +198,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MiscategorizationCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/keyless_certificates.py b/src/cloudflare/resources/keyless_certificates.py
index b80f1eef7325..fff5cfc7d07b 100644
--- a/src/cloudflare/resources/keyless_certificates.py
+++ b/src/cloudflare/resources/keyless_certificates.py
@@ -8,7 +8,7 @@
from ..types import (
KeylessCertificateHostname,
- KeylessCertificateDeleteResponse,
+ UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
keyless_certificate_edit_params,
keyless_certificate_create_params,
keyless_certificate_delete_params,
@@ -32,7 +32,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef78
+from ..types.shared import UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837
__all__ = ["KeylessCertificates", "AsyncKeylessCertificates"]
@@ -53,7 +53,7 @@ def create(
certificate: str,
host: str,
port: float,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
tunnel: keyless_certificate_create_params.Tunnel | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -166,7 +166,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeylessCertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Delete Keyless SSL Configuration
@@ -199,7 +199,10 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[KeylessCertificateDeleteResponse], ResultWrapper[KeylessCertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
def edit(
@@ -339,7 +342,7 @@ async def create(
certificate: str,
host: str,
port: float,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
name: str | NotGiven = NOT_GIVEN,
tunnel: keyless_certificate_create_params.Tunnel | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -452,7 +455,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeylessCertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
Delete Keyless SSL Configuration
@@ -485,7 +488,10 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[KeylessCertificateDeleteResponse], ResultWrapper[KeylessCertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
async def edit(
diff --git a/src/cloudflare/resources/kv/namespaces/bulk.py b/src/cloudflare/resources/kv/namespaces/bulk.py
index 87a612399766..a526205645f2 100644
--- a/src/cloudflare/resources/kv/namespaces/bulk.py
+++ b/src/cloudflare/resources/kv/namespaces/bulk.py
@@ -23,7 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.kv.namespaces import BulkDeleteResponse, BulkUpdateResponse, bulk_delete_params, bulk_update_params
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from ....types.kv.namespaces import bulk_delete_params, bulk_update_params
__all__ = ["Bulk", "AsyncBulk"]
@@ -49,7 +50,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> BulkUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Write multiple keys and values at once.
Body should be an array of up to 10,000
@@ -77,7 +78,7 @@ def update(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- BulkUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
body=maybe_transform(body, bulk_update_params.BulkUpdateParams),
@@ -89,7 +90,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BulkUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -106,7 +107,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> BulkDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Remove multiple KV pairs from the namespace.
Body should be an array of up to
@@ -130,7 +131,7 @@ def delete(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- BulkDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
body=maybe_transform(body, bulk_delete_params.BulkDeleteParams),
@@ -142,7 +143,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BulkDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -169,7 +170,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> BulkUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Write multiple keys and values at once.
Body should be an array of up to 10,000
@@ -197,7 +198,7 @@ async def update(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- BulkUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
body=await async_maybe_transform(body, bulk_update_params.BulkUpdateParams),
@@ -209,7 +210,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BulkUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -226,7 +227,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> BulkDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Remove multiple KV pairs from the namespace.
Body should be an array of up to
@@ -250,7 +251,7 @@ async def delete(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- BulkDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
body=await async_maybe_transform(body, bulk_delete_params.BulkDeleteParams),
@@ -262,7 +263,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BulkDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/kv/namespaces/namespaces.py b/src/cloudflare/resources/kv/namespaces/namespaces.py
index 297ffa0c4e8a..0c4b86a3ce89 100644
--- a/src/cloudflare/resources/kv/namespaces/namespaces.py
+++ b/src/cloudflare/resources/kv/namespaces/namespaces.py
@@ -47,8 +47,6 @@
from ...._compat import cached_property
from ....types.kv import (
WorkersKVNamespace,
- NamespaceDeleteResponse,
- NamespaceUpdateResponse,
namespace_list_params,
namespace_create_params,
namespace_delete_params,
@@ -67,6 +65,7 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
__all__ = ["Namespaces", "AsyncNamespaces"]
@@ -154,7 +153,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> NamespaceUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Modifies a namespace's title.
@@ -178,7 +177,7 @@ def update(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- NamespaceUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
body=maybe_transform({"title": title}, namespace_update_params.NamespaceUpdateParams),
@@ -190,7 +189,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[NamespaceUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -267,7 +266,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> NamespaceDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes the namespace corresponding to the given ID.
@@ -289,7 +288,7 @@ def delete(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- NamespaceDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
body=maybe_transform(body, namespace_delete_params.NamespaceDeleteParams),
@@ -301,7 +300,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[NamespaceDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -390,7 +389,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> NamespaceUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Modifies a namespace's title.
@@ -414,7 +413,7 @@ async def update(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- NamespaceUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
body=await async_maybe_transform({"title": title}, namespace_update_params.NamespaceUpdateParams),
@@ -426,7 +425,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[NamespaceUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -503,7 +502,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> NamespaceDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes the namespace corresponding to the given ID.
@@ -525,7 +524,7 @@ async def delete(
if not namespace_id:
raise ValueError(f"Expected a non-empty value for `namespace_id` but received {namespace_id!r}")
return cast(
- NamespaceDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
body=await async_maybe_transform(body, namespace_delete_params.NamespaceDeleteParams),
@@ -537,7 +536,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[NamespaceDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/kv/namespaces/values.py b/src/cloudflare/resources/kv/namespaces/values.py
index d2ca7c619c44..f6fa4b623264 100644
--- a/src/cloudflare/resources/kv/namespaces/values.py
+++ b/src/cloudflare/resources/kv/namespaces/values.py
@@ -23,12 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.kv.namespaces import (
- ValueDeleteResponse,
- ValueUpdateResponse,
- value_delete_params,
- value_update_params,
-)
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from ....types.kv.namespaces import value_delete_params, value_update_params
__all__ = ["Values", "AsyncValues"]
@@ -56,7 +52,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ValueUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Write a value identified by a key.
Use URL-encoding to use special characters
@@ -93,7 +89,7 @@ def update(
if not key_name:
raise ValueError(f"Expected a non-empty value for `key_name` but received {key_name!r}")
return cast(
- ValueUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
body=maybe_transform(
@@ -111,7 +107,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ValueUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -129,7 +125,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ValueDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Remove a KV pair from the namespace.
Use URL-encoding to use special characters
@@ -158,7 +154,7 @@ def delete(
if not key_name:
raise ValueError(f"Expected a non-empty value for `key_name` but received {key_name!r}")
return cast(
- ValueDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
body=maybe_transform(body, value_delete_params.ValueDeleteParams),
@@ -170,7 +166,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ValueDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -250,7 +246,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ValueUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Write a value identified by a key.
Use URL-encoding to use special characters
@@ -287,7 +283,7 @@ async def update(
if not key_name:
raise ValueError(f"Expected a non-empty value for `key_name` but received {key_name!r}")
return cast(
- ValueUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._put(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
body=await async_maybe_transform(
@@ -305,7 +301,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ValueUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -323,7 +319,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ValueDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""Remove a KV pair from the namespace.
Use URL-encoding to use special characters
@@ -352,7 +348,7 @@ async def delete(
if not key_name:
raise ValueError(f"Expected a non-empty value for `key_name` but received {key_name!r}")
return cast(
- ValueDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
body=await async_maybe_transform(body, value_delete_params.ValueDeleteParams),
@@ -364,7 +360,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ValueDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/load_balancers/regions.py b/src/cloudflare/resources/load_balancers/regions.py
index eb787f86d2db..0f7281f40346 100644
--- a/src/cloudflare/resources/load_balancers/regions.py
+++ b/src/cloudflare/resources/load_balancers/regions.py
@@ -24,7 +24,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.load_balancers import RegionGetResponse, RegionListResponse, region_list_params
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from ...types.load_balancers import RegionGetResponse, region_list_params
__all__ = ["Regions", "AsyncRegions"]
@@ -51,7 +52,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RegionListResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
List all region mappings.
@@ -75,7 +76,7 @@ def list(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- RegionListResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/load_balancers/regions",
options=make_request_options(
@@ -94,7 +95,7 @@ def list(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RegionListResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -177,7 +178,7 @@ async def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RegionListResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
List all region mappings.
@@ -201,7 +202,7 @@ async def list(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- RegionListResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/load_balancers/regions",
options=make_request_options(
@@ -220,7 +221,7 @@ async def list(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RegionListResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/logpush/jobs.py b/src/cloudflare/resources/logpush/jobs.py
index e459918c8c6c..f25ed65f581b 100644
--- a/src/cloudflare/resources/logpush/jobs.py
+++ b/src/cloudflare/resources/logpush/jobs.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef161
+from ...types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from ...types.logpush import job_create_params, job_delete_params, job_update_params
from ...types.logpush.datasets import LogpushJob
@@ -306,7 +306,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef161]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes a Logpush job.
@@ -341,7 +341,7 @@ def delete(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef161],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._delete(
f"/{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}",
body=maybe_transform(body, job_delete_params.JobDeleteParams),
@@ -353,7 +353,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef161]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -690,7 +690,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef161]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes a Logpush job.
@@ -725,7 +725,7 @@ async def delete(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- Optional[UnnamedSchemaRef161],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._delete(
f"/{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}",
body=await async_maybe_transform(body, job_delete_params.JobDeleteParams),
@@ -737,7 +737,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef161]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/logpush/ownership.py b/src/cloudflare/resources/logpush/ownership.py
index c582203bc80b..98767f35eea8 100644
--- a/src/cloudflare/resources/logpush/ownership.py
+++ b/src/cloudflare/resources/logpush/ownership.py
@@ -23,12 +23,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.logpush import (
- OwnershipCreateResponse,
- OwnershipValidateResponse,
- ownership_create_params,
- ownership_validate_params,
-)
+from ...types.shared import UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854
+from ...types.logpush import OwnershipCreateResponse, ownership_create_params, ownership_validate_params
__all__ = ["Ownership", "AsyncOwnership"]
@@ -116,7 +112,7 @@ def validate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[OwnershipValidateResponse]:
+ ) -> Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]:
"""
Validates ownership challenge of the destination.
@@ -170,7 +166,10 @@ def validate(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[Optional[OwnershipValidateResponse]], ResultWrapper[OwnershipValidateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]],
+ ResultWrapper[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854],
+ ),
)
@@ -259,7 +258,7 @@ async def validate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[OwnershipValidateResponse]:
+ ) -> Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]:
"""
Validates ownership challenge of the destination.
@@ -313,7 +312,10 @@ async def validate(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[Optional[OwnershipValidateResponse]], ResultWrapper[OwnershipValidateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]],
+ ResultWrapper[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854],
+ ),
)
diff --git a/src/cloudflare/resources/logs/control/cmb/config.py b/src/cloudflare/resources/logs/control/cmb/config.py
index e73d3ad8f8ec..9cbb4fe49879 100644
--- a/src/cloudflare/resources/logs/control/cmb/config.py
+++ b/src/cloudflare/resources/logs/control/cmb/config.py
@@ -23,7 +23,7 @@
from ....._base_client import (
make_request_options,
)
-from .....types.shared import UnnamedSchemaRef161
+from .....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from .....types.logs.control.cmb import CmbConfig, config_create_params, config_delete_params
__all__ = ["Config", "AsyncConfig"]
@@ -92,7 +92,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef161]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes CMB config.
@@ -110,7 +110,7 @@ def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef161],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._delete(
f"/accounts/{account_id}/logs/control/cmb/config",
body=maybe_transform(body, config_delete_params.ConfigDeleteParams),
@@ -122,7 +122,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef161]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -230,7 +230,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef161]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes CMB config.
@@ -248,7 +248,7 @@ async def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef161],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._delete(
f"/accounts/{account_id}/logs/control/cmb/config",
body=await async_maybe_transform(body, config_delete_params.ConfigDeleteParams),
@@ -260,7 +260,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef161]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/logs/rayid.py b/src/cloudflare/resources/logs/rayid.py
index 7b21e5fb1bc7..e8673b92f367 100644
--- a/src/cloudflare/resources/logs/rayid.py
+++ b/src/cloudflare/resources/logs/rayid.py
@@ -20,10 +20,11 @@
async_to_raw_response_wrapper,
async_to_streamed_response_wrapper,
)
-from ...types.logs import RayIDGetResponse, rayid_get_params
+from ...types.logs import rayid_get_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
__all__ = ["RayID", "AsyncRayID"]
@@ -50,7 +51,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RayIDGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""The `/rayids` api route allows lookups by specific rayid.
The rayids route will
@@ -92,7 +93,7 @@ def get(
if not ray_identifier:
raise ValueError(f"Expected a non-empty value for `ray_identifier` but received {ray_identifier!r}")
return cast(
- RayIDGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._get(
f"/zones/{zone_identifier}/logs/rayids/{ray_identifier}",
options=make_request_options(
@@ -108,7 +109,9 @@ def get(
rayid_get_params.RayIDGetParams,
),
),
- cast_to=cast(Any, RayIDGetResponse), # Union types cannot be passed in as arguments in the type system
+ cast_to=cast(
+ Any, UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+ ), # Union types cannot be passed in as arguments in the type system
),
)
@@ -135,7 +138,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RayIDGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""The `/rayids` api route allows lookups by specific rayid.
The rayids route will
@@ -177,7 +180,7 @@ async def get(
if not ray_identifier:
raise ValueError(f"Expected a non-empty value for `ray_identifier` but received {ray_identifier!r}")
return cast(
- RayIDGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._get(
f"/zones/{zone_identifier}/logs/rayids/{ray_identifier}",
options=make_request_options(
@@ -193,7 +196,9 @@ async def get(
rayid_get_params.RayIDGetParams,
),
),
- cast_to=cast(Any, RayIDGetResponse), # Union types cannot be passed in as arguments in the type system
+ cast_to=cast(
+ Any, UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+ ), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/logs/received/received.py b/src/cloudflare/resources/logs/received/received.py
index ffc41c0d3c62..2289ede39b1e 100644
--- a/src/cloudflare/resources/logs/received/received.py
+++ b/src/cloudflare/resources/logs/received/received.py
@@ -28,10 +28,11 @@
async_to_raw_response_wrapper,
async_to_streamed_response_wrapper,
)
-from ....types.logs import ReceivedGetResponse, received_get_params
+from ....types.logs import received_get_params
from ...._base_client import (
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
__all__ = ["Received", "AsyncReceived"]
@@ -65,7 +66,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ReceivedGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""The `/received` api route allows customers to retrieve their edge HTTP logs.
The
@@ -133,7 +134,7 @@ def get(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- ReceivedGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._get(
f"/zones/{zone_identifier}/logs/received",
options=make_request_options(
@@ -154,7 +155,7 @@ def get(
),
),
cast_to=cast(
- Any, ReceivedGetResponse
+ Any, UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -189,7 +190,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ReceivedGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""The `/received` api route allows customers to retrieve their edge HTTP logs.
The
@@ -257,7 +258,7 @@ async def get(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- ReceivedGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._get(
f"/zones/{zone_identifier}/logs/received",
options=make_request_options(
@@ -278,7 +279,7 @@ async def get(
),
),
cast_to=cast(
- Any, ReceivedGetResponse
+ Any, UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/memberships.py b/src/cloudflare/resources/memberships.py
index b8eef5abc765..0f7b7c2b2255 100644
--- a/src/cloudflare/resources/memberships.py
+++ b/src/cloudflare/resources/memberships.py
@@ -9,9 +9,7 @@
from ..types import (
Membership,
- MembershipGetResponse,
MembershipDeleteResponse,
- MembershipUpdateResponse,
membership_list_params,
membership_delete_params,
membership_update_params,
@@ -35,6 +33,7 @@
AsyncPaginator,
make_request_options,
)
+from ..types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Memberships", "AsyncMemberships"]
@@ -59,7 +58,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MembershipUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Accept or reject this account invitation.
@@ -79,7 +78,7 @@ def update(
if not membership_id:
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return cast(
- MembershipUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/memberships/{membership_id}",
body=maybe_transform({"status": status}, membership_update_params.MembershipUpdateParams),
@@ -91,7 +90,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MembershipUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -212,7 +211,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MembershipGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get a specific membership.
@@ -230,7 +229,7 @@ def get(
if not membership_id:
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return cast(
- MembershipGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/memberships/{membership_id}",
options=make_request_options(
@@ -241,7 +240,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MembershipGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -267,7 +266,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MembershipUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Accept or reject this account invitation.
@@ -287,7 +286,7 @@ async def update(
if not membership_id:
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return cast(
- MembershipUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/memberships/{membership_id}",
body=await async_maybe_transform({"status": status}, membership_update_params.MembershipUpdateParams),
@@ -299,7 +298,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MembershipUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -420,7 +419,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> MembershipGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get a specific membership.
@@ -438,7 +437,7 @@ async def get(
if not membership_id:
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return cast(
- MembershipGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/memberships/{membership_id}",
options=make_request_options(
@@ -449,7 +448,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[MembershipGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/origin_ca_certificates.py b/src/cloudflare/resources/origin_ca_certificates.py
index 3859b2a5c338..c8ed79c26887 100644
--- a/src/cloudflare/resources/origin_ca_certificates.py
+++ b/src/cloudflare/resources/origin_ca_certificates.py
@@ -9,9 +9,6 @@
from ..types import (
OriginCACertificate,
- OriginCACertificateGetResponse,
- OriginCACertificateCreateResponse,
- OriginCACertificateDeleteResponse,
origin_ca_certificate_list_params,
origin_ca_certificate_create_params,
origin_ca_certificate_delete_params,
@@ -35,6 +32,10 @@
AsyncPaginator,
make_request_options,
)
+from ..types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
__all__ = ["OriginCACertificates", "AsyncOriginCACertificates"]
@@ -61,7 +62,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Create an Origin CA certificate.
Use your Origin CA Key as your User Service Key
@@ -87,7 +88,7 @@ def create(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- OriginCACertificateCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
"/certificates",
body=maybe_transform(
@@ -107,7 +108,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginCACertificateCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -166,7 +167,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""Revoke an existing Origin CA certificate by its serial number.
Use your Origin
@@ -196,7 +197,10 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[OriginCACertificateDeleteResponse], ResultWrapper[OriginCACertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
def get(
@@ -209,7 +213,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Get an existing Origin CA certificate by its serial number.
Use your Origin CA
@@ -230,7 +234,7 @@ def get(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginCACertificateGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/certificates/{certificate_id}",
options=make_request_options(
@@ -241,7 +245,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginCACertificateGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -269,7 +273,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Create an Origin CA certificate.
Use your Origin CA Key as your User Service Key
@@ -295,7 +299,7 @@ async def create(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- OriginCACertificateCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
"/certificates",
body=await async_maybe_transform(
@@ -315,7 +319,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginCACertificateCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -374,7 +378,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""Revoke an existing Origin CA certificate by its serial number.
Use your Origin
@@ -404,7 +408,10 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[OriginCACertificateDeleteResponse], ResultWrapper[OriginCACertificateDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
async def get(
@@ -417,7 +424,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginCACertificateGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Get an existing Origin CA certificate by its serial number.
Use your Origin CA
@@ -438,7 +445,7 @@ async def get(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginCACertificateGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/certificates/{certificate_id}",
options=make_request_options(
@@ -449,7 +456,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginCACertificateGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/origin_post_quantum_encryption.py b/src/cloudflare/resources/origin_post_quantum_encryption.py
index 084104ad3fa3..ae590661992c 100644
--- a/src/cloudflare/resources/origin_post_quantum_encryption.py
+++ b/src/cloudflare/resources/origin_post_quantum_encryption.py
@@ -7,11 +7,7 @@
import httpx
-from ..types import (
- OriginPostQuantumEncryptionGetResponse,
- OriginPostQuantumEncryptionUpdateResponse,
- origin_post_quantum_encryption_update_params,
-)
+from ..types import origin_post_quantum_encryption_update_params
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from .._utils import (
maybe_transform,
@@ -29,6 +25,7 @@
from .._base_client import (
make_request_options,
)
+from ..types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["OriginPostQuantumEncryption", "AsyncOriginPostQuantumEncryption"]
@@ -53,7 +50,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginPostQuantumEncryptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when
connecting to your origin. Preferred instructs Cloudflare to opportunistically
@@ -78,7 +75,7 @@ def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginPostQuantumEncryptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_id}/cache/origin_post_quantum_encryption",
body=maybe_transform(
@@ -93,7 +90,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginPostQuantumEncryptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -108,7 +105,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginPostQuantumEncryptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when
connecting to your origin. Preferred instructs Cloudflare to opportunistically
@@ -131,7 +128,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginPostQuantumEncryptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/cache/origin_post_quantum_encryption",
options=make_request_options(
@@ -142,7 +139,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginPostQuantumEncryptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -168,7 +165,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginPostQuantumEncryptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when
connecting to your origin. Preferred instructs Cloudflare to opportunistically
@@ -193,7 +190,7 @@ async def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginPostQuantumEncryptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_id}/cache/origin_post_quantum_encryption",
body=await async_maybe_transform(
@@ -208,7 +205,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginPostQuantumEncryptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -223,7 +220,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginPostQuantumEncryptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Instructs Cloudflare to use Post-Quantum (PQ) key agreement algorithms when
connecting to your origin. Preferred instructs Cloudflare to opportunistically
@@ -246,7 +243,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginPostQuantumEncryptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/cache/origin_post_quantum_encryption",
options=make_request_options(
@@ -257,7 +254,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginPostQuantumEncryptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py b/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
index 987250de49fa..8ecae3b03940 100644
--- a/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
+++ b/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
@@ -7,10 +7,7 @@
import httpx
from ...types import (
- OriginTLSClientAuthGetResponse,
OriginTLSClientAuthListResponse,
- OriginTLSClientAuthCreateResponse,
- OriginTLSClientAuthDeleteResponse,
origin_tls_client_auth_create_params,
origin_tls_client_auth_delete_params,
)
@@ -49,6 +46,7 @@
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .hostnames.hostnames import Hostnames, AsyncHostnames
__all__ = ["OriginTLSClientAuth", "AsyncOriginTLSClientAuth"]
@@ -83,7 +81,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload your own certificate you want Cloudflare to use for edge-to-origin
communication to override the shared certificate. Please note that it is
@@ -109,7 +107,7 @@ def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginTLSClientAuthCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_id}/origin_tls_client_auth",
body=maybe_transform(
@@ -127,7 +125,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -180,7 +178,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete Certificate
@@ -202,7 +200,7 @@ def delete(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginTLSClientAuthDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
body=maybe_transform(body, origin_tls_client_auth_delete_params.OriginTLSClientAuthDeleteParams),
@@ -214,7 +212,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -230,7 +228,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Certificate Details
@@ -252,7 +250,7 @@ def get(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginTLSClientAuthGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
options=make_request_options(
@@ -263,7 +261,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -298,7 +296,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload your own certificate you want Cloudflare to use for edge-to-origin
communication to override the shared certificate. Please note that it is
@@ -324,7 +322,7 @@ async def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- OriginTLSClientAuthCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_id}/origin_tls_client_auth",
body=await async_maybe_transform(
@@ -342,7 +340,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -395,7 +393,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete Certificate
@@ -417,7 +415,7 @@ async def delete(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginTLSClientAuthDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
body=await async_maybe_transform(
@@ -431,7 +429,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -447,7 +445,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OriginTLSClientAuthGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get Certificate Details
@@ -469,7 +467,7 @@ async def get(
if not certificate_id:
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return cast(
- OriginTLSClientAuthGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
options=make_request_options(
@@ -480,7 +478,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OriginTLSClientAuthGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/pagerules/pagerules.py b/src/cloudflare/resources/pagerules/pagerules.py
index b149e2b4accf..49c561cc922b 100644
--- a/src/cloudflare/resources/pagerules/pagerules.py
+++ b/src/cloudflare/resources/pagerules/pagerules.py
@@ -8,12 +8,8 @@
import httpx
from ...types import (
- PageruleGetResponse,
- PageruleEditResponse,
PageruleListResponse,
- PageruleCreateResponse,
PageruleDeleteResponse,
- PageruleUpdateResponse,
pagerule_edit_params,
pagerule_list_params,
pagerule_create_params,
@@ -45,6 +41,7 @@
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Pagerules", "AsyncPagerules"]
@@ -76,7 +73,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a new Page Rule.
@@ -107,7 +104,7 @@ def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- PageruleCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_id}/pagerules",
body=maybe_transform(
@@ -127,7 +124,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -147,7 +144,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Replaces the configuration of an existing Page Rule.
The configuration of the
@@ -184,7 +181,7 @@ def update(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
body=maybe_transform(
@@ -204,7 +201,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -331,7 +328,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates one or more fields of an existing Page Rule.
@@ -366,7 +363,7 @@ def edit(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
body=maybe_transform(
@@ -386,7 +383,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -402,7 +399,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a Page Rule.
@@ -424,7 +421,7 @@ def get(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
options=make_request_options(
@@ -435,7 +432,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -468,7 +465,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a new Page Rule.
@@ -499,7 +496,7 @@ async def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- PageruleCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_id}/pagerules",
body=await async_maybe_transform(
@@ -519,7 +516,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -539,7 +536,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Replaces the configuration of an existing Page Rule.
The configuration of the
@@ -576,7 +573,7 @@ async def update(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
body=await async_maybe_transform(
@@ -596,7 +593,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -723,7 +720,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates one or more fields of an existing Page Rule.
@@ -758,7 +755,7 @@ async def edit(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
body=await async_maybe_transform(
@@ -778,7 +775,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -794,7 +791,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PageruleGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a Page Rule.
@@ -816,7 +813,7 @@ async def get(
if not pagerule_id:
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return cast(
- PageruleGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
options=make_request_options(
@@ -827,7 +824,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[PageruleGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/pages/projects/deployments/history/logs.py b/src/cloudflare/resources/pages/projects/deployments/history/logs.py
index 16a9f3a2f758..cad974ebd7c0 100644
--- a/src/cloudflare/resources/pages/projects/deployments/history/logs.py
+++ b/src/cloudflare/resources/pages/projects/deployments/history/logs.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, cast
+from typing import Any, Optional, cast
import httpx
@@ -19,7 +19,7 @@
from ......_base_client import (
make_request_options,
)
-from ......types.pages.projects.deployments.history import LogGetResponse
+from ......types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
__all__ = ["Logs", "AsyncLogs"]
@@ -45,7 +45,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> LogGetResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Fetch deployment logs for a project.
@@ -71,7 +71,7 @@ def get(
if not deployment_id:
raise ValueError(f"Expected a non-empty value for `deployment_id` but received {deployment_id!r}")
return cast(
- LogGetResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._get(
f"/accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/history/logs",
options=make_request_options(
@@ -82,7 +82,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[LogGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -109,7 +109,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> LogGetResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Fetch deployment logs for a project.
@@ -135,7 +135,7 @@ async def get(
if not deployment_id:
raise ValueError(f"Expected a non-empty value for `deployment_id` but received {deployment_id!r}")
return cast(
- LogGetResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._get(
f"/accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/history/logs",
options=make_request_options(
@@ -146,7 +146,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[LogGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/pages/projects/domains.py b/src/cloudflare/resources/pages/projects/domains.py
index 1bf8f0871c4e..6c0f993945b6 100644
--- a/src/cloudflare/resources/pages/projects/domains.py
+++ b/src/cloudflare/resources/pages/projects/domains.py
@@ -25,14 +25,8 @@
AsyncPaginator,
make_request_options,
)
-from ....types.pages.projects import (
- DomainGetResponse,
- DomainEditResponse,
- DomainCreateResponse,
- domain_edit_params,
- domain_create_params,
- domain_delete_params,
-)
+from ....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from ....types.pages.projects import domain_edit_params, domain_create_params, domain_delete_params
__all__ = ["Domains", "AsyncDomains"]
@@ -58,7 +52,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainCreateResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Add a new domain for the Pages project.
@@ -80,7 +74,7 @@ def create(
if not project_name:
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return cast(
- Optional[DomainCreateResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._post(
f"/accounts/{account_id}/pages/projects/{project_name}/domains",
body=maybe_transform(body, domain_create_params.DomainCreateParams),
@@ -92,7 +86,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -198,7 +192,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainEditResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Retry the validation status of a single domain.
@@ -224,7 +218,7 @@ def edit(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainEditResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._patch(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
body=maybe_transform(body, domain_edit_params.DomainEditParams),
@@ -236,7 +230,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -253,7 +247,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainGetResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Fetch a single domain.
@@ -279,7 +273,7 @@ def get(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainGetResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._get(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
options=make_request_options(
@@ -290,7 +284,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -317,7 +311,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainCreateResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Add a new domain for the Pages project.
@@ -339,7 +333,7 @@ async def create(
if not project_name:
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return cast(
- Optional[DomainCreateResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._post(
f"/accounts/{account_id}/pages/projects/{project_name}/domains",
body=await async_maybe_transform(body, domain_create_params.DomainCreateParams),
@@ -351,7 +345,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -457,7 +451,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainEditResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Retry the validation status of a single domain.
@@ -483,7 +477,7 @@ async def edit(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainEditResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._patch(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
body=await async_maybe_transform(body, domain_edit_params.DomainEditParams),
@@ -495,7 +489,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -512,7 +506,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainGetResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Fetch a single domain.
@@ -538,7 +532,7 @@ async def get(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainGetResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._get(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
options=make_request_options(
@@ -549,7 +543,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/pages/projects/projects.py b/src/cloudflare/resources/pages/projects/projects.py
index 6ae4f0d6d229..73d50575d288 100644
--- a/src/cloudflare/resources/pages/projects/projects.py
+++ b/src/cloudflare/resources/pages/projects/projects.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, Type, cast
+from typing import Any, Type, Optional, cast
import httpx
@@ -40,9 +40,7 @@
from ....types.pages import (
PagesProjects,
PagesDeployments,
- ProjectEditResponse,
PagesDeploymentsParam,
- ProjectCreateResponse,
project_edit_params,
project_create_params,
project_delete_params,
@@ -51,6 +49,7 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from .deployments.deployments import Deployments, AsyncDeployments
__all__ = ["Projects", "AsyncProjects"]
@@ -89,7 +88,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProjectCreateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Create a new project.
@@ -115,7 +114,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- ProjectCreateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._post(
f"/accounts/{account_id}/pages/projects",
body=maybe_transform(
@@ -137,7 +136,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProjectCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -232,7 +231,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProjectEditResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""Set new attributes for an existing project.
Modify environment variables. To
@@ -256,7 +255,7 @@ def edit(
if not project_name:
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return cast(
- ProjectEditResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._patch(
f"/accounts/{account_id}/pages/projects/{project_name}",
body=maybe_transform(body, project_edit_params.ProjectEditParams),
@@ -268,7 +267,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProjectEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -391,7 +390,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProjectCreateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Create a new project.
@@ -417,7 +416,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- ProjectCreateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._post(
f"/accounts/{account_id}/pages/projects",
body=await async_maybe_transform(
@@ -439,7 +438,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProjectCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -534,7 +533,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProjectEditResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""Set new attributes for an existing project.
Modify environment variables. To
@@ -558,7 +557,7 @@ async def edit(
if not project_name:
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return cast(
- ProjectEditResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._patch(
f"/accounts/{account_id}/pages/projects/{project_name}",
body=await async_maybe_transform(body, project_edit_params.ProjectEditParams),
@@ -570,7 +569,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProjectEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/queues/consumers.py b/src/cloudflare/resources/queues/consumers.py
index e860164b69ca..c21839dd263c 100644
--- a/src/cloudflare/resources/queues/consumers.py
+++ b/src/cloudflare/resources/queues/consumers.py
@@ -26,12 +26,12 @@
from ...types.queues import (
ConsumerGetResponse,
ConsumerCreateResponse,
- ConsumerDeleteResponse,
ConsumerUpdateResponse,
consumer_create_params,
consumer_delete_params,
consumer_update_params,
)
+from ...types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
__all__ = ["Consumers", "AsyncConsumers"]
@@ -155,7 +155,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ConsumerDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes the consumer for a queue.
@@ -181,7 +181,7 @@ def delete(
if not consumer_id:
raise ValueError(f"Expected a non-empty value for `consumer_id` but received {consumer_id!r}")
return cast(
- Optional[ConsumerDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}",
body=maybe_transform(body, consumer_delete_params.ConsumerDeleteParams),
@@ -193,7 +193,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConsumerDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -362,7 +362,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[ConsumerDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes the consumer for a queue.
@@ -388,7 +388,7 @@ async def delete(
if not consumer_id:
raise ValueError(f"Expected a non-empty value for `consumer_id` but received {consumer_id!r}")
return cast(
- Optional[ConsumerDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}",
body=await async_maybe_transform(body, consumer_delete_params.ConsumerDeleteParams),
@@ -400,7 +400,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConsumerDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/queues/queues.py b/src/cloudflare/resources/queues/queues.py
index 4cc9fd64ac56..96ca383760fd 100644
--- a/src/cloudflare/resources/queues/queues.py
+++ b/src/cloudflare/resources/queues/queues.py
@@ -10,7 +10,6 @@
QueueGetResponse,
QueueListResponse,
QueueCreateResponse,
- QueueDeleteResponse,
QueueUpdateResponse,
queue_create_params,
queue_delete_params,
@@ -49,6 +48,7 @@
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
__all__ = ["Queues", "AsyncQueues"]
@@ -208,7 +208,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[QueueDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes a queue.
@@ -230,7 +230,7 @@ def delete(
if not queue_id:
raise ValueError(f"Expected a non-empty value for `queue_id` but received {queue_id!r}")
return cast(
- Optional[QueueDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._delete(
f"/accounts/{account_id}/queues/{queue_id}",
body=maybe_transform(body, queue_delete_params.QueueDeleteParams),
@@ -242,7 +242,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[QueueDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -447,7 +447,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[QueueDeleteResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Deletes a queue.
@@ -469,7 +469,7 @@ async def delete(
if not queue_id:
raise ValueError(f"Expected a non-empty value for `queue_id` but received {queue_id!r}")
return cast(
- Optional[QueueDeleteResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._delete(
f"/accounts/{account_id}/queues/{queue_id}",
body=await async_maybe_transform(body, queue_delete_params.QueueDeleteParams),
@@ -481,7 +481,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[QueueDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/rate_limits.py b/src/cloudflare/resources/rate_limits.py
index 81ead5e676ac..d87474a61af0 100644
--- a/src/cloudflare/resources/rate_limits.py
+++ b/src/cloudflare/resources/rate_limits.py
@@ -33,7 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef173
+from ..types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["RateLimits", "AsyncRateLimits"]
@@ -58,7 +58,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Creates a new rate limit for a zone.
Refer to the object definition for a list
@@ -78,7 +78,7 @@ def create(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_identifier}/rate_limits",
body=maybe_transform(body, rate_limit_create_params.RateLimitCreateParams),
@@ -90,7 +90,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -206,7 +206,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an existing rate limit.
@@ -228,7 +228,7 @@ def edit(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_identifier}/rate_limits/{id}",
body=maybe_transform(body, rate_limit_edit_params.RateLimitEditParams),
@@ -240,7 +240,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -256,7 +256,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a rate limit.
@@ -278,7 +278,7 @@ def get(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_identifier}/rate_limits/{id}",
options=make_request_options(
@@ -289,7 +289,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -315,7 +315,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Creates a new rate limit for a zone.
Refer to the object definition for a list
@@ -335,7 +335,7 @@ async def create(
if not zone_identifier:
raise ValueError(f"Expected a non-empty value for `zone_identifier` but received {zone_identifier!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_identifier}/rate_limits",
body=await async_maybe_transform(body, rate_limit_create_params.RateLimitCreateParams),
@@ -347,7 +347,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -463,7 +463,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an existing rate limit.
@@ -485,7 +485,7 @@ async def edit(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_identifier}/rate_limits/{id}",
body=await async_maybe_transform(body, rate_limit_edit_params.RateLimitEditParams),
@@ -497,7 +497,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -513,7 +513,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches the details of a rate limit.
@@ -535,7 +535,7 @@ async def get(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_identifier}/rate_limits/{id}",
options=make_request_options(
@@ -546,7 +546,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/registrar/domains.py b/src/cloudflare/resources/registrar/domains.py
index 46e5881cae92..45f996fb4cd5 100644
--- a/src/cloudflare/resources/registrar/domains.py
+++ b/src/cloudflare/resources/registrar/domains.py
@@ -25,7 +25,8 @@
AsyncPaginator,
make_request_options,
)
-from ...types.registrar import DomainGetResponse, DomainListResponse, DomainUpdateResponse, domain_update_params
+from ...types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from ...types.registrar import DomainListResponse, domain_update_params
__all__ = ["Domains", "AsyncDomains"]
@@ -53,7 +54,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Update individual domain.
@@ -82,7 +83,7 @@ def update(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainUpdateResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._put(
f"/accounts/{account_id}/registrar/domains/{domain_name}",
body=maybe_transform(
@@ -101,7 +102,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -153,7 +154,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainGetResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Show individual domain.
@@ -175,7 +176,7 @@ def get(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainGetResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._get(
f"/accounts/{account_id}/registrar/domains/{domain_name}",
options=make_request_options(
@@ -186,7 +187,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -215,7 +216,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Update individual domain.
@@ -244,7 +245,7 @@ async def update(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainUpdateResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._put(
f"/accounts/{account_id}/registrar/domains/{domain_name}",
body=await async_maybe_transform(
@@ -263,7 +264,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -315,7 +316,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[DomainGetResponse]:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Show individual domain.
@@ -337,7 +338,7 @@ async def get(
if not domain_name:
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return cast(
- Optional[DomainGetResponse],
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._get(
f"/accounts/{account_id}/registrar/domains/{domain_name}",
options=make_request_options(
@@ -348,7 +349,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DomainGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/rulesets/rules.py b/src/cloudflare/resources/rulesets/rules.py
index 5c4a222f8046..d8031bc9a4f1 100644
--- a/src/cloudflare/resources/rulesets/rules.py
+++ b/src/cloudflare/resources/rulesets/rules.py
@@ -7,7 +7,7 @@
import httpx
-from ...types import LoggingParam
+from ...types import shared_params
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ..._utils import (
required_args,
@@ -59,7 +59,7 @@ def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -119,7 +119,7 @@ def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -179,7 +179,7 @@ def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -239,7 +239,7 @@ def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -302,7 +302,7 @@ def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -432,7 +432,7 @@ def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -493,7 +493,7 @@ def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -554,7 +554,7 @@ def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -615,7 +615,7 @@ def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -680,7 +680,7 @@ def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -756,7 +756,7 @@ async def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -816,7 +816,7 @@ async def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -876,7 +876,7 @@ async def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -936,7 +936,7 @@ async def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -999,7 +999,7 @@ async def create(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1129,7 +1129,7 @@ async def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1190,7 +1190,7 @@ async def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1251,7 +1251,7 @@ async def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1312,7 +1312,7 @@ async def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -1377,7 +1377,7 @@ async def edit(
description: str | NotGiven = NOT_GIVEN,
enabled: bool | NotGiven = NOT_GIVEN,
expression: str | NotGiven = NOT_GIVEN,
- logging: LoggingParam | NotGiven = NOT_GIVEN,
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c | NotGiven = NOT_GIVEN,
ref: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
diff --git a/src/cloudflare/resources/snippets/snippets.py b/src/cloudflare/resources/snippets/snippets.py
index 7218c8709e0b..3fb04274fa03 100644
--- a/src/cloudflare/resources/snippets/snippets.py
+++ b/src/cloudflare/resources/snippets/snippets.py
@@ -42,7 +42,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef171
+from ...types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
__all__ = ["Snippets", "AsyncSnippets"]
@@ -166,7 +166,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete Snippet
@@ -188,7 +188,7 @@ def delete(
if not snippet_name:
raise ValueError(f"Expected a non-empty value for `snippet_name` but received {snippet_name!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/zones/{zone_identifier}/snippets/{snippet_name}",
options=make_request_options(
@@ -199,7 +199,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -368,7 +368,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Delete Snippet
@@ -390,7 +390,7 @@ async def delete(
if not snippet_name:
raise ValueError(f"Expected a non-empty value for `snippet_name` but received {snippet_name!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/zones/{zone_identifier}/snippets/{snippet_name}",
options=make_request_options(
@@ -401,7 +401,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/spectrum/analytics/events/bytimes.py b/src/cloudflare/resources/spectrum/analytics/events/bytimes.py
index c303832c7546..860660030df8 100644
--- a/src/cloudflare/resources/spectrum/analytics/events/bytimes.py
+++ b/src/cloudflare/resources/spectrum/analytics/events/bytimes.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Union, Iterable, Optional, cast
+from typing import Any, List, Union, Iterable, cast
from datetime import datetime
from typing_extensions import Literal
@@ -25,7 +25,8 @@
from ....._base_client import (
make_request_options,
)
-from .....types.spectrum.analytics.events import BytimeGetResponse, bytime_get_params
+from .....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from .....types.spectrum.analytics.events import bytime_get_params
__all__ = ["Bytimes", "AsyncBytimes"]
@@ -62,7 +63,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[BytimeGetResponse]:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Retrieves a list of aggregate metrics grouped by time interval.
@@ -130,7 +131,7 @@ def get(
if not zone:
raise ValueError(f"Expected a non-empty value for `zone` but received {zone!r}")
return cast(
- Optional[BytimeGetResponse],
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._get(
f"/zones/{zone}/spectrum/analytics/events/bytime",
options=make_request_options(
@@ -153,7 +154,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BytimeGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -191,7 +192,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[BytimeGetResponse]:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Retrieves a list of aggregate metrics grouped by time interval.
@@ -259,7 +260,7 @@ async def get(
if not zone:
raise ValueError(f"Expected a non-empty value for `zone` but received {zone!r}")
return cast(
- Optional[BytimeGetResponse],
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._get(
f"/zones/{zone}/spectrum/analytics/events/bytime",
options=make_request_options(
@@ -282,7 +283,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[BytimeGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/spectrum/analytics/events/summaries.py b/src/cloudflare/resources/spectrum/analytics/events/summaries.py
index a069d2d2e92b..a5b71faa07be 100644
--- a/src/cloudflare/resources/spectrum/analytics/events/summaries.py
+++ b/src/cloudflare/resources/spectrum/analytics/events/summaries.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Union, Iterable, Optional, cast
+from typing import Any, List, Union, Iterable, cast
from datetime import datetime
from typing_extensions import Literal
@@ -25,7 +25,8 @@
from ....._base_client import (
make_request_options,
)
-from .....types.spectrum.analytics.events import SummaryGetResponse, summary_get_params
+from .....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from .....types.spectrum.analytics.events import summary_get_params
__all__ = ["Summaries", "AsyncSummaries"]
@@ -60,7 +61,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[SummaryGetResponse]:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Retrieves a list of summarised aggregate metrics over a given time period.
@@ -126,7 +127,7 @@ def get(
if not zone:
raise ValueError(f"Expected a non-empty value for `zone` but received {zone!r}")
return cast(
- Optional[SummaryGetResponse],
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._get(
f"/zones/{zone}/spectrum/analytics/events/summary",
options=make_request_options(
@@ -148,7 +149,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SummaryGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -184,7 +185,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[SummaryGetResponse]:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Retrieves a list of summarised aggregate metrics over a given time period.
@@ -250,7 +251,7 @@ async def get(
if not zone:
raise ValueError(f"Expected a non-empty value for `zone` but received {zone!r}")
return cast(
- Optional[SummaryGetResponse],
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._get(
f"/zones/{zone}/spectrum/analytics/events/summary",
options=make_request_options(
@@ -272,7 +273,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SummaryGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/spectrum/apps.py b/src/cloudflare/resources/spectrum/apps.py
index 4d0a803ef86f..43ea1d377055 100644
--- a/src/cloudflare/resources/spectrum/apps.py
+++ b/src/cloudflare/resources/spectrum/apps.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ...types.spectrum import (
AppCreateResponse,
AppDeleteResponse,
@@ -371,7 +371,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the application configuration of a specific application inside a zone.
@@ -393,7 +393,7 @@ def get(
if not app_id:
raise ValueError(f"Expected a non-empty value for `app_id` but received {app_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone}/spectrum/apps/{app_id}",
options=make_request_options(
@@ -404,7 +404,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -741,7 +741,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the application configuration of a specific application inside a zone.
@@ -763,7 +763,7 @@ async def get(
if not app_id:
raise ValueError(f"Expected a non-empty value for `app_id` but received {app_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone}/spectrum/apps/{app_id}",
options=make_request_options(
@@ -774,7 +774,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/ssl/analyze.py b/src/cloudflare/resources/ssl/analyze.py
index 2681e4a88f74..fa9457496594 100644
--- a/src/cloudflare/resources/ssl/analyze.py
+++ b/src/cloudflare/resources/ssl/analyze.py
@@ -6,6 +6,7 @@
import httpx
+from ...types import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ..._utils import (
maybe_transform,
@@ -20,11 +21,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.ssl import AnalyzeCreateResponse, analyze_create_params
+from ...types.ssl import analyze_create_params
from ..._base_client import (
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef78
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Analyze", "AsyncAnalyze"]
@@ -42,7 +43,7 @@ def create(
self,
*,
zone_id: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
certificate: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -50,7 +51,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AnalyzeCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Returns the set of hostnames, the signature algorithm, and the expiration date
of the certificate.
@@ -76,7 +77,7 @@ def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- AnalyzeCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{zone_id}/ssl/analyze",
body=maybe_transform(
@@ -94,7 +95,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AnalyzeCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -113,7 +114,7 @@ async def create(
self,
*,
zone_id: str,
- bundle_method: UnnamedSchemaRef78 | NotGiven = NOT_GIVEN,
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 | NotGiven = NOT_GIVEN,
certificate: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -121,7 +122,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AnalyzeCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Returns the set of hostnames, the signature algorithm, and the expiration date
of the certificate.
@@ -147,7 +148,7 @@ async def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- AnalyzeCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{zone_id}/ssl/analyze",
body=await async_maybe_transform(
@@ -165,7 +166,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AnalyzeCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
index 32ac54db08d1..334393eade79 100644
--- a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
+++ b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
@@ -38,9 +38,7 @@
)
from ...._wrappers import ResultWrapper
from ....types.ssl import (
- CertificatePackGetResponse,
CertificatePackEditResponse,
- CertificatePackDeleteResponse,
certificate_pack_edit_params,
certificate_pack_list_params,
certificate_pack_delete_params,
@@ -50,6 +48,10 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
__all__ = ["CertificatePacks", "AsyncCertificatePacks"]
@@ -126,7 +128,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CertificatePackDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
For a given zone, delete an advanced certificate pack.
@@ -159,7 +161,10 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[CertificatePackDeleteResponse], ResultWrapper[CertificatePackDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
def edit(
@@ -224,7 +229,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CertificatePackGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
For a given zone, get a certificate pack.
@@ -248,7 +253,7 @@ def get(
f"Expected a non-empty value for `certificate_pack_id` but received {certificate_pack_id!r}"
)
return cast(
- CertificatePackGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}",
options=make_request_options(
@@ -259,7 +264,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CertificatePackGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -337,7 +342,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CertificatePackDeleteResponse:
+ ) -> UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837:
"""
For a given zone, delete an advanced certificate pack.
@@ -370,7 +375,10 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[CertificatePackDeleteResponse], ResultWrapper[CertificatePackDeleteResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ResultWrapper[UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837],
+ ),
)
async def edit(
@@ -435,7 +443,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CertificatePackGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
For a given zone, get a certificate pack.
@@ -459,7 +467,7 @@ async def get(
f"Expected a non-empty value for `certificate_pack_id` but received {certificate_pack_id!r}"
)
return cast(
- CertificatePackGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}",
options=make_request_options(
@@ -470,7 +478,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CertificatePackGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/audio_tracks.py b/src/cloudflare/resources/stream/audio_tracks.py
index 3ac3d43c20db..3882d0f7d08e 100644
--- a/src/cloudflare/resources/stream/audio_tracks.py
+++ b/src/cloudflare/resources/stream/audio_tracks.py
@@ -23,13 +23,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import (
- StreamAudio,
- AudioTrackGetResponse,
- AudioTrackDeleteResponse,
- audio_track_copy_params,
- audio_track_edit_params,
-)
+from ...types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+from ...types.stream import StreamAudio, AudioTrackGetResponse, audio_track_copy_params, audio_track_edit_params
__all__ = ["AudioTracks", "AsyncAudioTracks"]
@@ -55,7 +50,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AudioTrackDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""Deletes additional audio tracks on a video.
Deleting a default audio track is
@@ -83,7 +78,7 @@ def delete(
if not audio_identifier:
raise ValueError(f"Expected a non-empty value for `audio_identifier` but received {audio_identifier!r}")
return cast(
- AudioTrackDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/accounts/{account_id}/stream/{identifier}/audio/{audio_identifier}",
options=make_request_options(
@@ -94,7 +89,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AudioTrackDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -293,7 +288,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AudioTrackDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""Deletes additional audio tracks on a video.
Deleting a default audio track is
@@ -321,7 +316,7 @@ async def delete(
if not audio_identifier:
raise ValueError(f"Expected a non-empty value for `audio_identifier` but received {audio_identifier!r}")
return cast(
- AudioTrackDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/accounts/{account_id}/stream/{identifier}/audio/{audio_identifier}",
options=make_request_options(
@@ -332,7 +327,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[AudioTrackDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/captions.py b/src/cloudflare/resources/stream/captions.py
index 4c7b84edb8a6..7443fd7bbf40 100644
--- a/src/cloudflare/resources/stream/captions.py
+++ b/src/cloudflare/resources/stream/captions.py
@@ -23,13 +23,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import (
- CaptionGetResponse,
- CaptionDeleteResponse,
- CaptionUpdateResponse,
- caption_delete_params,
- caption_update_params,
-)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from ...types.stream import CaptionGetResponse, CaptionDeleteResponse, caption_delete_params, caption_update_params
__all__ = ["Captions", "AsyncCaptions"]
@@ -56,7 +51,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CaptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Uploads the caption or subtitle file to the endpoint for a specific BCP47
language. One caption or subtitle file per language is allowed.
@@ -85,7 +80,7 @@ def update(
if not language:
raise ValueError(f"Expected a non-empty value for `language` but received {language!r}")
return cast(
- CaptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/accounts/{account_id}/stream/{identifier}/captions/{language}",
body=maybe_transform({"file": file}, caption_update_params.CaptionUpdateParams),
@@ -97,7 +92,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CaptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -225,7 +220,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CaptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Uploads the caption or subtitle file to the endpoint for a specific BCP47
language. One caption or subtitle file per language is allowed.
@@ -254,7 +249,7 @@ async def update(
if not language:
raise ValueError(f"Expected a non-empty value for `language` but received {language!r}")
return cast(
- CaptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/accounts/{account_id}/stream/{identifier}/captions/{language}",
body=await async_maybe_transform({"file": file}, caption_update_params.CaptionUpdateParams),
@@ -266,7 +261,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CaptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/downloads.py b/src/cloudflare/resources/stream/downloads.py
index af8f714cd63b..be53de627a3e 100644
--- a/src/cloudflare/resources/stream/downloads.py
+++ b/src/cloudflare/resources/stream/downloads.py
@@ -23,7 +23,11 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import DownloadGetResponse, DownloadCreateResponse, DownloadDeleteResponse, download_create_params
+from ...types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
+from ...types.stream import download_create_params
__all__ = ["Downloads", "AsyncDownloads"]
@@ -49,7 +53,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a download for a video when a video is ready to view.
@@ -71,7 +75,7 @@ def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/accounts/{account_id}/stream/{identifier}/downloads",
body=maybe_transform(body, download_create_params.DownloadCreateParams),
@@ -83,7 +87,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -99,7 +103,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Delete the downloads for a video.
@@ -121,7 +125,7 @@ def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/accounts/{account_id}/stream/{identifier}/downloads",
options=make_request_options(
@@ -132,7 +136,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -148,7 +152,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists the downloads created for a video.
@@ -170,7 +174,7 @@ def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/stream/{identifier}/downloads",
options=make_request_options(
@@ -181,7 +185,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -208,7 +212,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a download for a video when a video is ready to view.
@@ -230,7 +234,7 @@ async def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/accounts/{account_id}/stream/{identifier}/downloads",
body=await async_maybe_transform(body, download_create_params.DownloadCreateParams),
@@ -242,7 +246,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -258,7 +262,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Delete the downloads for a video.
@@ -280,7 +284,7 @@ async def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/accounts/{account_id}/stream/{identifier}/downloads",
options=make_request_options(
@@ -291,7 +295,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -307,7 +311,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> DownloadGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists the downloads created for a video.
@@ -329,7 +333,7 @@ async def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- DownloadGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/stream/{identifier}/downloads",
options=make_request_options(
@@ -340,7 +344,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[DownloadGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/keys.py b/src/cloudflare/resources/stream/keys.py
index ebeea1c5d838..b116cef718ab 100644
--- a/src/cloudflare/resources/stream/keys.py
+++ b/src/cloudflare/resources/stream/keys.py
@@ -23,7 +23,8 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import StreamKeys, KeyGetResponse, KeyDeleteResponse, key_create_params, key_delete_params
+from ...types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+from ...types.stream import StreamKeys, KeyGetResponse, key_create_params, key_delete_params
__all__ = ["Keys", "AsyncKeys"]
@@ -93,7 +94,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes signing keys and revokes all signed URLs generated with the key.
@@ -115,7 +116,7 @@ def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/accounts/{account_id}/stream/keys/{identifier}",
body=maybe_transform(body, key_delete_params.KeyDeleteParams),
@@ -127,7 +128,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -237,7 +238,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes signing keys and revokes all signed URLs generated with the key.
@@ -259,7 +260,7 @@ async def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/accounts/{account_id}/stream/keys/{identifier}",
body=await async_maybe_transform(body, key_delete_params.KeyDeleteParams),
@@ -271,7 +272,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/watermarks.py b/src/cloudflare/resources/stream/watermarks.py
index 8dc6ed15f0c9..88ecf326b40e 100644
--- a/src/cloudflare/resources/stream/watermarks.py
+++ b/src/cloudflare/resources/stream/watermarks.py
@@ -25,14 +25,11 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef49
-from ...types.stream import (
- StreamWatermarks,
- WatermarkGetResponse,
- WatermarkCreateResponse,
- watermark_create_params,
- watermark_delete_params,
+from ...types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
)
+from ...types.stream import StreamWatermarks, watermark_create_params, watermark_delete_params
__all__ = ["Watermarks", "AsyncWatermarks"]
@@ -62,7 +59,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WatermarkCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates watermark profiles using a single `HTTP POST multipart/form-data`
request.
@@ -102,7 +99,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WatermarkCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/accounts/{account_id}/stream/watermarks",
body=maybe_transform(
@@ -124,7 +121,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WatermarkCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -177,7 +174,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef49:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes a watermark profile.
@@ -199,7 +196,7 @@ def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- UnnamedSchemaRef49,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
body=maybe_transform(body, watermark_delete_params.WatermarkDeleteParams),
@@ -211,7 +208,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef49]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -227,7 +224,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WatermarkGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Retrieves details for a single watermark profile.
@@ -249,7 +246,7 @@ def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- WatermarkGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
options=make_request_options(
@@ -260,7 +257,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WatermarkGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -291,7 +288,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WatermarkCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates watermark profiles using a single `HTTP POST multipart/form-data`
request.
@@ -331,7 +328,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WatermarkCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/accounts/{account_id}/stream/watermarks",
body=await async_maybe_transform(
@@ -353,7 +350,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WatermarkCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -406,7 +403,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef49:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes a watermark profile.
@@ -428,7 +425,7 @@ async def delete(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- UnnamedSchemaRef49,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
body=await async_maybe_transform(body, watermark_delete_params.WatermarkDeleteParams),
@@ -440,7 +437,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef49]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -456,7 +453,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WatermarkGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Retrieves details for a single watermark profile.
@@ -478,7 +475,7 @@ async def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- WatermarkGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
options=make_request_options(
@@ -489,7 +486,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WatermarkGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/stream/webhooks.py b/src/cloudflare/resources/stream/webhooks.py
index a98c45e5d89b..11ee5657f9f5 100644
--- a/src/cloudflare/resources/stream/webhooks.py
+++ b/src/cloudflare/resources/stream/webhooks.py
@@ -23,13 +23,11 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import (
- WebhookGetResponse,
- WebhookDeleteResponse,
- WebhookUpdateResponse,
- webhook_delete_params,
- webhook_update_params,
+from ...types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
)
+from ...types.stream import webhook_delete_params, webhook_update_params
__all__ = ["Webhooks", "AsyncWebhooks"]
@@ -54,7 +52,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a webhook notification.
@@ -74,7 +72,7 @@ def update(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/accounts/{account_id}/stream/webhook",
body=maybe_transform({"notification_url": notification_url}, webhook_update_params.WebhookUpdateParams),
@@ -86,7 +84,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -102,7 +100,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes a webhook.
@@ -120,7 +118,7 @@ def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
self._delete(
f"/accounts/{account_id}/stream/webhook",
body=maybe_transform(body, webhook_delete_params.WebhookDeleteParams),
@@ -132,7 +130,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -147,7 +145,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Retrieves a list of webhooks.
@@ -165,7 +163,7 @@ def get(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/stream/webhook",
options=make_request_options(
@@ -176,7 +174,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -202,7 +200,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Creates a webhook notification.
@@ -222,7 +220,7 @@ async def update(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/accounts/{account_id}/stream/webhook",
body=await async_maybe_transform(
@@ -236,7 +234,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -252,7 +250,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookDeleteResponse:
+ ) -> UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0:
"""
Deletes a webhook.
@@ -270,7 +268,7 @@ async def delete(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookDeleteResponse,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
await self._delete(
f"/accounts/{account_id}/stream/webhook",
body=await async_maybe_transform(body, webhook_delete_params.WebhookDeleteParams),
@@ -282,7 +280,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -297,7 +295,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> WebhookGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Retrieves a list of webhooks.
@@ -315,7 +313,7 @@ async def get(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- WebhookGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/stream/webhook",
options=make_request_options(
@@ -326,7 +324,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[WebhookGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/subscriptions.py b/src/cloudflare/resources/subscriptions.py
index 4a5e28a959ec..03350dcae188 100644
--- a/src/cloudflare/resources/subscriptions.py
+++ b/src/cloudflare/resources/subscriptions.py
@@ -8,10 +8,8 @@
import httpx
from ..types import (
- SubscriptionGetResponse,
SubscriptionListResponse,
- SubscriptionCreateResponse,
- SubscriptionUpdateResponse,
+ SubscriptionDeleteResponse,
subscription_create_params,
subscription_delete_params,
subscription_update_params,
@@ -35,7 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef3
+from ..types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Subscriptions", "AsyncSubscriptions"]
@@ -64,7 +62,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Create a zone subscription, either plan or add-ons.
@@ -90,7 +88,7 @@ def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{identifier}/subscription",
body=maybe_transform(
@@ -111,7 +109,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -132,7 +130,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an account subscription.
@@ -164,7 +162,7 @@ def update(
f"Expected a non-empty value for `subscription_identifier` but received {subscription_identifier!r}"
)
return cast(
- SubscriptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/accounts/{account_identifier}/subscriptions/{subscription_identifier}",
body=maybe_transform(
@@ -185,7 +183,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -238,7 +236,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef3:
+ ) -> SubscriptionDeleteResponse:
"""
Deletes an account's subscription.
@@ -271,7 +269,7 @@ def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[UnnamedSchemaRef3], ResultWrapper[UnnamedSchemaRef3]),
+ cast_to=cast(Type[SubscriptionDeleteResponse], ResultWrapper[SubscriptionDeleteResponse]),
)
def get(
@@ -284,7 +282,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists zone subscription details.
@@ -302,7 +300,7 @@ def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{identifier}/subscription",
options=make_request_options(
@@ -313,7 +311,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -343,7 +341,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Create a zone subscription, either plan or add-ons.
@@ -369,7 +367,7 @@ async def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{identifier}/subscription",
body=await async_maybe_transform(
@@ -390,7 +388,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -411,7 +409,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates an account subscription.
@@ -443,7 +441,7 @@ async def update(
f"Expected a non-empty value for `subscription_identifier` but received {subscription_identifier!r}"
)
return cast(
- SubscriptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/accounts/{account_identifier}/subscriptions/{subscription_identifier}",
body=await async_maybe_transform(
@@ -464,7 +462,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -517,7 +515,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef3:
+ ) -> SubscriptionDeleteResponse:
"""
Deletes an account's subscription.
@@ -550,7 +548,7 @@ async def delete(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[UnnamedSchemaRef3], ResultWrapper[UnnamedSchemaRef3]),
+ cast_to=cast(Type[SubscriptionDeleteResponse], ResultWrapper[SubscriptionDeleteResponse]),
)
async def get(
@@ -563,7 +561,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists zone subscription details.
@@ -581,7 +579,7 @@ async def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{identifier}/subscription",
options=make_request_options(
@@ -592,7 +590,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/billing/profile.py b/src/cloudflare/resources/user/billing/profile.py
index fd7d55ccca67..e87290b3aec0 100644
--- a/src/cloudflare/resources/user/billing/profile.py
+++ b/src/cloudflare/resources/user/billing/profile.py
@@ -19,7 +19,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.user.billing import ProfileGetResponse
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Profile", "AsyncProfile"]
@@ -42,10 +42,10 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProfileGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Accesses your billing profile object."""
return cast(
- ProfileGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
"/user/billing/profile",
options=make_request_options(
@@ -56,7 +56,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProfileGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -80,10 +80,10 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProfileGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""Accesses your billing profile object."""
return cast(
- ProfileGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
"/user/billing/profile",
options=make_request_options(
@@ -94,7 +94,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProfileGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/invites.py b/src/cloudflare/resources/user/invites.py
index 004b6fc05ea4..c549859c771c 100644
--- a/src/cloudflare/resources/user/invites.py
+++ b/src/cloudflare/resources/user/invites.py
@@ -22,11 +22,12 @@
)
from ..._wrappers import ResultWrapper
from ...pagination import SyncSinglePage, AsyncSinglePage
-from ...types.user import InviteGetResponse, InviteEditResponse, InviteListResponse, invite_edit_params
+from ...types.user import InviteListResponse, invite_edit_params
from ..._base_client import (
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Invites", "AsyncInvites"]
@@ -71,7 +72,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> InviteEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Responds to an invitation.
@@ -91,7 +92,7 @@ def edit(
if not invite_id:
raise ValueError(f"Expected a non-empty value for `invite_id` but received {invite_id!r}")
return cast(
- InviteEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
f"/user/invites/{invite_id}",
body=maybe_transform({"status": status}, invite_edit_params.InviteEditParams),
@@ -103,7 +104,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[InviteEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -118,7 +119,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> InviteGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the details of an invitation.
@@ -136,7 +137,7 @@ def get(
if not invite_id:
raise ValueError(f"Expected a non-empty value for `invite_id` but received {invite_id!r}")
return cast(
- InviteGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/user/invites/{invite_id}",
options=make_request_options(
@@ -147,7 +148,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[InviteGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -193,7 +194,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> InviteEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Responds to an invitation.
@@ -213,7 +214,7 @@ async def edit(
if not invite_id:
raise ValueError(f"Expected a non-empty value for `invite_id` but received {invite_id!r}")
return cast(
- InviteEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
f"/user/invites/{invite_id}",
body=await async_maybe_transform({"status": status}, invite_edit_params.InviteEditParams),
@@ -225,7 +226,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[InviteEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -240,7 +241,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> InviteGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets the details of an invitation.
@@ -258,7 +259,7 @@ async def get(
if not invite_id:
raise ValueError(f"Expected a non-empty value for `invite_id` but received {invite_id!r}")
return cast(
- InviteGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/user/invites/{invite_id}",
options=make_request_options(
@@ -269,7 +270,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[InviteGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/organizations.py b/src/cloudflare/resources/user/organizations.py
index f92c48109302..84e30443e679 100644
--- a/src/cloudflare/resources/user/organizations.py
+++ b/src/cloudflare/resources/user/organizations.py
@@ -22,17 +22,12 @@
)
from ..._wrappers import ResultWrapper
from ...pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from ...types.user import (
- Organization,
- OrganizationGetResponse,
- OrganizationDeleteResponse,
- organization_list_params,
- organization_delete_params,
-)
+from ...types.user import Organization, OrganizationDeleteResponse, organization_list_params, organization_delete_params
from ..._base_client import (
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Organizations", "AsyncOrganizations"]
@@ -160,7 +155,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OrganizationGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets a specific organization the user is associated with.
@@ -178,7 +173,7 @@ def get(
if not organization_id:
raise ValueError(f"Expected a non-empty value for `organization_id` but received {organization_id!r}")
return cast(
- OrganizationGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/user/organizations/{organization_id}",
options=make_request_options(
@@ -189,7 +184,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OrganizationGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -318,7 +313,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> OrganizationGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Gets a specific organization the user is associated with.
@@ -336,7 +331,7 @@ async def get(
if not organization_id:
raise ValueError(f"Expected a non-empty value for `organization_id` but received {organization_id!r}")
return cast(
- OrganizationGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/user/organizations/{organization_id}",
options=make_request_options(
@@ -347,7 +342,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[OrganizationGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/subscriptions.py b/src/cloudflare/resources/user/subscriptions.py
index e9592502128e..7bebcfbb292d 100644
--- a/src/cloudflare/resources/user/subscriptions.py
+++ b/src/cloudflare/resources/user/subscriptions.py
@@ -23,8 +23,7 @@
from ..._wrappers import ResultWrapper
from ...types.user import (
SubscriptionGetResponse,
- SubscriptionEditResponse,
- SubscriptionUpdateResponse,
+ SubscriptionDeleteResponse,
subscription_edit_params,
subscription_delete_params,
subscription_update_params,
@@ -32,7 +31,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef3
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Subscriptions", "AsyncSubscriptions"]
@@ -61,7 +60,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates a user's subscriptions.
@@ -87,7 +86,7 @@ def update(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/user/subscriptions/{identifier}",
body=maybe_transform(
@@ -108,7 +107,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -124,7 +123,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef3:
+ ) -> SubscriptionDeleteResponse:
"""
Deletes a user's subscription.
@@ -147,7 +146,7 @@ def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=UnnamedSchemaRef3,
+ cast_to=SubscriptionDeleteResponse,
)
def edit(
@@ -165,7 +164,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates zone subscriptions, either plan or add-ons.
@@ -191,7 +190,7 @@ def edit(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{identifier}/subscription",
body=maybe_transform(
@@ -212,7 +211,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -265,7 +264,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates a user's subscriptions.
@@ -291,7 +290,7 @@ async def update(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/user/subscriptions/{identifier}",
body=await async_maybe_transform(
@@ -312,7 +311,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -328,7 +327,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef3:
+ ) -> SubscriptionDeleteResponse:
"""
Deletes a user's subscription.
@@ -351,7 +350,7 @@ async def delete(
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
- cast_to=UnnamedSchemaRef3,
+ cast_to=SubscriptionDeleteResponse,
)
async def edit(
@@ -369,7 +368,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Updates zone subscriptions, either plan or add-ons.
@@ -395,7 +394,7 @@ async def edit(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{identifier}/subscription",
body=await async_maybe_transform(
@@ -416,7 +415,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/tokens/tokens.py b/src/cloudflare/resources/user/tokens/tokens.py
index 3ca168068777..99181a57b6ea 100644
--- a/src/cloudflare/resources/user/tokens/tokens.py
+++ b/src/cloudflare/resources/user/tokens/tokens.py
@@ -32,10 +32,8 @@
from ...._wrappers import ResultWrapper
from ....pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
from ....types.user import (
- TokenGetResponse,
TokenCreateResponse,
TokenDeleteResponse,
- TokenUpdateResponse,
TokenVerifyResponse,
token_list_params,
token_create_params,
@@ -46,6 +44,7 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .permission_groups import (
PermissionGroups,
AsyncPermissionGroups,
@@ -149,7 +148,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TokenUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update an existing token.
@@ -174,7 +173,7 @@ def update(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- TokenUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/user/tokens/{token_id}",
body=maybe_transform(
@@ -196,7 +195,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TokenUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -299,7 +298,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TokenGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific token.
@@ -313,7 +312,7 @@ def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- TokenGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/user/tokens/{token_id}",
options=make_request_options(
@@ -324,7 +323,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TokenGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -444,7 +443,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TokenUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Update an existing token.
@@ -469,7 +468,7 @@ async def update(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- TokenUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/user/tokens/{token_id}",
body=await async_maybe_transform(
@@ -491,7 +490,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TokenUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -594,7 +593,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> TokenGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Get information about a specific token.
@@ -608,7 +607,7 @@ async def get(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- TokenGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/user/tokens/{token_id}",
options=make_request_options(
@@ -619,7 +618,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[TokenGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/user/user.py b/src/cloudflare/resources/user/user.py
index 18a7229f85c6..22470bb96f98 100644
--- a/src/cloudflare/resources/user/user.py
+++ b/src/cloudflare/resources/user/user.py
@@ -14,7 +14,7 @@
TokensWithStreamingResponse,
AsyncTokensWithStreamingResponse,
)
-from ...types import UserGetResponse, UserEditResponse, user_edit_params
+from ...types import user_edit_params
from .billing import (
Billing,
AsyncBilling,
@@ -81,6 +81,7 @@
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .load_balancers import (
LoadBalancers,
AsyncLoadBalancers,
@@ -151,7 +152,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UserEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Edit part of your user details.
@@ -175,7 +176,7 @@ def edit(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- UserEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._patch(
"/user",
body=maybe_transform(
@@ -196,7 +197,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UserEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -210,10 +211,10 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UserGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""User Details"""
return cast(
- UserGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
"/user",
options=make_request_options(
@@ -224,7 +225,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UserGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -285,7 +286,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UserEditResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Edit part of your user details.
@@ -309,7 +310,7 @@ async def edit(
timeout: Override the client-level default timeout for this request, in seconds
"""
return cast(
- UserEditResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._patch(
"/user",
body=await async_maybe_transform(
@@ -330,7 +331,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UserEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -344,10 +345,10 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UserGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""User Details"""
return cast(
- UserGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
"/user",
options=make_request_options(
@@ -358,7 +359,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UserGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/vectorize/indexes.py b/src/cloudflare/resources/vectorize/indexes.py
index 59e80fdbf68d..5f001131f1c8 100644
--- a/src/cloudflare/resources/vectorize/indexes.py
+++ b/src/cloudflare/resources/vectorize/indexes.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef173
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ...types.vectorize import (
VectorizeIndexQuery,
VectorizeCreateIndex,
@@ -200,7 +200,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified Vectorize Index.
@@ -220,7 +220,7 @@ def delete(
if not index_name:
raise ValueError(f"Expected a non-empty value for `index_name` but received {index_name!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_identifier}/vectorize/indexes/{index_name}",
options=make_request_options(
@@ -231,7 +231,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -682,7 +682,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes the specified Vectorize Index.
@@ -702,7 +702,7 @@ async def delete(
if not index_name:
raise ValueError(f"Expected a non-empty value for `index_name` but received {index_name!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_identifier}/vectorize/indexes/{index_name}",
options=make_request_options(
@@ -713,7 +713,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/warp_connector.py b/src/cloudflare/resources/warp_connector.py
index 787d00659184..fa49f5230eca 100644
--- a/src/cloudflare/resources/warp_connector.py
+++ b/src/cloudflare/resources/warp_connector.py
@@ -33,7 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.shared import UnnamedSchemaRef123
+from ..types.shared import UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
__all__ = ["WARPConnector", "AsyncWARPConnector"]
@@ -58,7 +58,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Creates a new Warp Connector Tunnel in an account.
@@ -78,7 +78,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
self._post(
f"/accounts/{account_id}/warp_connector",
body=maybe_transform({"name": name}, warp_connector_create_params.WARPConnectorCreateParams),
@@ -90,7 +90,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -115,7 +115,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SyncV4PagePaginationArray[UnnamedSchemaRef123]:
+ ) -> SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]:
"""
Lists and filters Warp Connector Tunnels in an account.
@@ -148,7 +148,7 @@ def list(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._get_api_list(
f"/accounts/{account_id}/warp_connector",
- page=SyncV4PagePaginationArray[UnnamedSchemaRef123],
+ page=SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -170,7 +170,9 @@ def list(
warp_connector_list_params.WARPConnectorListParams,
),
),
- model=cast(Any, UnnamedSchemaRef123), # Union types cannot be passed in as arguments in the type system
+ model=cast(
+ Any, UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+ ), # Union types cannot be passed in as arguments in the type system
)
def delete(
@@ -185,7 +187,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Deletes a Warp Connector Tunnel from an account.
@@ -207,7 +209,7 @@ def delete(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
self._delete(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
body=maybe_transform(body, warp_connector_delete_params.WARPConnectorDeleteParams),
@@ -219,7 +221,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -237,7 +239,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Updates an existing Warp Connector Tunnel.
@@ -264,7 +266,7 @@ def edit(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
self._patch(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
body=maybe_transform(
@@ -282,7 +284,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -298,7 +300,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Fetches a single Warp Connector Tunnel.
@@ -320,7 +322,7 @@ def get(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
self._get(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
options=make_request_options(
@@ -331,7 +333,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -407,7 +409,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Creates a new Warp Connector Tunnel in an account.
@@ -427,7 +429,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
await self._post(
f"/accounts/{account_id}/warp_connector",
body=await async_maybe_transform(
@@ -441,7 +443,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -466,7 +468,10 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AsyncPaginator[UnnamedSchemaRef123, AsyncV4PagePaginationArray[UnnamedSchemaRef123]]:
+ ) -> AsyncPaginator[
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ ]:
"""
Lists and filters Warp Connector Tunnels in an account.
@@ -499,7 +504,7 @@ def list(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._get_api_list(
f"/accounts/{account_id}/warp_connector",
- page=AsyncV4PagePaginationArray[UnnamedSchemaRef123],
+ page=AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -521,7 +526,9 @@ def list(
warp_connector_list_params.WARPConnectorListParams,
),
),
- model=cast(Any, UnnamedSchemaRef123), # Union types cannot be passed in as arguments in the type system
+ model=cast(
+ Any, UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+ ), # Union types cannot be passed in as arguments in the type system
)
async def delete(
@@ -536,7 +543,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Deletes a Warp Connector Tunnel from an account.
@@ -558,7 +565,7 @@ async def delete(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
await self._delete(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
body=await async_maybe_transform(body, warp_connector_delete_params.WARPConnectorDeleteParams),
@@ -570,7 +577,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -588,7 +595,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Updates an existing Warp Connector Tunnel.
@@ -615,7 +622,7 @@ async def edit(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
await self._patch(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
body=await async_maybe_transform(
@@ -633,7 +640,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -649,7 +656,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Fetches a single Warp Connector Tunnel.
@@ -671,7 +678,7 @@ async def get(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
await self._get(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
options=make_request_options(
@@ -682,7 +689,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/workers/ai.py b/src/cloudflare/resources/workers/ai.py
index 062bb55b841e..bfa50dff4b94 100644
--- a/src/cloudflare/resources/workers/ai.py
+++ b/src/cloudflare/resources/workers/ai.py
@@ -2,11 +2,10 @@
from __future__ import annotations
-from typing import Any, List, Iterable, Optional, cast, overload
+from typing import Any, List, Union, Iterable, Optional, cast, overload
import httpx
-from ...types import shared_params
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ..._utils import (
required_args,
@@ -159,7 +158,7 @@ def run(
model_name: str,
*,
account_id: str,
- text: shared_params.UnnamedSchemaRef121,
+ text: Union[str, List[str]],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -469,7 +468,7 @@ def run(
model_name: str,
*,
account_id: str,
- text: str | shared_params.UnnamedSchemaRef121 | NotGiven = NOT_GIVEN,
+ text: str | Union[str, List[str]] | NotGiven = NOT_GIVEN,
prompt: str | NotGiven = NOT_GIVEN,
guidance: float | NotGiven = NOT_GIVEN,
image: Iterable[float] | NotGiven = NOT_GIVEN,
@@ -670,7 +669,7 @@ async def run(
model_name: str,
*,
account_id: str,
- text: shared_params.UnnamedSchemaRef121,
+ text: Union[str, List[str]],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -980,7 +979,7 @@ async def run(
model_name: str,
*,
account_id: str,
- text: str | shared_params.UnnamedSchemaRef121 | NotGiven = NOT_GIVEN,
+ text: str | Union[str, List[str]] | NotGiven = NOT_GIVEN,
prompt: str | NotGiven = NOT_GIVEN,
guidance: float | NotGiven = NOT_GIVEN,
image: Iterable[float] | NotGiven = NOT_GIVEN,
diff --git a/src/cloudflare/resources/workers/routes.py b/src/cloudflare/resources/workers/routes.py
index 95eca61d1605..275351e51680 100644
--- a/src/cloudflare/resources/workers/routes.py
+++ b/src/cloudflare/resources/workers/routes.py
@@ -25,14 +25,8 @@
AsyncPaginator,
make_request_options,
)
-from ...types.workers import (
- WorkersRoute,
- RouteCreateResponse,
- RouteDeleteResponse,
- route_create_params,
- route_delete_params,
- route_update_params,
-)
+from ...types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from ...types.workers import WorkersRoute, route_create_params, route_delete_params, route_update_params
__all__ = ["Routes", "AsyncRoutes"]
@@ -58,7 +52,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RouteCreateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Creates a route that maps a URL pattern to a Worker.
@@ -78,7 +72,7 @@ def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- RouteCreateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._post(
f"/zones/{zone_id}/workers/routes",
body=maybe_transform(
@@ -96,7 +90,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RouteCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -204,7 +198,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RouteDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes a route.
@@ -226,7 +220,7 @@ def delete(
if not route_id:
raise ValueError(f"Expected a non-empty value for `route_id` but received {route_id!r}")
return cast(
- RouteDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._delete(
f"/zones/{zone_id}/workers/routes/{route_id}",
body=maybe_transform(body, route_delete_params.RouteDeleteParams),
@@ -238,7 +232,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RouteDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -309,7 +303,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RouteCreateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Creates a route that maps a URL pattern to a Worker.
@@ -329,7 +323,7 @@ async def create(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- RouteCreateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._post(
f"/zones/{zone_id}/workers/routes",
body=await async_maybe_transform(
@@ -347,7 +341,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RouteCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -455,7 +449,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RouteDeleteResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes a route.
@@ -477,7 +471,7 @@ async def delete(
if not route_id:
raise ValueError(f"Expected a non-empty value for `route_id` but received {route_id!r}")
return cast(
- RouteDeleteResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._delete(
f"/zones/{zone_id}/workers/routes/{route_id}",
body=await async_maybe_transform(body, route_delete_params.RouteDeleteParams),
@@ -489,7 +483,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RouteDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/workers/scripts/content.py b/src/cloudflare/resources/workers/scripts/content.py
index 15a1dfa44da2..d3dc5be982cf 100644
--- a/src/cloudflare/resources/workers/scripts/content.py
+++ b/src/cloudflare/resources/workers/scripts/content.py
@@ -47,7 +47,7 @@ def update(
*,
account_id: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -125,7 +125,7 @@ async def update(
*,
account_id: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/workers/scripts/deployments.py b/src/cloudflare/resources/workers/scripts/deployments.py
index abf691f4291d..17ef52deab18 100644
--- a/src/cloudflare/resources/workers/scripts/deployments.py
+++ b/src/cloudflare/resources/workers/scripts/deployments.py
@@ -23,7 +23,12 @@
from ...._base_client import (
make_request_options,
)
-from ....types.workers.scripts import DeploymentGetResponse, DeploymentCreateResponse, deployment_create_params
+from ....types.workers.scripts import (
+ DeploymentGetResponse,
+ DeploymentCreateResponse,
+ UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param,
+ deployment_create_params,
+)
__all__ = ["Deployments", "AsyncDeployments"]
@@ -42,7 +47,7 @@ def create(
script_name: str,
*,
account_id: str,
- annotations: deployment_create_params.Annotations | NotGiven = NOT_GIVEN,
+ annotations: UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param | NotGiven = NOT_GIVEN,
strategy: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -154,7 +159,7 @@ async def create(
script_name: str,
*,
account_id: str,
- annotations: deployment_create_params.Annotations | NotGiven = NOT_GIVEN,
+ annotations: UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param | NotGiven = NOT_GIVEN,
strategy: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
diff --git a/src/cloudflare/resources/workers/scripts/tail.py b/src/cloudflare/resources/workers/scripts/tail.py
index 556584285ad8..f02f47ddc041 100644
--- a/src/cloudflare/resources/workers/scripts/tail.py
+++ b/src/cloudflare/resources/workers/scripts/tail.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef171
+from ....types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from ....types.workers.scripts import TailGetResponse, TailCreateResponse, tail_create_params, tail_delete_params
__all__ = ["Tail", "AsyncTail"]
@@ -97,7 +97,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Deletes a tail from a Worker.
@@ -123,7 +123,7 @@ def delete(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}/tails/{id}",
body=maybe_transform(body, tail_delete_params.TailDeleteParams),
@@ -135,7 +135,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -253,7 +253,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef171:
+ ) -> UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846:
"""
Deletes a tail from a Worker.
@@ -279,7 +279,7 @@ async def delete(
if not id:
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return cast(
- UnnamedSchemaRef171,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
await self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}/tails/{id}",
body=await async_maybe_transform(body, tail_delete_params.TailDeleteParams),
@@ -291,7 +291,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef171]
+ Any, ResultWrapper[UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/workers/services/environments/content.py b/src/cloudflare/resources/workers/services/environments/content.py
index b0815d434200..f245ad77133c 100644
--- a/src/cloudflare/resources/workers/services/environments/content.py
+++ b/src/cloudflare/resources/workers/services/environments/content.py
@@ -56,7 +56,7 @@ def update(
account_id: str,
service_name: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -185,7 +185,7 @@ async def update(
account_id: str,
service_name: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/workers/services/environments/settings.py b/src/cloudflare/resources/workers/services/environments/settings.py
index 940b35d049aa..67b5845501ed 100644
--- a/src/cloudflare/resources/workers/services/environments/settings.py
+++ b/src/cloudflare/resources/workers/services/environments/settings.py
@@ -45,8 +45,8 @@ def edit(
*,
account_id: str,
service_name: str,
- errors: Iterable[shared_params.ResponseInfo],
- messages: Iterable[shared_params.ResponseInfo],
+ errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
result: setting_edit_params.Result,
success: Literal[True],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -168,8 +168,8 @@ async def edit(
*,
account_id: str,
service_name: str,
- errors: Iterable[shared_params.ResponseInfo],
- messages: Iterable[shared_params.ResponseInfo],
+ errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
result: setting_edit_params.Result,
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/resources/workers_for_platforms/dispatch/namespaces/scripts/content.py b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/content.py
index 054610ff9636..829146a78d9b 100644
--- a/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/content.py
+++ b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/content.py
@@ -56,7 +56,7 @@ def update(
account_id: str,
dispatch_namespace: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -186,7 +186,7 @@ async def update(
account_id: str,
dispatch_namespace: str,
any_part_name: List[FileTypes] | NotGiven = NOT_GIVEN,
- metadata: shared_params.UnnamedSchemaRef51 | NotGiven = NOT_GIVEN,
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
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 36693b4da3e6..3475078e2847 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
@@ -49,8 +49,8 @@ def edit(
*,
account_id: str,
dispatch_namespace: str,
- errors: Iterable[shared_params.ResponseInfo],
- messages: Iterable[shared_params.ResponseInfo],
+ errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
result: setting_edit_params.Result,
success: Literal[True],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -172,8 +172,8 @@ async def edit(
*,
account_id: str,
dispatch_namespace: str,
- errors: Iterable[shared_params.ResponseInfo],
- messages: Iterable[shared_params.ResponseInfo],
+ errors: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
+ messages: Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72],
result: setting_edit_params.Result,
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/resources/zero_trust/access/applications/cas.py b/src/cloudflare/resources/zero_trust/access/applications/cas.py
index 34262b5b4fd9..dbbb5b1d8f59 100644
--- a/src/cloudflare/resources/zero_trust/access/applications/cas.py
+++ b/src/cloudflare/resources/zero_trust/access/applications/cas.py
@@ -21,7 +21,8 @@
AsyncPaginator,
make_request_options,
)
-from .....types.zero_trust.access.applications import ZeroTrustCA, CAGetResponse, CACreateResponse, CADeleteResponse
+from .....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from .....types.zero_trust.access.applications import ZeroTrustCA, CADeleteResponse
__all__ = ["CAs", "AsyncCAs"]
@@ -47,7 +48,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CACreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Generates a new short-lived certificate CA and public key.
@@ -84,7 +85,7 @@ def create(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- CACreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/{account_or_zone}/{account_or_zone_id}/access/apps/{uuid}/ca",
options=make_request_options(
@@ -95,7 +96,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CACreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -224,7 +225,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CAGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches a short-lived certificate CA and its public key.
@@ -261,7 +262,7 @@ def get(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- CAGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/{account_or_zone}/{account_or_zone_id}/access/apps/{uuid}/ca",
options=make_request_options(
@@ -272,7 +273,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CAGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -299,7 +300,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CACreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Generates a new short-lived certificate CA and public key.
@@ -336,7 +337,7 @@ async def create(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- CACreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/{account_or_zone}/{account_or_zone_id}/access/apps/{uuid}/ca",
options=make_request_options(
@@ -347,7 +348,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CACreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -476,7 +477,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> CAGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches a short-lived certificate CA and its public key.
@@ -513,7 +514,7 @@ async def get(
account_or_zone = "zones"
account_or_zone_id = zone_id
return cast(
- CAGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/{account_or_zone}/{account_or_zone_id}/access/apps/{uuid}/ca",
options=make_request_options(
@@ -524,7 +525,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CAGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/access/keys.py b/src/cloudflare/resources/zero_trust/access/keys.py
index ae4837b10ac7..4fee688af022 100644
--- a/src/cloudflare/resources/zero_trust/access/keys.py
+++ b/src/cloudflare/resources/zero_trust/access/keys.py
@@ -23,7 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.access import KeyGetResponse, KeyRotateResponse, KeyUpdateResponse, key_update_params
+from ....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from ....types.zero_trust.access import key_update_params
__all__ = ["Keys", "AsyncKeys"]
@@ -48,7 +49,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Updates the Access key rotation settings for an account.
@@ -68,7 +69,7 @@ def update(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._put(
f"/accounts/{identifier}/access/keys",
body=maybe_transform(
@@ -82,7 +83,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -97,7 +98,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Gets the Access key rotation settings for an account.
@@ -115,7 +116,7 @@ def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._get(
f"/accounts/{identifier}/access/keys",
options=make_request_options(
@@ -126,7 +127,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -141,7 +142,7 @@ def rotate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyRotateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Perfoms a key rotation for an account.
@@ -159,7 +160,7 @@ def rotate(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyRotateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._post(
f"/accounts/{identifier}/access/keys/rotate",
options=make_request_options(
@@ -170,7 +171,7 @@ def rotate(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyRotateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -196,7 +197,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyUpdateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Updates the Access key rotation settings for an account.
@@ -216,7 +217,7 @@ async def update(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyUpdateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._put(
f"/accounts/{identifier}/access/keys",
body=await async_maybe_transform(
@@ -230,7 +231,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -245,7 +246,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyGetResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Gets the Access key rotation settings for an account.
@@ -263,7 +264,7 @@ async def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyGetResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._get(
f"/accounts/{identifier}/access/keys",
options=make_request_options(
@@ -274,7 +275,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -289,7 +290,7 @@ async def rotate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> KeyRotateResponse:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Perfoms a key rotation for an account.
@@ -307,7 +308,7 @@ async def rotate(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- KeyRotateResponse,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._post(
f"/accounts/{identifier}/access/keys/rotate",
options=make_request_options(
@@ -318,7 +319,7 @@ async def rotate(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[KeyRotateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/devices/devices.py b/src/cloudflare/resources/zero_trust/devices/devices.py
index f92707101085..cc274f86c18e 100644
--- a/src/cloudflare/resources/zero_trust/devices/devices.py
+++ b/src/cloudflare/resources/zero_trust/devices/devices.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, Optional, cast
+from typing import Any, cast
import httpx
@@ -85,7 +85,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef173
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .posture.posture import Posture, AsyncPosture
from .policies.policies import Policies, AsyncPolicies
from ....types.zero_trust import ZeroTrustDevices
@@ -179,7 +179,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches details for a single device.
@@ -199,7 +199,7 @@ def get(
if not device_id:
raise ValueError(f"Expected a non-empty value for `device_id` but received {device_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/accounts/{account_id}/devices/{device_id}",
options=make_request_options(
@@ -210,7 +210,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -302,7 +302,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Fetches details for a single device.
@@ -322,7 +322,7 @@ async def get(
if not device_id:
raise ValueError(f"Expected a non-empty value for `device_id` but received {device_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/accounts/{account_id}/devices/{device_id}",
options=make_request_options(
@@ -333,7 +333,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/devices/posture/integrations.py b/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
index eac33b4bb405..041e6ff9bfea 100644
--- a/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
+++ b/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from .....types.shared import UnnamedSchemaRef173
+from .....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .....types.zero_trust.devices.posture import (
DevicePostureIntegrations,
integration_edit_params,
@@ -151,7 +151,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete a configured device posture integration.
@@ -171,7 +171,7 @@ def delete(
if not integration_id:
raise ValueError(f"Expected a non-empty value for `integration_id` but received {integration_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/devices/posture/integration/{integration_id}",
body=maybe_transform(body, integration_delete_params.IntegrationDeleteParams),
@@ -183,7 +183,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -410,7 +410,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Delete a configured device posture integration.
@@ -430,7 +430,7 @@ async def delete(
if not integration_id:
raise ValueError(f"Expected a non-empty value for `integration_id` but received {integration_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/devices/posture/integration/{integration_id}",
body=await async_maybe_transform(body, integration_delete_params.IntegrationDeleteParams),
@@ -442,7 +442,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/devices/revoke.py b/src/cloudflare/resources/zero_trust/devices/revoke.py
index 228fa7107a8c..64a2722a70c2 100644
--- a/src/cloudflare/resources/zero_trust/devices/revoke.py
+++ b/src/cloudflare/resources/zero_trust/devices/revoke.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Optional, cast
+from typing import Any, List, cast
import httpx
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef173
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.zero_trust.devices import revoke_create_params
__all__ = ["Revoke", "AsyncRevoke"]
@@ -49,7 +49,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Revokes a list of devices.
@@ -67,7 +67,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/accounts/{account_id}/devices/revoke",
body=maybe_transform(body, revoke_create_params.RevokeCreateParams),
@@ -79,7 +79,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -105,7 +105,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Revokes a list of devices.
@@ -123,7 +123,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/accounts/{account_id}/devices/revoke",
body=await async_maybe_transform(body, revoke_create_params.RevokeCreateParams),
@@ -135,7 +135,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/devices/unrevoke.py b/src/cloudflare/resources/zero_trust/devices/unrevoke.py
index b8c3f3ac9857..5a8e29c66e19 100644
--- a/src/cloudflare/resources/zero_trust/devices/unrevoke.py
+++ b/src/cloudflare/resources/zero_trust/devices/unrevoke.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Optional, cast
+from typing import Any, List, cast
import httpx
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef173
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.zero_trust.devices import unrevoke_create_params
__all__ = ["Unrevoke", "AsyncUnrevoke"]
@@ -49,7 +49,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Unrevokes a list of devices.
@@ -67,7 +67,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/accounts/{account_id}/devices/unrevoke",
body=maybe_transform(body, unrevoke_create_params.UnrevokeCreateParams),
@@ -79,7 +79,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -105,7 +105,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef173]:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Unrevokes a list of devices.
@@ -123,7 +123,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- Optional[UnnamedSchemaRef173],
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/accounts/{account_id}/devices/unrevoke",
body=await async_maybe_transform(body, unrevoke_create_params.UnrevokeCreateParams),
@@ -135,7 +135,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef173]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/dlp/patterns.py b/src/cloudflare/resources/zero_trust/dlp/patterns.py
index 0005c230756d..cb93ccb7ade1 100644
--- a/src/cloudflare/resources/zero_trust/dlp/patterns.py
+++ b/src/cloudflare/resources/zero_trust/dlp/patterns.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Type, cast
+from typing import Type, Optional, cast
import httpx
@@ -23,7 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.dlp import PatternValidateResponse, pattern_validate_params
+from ....types.shared import UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854
+from ....types.zero_trust.dlp import pattern_validate_params
__all__ = ["Patterns", "AsyncPatterns"]
@@ -48,7 +49,7 @@ def validate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PatternValidateResponse:
+ ) -> Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]:
"""Validates whether this pattern is a valid regular expression.
Rejects it if the
@@ -81,7 +82,10 @@ def validate(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PatternValidateResponse], ResultWrapper[PatternValidateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]],
+ ResultWrapper[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854],
+ ),
)
@@ -105,7 +109,7 @@ async def validate(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PatternValidateResponse:
+ ) -> Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]:
"""Validates whether this pattern is a valid regular expression.
Rejects it if the
@@ -138,7 +142,10 @@ async def validate(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PatternValidateResponse], ResultWrapper[PatternValidateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854]],
+ ResultWrapper[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854],
+ ),
)
diff --git a/src/cloudflare/resources/zero_trust/dlp/payload_logs.py b/src/cloudflare/resources/zero_trust/dlp/payload_logs.py
index f8284726097f..75e2f192d880 100644
--- a/src/cloudflare/resources/zero_trust/dlp/payload_logs.py
+++ b/src/cloudflare/resources/zero_trust/dlp/payload_logs.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.dlp import PayloadLogGetResponse, PayloadLogUpdateResponse, payload_log_update_params
+from ....types.zero_trust.dlp import UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5, payload_log_update_params
__all__ = ["PayloadLogs", "AsyncPayloadLogs"]
@@ -48,7 +48,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PayloadLogUpdateResponse:
+ ) -> Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]:
"""
Updates the DLP payload log settings for this account.
@@ -77,7 +77,10 @@ def update(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PayloadLogUpdateResponse], ResultWrapper[PayloadLogUpdateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]],
+ ResultWrapper[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5],
+ ),
)
def get(
@@ -90,7 +93,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PayloadLogGetResponse:
+ ) -> Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]:
"""
Gets the current DLP payload log settings for this account.
@@ -116,7 +119,10 @@ def get(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PayloadLogGetResponse], ResultWrapper[PayloadLogGetResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]],
+ ResultWrapper[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5],
+ ),
)
@@ -140,7 +146,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PayloadLogUpdateResponse:
+ ) -> Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]:
"""
Updates the DLP payload log settings for this account.
@@ -171,7 +177,10 @@ async def update(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PayloadLogUpdateResponse], ResultWrapper[PayloadLogUpdateResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]],
+ ResultWrapper[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5],
+ ),
)
async def get(
@@ -184,7 +193,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> PayloadLogGetResponse:
+ ) -> Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]:
"""
Gets the current DLP payload log settings for this account.
@@ -210,7 +219,10 @@ async def get(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[PayloadLogGetResponse], ResultWrapper[PayloadLogGetResponse]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5]],
+ ResultWrapper[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5],
+ ),
)
diff --git a/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py b/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
index 18403b3c76b5..8a263bb4bc82 100644
--- a/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
+++ b/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
@@ -23,7 +23,7 @@
from ....._base_client import (
make_request_options,
)
-from .....types.shared import UnnamedSchemaRef169
+from .....types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
from .....types.zero_trust.dlp.profiles import (
DLPCustomProfile,
CustomCreateResponse,
@@ -174,7 +174,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef169:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes a DLP custom profile.
@@ -196,7 +196,7 @@ def delete(
if not profile_id:
raise ValueError(f"Expected a non-empty value for `profile_id` but received {profile_id!r}")
return cast(
- UnnamedSchemaRef169,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
self._delete(
f"/accounts/{account_id}/dlp/profiles/custom/{profile_id}",
body=maybe_transform(body, custom_delete_params.CustomDeleteParams),
@@ -208,7 +208,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef169]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -397,7 +397,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef169:
+ ) -> UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f:
"""
Deletes a DLP custom profile.
@@ -419,7 +419,7 @@ async def delete(
if not profile_id:
raise ValueError(f"Expected a non-empty value for `profile_id` but received {profile_id!r}")
return cast(
- UnnamedSchemaRef169,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
await self._delete(
f"/accounts/{account_id}/dlp/profiles/custom/{profile_id}",
body=await async_maybe_transform(body, custom_delete_params.CustomDeleteParams),
@@ -431,7 +431,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef169]
+ Any, ResultWrapper[UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/gateway/configurations.py b/src/cloudflare/resources/zero_trust/gateway/configurations.py
index 22624eaf595a..93273f3845c5 100644
--- a/src/cloudflare/resources/zero_trust/gateway/configurations.py
+++ b/src/cloudflare/resources/zero_trust/gateway/configurations.py
@@ -6,7 +6,6 @@
import httpx
-from ....types import shared_params
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ...._utils import (
maybe_transform,
@@ -28,6 +27,7 @@
ConfigurationGetResponse,
ConfigurationEditResponse,
ConfigurationUpdateResponse,
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam,
configuration_edit_params,
configuration_update_params,
)
@@ -48,7 +48,7 @@ def update(
self,
*,
account_id: str,
- settings: shared_params.UnnamedSchemaRef125 | NotGiven = NOT_GIVEN,
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -89,7 +89,7 @@ def edit(
self,
*,
account_id: str,
- settings: shared_params.UnnamedSchemaRef125 | NotGiven = NOT_GIVEN,
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -182,7 +182,7 @@ async def update(
self,
*,
account_id: str,
- settings: shared_params.UnnamedSchemaRef125 | NotGiven = NOT_GIVEN,
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -225,7 +225,7 @@ async def edit(
self,
*,
account_id: str,
- settings: shared_params.UnnamedSchemaRef125 | NotGiven = NOT_GIVEN,
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/zero_trust/gateway/lists/lists.py b/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
index 10ba09b03e98..d2244e658f6a 100644
--- a/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
+++ b/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
@@ -34,9 +34,9 @@
AsyncPaginator,
make_request_options,
)
+from .....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from .....types.zero_trust.gateway import (
ListCreateResponse,
- ListDeleteResponse,
ZeroTrustGatewayLists,
list_edit_params,
list_create_params,
@@ -219,7 +219,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ListDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a Zero Trust list.
@@ -239,7 +239,7 @@ def delete(
if not list_id:
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return cast(
- ListDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/gateway/lists/{list_id}",
body=maybe_transform(body, list_delete_params.ListDeleteParams),
@@ -251,7 +251,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ListDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -526,7 +526,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ListDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a Zero Trust list.
@@ -546,7 +546,7 @@ async def delete(
if not list_id:
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return cast(
- ListDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/gateway/lists/{list_id}",
body=await async_maybe_transform(body, list_delete_params.ListDeleteParams),
@@ -558,7 +558,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ListDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/gateway/locations.py b/src/cloudflare/resources/zero_trust/gateway/locations.py
index 125f8152d999..d3ee159602df 100644
--- a/src/cloudflare/resources/zero_trust/gateway/locations.py
+++ b/src/cloudflare/resources/zero_trust/gateway/locations.py
@@ -25,8 +25,8 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.zero_trust.gateway import (
- LocationDeleteResponse,
ZeroTrustGatewayLocations,
location_create_params,
location_delete_params,
@@ -210,7 +210,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> LocationDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a configured Zero Trust Gateway location.
@@ -228,7 +228,7 @@ def delete(
if not location_id:
raise ValueError(f"Expected a non-empty value for `location_id` but received {location_id!r}")
return cast(
- LocationDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/gateway/locations/{location_id}",
body=maybe_transform(body, location_delete_params.LocationDeleteParams),
@@ -240,7 +240,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[LocationDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -460,7 +460,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> LocationDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a configured Zero Trust Gateway location.
@@ -478,7 +478,7 @@ async def delete(
if not location_id:
raise ValueError(f"Expected a non-empty value for `location_id` but received {location_id!r}")
return cast(
- LocationDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/gateway/locations/{location_id}",
body=await async_maybe_transform(body, location_delete_params.LocationDeleteParams),
@@ -490,7 +490,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[LocationDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/gateway/logging.py b/src/cloudflare/resources/zero_trust/gateway/logging.py
index 1a88c6343e0c..ec484fe73a84 100644
--- a/src/cloudflare/resources/zero_trust/gateway/logging.py
+++ b/src/cloudflare/resources/zero_trust/gateway/logging.py
@@ -6,7 +6,6 @@
import httpx
-from ....types import shared_params
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ...._utils import (
maybe_transform,
@@ -24,7 +23,11 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.gateway import ZeroTrustGatewayGatewayAccountLoggingSettings, logging_update_params
+from ....types.zero_trust.gateway import (
+ ZeroTrustGatewayGatewayAccountLoggingSettings,
+ UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam,
+ logging_update_params,
+)
__all__ = ["Logging", "AsyncLogging"]
@@ -43,7 +46,7 @@ def update(
*,
account_id: str,
redact_pii: bool | NotGiven = NOT_GIVEN,
- settings_by_rule_type: shared_params.UnnamedSchemaRef28 | NotGiven = NOT_GIVEN,
+ settings_by_rule_type: UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -147,7 +150,7 @@ async def update(
*,
account_id: str,
redact_pii: bool | NotGiven = NOT_GIVEN,
- settings_by_rule_type: shared_params.UnnamedSchemaRef28 | NotGiven = NOT_GIVEN,
+ settings_by_rule_type: UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py b/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
index f6206d03b6bb..b1fb0bed3d69 100644
--- a/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
+++ b/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
@@ -25,8 +25,8 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.zero_trust.gateway import (
- ProxyEndpointDeleteResponse,
ZeroTrustGatewayProxyEndpoints,
proxy_endpoint_edit_params,
proxy_endpoint_create_params,
@@ -141,7 +141,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProxyEndpointDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a configured Zero Trust Gateway proxy endpoint.
@@ -159,7 +159,7 @@ def delete(
if not proxy_endpoint_id:
raise ValueError(f"Expected a non-empty value for `proxy_endpoint_id` but received {proxy_endpoint_id!r}")
return cast(
- ProxyEndpointDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}",
body=maybe_transform(body, proxy_endpoint_delete_params.ProxyEndpointDeleteParams),
@@ -171,7 +171,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProxyEndpointDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -375,7 +375,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ProxyEndpointDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a configured Zero Trust Gateway proxy endpoint.
@@ -393,7 +393,7 @@ async def delete(
if not proxy_endpoint_id:
raise ValueError(f"Expected a non-empty value for `proxy_endpoint_id` but received {proxy_endpoint_id!r}")
return cast(
- ProxyEndpointDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}",
body=await async_maybe_transform(body, proxy_endpoint_delete_params.ProxyEndpointDeleteParams),
@@ -405,7 +405,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ProxyEndpointDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/gateway/rules.py b/src/cloudflare/resources/zero_trust/gateway/rules.py
index 236541d21bfb..84827eb7ea74 100644
--- a/src/cloudflare/resources/zero_trust/gateway/rules.py
+++ b/src/cloudflare/resources/zero_trust/gateway/rules.py
@@ -26,8 +26,8 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from ....types.zero_trust.gateway import (
- RuleDeleteResponse,
ZeroTrustGatewayRules,
rule_create_params,
rule_delete_params,
@@ -311,7 +311,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RuleDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a Zero Trust Gateway rule.
@@ -331,7 +331,7 @@ def delete(
if not rule_id:
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return cast(
- RuleDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._delete(
f"/accounts/{account_id}/gateway/rules/{rule_id}",
body=maybe_transform(body, rule_delete_params.RuleDeleteParams),
@@ -343,7 +343,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RuleDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -665,7 +665,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> RuleDeleteResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Deletes a Zero Trust Gateway rule.
@@ -685,7 +685,7 @@ async def delete(
if not rule_id:
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return cast(
- RuleDeleteResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._delete(
f"/accounts/{account_id}/gateway/rules/{rule_id}",
body=await async_maybe_transform(body, rule_delete_params.RuleDeleteParams),
@@ -697,7 +697,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[RuleDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/identity_providers.py b/src/cloudflare/resources/zero_trust/identity_providers.py
index e0e0898ac06d..df8fe5c8b2bd 100644
--- a/src/cloudflare/resources/zero_trust/identity_providers.py
+++ b/src/cloudflare/resources/zero_trust/identity_providers.py
@@ -6,7 +6,6 @@
import httpx
-from ...types import shared_params
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
from ..._utils import (
required_args,
@@ -27,11 +26,12 @@
AsyncPaginator,
make_request_options,
)
-from ...types.shared import UnnamedSchemaRef163
from ...types.zero_trust import (
ZeroTrustIdentityProviders,
IdentityProviderListResponse,
IdentityProviderDeleteResponse,
+ UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param,
identity_provider_create_params,
identity_provider_update_params,
)
@@ -54,10 +54,10 @@ def create(
*,
config: identity_provider_create_params.AccessAzureAdConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -102,10 +102,10 @@ def create(
*,
config: identity_provider_create_params.AccessCentrifyConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -150,10 +150,10 @@ def create(
*,
config: identity_provider_create_params.AccessFacebookConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -198,10 +198,10 @@ def create(
*,
config: identity_provider_create_params.AccessGitHubConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -246,10 +246,10 @@ def create(
*,
config: identity_provider_create_params.AccessGoogleConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -294,10 +294,10 @@ def create(
*,
config: identity_provider_create_params.AccessGoogleAppsConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -342,10 +342,10 @@ def create(
*,
config: identity_provider_create_params.AccessLinkedinConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -390,10 +390,10 @@ def create(
*,
config: identity_provider_create_params.AccessOidcConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -438,10 +438,10 @@ def create(
*,
config: identity_provider_create_params.AccessOktaConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -486,10 +486,10 @@ def create(
*,
config: identity_provider_create_params.AccessOneloginConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -534,10 +534,10 @@ def create(
*,
config: identity_provider_create_params.AccessPingoneConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -582,10 +582,10 @@ def create(
*,
config: identity_provider_create_params.AccessSamlConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -630,10 +630,10 @@ def create(
*,
config: identity_provider_create_params.AccessYandexConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -678,10 +678,10 @@ def create(
*,
config: object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -751,10 +751,10 @@ def create(
| identity_provider_create_params.AccessSamlConfig
| object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -810,10 +810,10 @@ def update(
*,
config: identity_provider_update_params.AccessAzureAdConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -861,10 +861,10 @@ def update(
*,
config: identity_provider_update_params.AccessCentrifyConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -912,10 +912,10 @@ def update(
*,
config: identity_provider_update_params.AccessFacebookConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -963,10 +963,10 @@ def update(
*,
config: identity_provider_update_params.AccessGitHubConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1014,10 +1014,10 @@ def update(
*,
config: identity_provider_update_params.AccessGoogleConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1065,10 +1065,10 @@ def update(
*,
config: identity_provider_update_params.AccessGoogleAppsConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1116,10 +1116,10 @@ def update(
*,
config: identity_provider_update_params.AccessLinkedinConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1167,10 +1167,10 @@ def update(
*,
config: identity_provider_update_params.AccessOidcConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1218,10 +1218,10 @@ def update(
*,
config: identity_provider_update_params.AccessOktaConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1269,10 +1269,10 @@ def update(
*,
config: identity_provider_update_params.AccessOneloginConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1320,10 +1320,10 @@ def update(
*,
config: identity_provider_update_params.AccessPingoneConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1371,10 +1371,10 @@ def update(
*,
config: identity_provider_update_params.AccessSamlConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1422,10 +1422,10 @@ def update(
*,
config: identity_provider_update_params.AccessYandexConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1473,10 +1473,10 @@ def update(
*,
config: object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1549,10 +1549,10 @@ def update(
| identity_provider_update_params.AccessSamlConfig
| object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1798,10 +1798,10 @@ async def create(
*,
config: identity_provider_create_params.AccessAzureAdConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1846,10 +1846,10 @@ async def create(
*,
config: identity_provider_create_params.AccessCentrifyConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1894,10 +1894,10 @@ async def create(
*,
config: identity_provider_create_params.AccessFacebookConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1942,10 +1942,10 @@ async def create(
*,
config: identity_provider_create_params.AccessGitHubConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1990,10 +1990,10 @@ async def create(
*,
config: identity_provider_create_params.AccessGoogleConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2038,10 +2038,10 @@ async def create(
*,
config: identity_provider_create_params.AccessGoogleAppsConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2086,10 +2086,10 @@ async def create(
*,
config: identity_provider_create_params.AccessLinkedinConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2134,10 +2134,10 @@ async def create(
*,
config: identity_provider_create_params.AccessOidcConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2182,10 +2182,10 @@ async def create(
*,
config: identity_provider_create_params.AccessOktaConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2230,10 +2230,10 @@ async def create(
*,
config: identity_provider_create_params.AccessOneloginConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2278,10 +2278,10 @@ async def create(
*,
config: identity_provider_create_params.AccessPingoneConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2326,10 +2326,10 @@ async def create(
*,
config: identity_provider_create_params.AccessSamlConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2374,10 +2374,10 @@ async def create(
*,
config: identity_provider_create_params.AccessYandexConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2422,10 +2422,10 @@ async def create(
*,
config: object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2495,10 +2495,10 @@ async def create(
| identity_provider_create_params.AccessSamlConfig
| object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2554,10 +2554,10 @@ async def update(
*,
config: identity_provider_update_params.AccessAzureAdConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2605,10 +2605,10 @@ async def update(
*,
config: identity_provider_update_params.AccessCentrifyConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2656,10 +2656,10 @@ async def update(
*,
config: identity_provider_update_params.AccessFacebookConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2707,10 +2707,10 @@ async def update(
*,
config: identity_provider_update_params.AccessGitHubConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2758,10 +2758,10 @@ async def update(
*,
config: identity_provider_update_params.AccessGoogleConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2809,10 +2809,10 @@ async def update(
*,
config: identity_provider_update_params.AccessGoogleAppsConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2860,10 +2860,10 @@ async def update(
*,
config: identity_provider_update_params.AccessLinkedinConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2911,10 +2911,10 @@ async def update(
*,
config: identity_provider_update_params.AccessOidcConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2962,10 +2962,10 @@ async def update(
*,
config: identity_provider_update_params.AccessOktaConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3013,10 +3013,10 @@ async def update(
*,
config: identity_provider_update_params.AccessOneloginConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3064,10 +3064,10 @@ async def update(
*,
config: identity_provider_update_params.AccessPingoneConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3115,10 +3115,10 @@ async def update(
*,
config: identity_provider_update_params.AccessSamlConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3166,10 +3166,10 @@ async def update(
*,
config: identity_provider_update_params.AccessYandexConfig,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3217,10 +3217,10 @@ async def update(
*,
config: object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -3293,10 +3293,10 @@ async def update(
| identity_provider_update_params.AccessSamlConfig
| object,
name: str,
- type: UnnamedSchemaRef163,
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
- scim_config: shared_params.UnnamedSchemaRef158 | NotGiven = NOT_GIVEN,
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/zero_trust/networks/virtual_networks.py b/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
index 52587dd582e2..1064af591b50 100644
--- a/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
+++ b/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, cast
+from typing import Any, Optional, cast
import httpx
@@ -25,11 +25,9 @@
AsyncPaginator,
make_request_options,
)
+from ....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from ....types.zero_trust.networks import (
TunnelVirtualNetwork,
- VirtualNetworkEditResponse,
- VirtualNetworkCreateResponse,
- VirtualNetworkDeleteResponse,
virtual_network_edit_params,
virtual_network_list_params,
virtual_network_create_params,
@@ -61,7 +59,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkCreateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Adds a new virtual network to an account.
@@ -85,7 +83,7 @@ def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- VirtualNetworkCreateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._post(
f"/accounts/{account_id}/teamnet/virtual_networks",
body=maybe_transform(
@@ -104,7 +102,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -187,7 +185,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkDeleteResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes an existing virtual network.
@@ -209,7 +207,7 @@ def delete(
if not virtual_network_id:
raise ValueError(f"Expected a non-empty value for `virtual_network_id` but received {virtual_network_id!r}")
return cast(
- VirtualNetworkDeleteResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._delete(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
body=maybe_transform(body, virtual_network_delete_params.VirtualNetworkDeleteParams),
@@ -221,7 +219,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -240,7 +238,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkEditResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Updates an existing virtual network.
@@ -268,7 +266,7 @@ def edit(
if not virtual_network_id:
raise ValueError(f"Expected a non-empty value for `virtual_network_id` but received {virtual_network_id!r}")
return cast(
- VirtualNetworkEditResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._patch(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
body=maybe_transform(
@@ -287,7 +285,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -315,7 +313,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkCreateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Adds a new virtual network to an account.
@@ -339,7 +337,7 @@ async def create(
if not account_id:
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return cast(
- VirtualNetworkCreateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._post(
f"/accounts/{account_id}/teamnet/virtual_networks",
body=await async_maybe_transform(
@@ -358,7 +356,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -441,7 +439,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkDeleteResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Deletes an existing virtual network.
@@ -463,7 +461,7 @@ async def delete(
if not virtual_network_id:
raise ValueError(f"Expected a non-empty value for `virtual_network_id` but received {virtual_network_id!r}")
return cast(
- VirtualNetworkDeleteResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._delete(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
body=await async_maybe_transform(body, virtual_network_delete_params.VirtualNetworkDeleteParams),
@@ -475,7 +473,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -494,7 +492,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> VirtualNetworkEditResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Updates an existing virtual network.
@@ -522,7 +520,7 @@ async def edit(
if not virtual_network_id:
raise ValueError(f"Expected a non-empty value for `virtual_network_id` but received {virtual_network_id!r}")
return cast(
- VirtualNetworkEditResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._patch(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
body=await async_maybe_transform(
@@ -541,7 +539,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[VirtualNetworkEditResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/tunnels/configurations.py b/src/cloudflare/resources/zero_trust/tunnels/configurations.py
index 95c44333428b..6742f37e709f 100644
--- a/src/cloudflare/resources/zero_trust/tunnels/configurations.py
+++ b/src/cloudflare/resources/zero_trust/tunnels/configurations.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, cast
+from typing import Any, Optional, cast
import httpx
@@ -23,11 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.tunnels import (
- ConfigurationGetResponse,
- ConfigurationUpdateResponse,
- configuration_update_params,
-)
+from ....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from ....types.zero_trust.tunnels import configuration_update_params
__all__ = ["Configurations", "AsyncConfigurations"]
@@ -53,7 +50,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConfigurationUpdateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Adds or updates the configuration for a remotely-managed tunnel.
@@ -77,7 +74,7 @@ def update(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConfigurationUpdateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._put(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations",
body=maybe_transform({"config": config}, configuration_update_params.ConfigurationUpdateParams),
@@ -89,7 +86,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConfigurationUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -105,7 +102,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConfigurationGetResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Gets the configuration for a remotely-managed tunnel
@@ -127,7 +124,7 @@ def get(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConfigurationGetResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._get(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations",
options=make_request_options(
@@ -138,7 +135,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConfigurationGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -165,7 +162,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConfigurationUpdateResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Adds or updates the configuration for a remotely-managed tunnel.
@@ -189,7 +186,7 @@ async def update(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConfigurationUpdateResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._put(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations",
body=await async_maybe_transform(
@@ -203,7 +200,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConfigurationUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -219,7 +216,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConfigurationGetResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""
Gets the configuration for a remotely-managed tunnel
@@ -241,7 +238,7 @@ async def get(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConfigurationGetResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._get(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations",
options=make_request_options(
@@ -252,7 +249,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConfigurationGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/tunnels/connections.py b/src/cloudflare/resources/zero_trust/tunnels/connections.py
index 76114b8aa272..ba8feefb6a2f 100644
--- a/src/cloudflare/resources/zero_trust/tunnels/connections.py
+++ b/src/cloudflare/resources/zero_trust/tunnels/connections.py
@@ -23,7 +23,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.tunnels import ConnectionGetResponse, ConnectionDeleteResponse, connection_delete_params
+from ....types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from ....types.zero_trust.tunnels import ConnectionGetResponse, connection_delete_params
__all__ = ["Connections", "AsyncConnections"]
@@ -49,7 +50,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConnectionDeleteResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""Removes connections that are in a disconnected or pending reconnect state.
We
@@ -73,7 +74,7 @@ def delete(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConnectionDeleteResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}/connections",
body=maybe_transform(body, connection_delete_params.ConnectionDeleteParams),
@@ -85,7 +86,7 @@ def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConnectionDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -156,7 +157,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ConnectionDeleteResponse:
+ ) -> Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]:
"""Removes connections that are in a disconnected or pending reconnect state.
We
@@ -180,7 +181,7 @@ async def delete(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- ConnectionDeleteResponse,
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1],
await self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}/connections",
body=await async_maybe_transform(body, connection_delete_params.ConnectionDeleteParams),
@@ -192,7 +193,7 @@ async def delete(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ConnectionDeleteResponse]
+ Any, ResultWrapper[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zero_trust/tunnels/tunnels.py b/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
index 9aa2eed3fbeb..c460b4934d7a 100644
--- a/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
+++ b/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
@@ -66,7 +66,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.shared import UnnamedSchemaRef123
+from ....types.shared import UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
from ....types.zero_trust import (
TunnelArgoTunnel,
tunnel_edit_params,
@@ -181,7 +181,7 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SyncV4PagePaginationArray[UnnamedSchemaRef123]:
+ ) -> SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]:
"""
Lists and filters all types of Tunnels in an account.
@@ -216,7 +216,7 @@ def list(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._get_api_list(
f"/accounts/{account_id}/tunnels",
- page=SyncV4PagePaginationArray[UnnamedSchemaRef123],
+ page=SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -239,7 +239,9 @@ def list(
tunnel_list_params.TunnelListParams,
),
),
- model=cast(Any, UnnamedSchemaRef123), # Union types cannot be passed in as arguments in the type system
+ model=cast(
+ Any, UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+ ), # Union types cannot be passed in as arguments in the type system
)
def delete(
@@ -301,7 +303,7 @@ def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Updates an existing Cloudflare Tunnel.
@@ -328,7 +330,7 @@ def edit(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
self._patch(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}",
body=maybe_transform(
@@ -346,7 +348,7 @@ def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -499,7 +501,10 @@ def list(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> AsyncPaginator[UnnamedSchemaRef123, AsyncV4PagePaginationArray[UnnamedSchemaRef123]]:
+ ) -> AsyncPaginator[
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ ]:
"""
Lists and filters all types of Tunnels in an account.
@@ -534,7 +539,7 @@ def list(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._get_api_list(
f"/accounts/{account_id}/tunnels",
- page=AsyncV4PagePaginationArray[UnnamedSchemaRef123],
+ page=AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -557,7 +562,9 @@ def list(
tunnel_list_params.TunnelListParams,
),
),
- model=cast(Any, UnnamedSchemaRef123), # Union types cannot be passed in as arguments in the type system
+ model=cast(
+ Any, UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
+ ), # Union types cannot be passed in as arguments in the type system
)
async def delete(
@@ -619,7 +626,7 @@ async def edit(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> UnnamedSchemaRef123:
+ ) -> UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8:
"""
Updates an existing Cloudflare Tunnel.
@@ -646,7 +653,7 @@ async def edit(
if not tunnel_id:
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return cast(
- UnnamedSchemaRef123,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
await self._patch(
f"/accounts/{account_id}/cfd_tunnel/{tunnel_id}",
body=await async_maybe_transform(
@@ -664,7 +671,7 @@ async def edit(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[UnnamedSchemaRef123]
+ Any, ResultWrapper[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zones/custom_nameservers.py b/src/cloudflare/resources/zones/custom_nameservers.py
index f5a2db1748d1..2c01b237bff6 100644
--- a/src/cloudflare/resources/zones/custom_nameservers.py
+++ b/src/cloudflare/resources/zones/custom_nameservers.py
@@ -20,10 +20,11 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.zones import CustomNameserverGetResponse, CustomNameserverUpdateResponse, custom_nameserver_update_params
+from ...types.zones import custom_nameserver_update_params
from ..._base_client import (
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
__all__ = ["CustomNameservers", "AsyncCustomNameservers"]
@@ -49,7 +50,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Set metadata for account-level custom nameservers on a zone.
@@ -75,7 +76,7 @@ def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- Optional[CustomNameserverUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._put(
f"/zones/{zone_id}/custom_ns",
body=maybe_transform(
@@ -93,7 +94,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -108,7 +109,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverGetResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Get metadata for account-level custom nameservers on a zone.
@@ -126,7 +127,7 @@ def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- Optional[CustomNameserverGetResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
self._get(
f"/zones/{zone_id}/custom_ns",
options=make_request_options(
@@ -137,7 +138,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -164,7 +165,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverUpdateResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Set metadata for account-level custom nameservers on a zone.
@@ -190,7 +191,7 @@ async def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- Optional[CustomNameserverUpdateResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._put(
f"/zones/{zone_id}/custom_ns",
body=await async_maybe_transform(
@@ -208,7 +209,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -223,7 +224,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[CustomNameserverGetResponse]:
+ ) -> Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]:
"""
Get metadata for account-level custom nameservers on a zone.
@@ -241,7 +242,7 @@ async def get(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- Optional[CustomNameserverGetResponse],
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151],
await self._get(
f"/zones/{zone_id}/custom_ns",
options=make_request_options(
@@ -252,7 +253,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[CustomNameserverGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zones/holds.py b/src/cloudflare/resources/zones/holds.py
index 71412bf61e4e..b8bc2956194e 100644
--- a/src/cloudflare/resources/zones/holds.py
+++ b/src/cloudflare/resources/zones/holds.py
@@ -20,13 +20,7 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.zones import (
- HoldGetResponse,
- HoldCreateResponse,
- UnnamedSchemaRef64,
- hold_create_params,
- hold_delete_params,
-)
+from ...types.zones import UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold_create_params, hold_delete_params
from ..._base_client import (
make_request_options,
)
@@ -54,7 +48,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> HoldCreateResponse:
+ ) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820:
"""
Enforce a zone hold on the zone, blocking the creation and activation of zones
with this zone's hostname.
@@ -87,7 +81,10 @@ def create(
query=maybe_transform({"include_subdomains": include_subdomains}, hold_create_params.HoldCreateParams),
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[HoldCreateResponse], ResultWrapper[HoldCreateResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
def delete(
@@ -101,7 +98,7 @@ def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef64]:
+ ) -> Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820]:
"""
Stop enforcement of a zone hold on the zone, permanently or temporarily,
allowing the creation and activation of zones with this zone's hostname.
@@ -133,7 +130,10 @@ def delete(
query=maybe_transform({"hold_after": hold_after}, hold_delete_params.HoldDeleteParams),
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[Optional[UnnamedSchemaRef64]], ResultWrapper[UnnamedSchemaRef64]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820]],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
def get(
@@ -146,7 +146,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> HoldGetResponse:
+ ) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820:
"""
Retrieve whether the zone is subject to a zone hold, and metadata about the
hold.
@@ -173,7 +173,10 @@ def get(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[HoldGetResponse], ResultWrapper[HoldGetResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
@@ -197,7 +200,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> HoldCreateResponse:
+ ) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820:
"""
Enforce a zone hold on the zone, blocking the creation and activation of zones
with this zone's hostname.
@@ -232,7 +235,10 @@ async def create(
),
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[HoldCreateResponse], ResultWrapper[HoldCreateResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
async def delete(
@@ -246,7 +252,7 @@ async def delete(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> Optional[UnnamedSchemaRef64]:
+ ) -> Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820]:
"""
Stop enforcement of a zone hold on the zone, permanently or temporarily,
allowing the creation and activation of zones with this zone's hostname.
@@ -278,7 +284,10 @@ async def delete(
query=await async_maybe_transform({"hold_after": hold_after}, hold_delete_params.HoldDeleteParams),
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[Optional[UnnamedSchemaRef64]], ResultWrapper[UnnamedSchemaRef64]),
+ cast_to=cast(
+ Type[Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820]],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
async def get(
@@ -291,7 +300,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> HoldGetResponse:
+ ) -> UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820:
"""
Retrieve whether the zone is subject to a zone hold, and metadata about the
hold.
@@ -318,7 +327,10 @@ async def get(
timeout=timeout,
post_parser=ResultWrapper._unwrapper,
),
- cast_to=cast(Type[HoldGetResponse], ResultWrapper[HoldGetResponse]),
+ cast_to=cast(
+ Type[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ResultWrapper[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820],
+ ),
)
diff --git a/src/cloudflare/resources/zones/subscriptions.py b/src/cloudflare/resources/zones/subscriptions.py
index 8eb96a52ed6d..6d7444c1493c 100644
--- a/src/cloudflare/resources/zones/subscriptions.py
+++ b/src/cloudflare/resources/zones/subscriptions.py
@@ -22,16 +22,12 @@
)
from ..._wrappers import ResultWrapper
from ...pagination import SyncSinglePage, AsyncSinglePage
-from ...types.zones import (
- SubscriptionGetResponse,
- SubscriptionListResponse,
- SubscriptionCreateResponse,
- subscription_create_params,
-)
+from ...types.zones import SubscriptionListResponse, subscription_create_params
from ..._base_client import (
AsyncPaginator,
make_request_options,
)
+from ...types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
__all__ = ["Subscriptions", "AsyncSubscriptions"]
@@ -60,7 +56,7 @@ def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Create a zone subscription, either plan or add-ons.
@@ -86,7 +82,7 @@ def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._post(
f"/zones/{identifier}/subscription",
body=maybe_transform(
@@ -107,7 +103,7 @@ def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -158,7 +154,7 @@ def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists zone subscription details.
@@ -176,7 +172,7 @@ def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._get(
f"/zones/{identifier}/subscription",
options=make_request_options(
@@ -187,7 +183,7 @@ def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -217,7 +213,7 @@ async def create(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionCreateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Create a zone subscription, either plan or add-ons.
@@ -243,7 +239,7 @@ async def create(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionCreateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._post(
f"/zones/{identifier}/subscription",
body=await async_maybe_transform(
@@ -264,7 +260,7 @@ async def create(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionCreateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -315,7 +311,7 @@ async def get(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> SubscriptionGetResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Lists zone subscription details.
@@ -333,7 +329,7 @@ async def get(
if not identifier:
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return cast(
- SubscriptionGetResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._get(
f"/zones/{identifier}/subscription",
options=make_request_options(
@@ -344,7 +340,7 @@ async def get(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[SubscriptionGetResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/resources/zones/workers/script.py b/src/cloudflare/resources/zones/workers/script.py
index 129037fe9b97..b86a8bc2fd99 100644
--- a/src/cloudflare/resources/zones/workers/script.py
+++ b/src/cloudflare/resources/zones/workers/script.py
@@ -31,7 +31,8 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zones.workers import ScriptUpdateResponse, script_delete_params, script_update_params
+from ....types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from ....types.zones.workers import script_delete_params, script_update_params
__all__ = ["Script", "AsyncScript"]
@@ -56,7 +57,7 @@ def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ScriptUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload a worker, or a new version of a worker.
@@ -74,7 +75,7 @@ def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- ScriptUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
self._put(
f"/zones/{zone_id}/workers/script",
body=maybe_transform(body, script_update_params.ScriptUpdateParams),
@@ -86,7 +87,7 @@ def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ScriptUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
@@ -189,7 +190,7 @@ async def update(
extra_query: Query | None = None,
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
- ) -> ScriptUpdateResponse:
+ ) -> UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a:
"""
Upload a worker, or a new version of a worker.
@@ -207,7 +208,7 @@ async def update(
if not zone_id:
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return cast(
- ScriptUpdateResponse,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
await self._put(
f"/zones/{zone_id}/workers/script",
body=await async_maybe_transform(body, script_update_params.ScriptUpdateParams),
@@ -219,7 +220,7 @@ async def update(
post_parser=ResultWrapper._unwrapper,
),
cast_to=cast(
- Any, ResultWrapper[ScriptUpdateResponse]
+ Any, ResultWrapper[UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a]
), # Union types cannot be passed in as arguments in the type system
),
)
diff --git a/src/cloudflare/types/__init__.py b/src/cloudflare/types/__init__.py
index f3b58327d8da..7ea0a3c29d43 100644
--- a/src/cloudflare/types/__init__.py
+++ b/src/cloudflare/types/__init__.py
@@ -7,127 +7,33 @@
from .dnssec import DNSSEC as DNSSEC
from .shared import (
ErrorData as ErrorData,
- ResponseInfo as ResponseInfo,
- UnnamedSchemaRef2 as UnnamedSchemaRef2,
- UnnamedSchemaRef3 as UnnamedSchemaRef3,
- UnnamedSchemaRef4 as UnnamedSchemaRef4,
- UnnamedSchemaRef5 as UnnamedSchemaRef5,
- UnnamedSchemaRef7 as UnnamedSchemaRef7,
- UnnamedSchemaRef8 as UnnamedSchemaRef8,
- UnnamedSchemaRef9 as UnnamedSchemaRef9,
- UnnamedSchemaRef10 as UnnamedSchemaRef10,
- UnnamedSchemaRef11 as UnnamedSchemaRef11,
- UnnamedSchemaRef12 as UnnamedSchemaRef12,
- UnnamedSchemaRef13 as UnnamedSchemaRef13,
- UnnamedSchemaRef14 as UnnamedSchemaRef14,
- UnnamedSchemaRef15 as UnnamedSchemaRef15,
- UnnamedSchemaRef16 as UnnamedSchemaRef16,
- UnnamedSchemaRef22 as UnnamedSchemaRef22,
- UnnamedSchemaRef23 as UnnamedSchemaRef23,
- UnnamedSchemaRef24 as UnnamedSchemaRef24,
- UnnamedSchemaRef25 as UnnamedSchemaRef25,
- UnnamedSchemaRef28 as UnnamedSchemaRef28,
- UnnamedSchemaRef34 as UnnamedSchemaRef34,
- UnnamedSchemaRef35 as UnnamedSchemaRef35,
- UnnamedSchemaRef36 as UnnamedSchemaRef36,
- UnnamedSchemaRef37 as UnnamedSchemaRef37,
- UnnamedSchemaRef38 as UnnamedSchemaRef38,
- UnnamedSchemaRef39 as UnnamedSchemaRef39,
- UnnamedSchemaRef40 as UnnamedSchemaRef40,
- UnnamedSchemaRef41 as UnnamedSchemaRef41,
- UnnamedSchemaRef43 as UnnamedSchemaRef43,
- UnnamedSchemaRef44 as UnnamedSchemaRef44,
- UnnamedSchemaRef46 as UnnamedSchemaRef46,
- UnnamedSchemaRef49 as UnnamedSchemaRef49,
- UnnamedSchemaRef51 as UnnamedSchemaRef51,
- UnnamedSchemaRef52 as UnnamedSchemaRef52,
- UnnamedSchemaRef57 as UnnamedSchemaRef57,
- UnnamedSchemaRef59 as UnnamedSchemaRef59,
- UnnamedSchemaRef61 as UnnamedSchemaRef61,
- UnnamedSchemaRef62 as UnnamedSchemaRef62,
- UnnamedSchemaRef63 as UnnamedSchemaRef63,
- UnnamedSchemaRef65 as UnnamedSchemaRef65,
- UnnamedSchemaRef69 as UnnamedSchemaRef69,
- UnnamedSchemaRef71 as UnnamedSchemaRef71,
- UnnamedSchemaRef72 as UnnamedSchemaRef72,
- UnnamedSchemaRef73 as UnnamedSchemaRef73,
- UnnamedSchemaRef75 as UnnamedSchemaRef75,
- UnnamedSchemaRef76 as UnnamedSchemaRef76,
- UnnamedSchemaRef77 as UnnamedSchemaRef77,
- UnnamedSchemaRef78 as UnnamedSchemaRef78,
- UnnamedSchemaRef79 as UnnamedSchemaRef79,
- UnnamedSchemaRef80 as UnnamedSchemaRef80,
- UnnamedSchemaRef81 as UnnamedSchemaRef81,
- UnnamedSchemaRef82 as UnnamedSchemaRef82,
- UnnamedSchemaRef83 as UnnamedSchemaRef83,
- UnnamedSchemaRef84 as UnnamedSchemaRef84,
- UnnamedSchemaRef85 as UnnamedSchemaRef85,
- UnnamedSchemaRef87 as UnnamedSchemaRef87,
- UnnamedSchemaRef88 as UnnamedSchemaRef88,
- UnnamedSchemaRef89 as UnnamedSchemaRef89,
- UnnamedSchemaRef90 as UnnamedSchemaRef90,
- UnnamedSchemaRef91 as UnnamedSchemaRef91,
- UnnamedSchemaRef92 as UnnamedSchemaRef92,
- UnnamedSchemaRef93 as UnnamedSchemaRef93,
- UnnamedSchemaRef94 as UnnamedSchemaRef94,
- UnnamedSchemaRef96 as UnnamedSchemaRef96,
- UnnamedSchemaRef97 as UnnamedSchemaRef97,
- UnnamedSchemaRef98 as UnnamedSchemaRef98,
- UnnamedSchemaRef99 as UnnamedSchemaRef99,
- UnnamedSchemaRef100 as UnnamedSchemaRef100,
- UnnamedSchemaRef101 as UnnamedSchemaRef101,
- UnnamedSchemaRef102 as UnnamedSchemaRef102,
- UnnamedSchemaRef103 as UnnamedSchemaRef103,
- UnnamedSchemaRef104 as UnnamedSchemaRef104,
- UnnamedSchemaRef105 as UnnamedSchemaRef105,
- UnnamedSchemaRef107 as UnnamedSchemaRef107,
- UnnamedSchemaRef108 as UnnamedSchemaRef108,
- UnnamedSchemaRef109 as UnnamedSchemaRef109,
- UnnamedSchemaRef110 as UnnamedSchemaRef110,
- UnnamedSchemaRef111 as UnnamedSchemaRef111,
- UnnamedSchemaRef113 as UnnamedSchemaRef113,
- UnnamedSchemaRef114 as UnnamedSchemaRef114,
- UnnamedSchemaRef115 as UnnamedSchemaRef115,
- UnnamedSchemaRef116 as UnnamedSchemaRef116,
- UnnamedSchemaRef117 as UnnamedSchemaRef117,
- UnnamedSchemaRef118 as UnnamedSchemaRef118,
- UnnamedSchemaRef119 as UnnamedSchemaRef119,
- UnnamedSchemaRef120 as UnnamedSchemaRef120,
- UnnamedSchemaRef121 as UnnamedSchemaRef121,
- UnnamedSchemaRef122 as UnnamedSchemaRef122,
- UnnamedSchemaRef123 as UnnamedSchemaRef123,
- UnnamedSchemaRef124 as UnnamedSchemaRef124,
- UnnamedSchemaRef125 as UnnamedSchemaRef125,
- UnnamedSchemaRef126 as UnnamedSchemaRef126,
- UnnamedSchemaRef131 as UnnamedSchemaRef131,
- UnnamedSchemaRef132 as UnnamedSchemaRef132,
- UnnamedSchemaRef135 as UnnamedSchemaRef135,
- UnnamedSchemaRef136 as UnnamedSchemaRef136,
- UnnamedSchemaRef139 as UnnamedSchemaRef139,
- UnnamedSchemaRef140 as UnnamedSchemaRef140,
- UnnamedSchemaRef142 as UnnamedSchemaRef142,
- UnnamedSchemaRef143 as UnnamedSchemaRef143,
- UnnamedSchemaRef144 as UnnamedSchemaRef144,
- UnnamedSchemaRef145 as UnnamedSchemaRef145,
- UnnamedSchemaRef146 as UnnamedSchemaRef146,
- UnnamedSchemaRef147 as UnnamedSchemaRef147,
- UnnamedSchemaRef148 as UnnamedSchemaRef148,
- UnnamedSchemaRef151 as UnnamedSchemaRef151,
- UnnamedSchemaRef152 as UnnamedSchemaRef152,
- UnnamedSchemaRef155 as UnnamedSchemaRef155,
- UnnamedSchemaRef156 as UnnamedSchemaRef156,
- UnnamedSchemaRef158 as UnnamedSchemaRef158,
- UnnamedSchemaRef159 as UnnamedSchemaRef159,
- UnnamedSchemaRef161 as UnnamedSchemaRef161,
- UnnamedSchemaRef162 as UnnamedSchemaRef162,
- UnnamedSchemaRef163 as UnnamedSchemaRef163,
- UnnamedSchemaRef169 as UnnamedSchemaRef169,
- UnnamedSchemaRef170 as UnnamedSchemaRef170,
- UnnamedSchemaRef171 as UnnamedSchemaRef171,
- UnnamedSchemaRef173 as UnnamedSchemaRef173,
+ UnnamedSchemaRef025497b7e63379c31929636b5186e45c as UnnamedSchemaRef025497b7e63379c31929636b5186e45c,
+ UnnamedSchemaRef5cf232a1d651060af6450ae882932776 as UnnamedSchemaRef5cf232a1d651060af6450ae882932776,
+ UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f as UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f,
+ UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19 as UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19,
+ UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1 as UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1,
+ UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151 as UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151,
+ UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c as UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c,
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8 as UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0 as UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9 as UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9,
+ UnnamedSchemaRef3248f24329456e19dfa042fff9986f72 as UnnamedSchemaRef3248f24329456e19dfa042fff9986f72,
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837 as UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef23001f1f0b697900e282236466a95fa3 as UnnamedSchemaRef23001f1f0b697900e282236466a95fa3,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a as UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+ UnnamedSchemaRef619309774d07ec6904f1e354560d6028 as UnnamedSchemaRef619309774d07ec6904f1e354560d6028,
+ UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6 as UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6,
+ UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b as UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b,
+ UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6 as UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6,
+ UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854 as UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854,
+ UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b as UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
+ UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2 as UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2,
+ UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b as UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846 as UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
+ UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 as UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
+ UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572 as UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572,
)
from .account import Account as Account
-from .logging import Logging as Logging
from .snippet import Snippet as Snippet
from .calls_app import CallsApp as CallsApp
from .membership import Membership as Membership
@@ -135,7 +41,6 @@
from .jdcloud_ips import JDCloudIPs as JDCloudIPs
from .waiting_room import WaitingRoom as WaitingRoom
from .load_balancer import LoadBalancer as LoadBalancer
-from .logging_param import LoggingParam as LoggingParam
from .stream_videos import StreamVideos as StreamVideos
from .ip_list_params import IPListParams as IPListParams
from .zones_pagerule import ZonesPagerule as ZonesPagerule
@@ -148,7 +53,6 @@
from .custom_nameserver import CustomNameserver as CustomNameserver
from .observatory_trend import ObservatoryTrend as ObservatoryTrend
from .pcap_get_response import PCAPGetResponse as PCAPGetResponse
-from .user_get_response import UserGetResponse as UserGetResponse
from .cache_purge_params import CachePurgeParams as CachePurgeParams
from .call_create_params import CallCreateParams as CallCreateParams
from .call_update_params import CallUpdateParams as CallUpdateParams
@@ -160,7 +64,6 @@
from .pcap_list_response import PCAPListResponse as PCAPListResponse
from .queue_get_response import QueueGetResponse as QueueGetResponse
from .stream_list_params import StreamListParams as StreamListParams
-from .user_edit_response import UserEditResponse as UserEditResponse
from .zone_create_params import ZoneCreateParams as ZoneCreateParams
from .account_list_params import AccountListParams as AccountListParams
from .available_rate_plan import AvailableRatePlan as AvailableRatePlan
@@ -170,7 +73,6 @@
from .queue_list_response import QueueListResponse as QueueListResponse
from .queue_update_params import QueueUpdateParams as QueueUpdateParams
from .speed_delete_params import SpeedDeleteParams as SpeedDeleteParams
-from .account_get_response import AccountGetResponse as AccountGetResponse
from .cache_purge_response import CachePurgeResponse as CachePurgeResponse
from .dnssec_delete_params import DNSSECDeleteParams as DNSSECDeleteParams
from .filter_create_params import FilterCreateParams as FilterCreateParams
@@ -188,49 +90,32 @@
from .audit_log_list_params import AuditLogListParams as AuditLogListParams
from .calls_app_with_secret import CallsAppWithSecret as CallsAppWithSecret
from .origin_ca_certificate import OriginCACertificate as OriginCACertificate
-from .pagerule_get_response import PageruleGetResponse as PageruleGetResponse
from .queue_create_response import QueueCreateResponse as QueueCreateResponse
-from .queue_delete_response import QueueDeleteResponse as QueueDeleteResponse
from .queue_update_response import QueueUpdateResponse as QueueUpdateResponse
from .ruleset_create_params import RulesetCreateParams as RulesetCreateParams
from .ruleset_list_response import RulesetListResponse as RulesetListResponse
from .ruleset_update_params import RulesetUpdateParams as RulesetUpdateParams
from .snippet_update_params import SnippetUpdateParams as SnippetUpdateParams
from .speed_delete_response import SpeedDeleteResponse as SpeedDeleteResponse
-from .unnamed_schema_ref_53 import UnnamedSchemaRef53 as UnnamedSchemaRef53
from .filter_create_response import FilterCreateResponse as FilterCreateResponse
from .membership_list_params import MembershipListParams as MembershipListParams
from .pagerule_create_params import PageruleCreateParams as PageruleCreateParams
from .pagerule_delete_params import PageruleDeleteParams as PageruleDeleteParams
-from .pagerule_edit_response import PageruleEditResponse as PageruleEditResponse
from .pagerule_list_response import PageruleListResponse as PageruleListResponse
from .pagerule_update_params import PageruleUpdateParams as PageruleUpdateParams
from .rate_limit_edit_params import RateLimitEditParams as RateLimitEditParams
from .rate_limit_list_params import RateLimitListParams as RateLimitListParams
from .rate_plan_get_response import RatePlanGetResponse as RatePlanGetResponse
-from .unnamed_schema_ref_106 import UnnamedSchemaRef106 as UnnamedSchemaRef106
-from .unnamed_schema_ref_128 import UnnamedSchemaRef128 as UnnamedSchemaRef128
-from .unnamed_schema_ref_129 import UnnamedSchemaRef129 as UnnamedSchemaRef129
-from .unnamed_schema_ref_130 import UnnamedSchemaRef130 as UnnamedSchemaRef130
-from .unnamed_schema_ref_153 import UnnamedSchemaRef153 as UnnamedSchemaRef153
-from .unnamed_schema_ref_154 import UnnamedSchemaRef154 as UnnamedSchemaRef154
-from .unnamed_schema_ref_160 import UnnamedSchemaRef160 as UnnamedSchemaRef160
-from .unnamed_schema_ref_174 import UnnamedSchemaRef174 as UnnamedSchemaRef174
-from .unnamed_schema_ref_175 import UnnamedSchemaRef175 as UnnamedSchemaRef175
-from .account_update_response import AccountUpdateResponse as AccountUpdateResponse
from .audit_log_list_response import AuditLogListResponse as AuditLogListResponse
from .healthcheck_edit_params import HealthcheckEditParams as HealthcheckEditParams
from .intel_phishing_url_info import IntelPhishingURLInfo as IntelPhishingURLInfo
-from .membership_get_response import MembershipGetResponse as MembershipGetResponse
from .mtls_certificate_update import MTLSCertificateUpdate as MTLSCertificateUpdate
from .ruleset_create_response import RulesetCreateResponse as RulesetCreateResponse
from .ruleset_update_response import RulesetUpdateResponse as RulesetUpdateResponse
from .url_scanner_scan_params import URLScannerScanParams as URLScannerScanParams
from .membership_delete_params import MembershipDeleteParams as MembershipDeleteParams
from .membership_update_params import MembershipUpdateParams as MembershipUpdateParams
-from .pagerule_create_response import PageruleCreateResponse as PageruleCreateResponse
from .pagerule_delete_response import PageruleDeleteResponse as PageruleDeleteResponse
-from .pagerule_update_response import PageruleUpdateResponse as PageruleUpdateResponse
from .rate_limit_create_params import RateLimitCreateParams as RateLimitCreateParams
from .rate_limit_delete_params import RateLimitDeleteParams as RateLimitDeleteParams
from .rate_limit_list_response import RateLimitListResponse as RateLimitListResponse
@@ -243,12 +128,10 @@
from .load_balancer_edit_params import LoadBalancerEditParams as LoadBalancerEditParams
from .page_shield_update_params import PageShieldUpdateParams as PageShieldUpdateParams
from .speed_schedule_get_params import SpeedScheduleGetParams as SpeedScheduleGetParams
-from .subscription_get_response import SubscriptionGetResponse as SubscriptionGetResponse
from .url_scanner_scan_response import URLScannerScanResponse as URLScannerScanResponse
from .email_routing_get_response import EmailRoutingGetResponse as EmailRoutingGetResponse
from .managed_header_edit_params import ManagedHeaderEditParams as ManagedHeaderEditParams
from .membership_delete_response import MembershipDeleteResponse as MembershipDeleteResponse
-from .membership_update_response import MembershipUpdateResponse as MembershipUpdateResponse
from .rate_limit_delete_response import RateLimitDeleteResponse as RateLimitDeleteResponse
from .subscription_create_params import SubscriptionCreateParams as SubscriptionCreateParams
from .subscription_delete_params import SubscriptionDeleteParams as SubscriptionDeleteParams
@@ -274,8 +157,7 @@
from .keyless_certificate_hostname import KeylessCertificateHostname as KeylessCertificateHostname
from .managed_header_edit_response import ManagedHeaderEditResponse as ManagedHeaderEditResponse
from .managed_header_list_response import ManagedHeaderListResponse as ManagedHeaderListResponse
-from .subscription_create_response import SubscriptionCreateResponse as SubscriptionCreateResponse
-from .subscription_update_response import SubscriptionUpdateResponse as SubscriptionUpdateResponse
+from .subscription_delete_response import SubscriptionDeleteResponse as SubscriptionDeleteResponse
from .waiting_room_delete_response import WaitingRoomDeleteResponse as WaitingRoomDeleteResponse
from .warp_connector_create_params import WARPConnectorCreateParams as WARPConnectorCreateParams
from .warp_connector_delete_params import WARPConnectorDeleteParams as WARPConnectorDeleteParams
@@ -296,9 +178,7 @@
from .mtls_certificate_create_params import MTLSCertificateCreateParams as MTLSCertificateCreateParams
from .mtls_certificate_delete_params import MTLSCertificateDeleteParams as MTLSCertificateDeleteParams
from .url_normalization_get_response import URLNormalizationGetResponse as URLNormalizationGetResponse
-from .custom_certificate_get_response import CustomCertificateGetResponse as CustomCertificateGetResponse
from .custom_hostname_create_response import CustomHostnameCreateResponse as CustomHostnameCreateResponse
-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
@@ -308,44 +188,94 @@
from .client_certificate_create_params import ClientCertificateCreateParams as ClientCertificateCreateParams
from .custom_certificate_create_params import CustomCertificateCreateParams as CustomCertificateCreateParams
from .custom_certificate_delete_params import CustomCertificateDeleteParams as CustomCertificateDeleteParams
-from .custom_certificate_edit_response import CustomCertificateEditResponse as CustomCertificateEditResponse
-from .custom_nameserver_delete_response import CustomNameserverDeleteResponse as CustomNameserverDeleteResponse
from .custom_nameserver_verify_response import CustomNameserverVerifyResponse as CustomNameserverVerifyResponse
from .keyless_certificate_create_params import KeylessCertificateCreateParams as KeylessCertificateCreateParams
from .keyless_certificate_delete_params import KeylessCertificateDeleteParams as KeylessCertificateDeleteParams
from .origin_ca_certificate_list_params import OriginCACertificateListParams as OriginCACertificateListParams
from .url_normalization_update_response import URLNormalizationUpdateResponse as URLNormalizationUpdateResponse
-from .custom_certificate_create_response import CustomCertificateCreateResponse as CustomCertificateCreateResponse
-from .custom_certificate_delete_response import CustomCertificateDeleteResponse as CustomCertificateDeleteResponse
-from .origin_ca_certificate_get_response import OriginCACertificateGetResponse as OriginCACertificateGetResponse
-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_get_response import OriginTLSClientAuthGetResponse as OriginTLSClientAuthGetResponse
from .origin_tls_client_auth_create_params import OriginTLSClientAuthCreateParams as OriginTLSClientAuthCreateParams
from .origin_tls_client_auth_delete_params import OriginTLSClientAuthDeleteParams as OriginTLSClientAuthDeleteParams
from .origin_tls_client_auth_list_response import OriginTLSClientAuthListResponse as OriginTLSClientAuthListResponse
-from .origin_ca_certificate_create_response import (
- OriginCACertificateCreateResponse as OriginCACertificateCreateResponse,
-)
-from .origin_ca_certificate_delete_response import (
- OriginCACertificateDeleteResponse as OriginCACertificateDeleteResponse,
-)
from .custom_nameserver_availabilty_response import (
CustomNameserverAvailabiltyResponse as CustomNameserverAvailabiltyResponse,
)
-from .origin_tls_client_auth_create_response import (
- OriginTLSClientAuthCreateResponse as OriginTLSClientAuthCreateResponse,
+from .origin_post_quantum_encryption_update_params import (
+ OriginPostQuantumEncryptionUpdateParams as OriginPostQuantumEncryptionUpdateParams,
)
-from .origin_tls_client_auth_delete_response import (
- OriginTLSClientAuthDeleteResponse as OriginTLSClientAuthDeleteResponse,
+from .unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import (
+ UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39 as UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39,
)
-from .origin_post_quantum_encryption_get_response import (
- OriginPostQuantumEncryptionGetResponse as OriginPostQuantumEncryptionGetResponse,
+from .unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8 import (
+ UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8 as UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8,
)
-from .origin_post_quantum_encryption_update_params import (
- OriginPostQuantumEncryptionUpdateParams as OriginPostQuantumEncryptionUpdateParams,
+from .unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import (
+ UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297 as UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297,
+)
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import (
+ UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1 as UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1,
+)
+from .unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014 import (
+ UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014 as UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014,
+)
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import (
+ UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 as UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1,
+)
+from .unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42 import (
+ UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42 as UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42,
+)
+from .unnamed_schema_ref_44e66100b948bfe723054c56b6144766 import (
+ UnnamedSchemaRef44e66100b948bfe723054c56b6144766 as UnnamedSchemaRef44e66100b948bfe723054c56b6144766,
+)
+from .unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca import (
+ UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca as UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca,
+)
+from .unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import (
+ UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb as UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb,
+)
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import (
+ UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510 as UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510,
+)
+from .unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import (
+ UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09 as UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09,
+)
+from .unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2 import (
+ UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2 as UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2,
+)
+from .unnamed_schema_ref_209db30ed499548152d6f3bccf720b54 import (
+ UnnamedSchemaRef209db30ed499548152d6f3bccf720b54 as UnnamedSchemaRef209db30ed499548152d6f3bccf720b54,
+)
+from .unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669 import (
+ UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669 as UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669,
+)
+from .unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import (
+ UnnamedSchemaRef4124a22436f90127c7fa2c4543219752 as UnnamedSchemaRef4124a22436f90127c7fa2c4543219752,
+)
+from .unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb import (
+ UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb as UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb,
+)
+from .unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba import (
+ UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba as UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba,
+)
+from .unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import (
+ UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55 as UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55,
+)
+from .unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a import (
+ UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a as UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a,
+)
+from .unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869 import (
+ UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869 as UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869,
+)
+from .unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import (
+ UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1 as UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1,
+)
+from .unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import (
+ UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5 as UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5,
+)
+from .unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import (
+ UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7 as UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7,
)
-from .origin_post_quantum_encryption_update_response import (
- OriginPostQuantumEncryptionUpdateResponse as OriginPostQuantumEncryptionUpdateResponse,
+from .unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import (
+ UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5 as UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5,
)
diff --git a/src/cloudflare/types/account_get_response.py b/src/cloudflare/types/account_get_response.py
deleted file mode 100644
index 90ec592d62bd..000000000000
--- a/src/cloudflare/types/account_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["AccountGetResponse"]
-
-AccountGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/account_update_response.py b/src/cloudflare/types/account_update_response.py
deleted file mode 100644
index a10025d46aaf..000000000000
--- a/src/cloudflare/types/account_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["AccountUpdateResponse"]
-
-AccountUpdateResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/accounts/__init__.py b/src/cloudflare/types/accounts/__init__.py
index 4c5a9be706ad..5d011dbc2913 100644
--- a/src/cloudflare/types/accounts/__init__.py
+++ b/src/cloudflare/types/accounts/__init__.py
@@ -8,7 +8,6 @@
from .member_with_code import MemberWithCode as MemberWithCode
from .permission_grant import PermissionGrant as PermissionGrant
from .member_permission import MemberPermission as MemberPermission
-from .role_get_response import RoleGetResponse as RoleGetResponse
from .member_list_params import MemberListParams as MemberListParams
from .role_list_response import RoleListResponse as RoleListResponse
from .member_create_params import MemberCreateParams as MemberCreateParams
diff --git a/src/cloudflare/types/accounts/role_get_response.py b/src/cloudflare/types/accounts/role_get_response.py
deleted file mode 100644
index 50bca84535e5..000000000000
--- a/src/cloudflare/types/accounts/role_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["RoleGetResponse"]
-
-RoleGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/addressing/__init__.py b/src/cloudflare/types/addressing/__init__.py
index e3f50f14a637..506808a48cb1 100644
--- a/src/cloudflare/types/addressing/__init__.py
+++ b/src/cloudflare/types/addressing/__init__.py
@@ -6,7 +6,6 @@
from .prefix_create_params import PrefixCreateParams as PrefixCreateParams
from .prefix_delete_params import PrefixDeleteParams as PrefixDeleteParams
from .service_list_response import ServiceListResponse as ServiceListResponse
-from .prefix_delete_response import PrefixDeleteResponse as PrefixDeleteResponse
from .address_map_edit_params import AddressMapEditParams as AddressMapEditParams
from .addressing_address_maps import AddressingAddressMaps as AddressingAddressMaps
from .address_map_get_response import AddressMapGetResponse as AddressMapGetResponse
@@ -15,5 +14,4 @@
from .address_map_delete_params import AddressMapDeleteParams as AddressMapDeleteParams
from .loa_document_create_params import LOADocumentCreateParams as LOADocumentCreateParams
from .address_map_create_response import AddressMapCreateResponse as AddressMapCreateResponse
-from .address_map_delete_response import AddressMapDeleteResponse as AddressMapDeleteResponse
from .loa_document_create_response import LOADocumentCreateResponse as LOADocumentCreateResponse
diff --git a/src/cloudflare/types/addressing/address_map_delete_response.py b/src/cloudflare/types/addressing/address_map_delete_response.py
deleted file mode 100644
index 57b879481e20..000000000000
--- a/src/cloudflare/types/addressing/address_map_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["AddressMapDeleteResponse"]
-
-AddressMapDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/addressing/address_maps/__init__.py b/src/cloudflare/types/addressing/address_maps/__init__.py
index 3ec4e9eda255..a9d27b6bf97a 100644
--- a/src/cloudflare/types/addressing/address_maps/__init__.py
+++ b/src/cloudflare/types/addressing/address_maps/__init__.py
@@ -4,13 +4,7 @@
from .ip_delete_params import IPDeleteParams as IPDeleteParams
from .ip_update_params import IPUpdateParams as IPUpdateParams
-from .ip_delete_response import IPDeleteResponse as IPDeleteResponse
-from .ip_update_response import IPUpdateResponse as IPUpdateResponse
from .zone_delete_params import ZoneDeleteParams as ZoneDeleteParams
from .zone_update_params import ZoneUpdateParams as ZoneUpdateParams
-from .zone_delete_response import ZoneDeleteResponse as ZoneDeleteResponse
-from .zone_update_response import ZoneUpdateResponse as ZoneUpdateResponse
from .account_delete_params import AccountDeleteParams as AccountDeleteParams
from .account_update_params import AccountUpdateParams as AccountUpdateParams
-from .account_delete_response import AccountDeleteResponse as AccountDeleteResponse
-from .account_update_response import AccountUpdateResponse as AccountUpdateResponse
diff --git a/src/cloudflare/types/addressing/address_maps/account_update_response.py b/src/cloudflare/types/addressing/address_maps/account_update_response.py
deleted file mode 100644
index 53831e97698e..000000000000
--- a/src/cloudflare/types/addressing/address_maps/account_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["AccountUpdateResponse"]
-
-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
deleted file mode 100644
index 9cb4b12b353a..000000000000
--- a/src/cloudflare/types/addressing/address_maps/ip_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["IPDeleteResponse"]
-
-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
deleted file mode 100644
index d4b874c9522a..000000000000
--- a/src/cloudflare/types/addressing/address_maps/ip_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["IPUpdateResponse"]
-
-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
deleted file mode 100644
index 6fdbcc03fa70..000000000000
--- a/src/cloudflare/types/addressing/address_maps/zone_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ZoneDeleteResponse"]
-
-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
deleted file mode 100644
index 1f488961e0d5..000000000000
--- a/src/cloudflare/types/addressing/address_maps/zone_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ZoneUpdateResponse"]
-
-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
deleted file mode 100644
index cf2acba92313..000000000000
--- a/src/cloudflare/types/addressing/prefix_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["PrefixDeleteResponse"]
-
-PrefixDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/alerting/__init__.py b/src/cloudflare/types/alerting/__init__.py
index 49aff6f726d5..e5286077d66b 100644
--- a/src/cloudflare/types/alerting/__init__.py
+++ b/src/cloudflare/types/alerting/__init__.py
@@ -8,5 +8,5 @@
from .policy_create_params import PolicyCreateParams as PolicyCreateParams
from .policy_update_params import PolicyUpdateParams as PolicyUpdateParams
from .policy_create_response import PolicyCreateResponse as PolicyCreateResponse
-from .policy_delete_response import PolicyDeleteResponse as PolicyDeleteResponse
from .policy_update_response import PolicyUpdateResponse as PolicyUpdateResponse
+from .available_alert_list_response import AvailableAlertListResponse as AvailableAlertListResponse
diff --git a/src/cloudflare/types/addressing/address_maps/account_delete_response.py b/src/cloudflare/types/alerting/available_alert_list_response.py
similarity index 52%
rename from src/cloudflare/types/addressing/address_maps/account_delete_response.py
rename to src/cloudflare/types/alerting/available_alert_list_response.py
index 3ddf76cafe9e..10470fec71cd 100644
--- a/src/cloudflare/types/addressing/address_maps/account_delete_response.py
+++ b/src/cloudflare/types/alerting/available_alert_list_response.py
@@ -2,6 +2,6 @@
from typing import List, Union
-__all__ = ["AccountDeleteResponse"]
+__all__ = ["AvailableAlertListResponse"]
-AccountDeleteResponse = Union[List[object], str, object, None]
+AvailableAlertListResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/alerting/destinations/__init__.py b/src/cloudflare/types/alerting/destinations/__init__.py
index 720b22c588ee..4b73d19b9a5e 100644
--- a/src/cloudflare/types/alerting/destinations/__init__.py
+++ b/src/cloudflare/types/alerting/destinations/__init__.py
@@ -10,7 +10,5 @@
from .pagerduty_get_response import PagerdutyGetResponse as PagerdutyGetResponse
from .pagerduty_link_response import PagerdutyLinkResponse as PagerdutyLinkResponse
from .webhook_create_response import WebhookCreateResponse as WebhookCreateResponse
-from .webhook_delete_response import WebhookDeleteResponse as WebhookDeleteResponse
from .webhook_update_response import WebhookUpdateResponse as WebhookUpdateResponse
from .pagerduty_create_response import PagerdutyCreateResponse as PagerdutyCreateResponse
-from .pagerduty_delete_response import PagerdutyDeleteResponse as PagerdutyDeleteResponse
diff --git a/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py b/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py
deleted file mode 100644
index 3171e8788bc9..000000000000
--- a/src/cloudflare/types/alerting/destinations/pagerduty_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["PagerdutyDeleteResponse"]
-
-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
deleted file mode 100644
index 2869927bb588..000000000000
--- a/src/cloudflare/types/alerting/destinations/webhook_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["WebhookDeleteResponse"]
-
-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
deleted file mode 100644
index f211604e11ce..000000000000
--- a/src/cloudflare/types/alerting/policy_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["PolicyDeleteResponse"]
-
-PolicyDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/argo/__init__.py b/src/cloudflare/types/argo/__init__.py
index 5ba8527803df..8f2de8400f99 100644
--- a/src/cloudflare/types/argo/__init__.py
+++ b/src/cloudflare/types/argo/__init__.py
@@ -3,8 +3,4 @@
from __future__ import annotations
from .smart_routing_edit_params import SmartRoutingEditParams as SmartRoutingEditParams
-from .smart_routing_get_response import SmartRoutingGetResponse as SmartRoutingGetResponse
from .tiered_caching_edit_params import TieredCachingEditParams as TieredCachingEditParams
-from .smart_routing_edit_response import SmartRoutingEditResponse as SmartRoutingEditResponse
-from .tiered_caching_get_response import TieredCachingGetResponse as TieredCachingGetResponse
-from .tiered_caching_edit_response import TieredCachingEditResponse as TieredCachingEditResponse
diff --git a/src/cloudflare/types/argo/smart_routing_edit_response.py b/src/cloudflare/types/argo/smart_routing_edit_response.py
deleted file mode 100644
index 6d377a0f9a38..000000000000
--- a/src/cloudflare/types/argo/smart_routing_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SmartRoutingEditResponse"]
-
-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
deleted file mode 100644
index 666187291add..000000000000
--- a/src/cloudflare/types/argo/smart_routing_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SmartRoutingGetResponse"]
-
-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
deleted file mode 100644
index e86ebbfb0704..000000000000
--- a/src/cloudflare/types/argo/tiered_caching_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["TieredCachingEditResponse"]
-
-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
deleted file mode 100644
index b50be22c2270..000000000000
--- a/src/cloudflare/types/argo/tiered_caching_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["TieredCachingGetResponse"]
-
-TieredCachingGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/billing/__init__.py b/src/cloudflare/types/billing/__init__.py
index 94cf7da63970..f8ee8b14b1c9 100644
--- a/src/cloudflare/types/billing/__init__.py
+++ b/src/cloudflare/types/billing/__init__.py
@@ -1,5 +1,3 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
-
-from .profile_get_response import ProfileGetResponse as ProfileGetResponse
diff --git a/src/cloudflare/types/billing/profile_get_response.py b/src/cloudflare/types/billing/profile_get_response.py
deleted file mode 100644
index 29d6d78c9492..000000000000
--- a/src/cloudflare/types/billing/profile_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["ProfileGetResponse"]
-
-ProfileGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/cache/__init__.py b/src/cloudflare/types/cache/__init__.py
index 542221aec6bb..621592bc4d74 100644
--- a/src/cloudflare/types/cache/__init__.py
+++ b/src/cloudflare/types/cache/__init__.py
@@ -14,10 +14,19 @@
from .cache_reserve_clear_response import CacheReserveClearResponse as CacheReserveClearResponse
from .cache_reserve_status_response import CacheReserveStatusResponse as CacheReserveStatusResponse
from .smart_tiered_cache_edit_params import SmartTieredCacheEditParams as SmartTieredCacheEditParams
-from .smart_tiered_cache_get_response import SmartTieredCacheGetResponse as SmartTieredCacheGetResponse
from .smart_tiered_cache_delete_params import SmartTieredCacheDeleteParams as SmartTieredCacheDeleteParams
-from .smart_tiered_cache_edit_response import SmartTieredCacheEditResponse as SmartTieredCacheEditResponse
from .regional_tiered_cache_edit_params import RegionalTieredCacheEditParams as RegionalTieredCacheEditParams
from .regional_tiered_cache_get_response import RegionalTieredCacheGetResponse as RegionalTieredCacheGetResponse
-from .smart_tiered_cache_delete_response import SmartTieredCacheDeleteResponse as SmartTieredCacheDeleteResponse
from .regional_tiered_cache_edit_response import RegionalTieredCacheEditResponse as RegionalTieredCacheEditResponse
+from .unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d import (
+ UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d as UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d,
+)
+from .unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad import (
+ UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad as UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad,
+)
+from .unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0 import (
+ UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0 as UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0,
+)
+from .unnamed_schema_ref_6535d2df7d4d089d21166bd140651307 import (
+ UnnamedSchemaRef6535d2df7d4d089d21166bd140651307 as UnnamedSchemaRef6535d2df7d4d089d21166bd140651307,
+)
diff --git a/src/cloudflare/types/cache/cache_reserve_clear_response.py b/src/cloudflare/types/cache/cache_reserve_clear_response.py
index c68866deb758..40fc59d9ddd1 100644
--- a/src/cloudflare/types/cache/cache_reserve_clear_response.py
+++ b/src/cloudflare/types/cache/cache_reserve_clear_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef139
from ..._models import BaseModel
+from .unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d import UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d
__all__ = ["CacheReserveClearResponse"]
class CacheReserveClearResponse(BaseModel):
- id: UnnamedSchemaRef139
+ id: UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/cache_reserve_edit_response.py b/src/cloudflare/types/cache/cache_reserve_edit_response.py
index f50a53b9842b..f7c02261309b 100644
--- a/src/cloudflare/types/cache/cache_reserve_edit_response.py
+++ b/src/cloudflare/types/cache/cache_reserve_edit_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef144
from ..._models import BaseModel
+from .unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad import UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad
__all__ = ["CacheReserveEditResponse"]
class CacheReserveEditResponse(BaseModel):
- id: UnnamedSchemaRef144
+ id: UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/cache_reserve_get_response.py b/src/cloudflare/types/cache/cache_reserve_get_response.py
index 1257839c11a2..2b9e0d8360b1 100644
--- a/src/cloudflare/types/cache/cache_reserve_get_response.py
+++ b/src/cloudflare/types/cache/cache_reserve_get_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef144
from ..._models import BaseModel
+from .unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad import UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad
__all__ = ["CacheReserveGetResponse"]
class CacheReserveGetResponse(BaseModel):
- id: UnnamedSchemaRef144
+ id: UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/cache_reserve_status_response.py b/src/cloudflare/types/cache/cache_reserve_status_response.py
index e2ab9aa39fa1..f19741337717 100644
--- a/src/cloudflare/types/cache/cache_reserve_status_response.py
+++ b/src/cloudflare/types/cache/cache_reserve_status_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef139
from ..._models import BaseModel
+from .unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d import UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d
__all__ = ["CacheReserveStatusResponse"]
class CacheReserveStatusResponse(BaseModel):
- id: UnnamedSchemaRef139
+ id: UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/cache_variants.py b/src/cloudflare/types/cache/cache_variants.py
index eb96aefc7664..6a45d81ffb04 100644
--- a/src/cloudflare/types/cache/cache_variants.py
+++ b/src/cloudflare/types/cache/cache_variants.py
@@ -3,14 +3,14 @@
from typing import Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef151
from ..._models import BaseModel
+from .unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0 import UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
__all__ = ["CacheVariants"]
class CacheVariants(BaseModel):
- id: UnnamedSchemaRef151
+ id: UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/regional_tiered_cache_edit_response.py b/src/cloudflare/types/cache/regional_tiered_cache_edit_response.py
index e766960726af..e9b855aa258c 100644
--- a/src/cloudflare/types/cache/regional_tiered_cache_edit_response.py
+++ b/src/cloudflare/types/cache/regional_tiered_cache_edit_response.py
@@ -3,14 +3,14 @@
from typing import Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef140
from ..._models import BaseModel
+from .unnamed_schema_ref_6535d2df7d4d089d21166bd140651307 import UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
__all__ = ["RegionalTieredCacheEditResponse", "Value"]
class Value(BaseModel):
- id: UnnamedSchemaRef140
+ id: UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
@@ -18,7 +18,7 @@ class Value(BaseModel):
class RegionalTieredCacheEditResponse(BaseModel):
- id: UnnamedSchemaRef140
+ id: UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/regional_tiered_cache_get_response.py b/src/cloudflare/types/cache/regional_tiered_cache_get_response.py
index 5ba7f36e8581..5d23a4119a79 100644
--- a/src/cloudflare/types/cache/regional_tiered_cache_get_response.py
+++ b/src/cloudflare/types/cache/regional_tiered_cache_get_response.py
@@ -3,14 +3,14 @@
from typing import Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef140
from ..._models import BaseModel
+from .unnamed_schema_ref_6535d2df7d4d089d21166bd140651307 import UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
__all__ = ["RegionalTieredCacheGetResponse", "Value"]
class Value(BaseModel):
- id: UnnamedSchemaRef140
+ id: UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
@@ -18,7 +18,7 @@ class Value(BaseModel):
class RegionalTieredCacheGetResponse(BaseModel):
- id: UnnamedSchemaRef140
+ id: UnnamedSchemaRef6535d2df7d4d089d21166bd140651307
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py b/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py
deleted file mode 100644
index 5163ec1c6324..000000000000
--- a/src/cloudflare/types/cache/smart_tiered_cache_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SmartTieredCacheDeleteResponse"]
-
-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
deleted file mode 100644
index 904f1c78e2fe..000000000000
--- a/src/cloudflare/types/cache/smart_tiered_cache_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SmartTieredCacheEditResponse"]
-
-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
deleted file mode 100644
index d174244f78d4..000000000000
--- a/src/cloudflare/types/cache/smart_tiered_cache_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SmartTieredCacheGetResponse"]
-
-SmartTieredCacheGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/cache/unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d.py b/src/cloudflare/types/cache/unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d.py
new file mode 100644
index 000000000000..7b3dbd973d77
--- /dev/null
+++ b/src/cloudflare/types/cache/unnamed_schema_ref_2b5e755404a4bfd7892291ce97c4968d.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d"]
+
+UnnamedSchemaRef2b5e755404a4bfd7892291ce97c4968d = Literal["cache_reserve_clear"]
diff --git a/src/cloudflare/types/cache/unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad.py b/src/cloudflare/types/cache/unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad.py
new file mode 100644
index 000000000000..c8d29abe593d
--- /dev/null
+++ b/src/cloudflare/types/cache/unnamed_schema_ref_37c385b4ebac5c7a6475b3f81ef9a7ad.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad"]
+
+UnnamedSchemaRef37c385b4ebac5c7a6475b3f81ef9a7ad = Literal["cache_reserve"]
diff --git a/src/cloudflare/types/cache/unnamed_schema_ref_6535d2df7d4d089d21166bd140651307.py b/src/cloudflare/types/cache/unnamed_schema_ref_6535d2df7d4d089d21166bd140651307.py
new file mode 100644
index 000000000000..2fbae0fa7669
--- /dev/null
+++ b/src/cloudflare/types/cache/unnamed_schema_ref_6535d2df7d4d089d21166bd140651307.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef6535d2df7d4d089d21166bd140651307"]
+
+UnnamedSchemaRef6535d2df7d4d089d21166bd140651307 = Literal["tc_regional"]
diff --git a/src/cloudflare/types/cache/unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0.py b/src/cloudflare/types/cache/unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0.py
new file mode 100644
index 000000000000..a827234b1b3b
--- /dev/null
+++ b/src/cloudflare/types/cache/unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0"]
+
+UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0 = Literal["variants"]
diff --git a/src/cloudflare/types/cache/variant_edit_response.py b/src/cloudflare/types/cache/variant_edit_response.py
index 5db000343b65..c59a817de5cf 100644
--- a/src/cloudflare/types/cache/variant_edit_response.py
+++ b/src/cloudflare/types/cache/variant_edit_response.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef151
from ..._models import BaseModel
+from .unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0 import UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
__all__ = ["VariantEditResponse", "Value"]
@@ -78,7 +78,7 @@ class Value(BaseModel):
class VariantEditResponse(BaseModel):
- id: UnnamedSchemaRef151
+ id: UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/cache/variant_get_response.py b/src/cloudflare/types/cache/variant_get_response.py
index 4f6073a1b7f8..f6fbba22cfab 100644
--- a/src/cloudflare/types/cache/variant_get_response.py
+++ b/src/cloudflare/types/cache/variant_get_response.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef151
from ..._models import BaseModel
+from .unnamed_schema_ref_669bfbb16c0913af7077c3c194fbfcd0 import UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
__all__ = ["VariantGetResponse", "Value"]
@@ -78,7 +78,7 @@ class Value(BaseModel):
class VariantGetResponse(BaseModel):
- id: UnnamedSchemaRef151
+ id: UnnamedSchemaRef669bfbb16c0913af7077c3c194fbfcd0
"""ID of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/custom_certificate.py b/src/cloudflare/types/custom_certificate.py
index 30c7a35085f0..5f3858dbbf34 100644
--- a/src/cloudflare/types/custom_certificate.py
+++ b/src/cloudflare/types/custom_certificate.py
@@ -4,9 +4,9 @@
from datetime import datetime
from typing_extensions import Literal
-from .shared import UnnamedSchemaRef78
from .._models import BaseModel
from .keyless_certificate_hostname import KeylessCertificateHostname
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
__all__ = ["CustomCertificate", "GeoRestrictions"]
@@ -19,7 +19,7 @@ class CustomCertificate(BaseModel):
id: str
"""Identifier"""
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
diff --git a/src/cloudflare/types/custom_certificate_create_params.py b/src/cloudflare/types/custom_certificate_create_params.py
index a5b6dcfe1b34..2abf4aea0852 100644
--- a/src/cloudflare/types/custom_certificate_create_params.py
+++ b/src/cloudflare/types/custom_certificate_create_params.py
@@ -4,7 +4,7 @@
from typing_extensions import Literal, Required, TypedDict
-from .shared import UnnamedSchemaRef78
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
__all__ = ["CustomCertificateCreateParams", "GeoRestrictions"]
@@ -19,7 +19,7 @@ class CustomCertificateCreateParams(TypedDict, total=False):
private_key: Required[str]
"""The zone's private key."""
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
diff --git a/src/cloudflare/types/custom_certificate_create_response.py b/src/cloudflare/types/custom_certificate_create_response.py
deleted file mode 100644
index 2d47fd21628a..000000000000
--- a/src/cloudflare/types/custom_certificate_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CustomCertificateCreateResponse"]
-
-CustomCertificateCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/custom_certificate_delete_response.py b/src/cloudflare/types/custom_certificate_delete_response.py
deleted file mode 100644
index 5c1e68f5ba89..000000000000
--- a/src/cloudflare/types/custom_certificate_delete_response.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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_certificate_edit_params.py b/src/cloudflare/types/custom_certificate_edit_params.py
index a2cade47043d..b4d3168cd426 100644
--- a/src/cloudflare/types/custom_certificate_edit_params.py
+++ b/src/cloudflare/types/custom_certificate_edit_params.py
@@ -4,7 +4,7 @@
from typing_extensions import Literal, Required, TypedDict
-from .shared import UnnamedSchemaRef78
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
__all__ = ["CustomCertificateEditParams", "GeoRestrictions"]
@@ -13,7 +13,7 @@ class CustomCertificateEditParams(TypedDict, total=False):
zone_id: Required[str]
"""Identifier"""
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
diff --git a/src/cloudflare/types/custom_certificate_edit_response.py b/src/cloudflare/types/custom_certificate_edit_response.py
deleted file mode 100644
index cd73fcedc376..000000000000
--- a/src/cloudflare/types/custom_certificate_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CustomCertificateEditResponse"]
-
-CustomCertificateEditResponse = Union[str, object]
diff --git a/src/cloudflare/types/custom_certificate_get_response.py b/src/cloudflare/types/custom_certificate_get_response.py
deleted file mode 100644
index 81ac453d05da..000000000000
--- a/src/cloudflare/types/custom_certificate_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CustomCertificateGetResponse"]
-
-CustomCertificateGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/custom_hostname_create_params.py b/src/cloudflare/types/custom_hostname_create_params.py
index afad1b6ec3d9..d6d0b3851734 100644
--- a/src/cloudflare/types/custom_hostname_create_params.py
+++ b/src/cloudflare/types/custom_hostname_create_params.py
@@ -5,7 +5,9 @@
from typing import List
from typing_extensions import Literal, Required, TypedDict
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef81
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameCreateParams", "SSL", "SSLSettings", "CustomMetadata"]
@@ -31,7 +33,7 @@ class SSLSettings(TypedDict, total=False):
These ciphers must be in the BoringSSL format.
"""
- early_hints: UnnamedSchemaRef81
+ early_hints: Literal["on", "off"]
"""Whether or not Early Hints is enabled."""
http2: Literal["on", "off"]
@@ -45,7 +47,7 @@ class SSLSettings(TypedDict, total=False):
class SSL(TypedDict, total=False):
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -62,13 +64,13 @@ class SSL(TypedDict, total=False):
custom_key: str
"""The key for a custom uploaded certificate."""
- method: Literal["http", "txt", "email"]
+ method: UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
"""Domain control validation (DCV) method used for this hostname."""
settings: SSLSettings
"""SSL specific settings."""
- type: Literal["dv"]
+ type: UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostname_create_response.py b/src/cloudflare/types/custom_hostname_create_response.py
index e9933097eb6a..a603b2eb091a 100644
--- a/src/cloudflare/types/custom_hostname_create_response.py
+++ b/src/cloudflare/types/custom_hostname_create_response.py
@@ -4,8 +4,10 @@
from datetime import datetime
from typing_extensions import Literal
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef79, UnnamedSchemaRef80, UnnamedSchemaRef81
from .._models import BaseModel
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameCreateResponse", "SSL", "SSLSettings", "SSLValidationError", "SSLValidationRecord"]
@@ -17,7 +19,7 @@ class SSLSettings(BaseModel):
These ciphers must be in the BoringSSL format.
"""
- early_hints: Optional[UnnamedSchemaRef81] = None
+ early_hints: Optional[Literal["on", "off"]] = None
"""Whether or not Early Hints is enabled."""
http2: Optional[Literal["on", "off"]] = None
@@ -68,7 +70,7 @@ class SSL(BaseModel):
id: Optional[str] = None
"""Custom hostname SSL identifier tag."""
- bundle_method: Optional[UnnamedSchemaRef78] = None
+ bundle_method: Optional[UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1] = None
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -97,7 +99,7 @@ class SSL(BaseModel):
issuer: Optional[str] = None
"""The issuer on a custom uploaded certificate."""
- method: Optional[UnnamedSchemaRef79] = None
+ method: Optional[UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510] = None
"""Domain control validation (DCV) method used for this hostname."""
serial_number: Optional[str] = None
@@ -136,7 +138,7 @@ class SSL(BaseModel):
] = None
"""Status of the hostname's SSL certificates."""
- type: Optional[UnnamedSchemaRef80] = None
+ type: Optional[UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1] = None
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostname_delete_response.py b/src/cloudflare/types/custom_hostname_delete_response.py
deleted file mode 100644
index f4a736fa8ce9..000000000000
--- a/src/cloudflare/types/custom_hostname_delete_response.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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/custom_hostname_edit_params.py b/src/cloudflare/types/custom_hostname_edit_params.py
index f0fcf8cc9e3c..660b91453e43 100644
--- a/src/cloudflare/types/custom_hostname_edit_params.py
+++ b/src/cloudflare/types/custom_hostname_edit_params.py
@@ -5,7 +5,9 @@
from typing import List
from typing_extensions import Literal, Required, TypedDict
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef81
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameEditParams", "CustomMetadata", "SSL", "SSLSettings"]
@@ -48,7 +50,7 @@ class SSLSettings(TypedDict, total=False):
These ciphers must be in the BoringSSL format.
"""
- early_hints: UnnamedSchemaRef81
+ early_hints: Literal["on", "off"]
"""Whether or not Early Hints is enabled."""
http2: Literal["on", "off"]
@@ -62,7 +64,7 @@ class SSLSettings(TypedDict, total=False):
class SSL(TypedDict, total=False):
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -79,13 +81,13 @@ class SSL(TypedDict, total=False):
custom_key: str
"""The key for a custom uploaded certificate."""
- method: Literal["http", "txt", "email"]
+ method: UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
"""Domain control validation (DCV) method used for this hostname."""
settings: SSLSettings
"""SSL specific settings."""
- type: Literal["dv"]
+ type: UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostname_edit_response.py b/src/cloudflare/types/custom_hostname_edit_response.py
index 75c6d69f9d78..b496ab08e54f 100644
--- a/src/cloudflare/types/custom_hostname_edit_response.py
+++ b/src/cloudflare/types/custom_hostname_edit_response.py
@@ -4,8 +4,10 @@
from datetime import datetime
from typing_extensions import Literal
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef79, UnnamedSchemaRef80, UnnamedSchemaRef81
from .._models import BaseModel
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameEditResponse", "SSL", "SSLSettings", "SSLValidationError", "SSLValidationRecord"]
@@ -17,7 +19,7 @@ class SSLSettings(BaseModel):
These ciphers must be in the BoringSSL format.
"""
- early_hints: Optional[UnnamedSchemaRef81] = None
+ early_hints: Optional[Literal["on", "off"]] = None
"""Whether or not Early Hints is enabled."""
http2: Optional[Literal["on", "off"]] = None
@@ -68,7 +70,7 @@ class SSL(BaseModel):
id: Optional[str] = None
"""Custom hostname SSL identifier tag."""
- bundle_method: Optional[UnnamedSchemaRef78] = None
+ bundle_method: Optional[UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1] = None
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -97,7 +99,7 @@ class SSL(BaseModel):
issuer: Optional[str] = None
"""The issuer on a custom uploaded certificate."""
- method: Optional[UnnamedSchemaRef79] = None
+ method: Optional[UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510] = None
"""Domain control validation (DCV) method used for this hostname."""
serial_number: Optional[str] = None
@@ -136,7 +138,7 @@ class SSL(BaseModel):
] = None
"""Status of the hostname's SSL certificates."""
- type: Optional[UnnamedSchemaRef80] = None
+ type: Optional[UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1] = None
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostname_get_response.py b/src/cloudflare/types/custom_hostname_get_response.py
index 0ea427a92742..49a33c4e221b 100644
--- a/src/cloudflare/types/custom_hostname_get_response.py
+++ b/src/cloudflare/types/custom_hostname_get_response.py
@@ -4,8 +4,10 @@
from datetime import datetime
from typing_extensions import Literal
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef79, UnnamedSchemaRef80, UnnamedSchemaRef81
from .._models import BaseModel
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameGetResponse", "SSL", "SSLSettings", "SSLValidationError", "SSLValidationRecord"]
@@ -17,7 +19,7 @@ class SSLSettings(BaseModel):
These ciphers must be in the BoringSSL format.
"""
- early_hints: Optional[UnnamedSchemaRef81] = None
+ early_hints: Optional[Literal["on", "off"]] = None
"""Whether or not Early Hints is enabled."""
http2: Optional[Literal["on", "off"]] = None
@@ -68,7 +70,7 @@ class SSL(BaseModel):
id: Optional[str] = None
"""Custom hostname SSL identifier tag."""
- bundle_method: Optional[UnnamedSchemaRef78] = None
+ bundle_method: Optional[UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1] = None
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -97,7 +99,7 @@ class SSL(BaseModel):
issuer: Optional[str] = None
"""The issuer on a custom uploaded certificate."""
- method: Optional[UnnamedSchemaRef79] = None
+ method: Optional[UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510] = None
"""Domain control validation (DCV) method used for this hostname."""
serial_number: Optional[str] = None
@@ -136,7 +138,7 @@ class SSL(BaseModel):
] = None
"""Status of the hostname's SSL certificates."""
- type: Optional[UnnamedSchemaRef80] = None
+ type: Optional[UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1] = None
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostname_list_response.py b/src/cloudflare/types/custom_hostname_list_response.py
index ddb6303e9c21..83eaba97332a 100644
--- a/src/cloudflare/types/custom_hostname_list_response.py
+++ b/src/cloudflare/types/custom_hostname_list_response.py
@@ -4,8 +4,10 @@
from datetime import datetime
from typing_extensions import Literal
-from .shared import UnnamedSchemaRef78, UnnamedSchemaRef79, UnnamedSchemaRef80, UnnamedSchemaRef81
from .._models import BaseModel
+from .unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1 import UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
+from .unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510 import UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510
__all__ = ["CustomHostnameListResponse", "SSL", "SSLSettings", "SSLValidationError", "SSLValidationRecord"]
@@ -17,7 +19,7 @@ class SSLSettings(BaseModel):
These ciphers must be in the BoringSSL format.
"""
- early_hints: Optional[UnnamedSchemaRef81] = None
+ early_hints: Optional[Literal["on", "off"]] = None
"""Whether or not Early Hints is enabled."""
http2: Optional[Literal["on", "off"]] = None
@@ -68,7 +70,7 @@ class SSL(BaseModel):
id: Optional[str] = None
"""Custom hostname SSL identifier tag."""
- bundle_method: Optional[UnnamedSchemaRef78] = None
+ bundle_method: Optional[UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1] = None
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
@@ -97,7 +99,7 @@ class SSL(BaseModel):
issuer: Optional[str] = None
"""The issuer on a custom uploaded certificate."""
- method: Optional[UnnamedSchemaRef79] = None
+ method: Optional[UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510] = None
"""Domain control validation (DCV) method used for this hostname."""
serial_number: Optional[str] = None
@@ -136,7 +138,7 @@ class SSL(BaseModel):
] = None
"""Status of the hostname's SSL certificates."""
- type: Optional[UnnamedSchemaRef80] = None
+ type: Optional[UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1] = None
"""Level of validation to be used for this hostname.
Domain validation (dv) must be used.
diff --git a/src/cloudflare/types/custom_hostnames/__init__.py b/src/cloudflare/types/custom_hostnames/__init__.py
index da94f2c93eec..11ba7d5d5e62 100644
--- a/src/cloudflare/types/custom_hostnames/__init__.py
+++ b/src/cloudflare/types/custom_hostnames/__init__.py
@@ -2,8 +2,5 @@
from __future__ import annotations
-from .fallback_origin_get_response import FallbackOriginGetResponse as FallbackOriginGetResponse
from .fallback_origin_delete_params import FallbackOriginDeleteParams as FallbackOriginDeleteParams
from .fallback_origin_update_params import FallbackOriginUpdateParams as FallbackOriginUpdateParams
-from .fallback_origin_delete_response import FallbackOriginDeleteResponse as FallbackOriginDeleteResponse
-from .fallback_origin_update_response import FallbackOriginUpdateResponse as FallbackOriginUpdateResponse
diff --git a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py b/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py
deleted file mode 100644
index 25c13dba3c17..000000000000
--- a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["FallbackOriginDeleteResponse"]
-
-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
deleted file mode 100644
index 6259d8e36f12..000000000000
--- a/src/cloudflare/types/custom_hostnames/fallback_origin_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["FallbackOriginGetResponse"]
-
-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
deleted file mode 100644
index 6668392d9f55..000000000000
--- a/src/cloudflare/types/custom_hostnames/fallback_origin_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["FallbackOriginUpdateResponse"]
-
-FallbackOriginUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/custom_nameserver_delete_response.py b/src/cloudflare/types/custom_nameserver_delete_response.py
deleted file mode 100644
index f50c645a449b..000000000000
--- a/src/cloudflare/types/custom_nameserver_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["CustomNameserverDeleteResponse"]
-
-CustomNameserverDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/dns/__init__.py b/src/cloudflare/types/dns/__init__.py
index a0120187fddc..cb26f5a4649c 100644
--- a/src/cloudflare/types/dns/__init__.py
+++ b/src/cloudflare/types/dns/__init__.py
@@ -20,3 +20,9 @@
from .record_export_response import RecordExportResponse as RecordExportResponse
from .record_import_response import RecordImportResponse as RecordImportResponse
from .firewall_delete_response import FirewallDeleteResponse as FirewallDeleteResponse
+from .unnamed_schema_ref_2f895e023ae55b55d2f5925449b819cd import (
+ UnnamedSchemaRef2f895e023ae55b55d2f5925449b819cd as UnnamedSchemaRef2f895e023ae55b55d2f5925449b819cd,
+)
+from .unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb import (
+ UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb as UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb,
+)
diff --git a/src/cloudflare/types/dns/analytics/dns_analytics_report.py b/src/cloudflare/types/dns/analytics/dns_analytics_report.py
index 969957e441bc..bbbc8881e5d4 100644
--- a/src/cloudflare/types/dns/analytics/dns_analytics_report.py
+++ b/src/cloudflare/types/dns/analytics/dns_analytics_report.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from datetime import datetime
-from ...shared import UnnamedSchemaRef22
from ...._models import BaseModel
+from ...unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba import UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba
__all__ = ["DNSAnalyticsReport", "Query"]
@@ -36,7 +36,7 @@ class Query(BaseModel):
class DNSAnalyticsReport(BaseModel):
- data: List[UnnamedSchemaRef22]
+ data: List[UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba]
"""Array with one row per combination of dimension values."""
data_lag: float
diff --git a/src/cloudflare/types/dns/analytics/reports/dns_analytics_report_by_time.py b/src/cloudflare/types/dns/analytics/reports/dns_analytics_report_by_time.py
index 4401f12e7b11..a88f08c062aa 100644
--- a/src/cloudflare/types/dns/analytics/reports/dns_analytics_report_by_time.py
+++ b/src/cloudflare/types/dns/analytics/reports/dns_analytics_report_by_time.py
@@ -3,8 +3,9 @@
from typing import List
from datetime import datetime
-from ....shared import UnnamedSchemaRef23, UnnamedSchemaRef24
from ....._models import BaseModel
+from ....unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca import UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca
+from ....unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2 import UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2
__all__ = ["DNSAnalyticsReportByTime", "Data"]
@@ -16,7 +17,7 @@ class Data(BaseModel):
corresponding to this row.
"""
- metrics: List[UnnamedSchemaRef23]
+ metrics: List[UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca]
"""Array with one item per requested metric.
Each item is an array of values, broken down by time interval.
@@ -45,7 +46,7 @@ class DNSAnalyticsReportByTime(BaseModel):
Currently always an empty object.
"""
- query: UnnamedSchemaRef24
+ query: UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2
rows: float
"""Total number of rows in the result."""
diff --git a/src/cloudflare/types/dns/dns_record.py b/src/cloudflare/types/dns/dns_record.py
index 6c13e4dc6853..211eadcd9e40 100644
--- a/src/cloudflare/types/dns/dns_record.py
+++ b/src/cloudflare/types/dns/dns_record.py
@@ -4,9 +4,9 @@
from datetime import datetime
from typing_extensions import Literal, Annotated
-from ..shared import UnnamedSchemaRef162
from ..._utils import PropertyInfo
from ..._models import BaseModel
+from .unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb import UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb
__all__ = [
"DNSRecord",
@@ -74,7 +74,7 @@ class A(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -134,7 +134,7 @@ class AAAA(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -208,7 +208,7 @@ class CAA(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -279,7 +279,7 @@ class CERT(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -333,7 +333,7 @@ class CNAME(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -410,7 +410,7 @@ class DNSKEY(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -481,7 +481,7 @@ class DS(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -549,7 +549,7 @@ class HTTPS(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -644,7 +644,7 @@ class LOC(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -704,7 +704,7 @@ class MX(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -781,7 +781,7 @@ class NAPTR(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -835,7 +835,7 @@ class NS(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -889,7 +889,7 @@ class PTR(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -960,7 +960,7 @@ class SMIMEA(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1063,7 +1063,7 @@ class SRV(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1131,7 +1131,7 @@ class SSHFP(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1199,7 +1199,7 @@ class SVCB(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1270,7 +1270,7 @@ class TLSA(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1324,7 +1324,7 @@ class TXT(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
@@ -1395,7 +1395,7 @@ class URI(BaseModel):
Cloudflare).
"""
- meta: Optional[UnnamedSchemaRef162] = None
+ meta: Optional[UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb] = None
"""Extra Cloudflare-specific information about the record."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_162.py b/src/cloudflare/types/dns/unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb.py
similarity index 74%
rename from src/cloudflare/types/shared/unnamed_schema_ref_162.py
rename to src/cloudflare/types/dns/unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb.py
index 70f19e2fb761..df69ac766403 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_162.py
+++ b/src/cloudflare/types/dns/unnamed_schema_ref_1391721bdb8938d5420a8bc738a44deb.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef162"]
+__all__ = ["UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb"]
-class UnnamedSchemaRef162(BaseModel):
+class UnnamedSchemaRef1391721bdb8938d5420a8bc738a44deb(BaseModel):
auto_added: Optional[bool] = None
"""
Will exist if Cloudflare automatically added this DNS record during initial
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_62.py b/src/cloudflare/types/dns/unnamed_schema_ref_2f895e023ae55b55d2f5925449b819cd.py
similarity index 77%
rename from src/cloudflare/types/shared/unnamed_schema_ref_62.py
rename to src/cloudflare/types/dns/unnamed_schema_ref_2f895e023ae55b55d2f5925449b819cd.py
index 1caca0a05b83..59e24ff1aa01 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_62.py
+++ b/src/cloudflare/types/dns/unnamed_schema_ref_2f895e023ae55b55d2f5925449b819cd.py
@@ -5,10 +5,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef62"]
+__all__ = ["UnnamedSchemaRef2f895e023ae55b55d2f5925449b819cd"]
-class UnnamedSchemaRef62(BaseModel):
+class UnnamedSchemaRef2f895e023ae55b55d2f5925449b819cd(BaseModel):
end_time: Optional[datetime] = None
"""When the file parsing ended."""
diff --git a/src/cloudflare/types/firewall/__init__.py b/src/cloudflare/types/firewall/__init__.py
index a32dc4689209..9d0faf3be4ff 100644
--- a/src/cloudflare/types/firewall/__init__.py
+++ b/src/cloudflare/types/firewall/__init__.py
@@ -28,3 +28,6 @@
from .access_rule_create_params import AccessRuleCreateParams as AccessRuleCreateParams
from .access_rule_delete_params import AccessRuleDeleteParams as AccessRuleDeleteParams
from .access_rule_delete_response import AccessRuleDeleteResponse as AccessRuleDeleteResponse
+from .unnamed_schema_ref_ab48d2d33259c9107401d174735701c7 import (
+ UnnamedSchemaRefAb48d2d33259c9107401d174735701c7 as UnnamedSchemaRefAb48d2d33259c9107401d174735701c7,
+)
diff --git a/src/cloudflare/types/firewall/firewall_filter_rule.py b/src/cloudflare/types/firewall/firewall_filter_rule.py
index f65fd380ed72..7eb9ce5b485e 100644
--- a/src/cloudflare/types/firewall/firewall_filter_rule.py
+++ b/src/cloudflare/types/firewall/firewall_filter_rule.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef107
from ..._models import BaseModel
+from .unnamed_schema_ref_ab48d2d33259c9107401d174735701c7 import UnnamedSchemaRefAb48d2d33259c9107401d174735701c7
__all__ = ["FirewallFilterRule"]
@@ -24,7 +24,7 @@ class FirewallFilterRule(BaseModel):
description: Optional[str] = None
"""An informative summary of the firewall rule."""
- filter: Optional[UnnamedSchemaRef107] = None
+ filter: Optional[UnnamedSchemaRefAb48d2d33259c9107401d174735701c7] = None
paused: Optional[bool] = None
"""When true, indicates that the firewall rule is currently paused."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_107.py b/src/cloudflare/types/firewall/unnamed_schema_ref_ab48d2d33259c9107401d174735701c7.py
similarity index 67%
rename from src/cloudflare/types/shared/unnamed_schema_ref_107.py
rename to src/cloudflare/types/firewall/unnamed_schema_ref_ab48d2d33259c9107401d174735701c7.py
index d43b6ee5dc60..cd8da2d55116 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_107.py
+++ b/src/cloudflare/types/firewall/unnamed_schema_ref_ab48d2d33259c9107401d174735701c7.py
@@ -5,7 +5,7 @@
from ..._models import BaseModel
from ..firewall_filter import FirewallFilter
-__all__ = ["UnnamedSchemaRef107", "LegacyJhsDeletedFilter"]
+__all__ = ["UnnamedSchemaRefAb48d2d33259c9107401d174735701c7", "LegacyJhsDeletedFilter"]
class LegacyJhsDeletedFilter(BaseModel):
@@ -16,4 +16,4 @@ class LegacyJhsDeletedFilter(BaseModel):
"""When true, indicates that the firewall rule was deleted."""
-UnnamedSchemaRef107 = Union[FirewallFilter, LegacyJhsDeletedFilter]
+UnnamedSchemaRefAb48d2d33259c9107401d174735701c7 = Union[FirewallFilter, LegacyJhsDeletedFilter]
diff --git a/src/cloudflare/types/firewall/waf/package_get_response.py b/src/cloudflare/types/firewall/waf/package_get_response.py
index c6e6da9efbc0..11d4523e7956 100644
--- a/src/cloudflare/types/firewall/waf/package_get_response.py
+++ b/src/cloudflare/types/firewall/waf/package_get_response.py
@@ -3,18 +3,18 @@
from typing import List, Union, Optional
from typing_extensions import Literal
-from ...shared import ResponseInfo
+from ...shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ...._models import BaseModel
__all__ = ["PackageGetResponse", "LegacyJhsAPIResponseSingle", "Result"]
class LegacyJhsAPIResponseSingle(BaseModel):
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- result: Union[str, object, None] = None
+ result: UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
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 3279b7cde518..c71cccdc3353 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 ResponseInfo
+from ...shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151, UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ...._models import BaseModel
__all__ = [
@@ -32,11 +32,11 @@ class LegacyJhsAPIResponseCollectionResultInfo(BaseModel):
class LegacyJhsAPIResponseCollection(BaseModel):
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- result: Union[List[object], str, object, None] = None
+ result: Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151] = None
success: Literal[True]
"""Whether the API call was successful"""
diff --git a/src/cloudflare/types/firewall/waf/packages/__init__.py b/src/cloudflare/types/firewall/waf/packages/__init__.py
index 91cbd984b75b..fa173a0e10fc 100644
--- a/src/cloudflare/types/firewall/waf/packages/__init__.py
+++ b/src/cloudflare/types/firewall/waf/packages/__init__.py
@@ -6,9 +6,9 @@
from .rule_list_params import RuleListParams as RuleListParams
from .group_edit_params import GroupEditParams as GroupEditParams
from .group_list_params import GroupListParams as GroupListParams
-from .rule_get_response import RuleGetResponse as RuleGetResponse
-from .group_get_response import GroupGetResponse as GroupGetResponse
from .rule_edit_response import RuleEditResponse as RuleEditResponse
-from .group_edit_response import GroupEditResponse as GroupEditResponse
from .waf_managed_rules_rule import WAFManagedRulesRule as WAFManagedRulesRule
from .waf_managed_rules_group import WAFManagedRulesGroup as WAFManagedRulesGroup
+from .unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5 import (
+ UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5 as UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5,
+)
diff --git a/src/cloudflare/types/firewall/waf/packages/group_edit_response.py b/src/cloudflare/types/firewall/waf/packages/group_edit_response.py
deleted file mode 100644
index 8e8ef5a3f205..000000000000
--- a/src/cloudflare/types/firewall/waf/packages/group_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["GroupEditResponse"]
-
-GroupEditResponse = Union[Optional[str], Optional[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
deleted file mode 100644
index 3d8278e8487b..000000000000
--- a/src/cloudflare/types/firewall/waf/packages/group_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["GroupGetResponse"]
-
-GroupGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/firewall/waf/packages/rule_edit_response.py b/src/cloudflare/types/firewall/waf/packages/rule_edit_response.py
index 3d2079adcaf4..4412f2c07126 100644
--- a/src/cloudflare/types/firewall/waf/packages/rule_edit_response.py
+++ b/src/cloudflare/types/firewall/waf/packages/rule_edit_response.py
@@ -3,8 +3,8 @@
from typing import List, Union
from typing_extensions import Literal
-from ....shared import UnnamedSchemaRef120
from ....._models import BaseModel
+from .unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5 import UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
__all__ = [
"RuleEditResponse",
@@ -27,7 +27,7 @@ class WAFManagedRulesAnomalyRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["on", "off"]
@@ -56,7 +56,7 @@ class WAFManagedRulesTraditionalDenyRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["default", "disable", "simulate", "block", "challenge"]
@@ -84,7 +84,7 @@ class WAFManagedRulesTraditionalAllowRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["on", "off"]
diff --git a/src/cloudflare/types/firewall/waf/packages/rule_get_response.py b/src/cloudflare/types/firewall/waf/packages/rule_get_response.py
deleted file mode 100644
index b17274e52fea..000000000000
--- a/src/cloudflare/types/firewall/waf/packages/rule_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["RuleGetResponse"]
-
-RuleGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_120.py b/src/cloudflare/types/firewall/waf/packages/unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5.py
similarity index 61%
rename from src/cloudflare/types/shared/unnamed_schema_ref_120.py
rename to src/cloudflare/types/firewall/waf/packages/unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5.py
index a0055ab758b4..410d72a0f659 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_120.py
+++ b/src/cloudflare/types/firewall/waf/packages/unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from ....._models import BaseModel
-__all__ = ["UnnamedSchemaRef120"]
+__all__ = ["UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5"]
-class UnnamedSchemaRef120(BaseModel):
+class UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5(BaseModel):
id: Optional[str] = None
"""The unique identifier of the rule group."""
diff --git a/src/cloudflare/types/firewall/waf/packages/waf_managed_rules_rule.py b/src/cloudflare/types/firewall/waf/packages/waf_managed_rules_rule.py
index 7de699936620..4be24ec2409c 100644
--- a/src/cloudflare/types/firewall/waf/packages/waf_managed_rules_rule.py
+++ b/src/cloudflare/types/firewall/waf/packages/waf_managed_rules_rule.py
@@ -3,8 +3,8 @@
from typing import List, Union
from typing_extensions import Literal
-from ....shared import UnnamedSchemaRef120
from ....._models import BaseModel
+from .unnamed_schema_ref_532d8b97684c9032dd36bae8acddebf5 import UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
__all__ = [
"WAFManagedRulesRule",
@@ -27,7 +27,7 @@ class WAFManagedRulesAnomalyRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["on", "off"]
@@ -56,7 +56,7 @@ class WAFManagedRulesTraditionalDenyRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["default", "disable", "simulate", "block", "challenge"]
@@ -84,7 +84,7 @@ class WAFManagedRulesTraditionalAllowRule(BaseModel):
description: str
"""The public description of the WAF rule."""
- group: UnnamedSchemaRef120
+ group: UnnamedSchemaRef532d8b97684c9032dd36bae8acddebf5
"""The rule group to which the current WAF rule belongs."""
mode: Literal["on", "off"]
diff --git a/src/cloudflare/types/hostnames/settings/__init__.py b/src/cloudflare/types/hostnames/settings/__init__.py
index 16bf74b172cc..d4d13ab90440 100644
--- a/src/cloudflare/types/hostnames/settings/__init__.py
+++ b/src/cloudflare/types/hostnames/settings/__init__.py
@@ -2,6 +2,7 @@
from __future__ import annotations
+from .hostname_stting import HostnameStting as HostnameStting
from .tls_get_response import TLSGetResponse as TLSGetResponse
from .tls_update_params import TLSUpdateParams as TLSUpdateParams
from .hostname_setting_delete import HostnameSettingDelete as HostnameSettingDelete
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_65.py b/src/cloudflare/types/hostnames/settings/hostname_stting.py
similarity index 86%
rename from src/cloudflare/types/shared/unnamed_schema_ref_65.py
rename to src/cloudflare/types/hostnames/settings/hostname_stting.py
index 89fff6650f59..31d6932795e1 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_65.py
+++ b/src/cloudflare/types/hostnames/settings/hostname_stting.py
@@ -3,12 +3,12 @@
from typing import List, Union, Optional
from datetime import datetime
-from ..._models import BaseModel
+from ...._models import BaseModel
-__all__ = ["UnnamedSchemaRef65"]
+__all__ = ["HostnameStting"]
-class UnnamedSchemaRef65(BaseModel):
+class HostnameStting(BaseModel):
created_at: Optional[datetime] = None
"""This is the time the tls setting was originally created for this hostname."""
diff --git a/src/cloudflare/types/hostnames/settings/tls_get_response.py b/src/cloudflare/types/hostnames/settings/tls_get_response.py
index 11800be7c68b..69e61d6d8ac0 100644
--- a/src/cloudflare/types/hostnames/settings/tls_get_response.py
+++ b/src/cloudflare/types/hostnames/settings/tls_get_response.py
@@ -1,9 +1,28 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import List
+from typing import List, Union, Optional
+from datetime import datetime
-from ...shared import UnnamedSchemaRef65
+from ...._models import BaseModel
-__all__ = ["TLSGetResponse"]
+__all__ = ["TLSGetResponse", "TLSGetResponseItem"]
-TLSGetResponse = List[UnnamedSchemaRef65]
+
+class TLSGetResponseItem(BaseModel):
+ created_at: Optional[datetime] = None
+ """This is the time the tls setting was originally created for this hostname."""
+
+ hostname: Optional[str] = None
+ """The hostname for which the tls settings are set."""
+
+ status: Optional[str] = None
+ """Deployment status for the given tls setting."""
+
+ updated_at: Optional[datetime] = None
+ """This is the time the tls setting was updated."""
+
+ value: Union[float, str, List[str], None] = None
+ """The tls setting value."""
+
+
+TLSGetResponse = List[TLSGetResponseItem]
diff --git a/src/cloudflare/types/images/__init__.py b/src/cloudflare/types/images/__init__.py
index 30dfb30e782c..c30696d0c300 100644
--- a/src/cloudflare/types/images/__init__.py
+++ b/src/cloudflare/types/images/__init__.py
@@ -10,4 +10,3 @@
from .v1_delete_params import V1DeleteParams as V1DeleteParams
from .v1_list_response import V1ListResponse as V1ListResponse
from .v2_list_response import V2ListResponse as V2ListResponse
-from .v1_delete_response import V1DeleteResponse as V1DeleteResponse
diff --git a/src/cloudflare/types/images/v1/__init__.py b/src/cloudflare/types/images/v1/__init__.py
index 20e34d1108a3..77dc4a66e034 100644
--- a/src/cloudflare/types/images/v1/__init__.py
+++ b/src/cloudflare/types/images/v1/__init__.py
@@ -9,4 +9,3 @@
from .variant_edit_params import VariantEditParams as VariantEditParams
from .variant_create_params import VariantCreateParams as VariantCreateParams
from .variant_delete_params import VariantDeleteParams as VariantDeleteParams
-from .variant_delete_response import VariantDeleteResponse as VariantDeleteResponse
diff --git a/src/cloudflare/types/images/v1/variant_delete_response.py b/src/cloudflare/types/images/v1/variant_delete_response.py
deleted file mode 100644
index dc91f59162b3..000000000000
--- a/src/cloudflare/types/images/v1/variant_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["VariantDeleteResponse"]
-
-VariantDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/images/v1_delete_response.py b/src/cloudflare/types/images/v1_delete_response.py
deleted file mode 100644
index 809e17c92e4c..000000000000
--- a/src/cloudflare/types/images/v1_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["V1DeleteResponse"]
-
-V1DeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/images/v1_list_response.py b/src/cloudflare/types/images/v1_list_response.py
index 20552ea88e7c..2a7055ab20fc 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 ResponseInfo
+from ..shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ..._models import BaseModel
__all__ = ["V1ListResponse", "Result"]
@@ -15,9 +15,9 @@ class Result(BaseModel):
class V1ListResponse(BaseModel):
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
result: Result
diff --git a/src/cloudflare/types/intel/__init__.py b/src/cloudflare/types/intel/__init__.py
index 4797f1df51d0..2f466c3ebd25 100644
--- a/src/cloudflare/types/intel/__init__.py
+++ b/src/cloudflare/types/intel/__init__.py
@@ -26,4 +26,6 @@
from .indicator_feed_create_response import IndicatorFeedCreateResponse as IndicatorFeedCreateResponse
from .indicator_feed_update_response import IndicatorFeedUpdateResponse as IndicatorFeedUpdateResponse
from .miscategorization_create_params import MiscategorizationCreateParams as MiscategorizationCreateParams
-from .miscategorization_create_response import MiscategorizationCreateResponse as MiscategorizationCreateResponse
+from .unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050 import (
+ UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050 as UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050,
+)
diff --git a/src/cloudflare/types/intel/attack_surface_report/__init__.py b/src/cloudflare/types/intel/attack_surface_report/__init__.py
index ca09c677e830..304920d5c67b 100644
--- a/src/cloudflare/types/intel/attack_surface_report/__init__.py
+++ b/src/cloudflare/types/intel/attack_surface_report/__init__.py
@@ -10,6 +10,5 @@
from .issue_class_response import IssueClassResponse as IssueClassResponse
from .issue_dismiss_params import IssueDismissParams as IssueDismissParams
from .issue_severity_params import IssueSeverityParams as IssueSeverityParams
-from .issue_dismiss_response import IssueDismissResponse as IssueDismissResponse
from .issue_severity_response import IssueSeverityResponse as IssueSeverityResponse
from .issue_type_get_response import IssueTypeGetResponse as IssueTypeGetResponse
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
deleted file mode 100644
index f693bbe9eee0..000000000000
--- a/src/cloudflare/types/intel/attack_surface_report/issue_dismiss_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["IssueDismissResponse"]
-
-IssueDismissResponse = Union[str, object]
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 a61dae3081cd..1b73cc500b8a 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 ResponseInfo
+from ...shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ...._models import BaseModel
__all__ = ["IssueListResponse", "Result", "ResultIssue"]
@@ -56,9 +56,9 @@ class Result(BaseModel):
class IssueListResponse(BaseModel):
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
result: Result
diff --git a/src/cloudflare/types/intel/intel_passive_dns_by_ip.py b/src/cloudflare/types/intel/intel_passive_dns_by_ip.py
index d008d41e2050..7079757a0748 100644
--- a/src/cloudflare/types/intel/intel_passive_dns_by_ip.py
+++ b/src/cloudflare/types/intel/intel_passive_dns_by_ip.py
@@ -2,8 +2,8 @@
from typing import List, Optional
-from ..shared import UnnamedSchemaRef35
from ..._models import BaseModel
+from .unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050 import UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050
__all__ = ["IntelPassiveDNSByIP"]
@@ -18,5 +18,5 @@ class IntelPassiveDNSByIP(BaseModel):
per_page: Optional[float] = None
"""Number of results per page of results."""
- reverse_records: Optional[List[UnnamedSchemaRef35]] = None
+ reverse_records: Optional[List[UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050]] = None
"""Reverse DNS look-ups observed during the time period."""
diff --git a/src/cloudflare/types/intel/miscategorization_create_response.py b/src/cloudflare/types/intel/miscategorization_create_response.py
deleted file mode 100644
index 07185dc54c71..000000000000
--- a/src/cloudflare/types/intel/miscategorization_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["MiscategorizationCreateResponse"]
-
-MiscategorizationCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_35.py b/src/cloudflare/types/intel/unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050.py
similarity index 78%
rename from src/cloudflare/types/shared/unnamed_schema_ref_35.py
rename to src/cloudflare/types/intel/unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050.py
index d4405c216912..8e95411d68d2 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_35.py
+++ b/src/cloudflare/types/intel/unnamed_schema_ref_b5e16cee4f32382c294201aedb9fc050.py
@@ -5,10 +5,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef35"]
+__all__ = ["UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050"]
-class UnnamedSchemaRef35(BaseModel):
+class UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050(BaseModel):
first_seen: Optional[date] = None
"""First seen date of the DNS record during the time period."""
diff --git a/src/cloudflare/types/intel_phishing_url_info.py b/src/cloudflare/types/intel_phishing_url_info.py
index 032b3662be4c..557492516bb1 100644
--- a/src/cloudflare/types/intel_phishing_url_info.py
+++ b/src/cloudflare/types/intel_phishing_url_info.py
@@ -4,26 +4,31 @@
from pydantic import Field as FieldInfo
-from .shared import UnnamedSchemaRef13, UnnamedSchemaRef14, UnnamedSchemaRef15, UnnamedSchemaRef16
from .._models import BaseModel
+from .unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8 import UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8
+from .unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014 import UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014
+from .unnamed_schema_ref_209db30ed499548152d6f3bccf720b54 import UnnamedSchemaRef209db30ed499548152d6f3bccf720b54
+from .unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869 import UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869
__all__ = ["IntelPhishingURLInfo"]
class IntelPhishingURLInfo(BaseModel):
- categorizations: Optional[List[UnnamedSchemaRef13]] = None
+ categorizations: Optional[List[UnnamedSchemaRef209db30ed499548152d6f3bccf720b54]] = None
"""List of categorizations applied to this submission."""
- ai_model_results: Optional[List[UnnamedSchemaRef14]] = FieldInfo(alias="model_results", default=None)
+ ai_model_results: Optional[List[UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014]] = FieldInfo(
+ alias="model_results", default=None
+ )
"""List of model results for completed scans."""
- rule_matches: Optional[List[UnnamedSchemaRef15]] = None
+ rule_matches: Optional[List[UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8]] = None
"""
List of signatures that matched against site content found when crawling the
URL.
"""
- scan_status: Optional[UnnamedSchemaRef16] = None
+ scan_status: Optional[UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869] = None
"""Status of the most recent scan found."""
screenshot_download_signature: Optional[str] = None
diff --git a/src/cloudflare/types/intel_phishing_url_submit.py b/src/cloudflare/types/intel_phishing_url_submit.py
index 925d1ea1170e..9647ce9ab7fa 100644
--- a/src/cloudflare/types/intel_phishing_url_submit.py
+++ b/src/cloudflare/types/intel_phishing_url_submit.py
@@ -2,21 +2,23 @@
from typing import List, Optional
-from .shared import UnnamedSchemaRef10, UnnamedSchemaRef11, UnnamedSchemaRef12
from .._models import BaseModel
+from .unnamed_schema_ref_44e66100b948bfe723054c56b6144766 import UnnamedSchemaRef44e66100b948bfe723054c56b6144766
+from .unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669 import UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669
+from .unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb import UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb
__all__ = ["IntelPhishingURLSubmit"]
class IntelPhishingURLSubmit(BaseModel):
- excluded_urls: Optional[List[UnnamedSchemaRef10]] = None
+ excluded_urls: Optional[List[UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669]] = None
"""
URLs that were excluded from scanning because their domain is in our no-scan
list.
"""
- skipped_urls: Optional[List[UnnamedSchemaRef11]] = None
+ skipped_urls: Optional[List[UnnamedSchemaRef44e66100b948bfe723054c56b6144766]] = None
"""URLs that were skipped because the same URL is currently being scanned"""
- submitted_urls: Optional[List[UnnamedSchemaRef12]] = None
+ submitted_urls: Optional[List[UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb]] = None
"""URLs that were successfully submitted for scanning."""
diff --git a/src/cloudflare/types/keyless_certificate_create_params.py b/src/cloudflare/types/keyless_certificate_create_params.py
index a2a31e6a645a..4cd7991dd354 100644
--- a/src/cloudflare/types/keyless_certificate_create_params.py
+++ b/src/cloudflare/types/keyless_certificate_create_params.py
@@ -4,7 +4,7 @@
from typing_extensions import Required, TypedDict
-from .shared import UnnamedSchemaRef78
+from .unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
__all__ = ["KeylessCertificateCreateParams", "Tunnel"]
@@ -25,7 +25,7 @@ class KeylessCertificateCreateParams(TypedDict, total=False):
Keyless SSL server.
"""
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
diff --git a/src/cloudflare/types/keyless_certificate_delete_response.py b/src/cloudflare/types/keyless_certificate_delete_response.py
deleted file mode 100644
index f21484a947bc..000000000000
--- a/src/cloudflare/types/keyless_certificate_delete_response.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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/kv/__init__.py b/src/cloudflare/types/kv/__init__.py
index ffa43469f6b8..9d607e5f2ece 100644
--- a/src/cloudflare/types/kv/__init__.py
+++ b/src/cloudflare/types/kv/__init__.py
@@ -7,5 +7,3 @@
from .namespace_create_params import NamespaceCreateParams as NamespaceCreateParams
from .namespace_delete_params import NamespaceDeleteParams as NamespaceDeleteParams
from .namespace_update_params import NamespaceUpdateParams as NamespaceUpdateParams
-from .namespace_delete_response import NamespaceDeleteResponse as NamespaceDeleteResponse
-from .namespace_update_response import NamespaceUpdateResponse as NamespaceUpdateResponse
diff --git a/src/cloudflare/types/kv/namespace_delete_response.py b/src/cloudflare/types/kv/namespace_delete_response.py
deleted file mode 100644
index 9e59782ae796..000000000000
--- a/src/cloudflare/types/kv/namespace_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["NamespaceDeleteResponse"]
-
-NamespaceDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/kv/namespace_update_response.py b/src/cloudflare/types/kv/namespace_update_response.py
deleted file mode 100644
index fbd61fb15c8f..000000000000
--- a/src/cloudflare/types/kv/namespace_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["NamespaceUpdateResponse"]
-
-NamespaceUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/kv/namespaces/__init__.py b/src/cloudflare/types/kv/namespaces/__init__.py
index 3c57cd5b9f70..0af88dac5538 100644
--- a/src/cloudflare/types/kv/namespaces/__init__.py
+++ b/src/cloudflare/types/kv/namespaces/__init__.py
@@ -9,7 +9,3 @@
from .value_get_response import ValueGetResponse as ValueGetResponse
from .value_delete_params import ValueDeleteParams as ValueDeleteParams
from .value_update_params import ValueUpdateParams as ValueUpdateParams
-from .bulk_delete_response import BulkDeleteResponse as BulkDeleteResponse
-from .bulk_update_response import BulkUpdateResponse as BulkUpdateResponse
-from .value_delete_response import ValueDeleteResponse as ValueDeleteResponse
-from .value_update_response import ValueUpdateResponse as ValueUpdateResponse
diff --git a/src/cloudflare/types/kv/namespaces/bulk_delete_response.py b/src/cloudflare/types/kv/namespaces/bulk_delete_response.py
deleted file mode 100644
index 56c602c8530f..000000000000
--- a/src/cloudflare/types/kv/namespaces/bulk_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["BulkDeleteResponse"]
-
-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
deleted file mode 100644
index 7a1f035d9546..000000000000
--- a/src/cloudflare/types/kv/namespaces/bulk_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["BulkUpdateResponse"]
-
-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
deleted file mode 100644
index 7c3d2c3fb80f..000000000000
--- a/src/cloudflare/types/kv/namespaces/value_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ValueDeleteResponse"]
-
-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
deleted file mode 100644
index 30f088b4fd99..000000000000
--- a/src/cloudflare/types/kv/namespaces/value_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ValueUpdateResponse"]
-
-ValueUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/load_balancers/__init__.py b/src/cloudflare/types/load_balancers/__init__.py
index 3b425d99c273..5cafcb763c92 100644
--- a/src/cloudflare/types/load_balancers/__init__.py
+++ b/src/cloudflare/types/load_balancers/__init__.py
@@ -13,7 +13,6 @@
from .region_get_response import RegionGetResponse as RegionGetResponse
from .search_get_response import SearchGetResponse as SearchGetResponse
from .pool_delete_response import PoolDeleteResponse as PoolDeleteResponse
-from .region_list_response import RegionListResponse as RegionListResponse
from .monitor_create_params import MonitorCreateParams as MonitorCreateParams
from .monitor_delete_params import MonitorDeleteParams as MonitorDeleteParams
from .monitor_update_params import MonitorUpdateParams as MonitorUpdateParams
diff --git a/src/cloudflare/types/load_balancers/monitors/reference_get_response.py b/src/cloudflare/types/load_balancers/monitors/reference_get_response.py
index db36365c7873..45ce21734377 100644
--- a/src/cloudflare/types/load_balancers/monitors/reference_get_response.py
+++ b/src/cloudflare/types/load_balancers/monitors/reference_get_response.py
@@ -2,14 +2,14 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef146
+from ...shared import UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b
from ...._models import BaseModel
__all__ = ["ReferenceGetResponse", "ReferenceGetResponseItem"]
class ReferenceGetResponseItem(BaseModel):
- reference_type: Optional[UnnamedSchemaRef146] = None
+ reference_type: Optional[UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b] = None
resource_id: Optional[str] = None
diff --git a/src/cloudflare/types/load_balancers/pools/reference_get_response.py b/src/cloudflare/types/load_balancers/pools/reference_get_response.py
index db36365c7873..45ce21734377 100644
--- a/src/cloudflare/types/load_balancers/pools/reference_get_response.py
+++ b/src/cloudflare/types/load_balancers/pools/reference_get_response.py
@@ -2,14 +2,14 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef146
+from ...shared import UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b
from ...._models import BaseModel
__all__ = ["ReferenceGetResponse", "ReferenceGetResponseItem"]
class ReferenceGetResponseItem(BaseModel):
- reference_type: Optional[UnnamedSchemaRef146] = None
+ reference_type: Optional[UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b] = None
resource_id: Optional[str] = None
diff --git a/src/cloudflare/types/load_balancers/region_list_response.py b/src/cloudflare/types/load_balancers/region_list_response.py
deleted file mode 100644
index 1e027bdb51fc..000000000000
--- a/src/cloudflare/types/load_balancers/region_list_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["RegionListResponse"]
-
-RegionListResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/logpush/__init__.py b/src/cloudflare/types/logpush/__init__.py
index dc92af9159e5..f90508b11303 100644
--- a/src/cloudflare/types/logpush/__init__.py
+++ b/src/cloudflare/types/logpush/__init__.py
@@ -13,6 +13,5 @@
from .validate_origin_response import ValidateOriginResponse as ValidateOriginResponse
from .ownership_create_response import OwnershipCreateResponse as OwnershipCreateResponse
from .ownership_validate_params import OwnershipValidateParams as OwnershipValidateParams
-from .ownership_validate_response import OwnershipValidateResponse as OwnershipValidateResponse
from .validate_destination_params import ValidateDestinationParams as ValidateDestinationParams
from .validate_destination_response import ValidateDestinationResponse as ValidateDestinationResponse
diff --git a/src/cloudflare/types/logpush/ownership_validate_response.py b/src/cloudflare/types/logpush/ownership_validate_response.py
deleted file mode 100644
index 22c95e706953..000000000000
--- a/src/cloudflare/types/logpush/ownership_validate_response.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["OwnershipValidateResponse"]
-
-
-class OwnershipValidateResponse(BaseModel):
- valid: Optional[bool] = None
diff --git a/src/cloudflare/types/logs/__init__.py b/src/cloudflare/types/logs/__init__.py
index de089dd39685..1d6324d3987c 100644
--- a/src/cloudflare/types/logs/__init__.py
+++ b/src/cloudflare/types/logs/__init__.py
@@ -3,6 +3,4 @@
from __future__ import annotations
from .rayid_get_params import RayIDGetParams as RayIDGetParams
-from .rayid_get_response import RayIDGetResponse as RayIDGetResponse
from .received_get_params import ReceivedGetParams as ReceivedGetParams
-from .received_get_response import ReceivedGetResponse as ReceivedGetResponse
diff --git a/src/cloudflare/types/logs/rayid_get_response.py b/src/cloudflare/types/logs/rayid_get_response.py
deleted file mode 100644
index f4437a09f17d..000000000000
--- a/src/cloudflare/types/logs/rayid_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["RayIDGetResponse"]
-
-RayIDGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/logs/received_get_response.py b/src/cloudflare/types/logs/received_get_response.py
deleted file mode 100644
index 042e8a4bd391..000000000000
--- a/src/cloudflare/types/logs/received_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ReceivedGetResponse"]
-
-ReceivedGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/magic_transit/cf_interconnect_list_response.py b/src/cloudflare/types/magic_transit/cf_interconnect_list_response.py
index b771c93811e4..8e571dcdf4ea 100644
--- a/src/cloudflare/types/magic_transit/cf_interconnect_list_response.py
+++ b/src/cloudflare/types/magic_transit/cf_interconnect_list_response.py
@@ -3,8 +3,9 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
from ..._models import BaseModel
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["CfInterconnectListResponse", "Interconnect", "InterconnectGRE", "InterconnectHealthCheck"]
@@ -21,7 +22,7 @@ class InterconnectHealthCheck(BaseModel):
enabled: Optional[bool] = None
"""Determines whether to run healthchecks for a tunnel."""
- rate: Optional[UnnamedSchemaRef83] = None
+ rate: Optional[UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5] = None
"""How frequent the health check is run. The default value is `mid`."""
target: Optional[str] = None
@@ -32,7 +33,7 @@ class InterconnectHealthCheck(BaseModel):
`customer_gre_endpoint address`.
"""
- type: Optional[UnnamedSchemaRef84] = None
+ type: Optional[UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39] = None
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/cf_interconnect_update_params.py b/src/cloudflare/types/magic_transit/cf_interconnect_update_params.py
index 5800b4fc23a9..1d2ed5c689f4 100644
--- a/src/cloudflare/types/magic_transit/cf_interconnect_update_params.py
+++ b/src/cloudflare/types/magic_transit/cf_interconnect_update_params.py
@@ -4,7 +4,8 @@
from typing_extensions import Required, TypedDict
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["CfInterconnectUpdateParams", "GRE", "HealthCheck"]
@@ -47,7 +48,7 @@ class HealthCheck(TypedDict, total=False):
enabled: bool
"""Determines whether to run healthchecks for a tunnel."""
- rate: UnnamedSchemaRef83
+ rate: UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
"""How frequent the health check is run. The default value is `mid`."""
target: str
@@ -58,5 +59,5 @@ class HealthCheck(TypedDict, total=False):
`customer_gre_endpoint address`.
"""
- type: UnnamedSchemaRef84
+ type: UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/gre_tunnel_create_response.py b/src/cloudflare/types/magic_transit/gre_tunnel_create_response.py
index b2f13c60e0a2..8763a3e6c8a0 100644
--- a/src/cloudflare/types/magic_transit/gre_tunnel_create_response.py
+++ b/src/cloudflare/types/magic_transit/gre_tunnel_create_response.py
@@ -4,8 +4,9 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
from ..._models import BaseModel
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["GRETunnelCreateResponse", "GRETunnel", "GRETunnelHealthCheck"]
@@ -24,7 +25,7 @@ class GRETunnelHealthCheck(BaseModel):
enabled: Optional[bool] = None
"""Determines whether to run healthchecks for a tunnel."""
- rate: Optional[UnnamedSchemaRef83] = None
+ rate: Optional[UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5] = None
"""How frequent the health check is run. The default value is `mid`."""
target: Optional[str] = None
@@ -37,7 +38,7 @@ class GRETunnelHealthCheck(BaseModel):
the tunnel) is used as the target.
"""
- type: Optional[UnnamedSchemaRef84] = None
+ type: Optional[UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39] = None
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/gre_tunnel_list_response.py b/src/cloudflare/types/magic_transit/gre_tunnel_list_response.py
index 7636505cfd38..7172e8d94a3b 100644
--- a/src/cloudflare/types/magic_transit/gre_tunnel_list_response.py
+++ b/src/cloudflare/types/magic_transit/gre_tunnel_list_response.py
@@ -4,8 +4,9 @@
from datetime import datetime
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
from ..._models import BaseModel
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["GRETunnelListResponse", "GRETunnel", "GRETunnelHealthCheck"]
@@ -24,7 +25,7 @@ class GRETunnelHealthCheck(BaseModel):
enabled: Optional[bool] = None
"""Determines whether to run healthchecks for a tunnel."""
- rate: Optional[UnnamedSchemaRef83] = None
+ rate: Optional[UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5] = None
"""How frequent the health check is run. The default value is `mid`."""
target: Optional[str] = None
@@ -37,7 +38,7 @@ class GRETunnelHealthCheck(BaseModel):
the tunnel) is used as the target.
"""
- type: Optional[UnnamedSchemaRef84] = None
+ type: Optional[UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39] = None
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/gre_tunnel_update_params.py b/src/cloudflare/types/magic_transit/gre_tunnel_update_params.py
index 71d5d4953aa9..53d2790dace6 100644
--- a/src/cloudflare/types/magic_transit/gre_tunnel_update_params.py
+++ b/src/cloudflare/types/magic_transit/gre_tunnel_update_params.py
@@ -4,7 +4,8 @@
from typing_extensions import Literal, Required, TypedDict
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["GRETunnelUpdateParams", "HealthCheck"]
@@ -62,7 +63,7 @@ class HealthCheck(TypedDict, total=False):
enabled: bool
"""Determines whether to run healthchecks for a tunnel."""
- rate: UnnamedSchemaRef83
+ rate: UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
"""How frequent the health check is run. The default value is `mid`."""
target: str
@@ -75,5 +76,5 @@ class HealthCheck(TypedDict, total=False):
the tunnel) is used as the target.
"""
- type: UnnamedSchemaRef84
+ type: UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py
index 9298abc8fb1e..85293ed768de 100644
--- a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py
+++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py
@@ -4,7 +4,8 @@
from typing_extensions import Literal, Required, TypedDict
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["IPSECTunnelCreateParams", "HealthCheck"]
@@ -58,7 +59,7 @@ class HealthCheck(TypedDict, total=False):
enabled: bool
"""Determines whether to run healthchecks for a tunnel."""
- rate: UnnamedSchemaRef83
+ rate: UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
"""How frequent the health check is run. The default value is `mid`."""
target: str
@@ -71,5 +72,5 @@ class HealthCheck(TypedDict, total=False):
the tunnel) is used as the target.
"""
- type: UnnamedSchemaRef84
+ type: UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py
index 1f05aa2af4f6..aed471dd9416 100644
--- a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py
+++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py
@@ -3,8 +3,9 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
from ..._models import BaseModel
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["IPSECTunnelCreateResponse", "IPSECTunnel", "IPSECTunnelPSKMetadata", "IPSECTunnelTunnelHealthCheck"]
@@ -18,7 +19,7 @@ class IPSECTunnelTunnelHealthCheck(BaseModel):
enabled: Optional[bool] = None
"""Determines whether to run healthchecks for a tunnel."""
- rate: Optional[UnnamedSchemaRef83] = None
+ rate: Optional[UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5] = None
"""How frequent the health check is run. The default value is `mid`."""
target: Optional[str] = None
@@ -29,7 +30,7 @@ class IPSECTunnelTunnelHealthCheck(BaseModel):
`customer_gre_endpoint address`.
"""
- type: Optional[UnnamedSchemaRef84] = None
+ type: Optional[UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39] = None
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py
index 16b1c4264446..ba0fb849cc4c 100644
--- a/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py
+++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py
@@ -3,8 +3,9 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
from ..._models import BaseModel
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["IPSECTunnelListResponse", "IPSECTunnel", "IPSECTunnelPSKMetadata", "IPSECTunnelTunnelHealthCheck"]
@@ -18,7 +19,7 @@ class IPSECTunnelTunnelHealthCheck(BaseModel):
enabled: Optional[bool] = None
"""Determines whether to run healthchecks for a tunnel."""
- rate: Optional[UnnamedSchemaRef83] = None
+ rate: Optional[UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5] = None
"""How frequent the health check is run. The default value is `mid`."""
target: Optional[str] = None
@@ -29,7 +30,7 @@ class IPSECTunnelTunnelHealthCheck(BaseModel):
`customer_gre_endpoint address`.
"""
- type: Optional[UnnamedSchemaRef84] = None
+ type: Optional[UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39] = None
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py
index 04719676bba7..c4144c99bac6 100644
--- a/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py
+++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py
@@ -4,7 +4,8 @@
from typing_extensions import Literal, Required, TypedDict
-from ..shared import UnnamedSchemaRef83, UnnamedSchemaRef84
+from ..unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39 import UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
+from ..unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5 import UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
__all__ = ["IPSECTunnelUpdateParams", "HealthCheck"]
@@ -58,7 +59,7 @@ class HealthCheck(TypedDict, total=False):
enabled: bool
"""Determines whether to run healthchecks for a tunnel."""
- rate: UnnamedSchemaRef83
+ rate: UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5
"""How frequent the health check is run. The default value is `mid`."""
target: str
@@ -71,5 +72,5 @@ class HealthCheck(TypedDict, total=False):
the tunnel) is used as the target.
"""
- type: UnnamedSchemaRef84
+ type: UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39
"""The type of healthcheck to run, reply or request. The default value is `reply`."""
diff --git a/src/cloudflare/types/magic_transit/sites/__init__.py b/src/cloudflare/types/magic_transit/sites/__init__.py
index 129c922d16d3..0d2729d98a66 100644
--- a/src/cloudflare/types/magic_transit/sites/__init__.py
+++ b/src/cloudflare/types/magic_transit/sites/__init__.py
@@ -26,3 +26,6 @@
from .wan_create_response import WANCreateResponse as WANCreateResponse
from .wan_delete_response import WANDeleteResponse as WANDeleteResponse
from .wan_update_response import WANUpdateResponse as WANUpdateResponse
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import (
+ UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 as UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916,
+)
diff --git a/src/cloudflare/types/magic_transit/sites/acl_create_params.py b/src/cloudflare/types/magic_transit/sites/acl_create_params.py
index 7c572eeddf8a..15bba0db03e5 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_create_params.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_create_params.py
@@ -5,7 +5,7 @@
from typing import List, Union, Iterable
from typing_extensions import Required, TypedDict
-from ...shared import UnnamedSchemaRef82
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLCreateParams", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -78,4 +78,4 @@ class ACL(TypedDict, total=False):
not included in request, will default to false.
"""
- protocols: List[UnnamedSchemaRef82]
+ protocols: List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]
diff --git a/src/cloudflare/types/magic_transit/sites/acl_create_response.py b/src/cloudflare/types/magic_transit/sites/acl_create_response.py
index 50b40d30f0a8..9e3f0f0ee579 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_create_response.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_create_response.py
@@ -2,8 +2,8 @@
from typing import List, Union, Optional
-from ...shared import UnnamedSchemaRef82
from ...._models import BaseModel
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLCreateResponse", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -72,7 +72,7 @@ class ACL(BaseModel):
name: Optional[str] = None
"""The name of the ACL."""
- protocols: Optional[List[UnnamedSchemaRef82]] = None
+ protocols: Optional[List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]] = None
class ACLCreateResponse(BaseModel):
diff --git a/src/cloudflare/types/magic_transit/sites/acl_delete_response.py b/src/cloudflare/types/magic_transit/sites/acl_delete_response.py
index 67806e5b077a..18e3c1dbe684 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_delete_response.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_delete_response.py
@@ -2,8 +2,8 @@
from typing import List, Union, Optional
-from ...shared import UnnamedSchemaRef82
from ...._models import BaseModel
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLDeleteResponse", "DeletedACL", "DeletedACLLAN1", "DeletedACLLAN2"]
@@ -72,7 +72,7 @@ class DeletedACL(BaseModel):
name: Optional[str] = None
"""The name of the ACL."""
- protocols: Optional[List[UnnamedSchemaRef82]] = None
+ protocols: Optional[List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]] = None
class ACLDeleteResponse(BaseModel):
diff --git a/src/cloudflare/types/magic_transit/sites/acl_get_response.py b/src/cloudflare/types/magic_transit/sites/acl_get_response.py
index ce2118fa73b1..6b7a269d9686 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_get_response.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_get_response.py
@@ -2,8 +2,8 @@
from typing import List, Union, Optional
-from ...shared import UnnamedSchemaRef82
from ...._models import BaseModel
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLGetResponse", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -72,7 +72,7 @@ class ACL(BaseModel):
name: Optional[str] = None
"""The name of the ACL."""
- protocols: Optional[List[UnnamedSchemaRef82]] = None
+ protocols: Optional[List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]] = None
class ACLGetResponse(BaseModel):
diff --git a/src/cloudflare/types/magic_transit/sites/acl_list_response.py b/src/cloudflare/types/magic_transit/sites/acl_list_response.py
index 1c23eafbfd29..aa5dc03d407f 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_list_response.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_list_response.py
@@ -2,8 +2,8 @@
from typing import List, Union, Optional
-from ...shared import UnnamedSchemaRef82
from ...._models import BaseModel
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLListResponse", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -72,7 +72,7 @@ class ACL(BaseModel):
name: Optional[str] = None
"""The name of the ACL."""
- protocols: Optional[List[UnnamedSchemaRef82]] = None
+ protocols: Optional[List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]] = None
class ACLListResponse(BaseModel):
diff --git a/src/cloudflare/types/magic_transit/sites/acl_update_params.py b/src/cloudflare/types/magic_transit/sites/acl_update_params.py
index 65b19a0932a3..082a1165eb63 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_update_params.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_update_params.py
@@ -5,7 +5,7 @@
from typing import List, Union, Iterable
from typing_extensions import Required, TypedDict
-from ...shared import UnnamedSchemaRef82
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLUpdateParams", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -81,4 +81,4 @@ class ACL(TypedDict, total=False):
name: str
"""The name of the ACL."""
- protocols: List[UnnamedSchemaRef82]
+ protocols: List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]
diff --git a/src/cloudflare/types/magic_transit/sites/acl_update_response.py b/src/cloudflare/types/magic_transit/sites/acl_update_response.py
index d93b061e0fbd..e3cbf6ce91f6 100644
--- a/src/cloudflare/types/magic_transit/sites/acl_update_response.py
+++ b/src/cloudflare/types/magic_transit/sites/acl_update_response.py
@@ -2,8 +2,8 @@
from typing import List, Union, Optional
-from ...shared import UnnamedSchemaRef82
from ...._models import BaseModel
+from .unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916 import UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916
__all__ = ["ACLUpdateResponse", "ACL", "ACLLAN1", "ACLLAN2"]
@@ -72,7 +72,7 @@ class ACL(BaseModel):
name: Optional[str] = None
"""The name of the ACL."""
- protocols: Optional[List[UnnamedSchemaRef82]] = None
+ protocols: Optional[List[UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916]] = None
class ACLUpdateResponse(BaseModel):
diff --git a/src/cloudflare/types/magic_transit/sites/lan_create_params.py b/src/cloudflare/types/magic_transit/sites/lan_create_params.py
index c9db9d7c6679..f9edf052625d 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_create_params.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_create_params.py
@@ -12,8 +12,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -44,12 +44,12 @@ class LANRoutedSubnet(TypedDict, total=False):
nat: LANRoutedSubnetNat
-class LANStaticAddressingDHCPRelay(TypedDict, total=False):
+class LANStaticAddressingDhcpRelay(TypedDict, total=False):
server_addresses: List[str]
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(TypedDict, total=False):
+class LANStaticAddressingDhcpServer(TypedDict, total=False):
dhcp_pool_end: str
"""A valid IPv4 address."""
@@ -67,9 +67,9 @@ class LANStaticAddressing(TypedDict, total=False):
address: Required[str]
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: LANStaticAddressingDHCPRelay
+ dhcp_relay: LANStaticAddressingDhcpRelay
- dhcp_server: LANStaticAddressingDHCPServer
+ dhcp_server: LANStaticAddressingDhcpServer
secondary_address: str
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_create_response.py b/src/cloudflare/types/magic_transit/sites/lan_create_response.py
index 38cc8a9a4faa..7ca8698b400e 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_create_response.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_create_response.py
@@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None
-class LANStaticAddressingDHCPRelay(BaseModel):
+class LANStaticAddressingDhcpRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(BaseModel):
+class LANStaticAddressingDhcpServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""
@@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None
+ dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
- dhcp_server: Optional[LANStaticAddressingDHCPServer] = None
+ dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_delete_response.py b/src/cloudflare/types/magic_transit/sites/lan_delete_response.py
index 7dabd6b21162..30c31874a9ab 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_delete_response.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_delete_response.py
@@ -11,8 +11,8 @@
"DeletedLANRoutedSubnet",
"DeletedLANRoutedSubnetNat",
"DeletedLANStaticAddressing",
- "DeletedLANStaticAddressingDHCPRelay",
- "DeletedLANStaticAddressingDHCPServer",
+ "DeletedLANStaticAddressingDhcpRelay",
+ "DeletedLANStaticAddressingDhcpServer",
]
@@ -36,12 +36,12 @@ class DeletedLANRoutedSubnet(BaseModel):
nat: Optional[DeletedLANRoutedSubnetNat] = None
-class DeletedLANStaticAddressingDHCPRelay(BaseModel):
+class DeletedLANStaticAddressingDhcpRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""
-class DeletedLANStaticAddressingDHCPServer(BaseModel):
+class DeletedLANStaticAddressingDhcpServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""
@@ -59,9 +59,9 @@ class DeletedLANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: Optional[DeletedLANStaticAddressingDHCPRelay] = None
+ dhcp_relay: Optional[DeletedLANStaticAddressingDhcpRelay] = None
- dhcp_server: Optional[DeletedLANStaticAddressingDHCPServer] = None
+ dhcp_server: Optional[DeletedLANStaticAddressingDhcpServer] = None
secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_get_response.py b/src/cloudflare/types/magic_transit/sites/lan_get_response.py
index 38f897fee516..808252dd34df 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_get_response.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_get_response.py
@@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None
-class LANStaticAddressingDHCPRelay(BaseModel):
+class LANStaticAddressingDhcpRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(BaseModel):
+class LANStaticAddressingDhcpServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""
@@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None
+ dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
- dhcp_server: Optional[LANStaticAddressingDHCPServer] = None
+ dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_list_response.py b/src/cloudflare/types/magic_transit/sites/lan_list_response.py
index 4332ce3fcd97..fa043061f893 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_list_response.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_list_response.py
@@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None
-class LANStaticAddressingDHCPRelay(BaseModel):
+class LANStaticAddressingDhcpRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(BaseModel):
+class LANStaticAddressingDhcpServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""
@@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None
+ dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
- dhcp_server: Optional[LANStaticAddressingDHCPServer] = None
+ dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_update_params.py b/src/cloudflare/types/magic_transit/sites/lan_update_params.py
index 674ae2856b92..115bd51ddf81 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_update_params.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_update_params.py
@@ -12,8 +12,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -47,12 +47,12 @@ class LANRoutedSubnet(TypedDict, total=False):
nat: LANRoutedSubnetNat
-class LANStaticAddressingDHCPRelay(TypedDict, total=False):
+class LANStaticAddressingDhcpRelay(TypedDict, total=False):
server_addresses: List[str]
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(TypedDict, total=False):
+class LANStaticAddressingDhcpServer(TypedDict, total=False):
dhcp_pool_end: str
"""A valid IPv4 address."""
@@ -70,9 +70,9 @@ class LANStaticAddressing(TypedDict, total=False):
address: Required[str]
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: LANStaticAddressingDHCPRelay
+ dhcp_relay: LANStaticAddressingDhcpRelay
- dhcp_server: LANStaticAddressingDHCPServer
+ dhcp_server: LANStaticAddressingDhcpServer
secondary_address: str
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/lan_update_response.py b/src/cloudflare/types/magic_transit/sites/lan_update_response.py
index 58547b503a42..516f18d2b88f 100644
--- a/src/cloudflare/types/magic_transit/sites/lan_update_response.py
+++ b/src/cloudflare/types/magic_transit/sites/lan_update_response.py
@@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
- "LANStaticAddressingDHCPRelay",
- "LANStaticAddressingDHCPServer",
+ "LANStaticAddressingDhcpRelay",
+ "LANStaticAddressingDhcpServer",
]
@@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None
-class LANStaticAddressingDHCPRelay(BaseModel):
+class LANStaticAddressingDhcpRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""
-class LANStaticAddressingDHCPServer(BaseModel):
+class LANStaticAddressingDhcpServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""
@@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""
- dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None
+ dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
- dhcp_server: Optional[LANStaticAddressingDHCPServer] = None
+ dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
diff --git a/src/cloudflare/types/magic_transit/sites/unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916.py b/src/cloudflare/types/magic_transit/sites/unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916.py
new file mode 100644
index 000000000000..33bf659a4c38
--- /dev/null
+++ b/src/cloudflare/types/magic_transit/sites/unnamed_schema_ref_87fa9e5fe9f6b8d607be1df57340d916.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916"]
+
+UnnamedSchemaRef87fa9e5fe9f6b8d607be1df57340d916 = Literal["tcp", "udp", "icmp"]
diff --git a/src/cloudflare/types/membership_get_response.py b/src/cloudflare/types/membership_get_response.py
deleted file mode 100644
index 58aa5f5943be..000000000000
--- a/src/cloudflare/types/membership_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["MembershipGetResponse"]
-
-MembershipGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/membership_update_response.py b/src/cloudflare/types/membership_update_response.py
deleted file mode 100644
index adcc658f3502..000000000000
--- a/src/cloudflare/types/membership_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["MembershipUpdateResponse"]
-
-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
deleted file mode 100644
index 5d75233e4f83..000000000000
--- a/src/cloudflare/types/origin_ca_certificate_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["OriginCACertificateCreateResponse"]
-
-OriginCACertificateCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/origin_ca_certificate_delete_response.py b/src/cloudflare/types/origin_ca_certificate_delete_response.py
deleted file mode 100644
index ac83d7b288e5..000000000000
--- a/src/cloudflare/types/origin_ca_certificate_delete_response.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# 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/origin_ca_certificate_get_response.py b/src/cloudflare/types/origin_ca_certificate_get_response.py
deleted file mode 100644
index 58f66074e7bd..000000000000
--- a/src/cloudflare/types/origin_ca_certificate_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["OriginCACertificateGetResponse"]
-
-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
deleted file mode 100644
index 29d22ad7a3ba..000000000000
--- a/src/cloudflare/types/origin_post_quantum_encryption_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["OriginPostQuantumEncryptionGetResponse"]
-
-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
deleted file mode 100644
index ecf11d9553f4..000000000000
--- a/src/cloudflare/types/origin_post_quantum_encryption_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["OriginPostQuantumEncryptionUpdateResponse"]
-
-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
deleted file mode 100644
index bc06aca4c107..000000000000
--- a/src/cloudflare/types/origin_tls_client_auth_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["OriginTLSClientAuthCreateResponse"]
-
-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
deleted file mode 100644
index 557dde5710b7..000000000000
--- a/src/cloudflare/types/origin_tls_client_auth_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["OriginTLSClientAuthDeleteResponse"]
-
-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
deleted file mode 100644
index bf0bbe3e2666..000000000000
--- a/src/cloudflare/types/origin_tls_client_auth_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["OriginTLSClientAuthGetResponse"]
-
-OriginTLSClientAuthGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/pagerule_create_response.py b/src/cloudflare/types/pagerule_create_response.py
deleted file mode 100644
index 452edcfe53dd..000000000000
--- a/src/cloudflare/types/pagerule_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["PageruleCreateResponse"]
-
-PageruleCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/pagerule_edit_response.py b/src/cloudflare/types/pagerule_edit_response.py
deleted file mode 100644
index f7f7cbe3634e..000000000000
--- a/src/cloudflare/types/pagerule_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["PageruleEditResponse"]
-
-PageruleEditResponse = Union[str, object]
diff --git a/src/cloudflare/types/pagerule_get_response.py b/src/cloudflare/types/pagerule_get_response.py
deleted file mode 100644
index b279ddf9a809..000000000000
--- a/src/cloudflare/types/pagerule_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["PageruleGetResponse"]
-
-PageruleGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/pagerule_update_response.py b/src/cloudflare/types/pagerule_update_response.py
deleted file mode 100644
index 77c6804af279..000000000000
--- a/src/cloudflare/types/pagerule_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["PageruleUpdateResponse"]
-
-PageruleUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/pages/__init__.py b/src/cloudflare/types/pages/__init__.py
index db6d1876d75d..320be8f66ea6 100644
--- a/src/cloudflare/types/pages/__init__.py
+++ b/src/cloudflare/types/pages/__init__.py
@@ -7,6 +7,4 @@
from .project_edit_params import ProjectEditParams as ProjectEditParams
from .project_create_params import ProjectCreateParams as ProjectCreateParams
from .project_delete_params import ProjectDeleteParams as ProjectDeleteParams
-from .project_edit_response import ProjectEditResponse as ProjectEditResponse
from .pages_deployments_param import PagesDeploymentsParam as PagesDeploymentsParam
-from .project_create_response import ProjectCreateResponse as ProjectCreateResponse
diff --git a/src/cloudflare/types/pages/project_create_response.py b/src/cloudflare/types/pages/project_create_response.py
deleted file mode 100644
index b9fc105a33ab..000000000000
--- a/src/cloudflare/types/pages/project_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ProjectCreateResponse"]
-
-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
deleted file mode 100644
index 3a046d1a9c65..000000000000
--- a/src/cloudflare/types/pages/project_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ProjectEditResponse"]
-
-ProjectEditResponse = Union[List[object], str, object]
diff --git a/src/cloudflare/types/pages/projects/__init__.py b/src/cloudflare/types/pages/projects/__init__.py
index 366cfd847a01..27bab72ec3bb 100644
--- a/src/cloudflare/types/pages/projects/__init__.py
+++ b/src/cloudflare/types/pages/projects/__init__.py
@@ -3,12 +3,9 @@
from __future__ import annotations
from .domain_edit_params import DomainEditParams as DomainEditParams
-from .domain_get_response import DomainGetResponse as DomainGetResponse
from .domain_create_params import DomainCreateParams as DomainCreateParams
from .domain_delete_params import DomainDeleteParams as DomainDeleteParams
-from .domain_edit_response import DomainEditResponse as DomainEditResponse
from .deployment_list_params import DeploymentListParams as DeploymentListParams
-from .domain_create_response import DomainCreateResponse as DomainCreateResponse
from .deployment_retry_params import DeploymentRetryParams as DeploymentRetryParams
from .deployment_create_params import DeploymentCreateParams as DeploymentCreateParams
from .deployment_delete_params import DeploymentDeleteParams as DeploymentDeleteParams
diff --git a/src/cloudflare/types/pages/projects/deployments/history/__init__.py b/src/cloudflare/types/pages/projects/deployments/history/__init__.py
index 22c69408bb04..f8ee8b14b1c9 100644
--- a/src/cloudflare/types/pages/projects/deployments/history/__init__.py
+++ b/src/cloudflare/types/pages/projects/deployments/history/__init__.py
@@ -1,5 +1,3 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
-
-from .log_get_response import LogGetResponse as LogGetResponse
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
deleted file mode 100644
index c5519eb2f4b7..000000000000
--- a/src/cloudflare/types/pages/projects/deployments/history/log_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["LogGetResponse"]
-
-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
deleted file mode 100644
index 6d40d9d8a49c..000000000000
--- a/src/cloudflare/types/pages/projects/domain_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["DomainCreateResponse"]
-
-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
deleted file mode 100644
index b13c4a8c6f9f..000000000000
--- a/src/cloudflare/types/pages/projects/domain_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["DomainEditResponse"]
-
-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
deleted file mode 100644
index 31cc6350778f..000000000000
--- a/src/cloudflare/types/pages/projects/domain_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["DomainGetResponse"]
-
-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
deleted file mode 100644
index 4e660c2b0e09..000000000000
--- a/src/cloudflare/types/queue_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["QueueDeleteResponse"]
-
-QueueDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/queues/__init__.py b/src/cloudflare/types/queues/__init__.py
index fa5698295b98..db0db0d47536 100644
--- a/src/cloudflare/types/queues/__init__.py
+++ b/src/cloudflare/types/queues/__init__.py
@@ -11,5 +11,7 @@
from .consumer_delete_params import ConsumerDeleteParams as ConsumerDeleteParams
from .consumer_update_params import ConsumerUpdateParams as ConsumerUpdateParams
from .consumer_create_response import ConsumerCreateResponse as ConsumerCreateResponse
-from .consumer_delete_response import ConsumerDeleteResponse as ConsumerDeleteResponse
from .consumer_update_response import ConsumerUpdateResponse as ConsumerUpdateResponse
+from .unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5 import (
+ UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5 as UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5,
+)
diff --git a/src/cloudflare/types/queues/consumer_create_response.py b/src/cloudflare/types/queues/consumer_create_response.py
index a873a30a0a44..e613adf94c46 100644
--- a/src/cloudflare/types/queues/consumer_create_response.py
+++ b/src/cloudflare/types/queues/consumer_create_response.py
@@ -2,8 +2,8 @@
from typing import Optional
-from ..shared import UnnamedSchemaRef41
from ..._models import BaseModel
+from .unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5 import UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5
__all__ = ["ConsumerCreateResponse"]
@@ -19,4 +19,4 @@ class ConsumerCreateResponse(BaseModel):
script_name: Optional[object] = None
- settings: Optional[UnnamedSchemaRef41] = None
+ settings: Optional[UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5] = None
diff --git a/src/cloudflare/types/queues/consumer_delete_response.py b/src/cloudflare/types/queues/consumer_delete_response.py
deleted file mode 100644
index 341f83809a07..000000000000
--- a/src/cloudflare/types/queues/consumer_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ConsumerDeleteResponse"]
-
-ConsumerDeleteResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/queues/consumer_get_response.py b/src/cloudflare/types/queues/consumer_get_response.py
index 2c214b4163d4..c4e98fa770dc 100644
--- a/src/cloudflare/types/queues/consumer_get_response.py
+++ b/src/cloudflare/types/queues/consumer_get_response.py
@@ -2,8 +2,8 @@
from typing import List, Optional
-from ..shared import UnnamedSchemaRef41
from ..._models import BaseModel
+from .unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5 import UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5
__all__ = ["ConsumerGetResponse", "ConsumerGetResponseItem"]
@@ -17,7 +17,7 @@ class ConsumerGetResponseItem(BaseModel):
service: Optional[object] = None
- settings: Optional[UnnamedSchemaRef41] = None
+ settings: Optional[UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5] = None
ConsumerGetResponse = List[ConsumerGetResponseItem]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_41.py b/src/cloudflare/types/queues/unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5.py
similarity index 72%
rename from src/cloudflare/types/shared/unnamed_schema_ref_41.py
rename to src/cloudflare/types/queues/unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5.py
index 79b0b5384448..9abe81e38040 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_41.py
+++ b/src/cloudflare/types/queues/unnamed_schema_ref_fbd3a4642487e41594e9af0ccb9a5ca5.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef41"]
+__all__ = ["UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5"]
-class UnnamedSchemaRef41(BaseModel):
+class UnnamedSchemaRefFbd3a4642487e41594e9af0ccb9a5ca5(BaseModel):
batch_size: Optional[float] = None
"""The maximum number of messages to include in a batch"""
diff --git a/src/cloudflare/types/r2/__init__.py b/src/cloudflare/types/r2/__init__.py
index b81647cdd684..56c6f2118e10 100644
--- a/src/cloudflare/types/r2/__init__.py
+++ b/src/cloudflare/types/r2/__init__.py
@@ -8,3 +8,6 @@
from .sippy_update_params import SippyUpdateParams as SippyUpdateParams
from .bucket_create_params import BucketCreateParams as BucketCreateParams
from .sippy_delete_response import SippyDeleteResponse as SippyDeleteResponse
+from .unnamed_schema_ref_6430970563db310f19d39aafe3debd27 import (
+ UnnamedSchemaRef6430970563db310f19d39aafe3debd27 as UnnamedSchemaRef6430970563db310f19d39aafe3debd27,
+)
diff --git a/src/cloudflare/types/r2/r2_sippy.py b/src/cloudflare/types/r2/r2_sippy.py
index c0872613671b..a496acbc962f 100644
--- a/src/cloudflare/types/r2/r2_sippy.py
+++ b/src/cloudflare/types/r2/r2_sippy.py
@@ -5,8 +5,8 @@
from pydantic import Field as FieldInfo
-from ..shared import UnnamedSchemaRef85
from ..._models import BaseModel
+from .unnamed_schema_ref_6430970563db310f19d39aafe3debd27 import UnnamedSchemaRef6430970563db310f19d39aafe3debd27
__all__ = ["R2Sippy", "Destination", "Source"]
@@ -20,7 +20,7 @@ class Destination(BaseModel):
bucket: Optional[str] = None
"""Name of the bucket on the provider"""
- provider: Optional[UnnamedSchemaRef85] = None
+ provider: Optional[UnnamedSchemaRef6430970563db310f19d39aafe3debd27] = None
class Source(BaseModel):
diff --git a/src/cloudflare/types/r2/sippy_update_params.py b/src/cloudflare/types/r2/sippy_update_params.py
index dadca78aca81..f44742c413c2 100644
--- a/src/cloudflare/types/r2/sippy_update_params.py
+++ b/src/cloudflare/types/r2/sippy_update_params.py
@@ -5,8 +5,8 @@
from typing import Union
from typing_extensions import Literal, Required, Annotated, TypedDict
-from ..shared import UnnamedSchemaRef85
from ..._utils import PropertyInfo
+from .unnamed_schema_ref_6430970563db310f19d39aafe3debd27 import UnnamedSchemaRef6430970563db310f19d39aafe3debd27
__all__ = [
"SippyUpdateParams",
@@ -41,7 +41,7 @@ class R2EnableSippyAwsDestination(TypedDict, total=False):
this token to the bucket you're enabling Sippy for.
"""
- provider: UnnamedSchemaRef85
+ provider: UnnamedSchemaRef6430970563db310f19d39aafe3debd27
secret_access_key: Annotated[str, PropertyInfo(alias="secretAccessKey")]
"""
@@ -92,7 +92,7 @@ class R2EnableSippyGcsDestination(TypedDict, total=False):
this token to the bucket you're enabling Sippy for.
"""
- provider: UnnamedSchemaRef85
+ provider: UnnamedSchemaRef6430970563db310f19d39aafe3debd27
secret_access_key: Annotated[str, PropertyInfo(alias="secretAccessKey")]
"""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_119.py b/src/cloudflare/types/r2/unnamed_schema_ref_6430970563db310f19d39aafe3debd27.py
similarity index 50%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_119.py
rename to src/cloudflare/types/r2/unnamed_schema_ref_6430970563db310f19d39aafe3debd27.py
index 635199bcb70b..bce25648743c 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_119.py
+++ b/src/cloudflare/types/r2/unnamed_schema_ref_6430970563db310f19d39aafe3debd27.py
@@ -1,9 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from __future__ import annotations
-
from typing_extensions import Literal
-__all__ = ["UnnamedSchemaRef119"]
+__all__ = ["UnnamedSchemaRef6430970563db310f19d39aafe3debd27"]
-UnnamedSchemaRef119 = Literal["windows", "linux", "mac"]
+UnnamedSchemaRef6430970563db310f19d39aafe3debd27 = Literal["r2"]
diff --git a/src/cloudflare/types/radar/__init__.py b/src/cloudflare/types/radar/__init__.py
index 17ddff69c0ad..85d81453c53c 100644
--- a/src/cloudflare/types/radar/__init__.py
+++ b/src/cloudflare/types/radar/__init__.py
@@ -13,8 +13,6 @@
from .bgp_timeseries_params import BGPTimeseriesParams as BGPTimeseriesParams
from .dataset_list_response import DatasetListResponse as DatasetListResponse
from .search_global_response import SearchGlobalResponse as SearchGlobalResponse
-from .unnamed_schema_ref_149 import UnnamedSchemaRef149 as UnnamedSchemaRef149
-from .unnamed_schema_ref_150 import UnnamedSchemaRef150 as UnnamedSchemaRef150
from .as112_timeseries_params import AS112TimeseriesParams as AS112TimeseriesParams
from .bgp_timeseries_response import BGPTimeseriesResponse as BGPTimeseriesResponse
from .dataset_download_params import DatasetDownloadParams as DatasetDownloadParams
@@ -36,3 +34,9 @@
from .connection_tampering_timeseries_groups_response import (
ConnectionTamperingTimeseriesGroupsResponse as ConnectionTamperingTimeseriesGroupsResponse,
)
+from .unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import (
+ UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c as UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c,
+)
+from .unnamed_schema_ref_853c157ad369010995e35be614e0343f import (
+ UnnamedSchemaRef853c157ad369010995e35be614e0343f as UnnamedSchemaRef853c157ad369010995e35be614e0343f,
+)
diff --git a/src/cloudflare/types/radar/annotations/outage_get_response.py b/src/cloudflare/types/radar/annotations/outage_get_response.py
index 9d96dcf09d5f..c1fc2ad3b058 100644
--- a/src/cloudflare/types/radar/annotations/outage_get_response.py
+++ b/src/cloudflare/types/radar/annotations/outage_get_response.py
@@ -5,7 +5,7 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_106 import UnnamedSchemaRef106
+from ...unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42 import UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42
__all__ = ["OutageGetResponse", "Annotation", "AnnotationASNsDetail", "AnnotationOutage"]
@@ -15,7 +15,7 @@ class AnnotationASNsDetail(BaseModel):
name: str
- locations: Optional[UnnamedSchemaRef106] = None
+ locations: Optional[UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42] = None
class AnnotationOutage(BaseModel):
@@ -37,7 +37,7 @@ class Annotation(BaseModel):
locations: List[str]
- locations_details: List[UnnamedSchemaRef106] = FieldInfo(alias="locationsDetails")
+ locations_details: List[UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42] = FieldInfo(alias="locationsDetails")
outage: AnnotationOutage
diff --git a/src/cloudflare/types/radar/annotations/outage_locations_response.py b/src/cloudflare/types/radar/annotations/outage_locations_response.py
index 108cd4fd9efb..337c1b3a1d86 100644
--- a/src/cloudflare/types/radar/annotations/outage_locations_response.py
+++ b/src/cloudflare/types/radar/annotations/outage_locations_response.py
@@ -3,10 +3,10 @@
from typing import List
from ...._models import BaseModel
-from ...unnamed_schema_ref_160 import UnnamedSchemaRef160
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
__all__ = ["OutageLocationsResponse"]
class OutageLocationsResponse(BaseModel):
- annotations: List[UnnamedSchemaRef160]
+ annotations: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/as112/summary_dnssec_response.py b/src/cloudflare/types/radar/as112/summary_dnssec_response.py
index 0b6a3b537342..4628a6b9405c 100644
--- a/src/cloudflare/types/radar/as112/summary_dnssec_response.py
+++ b/src/cloudflare/types/radar/as112/summary_dnssec_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDNSSECResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/as112/summary_edns_response.py b/src/cloudflare/types/radar/as112/summary_edns_response.py
index c76c9e61aea3..c6a7e65e1fe8 100644
--- a/src/cloudflare/types/radar/as112/summary_edns_response.py
+++ b/src/cloudflare/types/radar/as112/summary_edns_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryEdnsResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/as112/summary_ip_version_response.py b/src/cloudflare/types/radar/as112/summary_ip_version_response.py
index dcf6192bac22..41cc958f2098 100644
--- a/src/cloudflare/types/radar/as112/summary_ip_version_response.py
+++ b/src/cloudflare/types/radar/as112/summary_ip_version_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_128 import UnnamedSchemaRef128
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryIPVersionResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef128
+ summary_0: UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
diff --git a/src/cloudflare/types/radar/as112/summary_protocol_response.py b/src/cloudflare/types/radar/as112/summary_protocol_response.py
index 89974b6e77fd..c1a0b6088834 100644
--- a/src/cloudflare/types/radar/as112/summary_protocol_response.py
+++ b/src/cloudflare/types/radar/as112/summary_protocol_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryProtocolResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/as112/summary_query_type_response.py b/src/cloudflare/types/radar/as112/summary_query_type_response.py
index 28f2264c0cb0..31c5d2d83b05 100644
--- a/src/cloudflare/types/radar/as112/summary_query_type_response.py
+++ b/src/cloudflare/types/radar/as112/summary_query_type_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryQueryTypeResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/as112/summary_response_codes_response.py b/src/cloudflare/types/radar/as112/summary_response_codes_response.py
index 3ee7347128c0..221e6ab4111c 100644
--- a/src/cloudflare/types/radar/as112/summary_response_codes_response.py
+++ b/src/cloudflare/types/radar/as112/summary_response_codes_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryResponseCodesResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/as112/top_dnssec_response.py b/src/cloudflare/types/radar/as112/top_dnssec_response.py
index 366a65a76341..e23797d35abc 100644
--- a/src/cloudflare/types/radar/as112/top_dnssec_response.py
+++ b/src/cloudflare/types/radar/as112/top_dnssec_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopDNSSECResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopDNSSECResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TopDNSSECResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/as112/top_edns_response.py b/src/cloudflare/types/radar/as112/top_edns_response.py
index 55b438684463..ac4b6cdd76b3 100644
--- a/src/cloudflare/types/radar/as112/top_edns_response.py
+++ b/src/cloudflare/types/radar/as112/top_edns_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopEdnsResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopEdnsResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TopEdnsResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/as112/top_ip_version_response.py b/src/cloudflare/types/radar/as112/top_ip_version_response.py
index c755bf8c53a2..21553950ab3b 100644
--- a/src/cloudflare/types/radar/as112/top_ip_version_response.py
+++ b/src/cloudflare/types/radar/as112/top_ip_version_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopIPVersionResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TopIPVersionResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/as112/top_locations_response.py b/src/cloudflare/types/radar/as112/top_locations_response.py
index 71e85b4d3bd4..66bdf7ef2483 100644
--- a/src/cloudflare/types/radar/as112/top_locations_response.py
+++ b/src/cloudflare/types/radar/as112/top_locations_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopLocationsResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopLocationsResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TopLocationsResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/as112_timeseries_response.py b/src/cloudflare/types/radar/as112_timeseries_response.py
index 135d6e48455a..920fbe418305 100644
--- a/src/cloudflare/types/radar/as112_timeseries_response.py
+++ b/src/cloudflare/types/radar/as112_timeseries_response.py
@@ -6,15 +6,15 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_129 import UnnamedSchemaRef129
-from ..unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
+from ..unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["AS112TimeseriesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -22,7 +22,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
@@ -32,4 +32,4 @@ class Meta(BaseModel):
class AS112TimeseriesResponse(BaseModel):
meta: Meta
- serie_0: UnnamedSchemaRef129
+ serie_0: UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py
index d788c3db8b54..bfe395d28eeb 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_bitrate_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryBitrateResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py
index 72949bd7c731..da304fd93913 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_duration_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDurationResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py
index a0ffd10ce0da..baabda38abc8 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_get_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryGetResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py
index 68ef0940e702..445615e9fe32 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_ip_version_response.py
@@ -5,20 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
+__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -27,13 +28,7 @@ class Meta(BaseModel):
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Summary0(BaseModel):
- i_pv4: str = FieldInfo(alias="IPv4")
-
- i_pv6: str = FieldInfo(alias="IPv6")
-
-
class SummaryIPVersionResponse(BaseModel):
meta: Meta
- summary_0: Summary0
+ summary_0: UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py
index ffd3a83694cf..78b85462da7c 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_protocol_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryProtocolResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py b/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py
index bab09f402cf3..2038e5bfd0f1 100644
--- a/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/summary_vector_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryVectorResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py
index d09c83880f98..2e0ddc156d12 100644
--- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_get_response.py
@@ -6,14 +6,14 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TimeseriesGroupGetResponse", "Meta", "MetaConfidenceInfo", "Serie0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -21,7 +21,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_industry_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_industry_response.py
index d6502fa2086f..eeccd218dbe6 100644
--- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_industry_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_industry_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ....unnamed_schema_ref_153 import UnnamedSchemaRef153
+from ....unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
__all__ = ["TimeseriesGroupIndustryResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupIndustryResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef153
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_ip_version_response.py
index 94739d5ed99f..35daaa00f469 100644
--- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_ip_version_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_ip_version_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ....unnamed_schema_ref_53 import UnnamedSchemaRef53
+from ....unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a import UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
__all__ = ["TimeseriesGroupIPVersionResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupIPVersionResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef53
+ serie_0: UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vector_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vector_response.py
index 0806dc76c9f1..feeedbd1898c 100644
--- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vector_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vector_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ....._models import BaseModel
-
-__all__ = ["TimeseriesGroupVectorResponse", "Serie0"]
+from ....._models import BaseModel
+from ....unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupVectorResponse"]
class TimeseriesGroupVectorResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vertical_response.py b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vertical_response.py
index 5f3bb1a0608a..c89269cb4c1b 100644
--- a/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vertical_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/timeseries_group_vertical_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ....._models import BaseModel
-
-__all__ = ["TimeseriesGroupVerticalResponse", "Serie0"]
+from ....._models import BaseModel
+from ....unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupVerticalResponse"]
class TimeseriesGroupVerticalResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py b/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py
index 829edc9ba48f..97189b456a4f 100644
--- a/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/top/location_origin_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["LocationOriginResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py b/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py
index 817f3e65a716..6b18481f6d4a 100644
--- a/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/top/location_target_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["LocationTargetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py b/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py
index df240597a80f..2b23f662d4ae 100644
--- a/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/top_attacks_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopAttacksResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py b/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py
index e9b5fae86c2f..c6fe4b23fd52 100644
--- a/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/top_industry_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ....shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopIndustryResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopIndustryResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopIndustryResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py b/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py
index eb289821d39d..b2b14bee5a79 100644
--- a/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3/top_vertical_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ....shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopVerticalResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopVerticalResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopVerticalResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/attacks/layer3_timeseries_response.py b/src/cloudflare/types/radar/attacks/layer3_timeseries_response.py
index 5eabca1efe4b..297d97caa5d7 100644
--- a/src/cloudflare/types/radar/attacks/layer3_timeseries_response.py
+++ b/src/cloudflare/types/radar/attacks/layer3_timeseries_response.py
@@ -1,19 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import List
-from ...._models import BaseModel
-
-__all__ = ["Layer3TimeseriesResponse", "Serie0"]
+from ...._models import BaseModel
+from ...unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
-class Serie0(BaseModel):
- timestamps: List[str]
-
- values: List[str]
+__all__ = ["Layer3TimeseriesResponse"]
class Layer3TimeseriesResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py
index d462dd3c8859..cedf6087c1cd 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_get_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryGetResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py
index 4c82fb7d53ad..d0bfd20f4a3c 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_http_method_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryHTTPMethodResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py
index 4b2135808fba..3eea8da72ffd 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_http_version_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryHTTPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py
index 68ef0940e702..445615e9fe32 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_ip_version_response.py
@@ -5,20 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
+__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -27,13 +28,7 @@ class Meta(BaseModel):
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Summary0(BaseModel):
- i_pv4: str = FieldInfo(alias="IPv4")
-
- i_pv6: str = FieldInfo(alias="IPv6")
-
-
class SummaryIPVersionResponse(BaseModel):
meta: Meta
- summary_0: Summary0
+ summary_0: UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py
index 31c74627f37e..59c3b2d52d94 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_managed_rules_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryManagedRulesResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py b/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py
index c7140fffaf33..6a8870f8fa35 100644
--- a/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/summary_mitigation_product_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryMitigationProductResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py
index a0a421b67f41..b390f2782284 100644
--- a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_get_response.py
@@ -6,14 +6,14 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TimeseriesGroupGetResponse", "Meta", "MetaConfidenceInfo", "Serie0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -21,7 +21,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_industry_response.py b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_industry_response.py
index d6502fa2086f..eeccd218dbe6 100644
--- a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_industry_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_industry_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ....unnamed_schema_ref_153 import UnnamedSchemaRef153
+from ....unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
__all__ = ["TimeseriesGroupIndustryResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupIndustryResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef153
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_ip_version_response.py b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_ip_version_response.py
index 136fc4da3632..35daaa00f469 100644
--- a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_ip_version_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_ip_version_response.py
@@ -1,23 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import List
-from pydantic import Field as FieldInfo
from ....._models import BaseModel
+from ....unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a import UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
-__all__ = ["TimeseriesGroupIPVersionResponse", "Serie0"]
-
-
-class Serie0(BaseModel):
- i_pv4: List[str] = FieldInfo(alias="IPv4")
-
- i_pv6: List[str] = FieldInfo(alias="IPv6")
-
- timestamps: List[str]
+__all__ = ["TimeseriesGroupIPVersionResponse"]
class TimeseriesGroupIPVersionResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
diff --git a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_vertical_response.py b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_vertical_response.py
index 5f3bb1a0608a..c89269cb4c1b 100644
--- a/src/cloudflare/types/radar/attacks/layer7/timeseries_group_vertical_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/timeseries_group_vertical_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ....._models import BaseModel
-
-__all__ = ["TimeseriesGroupVerticalResponse", "Serie0"]
+from ....._models import BaseModel
+from ....unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupVerticalResponse"]
class TimeseriesGroupVerticalResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py b/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py
index 0ba1fa446bf0..d28564e70e9f 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top/ase_origin_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["AseOriginResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py b/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py
index 829edc9ba48f..97189b456a4f 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top/location_origin_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["LocationOriginResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py b/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py
index 817f3e65a716..6b18481f6d4a 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top/location_target_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["LocationTargetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py b/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py
index bb1d6898114d..24b42205295c 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top_attacks_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopAttacksResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py b/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py
index e9b5fae86c2f..c6fe4b23fd52 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top_industry_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ....shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopIndustryResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopIndustryResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopIndustryResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py b/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py
index eb289821d39d..b2b14bee5a79 100644
--- a/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7/top_vertical_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ....shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopVerticalResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopVerticalResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopVerticalResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py b/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py
index 64f39d6a7359..3f432b1776a3 100644
--- a/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py
+++ b/src/cloudflare/types/radar/attacks/layer7_timeseries_response.py
@@ -6,15 +6,15 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_129 import UnnamedSchemaRef129
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["Layer7TimeseriesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -22,7 +22,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
@@ -32,4 +32,4 @@ class Meta(BaseModel):
class Layer7TimeseriesResponse(BaseModel):
meta: Meta
- serie_0: UnnamedSchemaRef129
+ serie_0: UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
diff --git a/src/cloudflare/types/radar/bgp/route_moas_response.py b/src/cloudflare/types/radar/bgp/route_moas_response.py
index 1bf42788fe6a..d6198d2cab0d 100644
--- a/src/cloudflare/types/radar/bgp/route_moas_response.py
+++ b/src/cloudflare/types/radar/bgp/route_moas_response.py
@@ -3,7 +3,7 @@
from typing import List
from ...._models import BaseModel
-from ...unnamed_schema_ref_130 import UnnamedSchemaRef130
+from ...unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
__all__ = ["RouteMoasResponse", "Moa", "MoaOrigin"]
@@ -23,6 +23,6 @@ class Moa(BaseModel):
class RouteMoasResponse(BaseModel):
- meta: UnnamedSchemaRef130
+ meta: UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
moas: List[Moa]
diff --git a/src/cloudflare/types/radar/bgp/route_pfx2as_response.py b/src/cloudflare/types/radar/bgp/route_pfx2as_response.py
index de9974ab00b9..1cb103bfd84f 100644
--- a/src/cloudflare/types/radar/bgp/route_pfx2as_response.py
+++ b/src/cloudflare/types/radar/bgp/route_pfx2as_response.py
@@ -3,7 +3,7 @@
from typing import List
from ...._models import BaseModel
-from ...unnamed_schema_ref_130 import UnnamedSchemaRef130
+from ...unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
__all__ = ["RoutePfx2asResponse", "PrefixOrigin"]
@@ -19,6 +19,6 @@ class PrefixOrigin(BaseModel):
class RoutePfx2asResponse(BaseModel):
- meta: UnnamedSchemaRef130
+ meta: UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
prefix_origins: List[PrefixOrigin]
diff --git a/src/cloudflare/types/radar/bgp/route_stats_response.py b/src/cloudflare/types/radar/bgp/route_stats_response.py
index fd4086d34c1c..af4a2cf05abf 100644
--- a/src/cloudflare/types/radar/bgp/route_stats_response.py
+++ b/src/cloudflare/types/radar/bgp/route_stats_response.py
@@ -3,7 +3,7 @@
from ...._models import BaseModel
-from ...unnamed_schema_ref_130 import UnnamedSchemaRef130
+from ...unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
__all__ = ["RouteStatsResponse", "Stats"]
@@ -47,6 +47,6 @@ class Stats(BaseModel):
class RouteStatsResponse(BaseModel):
- meta: UnnamedSchemaRef130
+ meta: UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
stats: Stats
diff --git a/src/cloudflare/types/radar/bgp/route_timeseries_response.py b/src/cloudflare/types/radar/bgp/route_timeseries_response.py
index c2772e0d9f40..3fb88afc7e3e 100644
--- a/src/cloudflare/types/radar/bgp/route_timeseries_response.py
+++ b/src/cloudflare/types/radar/bgp/route_timeseries_response.py
@@ -6,13 +6,13 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["RouteTimeseriesResponse", "Meta", "SerieIPV4_24s", "SerieIPV6_48s"]
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
class SerieIPV4_24s(BaseModel):
diff --git a/src/cloudflare/types/radar/bgp/top/ase_get_response.py b/src/cloudflare/types/radar/bgp/top/ase_get_response.py
index 0df19972f76f..440857b864b3 100644
--- a/src/cloudflare/types/radar/bgp/top/ase_get_response.py
+++ b/src/cloudflare/types/radar/bgp/top/ase_get_response.py
@@ -5,13 +5,13 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["AseGetResponse", "Meta", "Top0"]
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
class Top0(BaseModel):
diff --git a/src/cloudflare/types/radar/bgp/top/ase_prefixes_response.py b/src/cloudflare/types/radar/bgp/top/ase_prefixes_response.py
index bea133a39187..30dc155968d3 100644
--- a/src/cloudflare/types/radar/bgp/top/ase_prefixes_response.py
+++ b/src/cloudflare/types/radar/bgp/top/ase_prefixes_response.py
@@ -3,7 +3,7 @@
from typing import List
from ....._models import BaseModel
-from ....unnamed_schema_ref_130 import UnnamedSchemaRef130
+from ....unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
__all__ = ["AsePrefixesResponse", "ASN"]
@@ -21,4 +21,4 @@ class ASN(BaseModel):
class AsePrefixesResponse(BaseModel):
asns: List[ASN]
- meta: UnnamedSchemaRef130
+ meta: UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
diff --git a/src/cloudflare/types/radar/bgp/top_prefixes_response.py b/src/cloudflare/types/radar/bgp/top_prefixes_response.py
index 8b0110b439ef..714936b9de6d 100644
--- a/src/cloudflare/types/radar/bgp/top_prefixes_response.py
+++ b/src/cloudflare/types/radar/bgp/top_prefixes_response.py
@@ -5,13 +5,13 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopPrefixesResponse", "Meta", "Top0"]
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
class Top0(BaseModel):
diff --git a/src/cloudflare/types/radar/bgp_timeseries_response.py b/src/cloudflare/types/radar/bgp_timeseries_response.py
index 415c142e1574..a421fd235d13 100644
--- a/src/cloudflare/types/radar/bgp_timeseries_response.py
+++ b/src/cloudflare/types/radar/bgp_timeseries_response.py
@@ -6,15 +6,15 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_129 import UnnamedSchemaRef129
-from ..unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
+from ..unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["BGPTimeseriesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -22,7 +22,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
@@ -32,4 +32,4 @@ class Meta(BaseModel):
class BGPTimeseriesResponse(BaseModel):
meta: Meta
- serie_0: UnnamedSchemaRef129
+ serie_0: UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
diff --git a/src/cloudflare/types/radar/connection_tampering_summary_response.py b/src/cloudflare/types/radar/connection_tampering_summary_response.py
index 6ba18b4b2e9a..cd6ce738bb23 100644
--- a/src/cloudflare/types/radar/connection_tampering_summary_response.py
+++ b/src/cloudflare/types/radar/connection_tampering_summary_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["ConnectionTamperingSummaryResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
diff --git a/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py b/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py
index 79c043e71434..6198cb927858 100644
--- a/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py
+++ b/src/cloudflare/types/radar/connection_tampering_timeseries_groups_response.py
@@ -6,14 +6,14 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["ConnectionTamperingTimeseriesGroupsResponse", "Meta", "MetaConfidenceInfo", "Serie0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -21,7 +21,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/dns/top_ases_response.py b/src/cloudflare/types/radar/dns/top_ases_response.py
index 2b4023d32700..4c33c0968d71 100644
--- a/src/cloudflare/types/radar/dns/top_ases_response.py
+++ b/src/cloudflare/types/radar/dns/top_ases_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_154 import UnnamedSchemaRef154
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopAsesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
@@ -27,4 +27,4 @@ class Meta(BaseModel):
class TopAsesResponse(BaseModel):
meta: Meta
- top_0: List[UnnamedSchemaRef154]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/dns/top_locations_response.py b/src/cloudflare/types/radar/dns/top_locations_response.py
index 37979f877013..3b5ec63c95c1 100644
--- a/src/cloudflare/types/radar/dns/top_locations_response.py
+++ b/src/cloudflare/types/radar/dns/top_locations_response.py
@@ -5,33 +5,26 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopLocationsResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopLocationsResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TopLocationsResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/email/routing/summary_arc_response.py b/src/cloudflare/types/radar/email/routing/summary_arc_response.py
index edb300cae5bb..2091a260afb4 100644
--- a/src/cloudflare/types/radar/email/routing/summary_arc_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_arc_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryARCResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryARCResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/routing/summary_dkim_response.py b/src/cloudflare/types/radar/email/routing/summary_dkim_response.py
index 59245dc61edf..1f5a9ca961f6 100644
--- a/src/cloudflare/types/radar/email/routing/summary_dkim_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_dkim_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDKIMResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryDKIMResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py b/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py
index 926bf9e3b2af..3baae7d8e1c9 100644
--- a/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_dmarc_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDMARCResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryDMARCResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py b/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py
index 76626ac5f3a0..9a7a9574e14b 100644
--- a/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_encrypted_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryEncryptedResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py b/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py
index 68ef0940e702..445615e9fe32 100644
--- a/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_ip_version_response.py
@@ -5,20 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
+__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -27,13 +28,7 @@ class Meta(BaseModel):
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Summary0(BaseModel):
- i_pv4: str = FieldInfo(alias="IPv4")
-
- i_pv6: str = FieldInfo(alias="IPv6")
-
-
class SummaryIPVersionResponse(BaseModel):
meta: Meta
- summary_0: Summary0
+ summary_0: UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
diff --git a/src/cloudflare/types/radar/email/routing/summary_spf_response.py b/src/cloudflare/types/radar/email/routing/summary_spf_response.py
index a059e86c9595..672941a7b6ee 100644
--- a/src/cloudflare/types/radar/email/routing/summary_spf_response.py
+++ b/src/cloudflare/types/radar/email/routing/summary_spf_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummarySPFResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummarySPFResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/routing/timeseries_group_arc_response.py b/src/cloudflare/types/radar/email/routing/timeseries_group_arc_response.py
index ee4cbc32d3fb..679eaec5a615 100644
--- a/src/cloudflare/types/radar/email/routing/timeseries_group_arc_response.py
+++ b/src/cloudflare/types/radar/email/routing/timeseries_group_arc_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupARCResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupARCResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/routing/timeseries_group_dkim_response.py b/src/cloudflare/types/radar/email/routing/timeseries_group_dkim_response.py
index 8ce873703289..46f5edf858b5 100644
--- a/src/cloudflare/types/radar/email/routing/timeseries_group_dkim_response.py
+++ b/src/cloudflare/types/radar/email/routing/timeseries_group_dkim_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupDKIMResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupDKIMResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/routing/timeseries_group_dmarc_response.py b/src/cloudflare/types/radar/email/routing/timeseries_group_dmarc_response.py
index 6e8593deb0ed..1a54f76e8787 100644
--- a/src/cloudflare/types/radar/email/routing/timeseries_group_dmarc_response.py
+++ b/src/cloudflare/types/radar/email/routing/timeseries_group_dmarc_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupDMARCResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupDMARCResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/routing/timeseries_group_spf_response.py b/src/cloudflare/types/radar/email/routing/timeseries_group_spf_response.py
index e7ffc4790c0b..abda4ae300a4 100644
--- a/src/cloudflare/types/radar/email/routing/timeseries_group_spf_response.py
+++ b/src/cloudflare/types/radar/email/routing/timeseries_group_spf_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupSPFResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupSPFResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/security/summary_arc_response.py b/src/cloudflare/types/radar/email/security/summary_arc_response.py
index edb300cae5bb..2091a260afb4 100644
--- a/src/cloudflare/types/radar/email/security/summary_arc_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_arc_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryARCResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryARCResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/security/summary_dkim_response.py b/src/cloudflare/types/radar/email/security/summary_dkim_response.py
index 59245dc61edf..1f5a9ca961f6 100644
--- a/src/cloudflare/types/radar/email/security/summary_dkim_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_dkim_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDKIMResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryDKIMResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/security/summary_dmarc_response.py b/src/cloudflare/types/radar/email/security/summary_dmarc_response.py
index 926bf9e3b2af..3baae7d8e1c9 100644
--- a/src/cloudflare/types/radar/email/security/summary_dmarc_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_dmarc_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDMARCResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummaryDMARCResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/security/summary_malicious_response.py b/src/cloudflare/types/radar/email/security/summary_malicious_response.py
index 47e7b2debe7d..68c05dacdb50 100644
--- a/src/cloudflare/types/radar/email/security/summary_malicious_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_malicious_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryMaliciousResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/security/summary_spam_response.py b/src/cloudflare/types/radar/email/security/summary_spam_response.py
index 9083340bd8c8..89e0abf966de 100644
--- a/src/cloudflare/types/radar/email/security/summary_spam_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_spam_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummarySpamResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/security/summary_spf_response.py b/src/cloudflare/types/radar/email/security/summary_spf_response.py
index a059e86c9595..672941a7b6ee 100644
--- a/src/cloudflare/types/radar/email/security/summary_spf_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_spf_response.py
@@ -5,21 +5,21 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ...unnamed_schema_ref_149 import UnnamedSchemaRef149
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_853c157ad369010995e35be614e0343f import UnnamedSchemaRef853c157ad369010995e35be614e0343f
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummarySPFResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -31,4 +31,4 @@ class Meta(BaseModel):
class SummarySPFResponse(BaseModel):
meta: Meta
- summary_0: UnnamedSchemaRef149
+ summary_0: UnnamedSchemaRef853c157ad369010995e35be614e0343f
diff --git a/src/cloudflare/types/radar/email/security/summary_spoof_response.py b/src/cloudflare/types/radar/email/security/summary_spoof_response.py
index 7e4b407b586b..557a55f1a36a 100644
--- a/src/cloudflare/types/radar/email/security/summary_spoof_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_spoof_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummarySpoofResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/security/summary_threat_category_response.py b/src/cloudflare/types/radar/email/security/summary_threat_category_response.py
index 184e587a4fe3..2660e88ad410 100644
--- a/src/cloudflare/types/radar/email/security/summary_threat_category_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_threat_category_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryThreatCategoryResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/security/summary_tls_version_response.py b/src/cloudflare/types/radar/email/security/summary_tls_version_response.py
index f19982681bf8..a594b634bd93 100644
--- a/src/cloudflare/types/radar/email/security/summary_tls_version_response.py
+++ b/src/cloudflare/types/radar/email/security/summary_tls_version_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryTLSVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/email/security/timeseries_group_arc_response.py b/src/cloudflare/types/radar/email/security/timeseries_group_arc_response.py
index ee4cbc32d3fb..679eaec5a615 100644
--- a/src/cloudflare/types/radar/email/security/timeseries_group_arc_response.py
+++ b/src/cloudflare/types/radar/email/security/timeseries_group_arc_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupARCResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupARCResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/security/timeseries_group_dkim_response.py b/src/cloudflare/types/radar/email/security/timeseries_group_dkim_response.py
index 8ce873703289..46f5edf858b5 100644
--- a/src/cloudflare/types/radar/email/security/timeseries_group_dkim_response.py
+++ b/src/cloudflare/types/radar/email/security/timeseries_group_dkim_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupDKIMResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupDKIMResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/security/timeseries_group_dmarc_response.py b/src/cloudflare/types/radar/email/security/timeseries_group_dmarc_response.py
index 6e8593deb0ed..1a54f76e8787 100644
--- a/src/cloudflare/types/radar/email/security/timeseries_group_dmarc_response.py
+++ b/src/cloudflare/types/radar/email/security/timeseries_group_dmarc_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupDMARCResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupDMARCResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/security/timeseries_group_spf_response.py b/src/cloudflare/types/radar/email/security/timeseries_group_spf_response.py
index e7ffc4790c0b..abda4ae300a4 100644
--- a/src/cloudflare/types/radar/email/security/timeseries_group_spf_response.py
+++ b/src/cloudflare/types/radar/email/security/timeseries_group_spf_response.py
@@ -3,7 +3,7 @@
from ....._models import BaseModel
-from ...unnamed_schema_ref_150 import UnnamedSchemaRef150
+from ...unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c import UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
__all__ = ["TimeseriesGroupSPFResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupSPFResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef150
+ serie_0: UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c
diff --git a/src/cloudflare/types/radar/email/security/top/tld_get_response.py b/src/cloudflare/types/radar/email/security/top/tld_get_response.py
index ffef1a50ed59..49ef0b7a363c 100644
--- a/src/cloudflare/types/radar/email/security/top/tld_get_response.py
+++ b/src/cloudflare/types/radar/email/security/top/tld_get_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from .....shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ......_models import BaseModel
-from .....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from .....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from .....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from .....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TldGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TldGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TldGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py
index 6bc6d0c566d8..deb4cc5dafe6 100644
--- a/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py
+++ b/src/cloudflare/types/radar/email/security/top/tlds/malicious_get_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ......shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ......._models import BaseModel
-from ......unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ......unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ......unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ......unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["MaliciousGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["MaliciousGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class MaliciousGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py
index 3dd7df26857c..7e8ff1f3546e 100644
--- a/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py
+++ b/src/cloudflare/types/radar/email/security/top/tlds/spam_get_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ......shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ......._models import BaseModel
-from ......unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ......unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ......unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ......unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SpamGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["SpamGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class SpamGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py b/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py
index 659fe5882416..50a0d8f35290 100644
--- a/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py
+++ b/src/cloudflare/types/radar/email/security/top/tlds/spoof_get_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ......shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ......._models import BaseModel
-from ......unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ......unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ......unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ......unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SpoofGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["SpoofGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class SpoofGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/entities/asn_rel_response.py b/src/cloudflare/types/radar/entities/asn_rel_response.py
index c17cce12b080..294e270df139 100644
--- a/src/cloudflare/types/radar/entities/asn_rel_response.py
+++ b/src/cloudflare/types/radar/entities/asn_rel_response.py
@@ -3,7 +3,7 @@
from typing import List
from ...._models import BaseModel
-from ...unnamed_schema_ref_130 import UnnamedSchemaRef130
+from ...unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7 import UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
__all__ = ["ASNRelResponse", "Rel"]
@@ -25,6 +25,6 @@ class Rel(BaseModel):
class ASNRelResponse(BaseModel):
- meta: UnnamedSchemaRef130
+ meta: UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7
rels: List[Rel]
diff --git a/src/cloudflare/types/radar/http/ase_get_response.py b/src/cloudflare/types/radar/http/ase_get_response.py
index 991aab1e32b4..32d7b397e00b 100644
--- a/src/cloudflare/types/radar/http/ase_get_response.py
+++ b/src/cloudflare/types/radar/http/ase_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["AseGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["AseGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class AseGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/bot_class_get_response.py b/src/cloudflare/types/radar/http/ases/bot_class_get_response.py
index 0366924b266a..41e76082e87d 100644
--- a/src/cloudflare/types/radar/http/ases/bot_class_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/bot_class_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["BotClassGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["BotClassGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class BotClassGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/device_type_get_response.py b/src/cloudflare/types/radar/http/ases/device_type_get_response.py
index 7307655bf070..aaf6bcc2d84c 100644
--- a/src/cloudflare/types/radar/http/ases/device_type_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/device_type_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["DeviceTypeGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["DeviceTypeGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class DeviceTypeGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/http_method_get_response.py b/src/cloudflare/types/radar/http/ases/http_method_get_response.py
index 9f988b1c4c8a..7aaece320138 100644
--- a/src/cloudflare/types/radar/http/ases/http_method_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/http_method_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["HTTPMethodGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["HTTPMethodGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class HTTPMethodGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py b/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py
index 6cd7122cc444..10c3a5fe44be 100644
--- a/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/http_protocol_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["HTTPProtocolGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["HTTPProtocolGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class HTTPProtocolGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/ip_version_get_response.py b/src/cloudflare/types/radar/http/ases/ip_version_get_response.py
index d84c63cb5372..098799701572 100644
--- a/src/cloudflare/types/radar/http/ases/ip_version_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/ip_version_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["IPVersionGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["IPVersionGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class IPVersionGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/os_get_response.py b/src/cloudflare/types/radar/http/ases/os_get_response.py
index 8a4d759bdba9..ea444f2c317a 100644
--- a/src/cloudflare/types/radar/http/ases/os_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/os_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["OSGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["OSGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class OSGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/ases/tls_version_get_response.py b/src/cloudflare/types/radar/http/ases/tls_version_get_response.py
index 90e75588dde7..974f63510f00 100644
--- a/src/cloudflare/types/radar/http/ases/tls_version_get_response.py
+++ b/src/cloudflare/types/radar/http/ases/tls_version_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_4124a22436f90127c7fa2c4543219752 import UnnamedSchemaRef4124a22436f90127c7fa2c4543219752
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TLSVersionGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TLSVersionGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_asn: int = FieldInfo(alias="clientASN")
-
- client_as_name: str = FieldInfo(alias="clientASName")
-
- value: str
-
-
class TLSVersionGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef4124a22436f90127c7fa2c4543219752]
diff --git a/src/cloudflare/types/radar/http/location_get_response.py b/src/cloudflare/types/radar/http/location_get_response.py
index fcaa711580e5..c036caf59532 100644
--- a/src/cloudflare/types/radar/http/location_get_response.py
+++ b/src/cloudflare/types/radar/http/location_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["LocationGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["LocationGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class LocationGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/bot_class_get_response.py b/src/cloudflare/types/radar/http/locations/bot_class_get_response.py
index 623fd2ad2308..0b292313f0f8 100644
--- a/src/cloudflare/types/radar/http/locations/bot_class_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/bot_class_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["BotClassGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["BotClassGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class BotClassGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/device_type_get_response.py b/src/cloudflare/types/radar/http/locations/device_type_get_response.py
index db1cb2653028..8b98a364f059 100644
--- a/src/cloudflare/types/radar/http/locations/device_type_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/device_type_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["DeviceTypeGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["DeviceTypeGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class DeviceTypeGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/http_method_get_response.py b/src/cloudflare/types/radar/http/locations/http_method_get_response.py
index 7fcaf80b0a13..0f1112dfcf05 100644
--- a/src/cloudflare/types/radar/http/locations/http_method_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/http_method_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["HTTPMethodGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["HTTPMethodGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class HTTPMethodGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py b/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py
index 77f6eb8eba1b..45caf371bd9b 100644
--- a/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/http_protocol_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["HTTPProtocolGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["HTTPProtocolGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class HTTPProtocolGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/ip_version_get_response.py b/src/cloudflare/types/radar/http/locations/ip_version_get_response.py
index 36000b2e8633..dfdb4200eafd 100644
--- a/src/cloudflare/types/radar/http/locations/ip_version_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/ip_version_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["IPVersionGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["IPVersionGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class IPVersionGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/os_get_response.py b/src/cloudflare/types/radar/http/locations/os_get_response.py
index 7efa823fb35f..3a119e14240b 100644
--- a/src/cloudflare/types/radar/http/locations/os_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/os_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["OSGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["OSGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class OSGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/locations/tls_version_get_response.py b/src/cloudflare/types/radar/http/locations/tls_version_get_response.py
index c7158ca7abf1..80c9da13a9d1 100644
--- a/src/cloudflare/types/radar/http/locations/tls_version_get_response.py
+++ b/src/cloudflare/types/radar/http/locations/tls_version_get_response.py
@@ -5,35 +5,28 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TLSVersionGetResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TLSVersionGetResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
-
- client_country_name: str = FieldInfo(alias="clientCountryName")
-
- value: str
-
-
class TLSVersionGetResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09]
diff --git a/src/cloudflare/types/radar/http/summary_bot_class_response.py b/src/cloudflare/types/radar/http/summary_bot_class_response.py
index 14a06b34331a..24529ffe49c8 100644
--- a/src/cloudflare/types/radar/http/summary_bot_class_response.py
+++ b/src/cloudflare/types/radar/http/summary_bot_class_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryBotClassResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/summary_device_type_response.py b/src/cloudflare/types/radar/http/summary_device_type_response.py
index 953aba81e3c3..977d84541462 100644
--- a/src/cloudflare/types/radar/http/summary_device_type_response.py
+++ b/src/cloudflare/types/radar/http/summary_device_type_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryDeviceTypeResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/summary_http_protocol_response.py b/src/cloudflare/types/radar/http/summary_http_protocol_response.py
index 8e8bc4436c76..e402b3460dc5 100644
--- a/src/cloudflare/types/radar/http/summary_http_protocol_response.py
+++ b/src/cloudflare/types/radar/http/summary_http_protocol_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryHTTPProtocolResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/summary_http_version_response.py b/src/cloudflare/types/radar/http/summary_http_version_response.py
index 52031504363d..7c63759f9ac8 100644
--- a/src/cloudflare/types/radar/http/summary_http_version_response.py
+++ b/src/cloudflare/types/radar/http/summary_http_version_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryHTTPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/summary_ip_version_response.py b/src/cloudflare/types/radar/http/summary_ip_version_response.py
index cdfb6c0e58c6..41cc958f2098 100644
--- a/src/cloudflare/types/radar/http/summary_ip_version_response.py
+++ b/src/cloudflare/types/radar/http/summary_ip_version_response.py
@@ -5,20 +5,21 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297 import UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
+__all__ = ["SummaryIPVersionResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
@@ -27,13 +28,7 @@ class Meta(BaseModel):
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Summary0(BaseModel):
- i_pv4: str = FieldInfo(alias="IPv4")
-
- i_pv6: str = FieldInfo(alias="IPv6")
-
-
class SummaryIPVersionResponse(BaseModel):
meta: Meta
- summary_0: Summary0
+ summary_0: UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297
diff --git a/src/cloudflare/types/radar/http/summary_os_response.py b/src/cloudflare/types/radar/http/summary_os_response.py
index 201368d5ed62..5252f6cb46bb 100644
--- a/src/cloudflare/types/radar/http/summary_os_response.py
+++ b/src/cloudflare/types/radar/http/summary_os_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryOSResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/summary_tls_version_response.py b/src/cloudflare/types/radar/http/summary_tls_version_response.py
index 7da9bc236092..444d0a1665f3 100644
--- a/src/cloudflare/types/radar/http/summary_tls_version_response.py
+++ b/src/cloudflare/types/radar/http/summary_tls_version_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SummaryTLSVersionResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/http/timeseries_group_browser_family_response.py b/src/cloudflare/types/radar/http/timeseries_group_browser_family_response.py
index 57758e6ca146..504eb29f9b6d 100644
--- a/src/cloudflare/types/radar/http/timeseries_group_browser_family_response.py
+++ b/src/cloudflare/types/radar/http/timeseries_group_browser_family_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ...._models import BaseModel
-
-__all__ = ["TimeseriesGroupBrowserFamilyResponse", "Serie0"]
+from ...._models import BaseModel
+from ...unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupBrowserFamilyResponse"]
class TimeseriesGroupBrowserFamilyResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/http/timeseries_group_browser_response.py b/src/cloudflare/types/radar/http/timeseries_group_browser_response.py
index fd39b292fe39..571b75ec9c49 100644
--- a/src/cloudflare/types/radar/http/timeseries_group_browser_response.py
+++ b/src/cloudflare/types/radar/http/timeseries_group_browser_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ...._models import BaseModel
-
-__all__ = ["TimeseriesGroupBrowserResponse", "Serie0"]
+from ...._models import BaseModel
+from ...unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupBrowserResponse"]
class TimeseriesGroupBrowserResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/http/timeseries_group_ip_version_response.py b/src/cloudflare/types/radar/http/timeseries_group_ip_version_response.py
index f35f3bbef090..567e0a53096d 100644
--- a/src/cloudflare/types/radar/http/timeseries_group_ip_version_response.py
+++ b/src/cloudflare/types/radar/http/timeseries_group_ip_version_response.py
@@ -3,7 +3,7 @@
from ...._models import BaseModel
-from ...unnamed_schema_ref_53 import UnnamedSchemaRef53
+from ...unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a import UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
__all__ = ["TimeseriesGroupIPVersionResponse"]
@@ -11,4 +11,4 @@
class TimeseriesGroupIPVersionResponse(BaseModel):
meta: object
- serie_0: UnnamedSchemaRef53
+ serie_0: UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a
diff --git a/src/cloudflare/types/radar/http/timeseries_group_os_response.py b/src/cloudflare/types/radar/http/timeseries_group_os_response.py
index 502c0a8a249a..ca7b67d8132c 100644
--- a/src/cloudflare/types/radar/http/timeseries_group_os_response.py
+++ b/src/cloudflare/types/radar/http/timeseries_group_os_response.py
@@ -1,24 +1,14 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import TYPE_CHECKING, List
-from ...._models import BaseModel
-
-__all__ = ["TimeseriesGroupOSResponse", "Serie0"]
+from ...._models import BaseModel
+from ...unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55 import UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
-class Serie0(BaseModel):
- timestamps: List[str]
-
- if TYPE_CHECKING:
- # Stub to indicate that arbitrary properties are accepted.
- # To access properties that are not valid identifiers you can use `getattr`, e.g.
- # `getattr(obj, '$type')`
- def __getattr__(self, attr: str) -> List[str]:
- ...
+__all__ = ["TimeseriesGroupOSResponse"]
class TimeseriesGroupOSResponse(BaseModel):
meta: object
- serie_0: Serie0
+ serie_0: UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55
diff --git a/src/cloudflare/types/radar/http/top_browser_families_response.py b/src/cloudflare/types/radar/http/top_browser_families_response.py
index e76a8b654e59..362cb4155677 100644
--- a/src/cloudflare/types/radar/http/top_browser_families_response.py
+++ b/src/cloudflare/types/radar/http/top_browser_families_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ...shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopBrowserFamiliesResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopBrowserFamiliesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopBrowserFamiliesResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/http/top_browsers_response.py b/src/cloudflare/types/radar/http/top_browsers_response.py
index b36eb3e89c7c..548dc93c287c 100644
--- a/src/cloudflare/types/radar/http/top_browsers_response.py
+++ b/src/cloudflare/types/radar/http/top_browsers_response.py
@@ -4,34 +4,29 @@
from pydantic import Field as FieldInfo
+from ...shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
-__all__ = ["TopBrowsersResponse", "Meta", "MetaConfidenceInfo", "Top0"]
+__all__ = ["TopBrowsersResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
-class Top0(BaseModel):
- name: str
-
- value: str
-
-
class TopBrowsersResponse(BaseModel):
meta: Meta
- top_0: List[Top0]
+ top_0: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
diff --git a/src/cloudflare/types/radar/netflow_timeseries_response.py b/src/cloudflare/types/radar/netflow_timeseries_response.py
index 45a298364a83..70af018f7394 100644
--- a/src/cloudflare/types/radar/netflow_timeseries_response.py
+++ b/src/cloudflare/types/radar/netflow_timeseries_response.py
@@ -6,15 +6,15 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_129 import UnnamedSchemaRef129
-from ..unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb import UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
+from ..unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["NetflowTimeseriesResponse", "Meta", "MetaConfidenceInfo"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
@@ -22,7 +22,7 @@ class MetaConfidenceInfo(BaseModel):
class Meta(BaseModel):
agg_interval: str = FieldInfo(alias="aggInterval")
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: datetime = FieldInfo(alias="lastUpdated")
@@ -32,4 +32,4 @@ class Meta(BaseModel):
class NetflowTimeseriesResponse(BaseModel):
meta: Meta
- serie_0: UnnamedSchemaRef129
+ serie_0: UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb
diff --git a/src/cloudflare/types/radar/quality/iqi_summary_response.py b/src/cloudflare/types/radar/quality/iqi_summary_response.py
index 7be8d09366fb..d737fc2d82e0 100644
--- a/src/cloudflare/types/radar/quality/iqi_summary_response.py
+++ b/src/cloudflare/types/radar/quality/iqi_summary_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["IQISummaryResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/quality/speed/top_ases_response.py b/src/cloudflare/types/radar/quality/speed/top_ases_response.py
index 51c4560c3107..b32e830e6179 100644
--- a/src/cloudflare/types/radar/quality/speed/top_ases_response.py
+++ b/src/cloudflare/types/radar/quality/speed/top_ases_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopAsesResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/quality/speed/top_locations_response.py b/src/cloudflare/types/radar/quality/speed/top_locations_response.py
index 7bc14628b0e4..5fa833097f01 100644
--- a/src/cloudflare/types/radar/quality/speed/top_locations_response.py
+++ b/src/cloudflare/types/radar/quality/speed/top_locations_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
-from ....unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ....unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ....unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ....unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopLocationsResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/quality/speed_summary_response.py b/src/cloudflare/types/radar/quality/speed_summary_response.py
index f6ce013edf34..824ba1634b40 100644
--- a/src/cloudflare/types/radar/quality/speed_summary_response.py
+++ b/src/cloudflare/types/radar/quality/speed_summary_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["SpeedSummaryResponse", "Meta", "MetaConfidenceInfo", "Summary0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
last_updated: str = FieldInfo(alias="lastUpdated")
diff --git a/src/cloudflare/types/radar/ranking_timeseries_groups_response.py b/src/cloudflare/types/radar/ranking_timeseries_groups_response.py
index de95e8e8fbd1..c1a8b0e48b9a 100644
--- a/src/cloudflare/types/radar/ranking_timeseries_groups_response.py
+++ b/src/cloudflare/types/radar/ranking_timeseries_groups_response.py
@@ -5,13 +5,13 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ..unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["RankingTimeseriesGroupsResponse", "Meta", "Serie0"]
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
class Serie0(BaseModel):
diff --git a/src/cloudflare/types/radar/traffic_anomalies/location_get_response.py b/src/cloudflare/types/radar/traffic_anomalies/location_get_response.py
index f19b5fcc6ba1..2cc2d1711cc0 100644
--- a/src/cloudflare/types/radar/traffic_anomalies/location_get_response.py
+++ b/src/cloudflare/types/radar/traffic_anomalies/location_get_response.py
@@ -5,10 +5,10 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_160 import UnnamedSchemaRef160
+from ...unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09 import UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09
__all__ = ["LocationGetResponse"]
class LocationGetResponse(BaseModel):
- traffic_anomalies: List[UnnamedSchemaRef160] = FieldInfo(alias="trafficAnomalies")
+ traffic_anomalies: List[UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09] = FieldInfo(alias="trafficAnomalies")
diff --git a/src/cloudflare/types/radar/traffic_anomaly_get_response.py b/src/cloudflare/types/radar/traffic_anomaly_get_response.py
index 1fe652bae04a..6d2138b5a691 100644
--- a/src/cloudflare/types/radar/traffic_anomaly_get_response.py
+++ b/src/cloudflare/types/radar/traffic_anomaly_get_response.py
@@ -5,7 +5,7 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from ..unnamed_schema_ref_106 import UnnamedSchemaRef106
+from ..unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42 import UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42
__all__ = ["TrafficAnomalyGetResponse", "TrafficAnomaly", "TrafficAnomalyASNDetails"]
@@ -15,7 +15,7 @@ class TrafficAnomalyASNDetails(BaseModel):
name: str
- locations: Optional[UnnamedSchemaRef106] = None
+ locations: Optional[UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42] = None
class TrafficAnomaly(BaseModel):
@@ -31,7 +31,9 @@ class TrafficAnomaly(BaseModel):
end_date: Optional[str] = FieldInfo(alias="endDate", default=None)
- location_details: Optional[UnnamedSchemaRef106] = FieldInfo(alias="locationDetails", default=None)
+ location_details: Optional[UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42] = FieldInfo(
+ alias="locationDetails", default=None
+ )
visible_in_data_sources: Optional[List[str]] = FieldInfo(alias="visibleInDataSources", default=None)
diff --git a/src/cloudflare/types/radar/unnamed_schema_ref_150.py b/src/cloudflare/types/radar/unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c.py
similarity index 71%
rename from src/cloudflare/types/radar/unnamed_schema_ref_150.py
rename to src/cloudflare/types/radar/unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c.py
index 9ec817702425..944d4739370f 100644
--- a/src/cloudflare/types/radar/unnamed_schema_ref_150.py
+++ b/src/cloudflare/types/radar/unnamed_schema_ref_67c73d4742566cab0909f71b1822e88c.py
@@ -6,10 +6,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef150"]
+__all__ = ["UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c"]
-class UnnamedSchemaRef150(BaseModel):
+class UnnamedSchemaRef67c73d4742566cab0909f71b1822e88c(BaseModel):
fail: List[str] = FieldInfo(alias="FAIL")
none: List[str] = FieldInfo(alias="NONE")
diff --git a/src/cloudflare/types/radar/unnamed_schema_ref_149.py b/src/cloudflare/types/radar/unnamed_schema_ref_853c157ad369010995e35be614e0343f.py
similarity index 68%
rename from src/cloudflare/types/radar/unnamed_schema_ref_149.py
rename to src/cloudflare/types/radar/unnamed_schema_ref_853c157ad369010995e35be614e0343f.py
index abda4fe6744d..83d84f3c3ffc 100644
--- a/src/cloudflare/types/radar/unnamed_schema_ref_149.py
+++ b/src/cloudflare/types/radar/unnamed_schema_ref_853c157ad369010995e35be614e0343f.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef149"]
+__all__ = ["UnnamedSchemaRef853c157ad369010995e35be614e0343f"]
-class UnnamedSchemaRef149(BaseModel):
+class UnnamedSchemaRef853c157ad369010995e35be614e0343f(BaseModel):
fail: str = FieldInfo(alias="FAIL")
none: str = FieldInfo(alias="NONE")
diff --git a/src/cloudflare/types/radar/verified_bots/top_bots_response.py b/src/cloudflare/types/radar/verified_bots/top_bots_response.py
index 3f8879a372e4..3235433d317b 100644
--- a/src/cloudflare/types/radar/verified_bots/top_bots_response.py
+++ b/src/cloudflare/types/radar/verified_bots/top_bots_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopBotsResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
diff --git a/src/cloudflare/types/radar/verified_bots/top_categories_response.py b/src/cloudflare/types/radar/verified_bots/top_categories_response.py
index a882f9d0d093..d8292fcbc8fa 100644
--- a/src/cloudflare/types/radar/verified_bots/top_categories_response.py
+++ b/src/cloudflare/types/radar/verified_bots/top_categories_response.py
@@ -5,20 +5,20 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
-from ...unnamed_schema_ref_174 import UnnamedSchemaRef174
-from ...unnamed_schema_ref_175 import UnnamedSchemaRef175
+from ...unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1 import UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1
+from ...unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5 import UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5
__all__ = ["TopCategoriesResponse", "Meta", "MetaConfidenceInfo", "Top0"]
class MetaConfidenceInfo(BaseModel):
- annotations: Optional[List[UnnamedSchemaRef174]] = None
+ annotations: Optional[List[UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1]] = None
level: Optional[int] = None
class Meta(BaseModel):
- date_range: List[UnnamedSchemaRef175] = FieldInfo(alias="dateRange")
+ date_range: List[UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5] = FieldInfo(alias="dateRange")
confidence_info: Optional[MetaConfidenceInfo] = FieldInfo(alias="confidenceInfo", default=None)
diff --git a/src/cloudflare/types/registrar/__init__.py b/src/cloudflare/types/registrar/__init__.py
index bde3ce2dac21..599e2068201e 100644
--- a/src/cloudflare/types/registrar/__init__.py
+++ b/src/cloudflare/types/registrar/__init__.py
@@ -2,7 +2,5 @@
from __future__ import annotations
-from .domain_get_response import DomainGetResponse as DomainGetResponse
from .domain_list_response import DomainListResponse as DomainListResponse
from .domain_update_params import DomainUpdateParams as DomainUpdateParams
-from .domain_update_response import DomainUpdateResponse as DomainUpdateResponse
diff --git a/src/cloudflare/types/registrar/domain_get_response.py b/src/cloudflare/types/registrar/domain_get_response.py
deleted file mode 100644
index 31cc6350778f..000000000000
--- a/src/cloudflare/types/registrar/domain_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["DomainGetResponse"]
-
-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
deleted file mode 100644
index eda777090472..000000000000
--- a/src/cloudflare/types/registrar/domain_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["DomainUpdateResponse"]
-
-DomainUpdateResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/rules/lists/__init__.py b/src/cloudflare/types/rules/lists/__init__.py
index 2ae6b35e88a5..df814037d10e 100644
--- a/src/cloudflare/types/rules/lists/__init__.py
+++ b/src/cloudflare/types/rules/lists/__init__.py
@@ -11,3 +11,9 @@
from .item_delete_response import ItemDeleteResponse as ItemDeleteResponse
from .item_update_response import ItemUpdateResponse as ItemUpdateResponse
from .bulk_operation_get_response import BulkOperationGetResponse as BulkOperationGetResponse
+from .unnamed_schema_ref_34bb6e31800bc0207c083affa12d2775 import (
+ UnnamedSchemaRef34bb6e31800bc0207c083affa12d2775 as UnnamedSchemaRef34bb6e31800bc0207c083affa12d2775,
+)
+from .unnamed_schema_ref_cc279fb99baf6a166db5c4e790a8c6cd import (
+ UnnamedSchemaRefCc279fb99baf6a166db5c4e790a8c6cd as UnnamedSchemaRefCc279fb99baf6a166db5c4e790a8c6cd,
+)
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_44.py b/src/cloudflare/types/rules/lists/unnamed_schema_ref_34bb6e31800bc0207c083affa12d2775.py
similarity index 53%
rename from src/cloudflare/types/shared/unnamed_schema_ref_44.py
rename to src/cloudflare/types/rules/lists/unnamed_schema_ref_34bb6e31800bc0207c083affa12d2775.py
index ae39964ce11a..82ebab693bf9 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_44.py
+++ b/src/cloudflare/types/rules/lists/unnamed_schema_ref_34bb6e31800bc0207c083affa12d2775.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from ...._models import BaseModel
-__all__ = ["UnnamedSchemaRef44"]
+__all__ = ["UnnamedSchemaRef34bb6e31800bc0207c083affa12d2775"]
-class UnnamedSchemaRef44(BaseModel):
+class UnnamedSchemaRef34bb6e31800bc0207c083affa12d2775(BaseModel):
after: Optional[str] = None
before: Optional[str] = None
diff --git a/src/cloudflare/types/rules/lists/unnamed_schema_ref_cc279fb99baf6a166db5c4e790a8c6cd.py b/src/cloudflare/types/rules/lists/unnamed_schema_ref_cc279fb99baf6a166db5c4e790a8c6cd.py
new file mode 100644
index 000000000000..633d9fc9b6dc
--- /dev/null
+++ b/src/cloudflare/types/rules/lists/unnamed_schema_ref_cc279fb99baf6a166db5c4e790a8c6cd.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefCc279fb99baf6a166db5c4e790a8c6cd"]
+
+UnnamedSchemaRefCc279fb99baf6a166db5c4e790a8c6cd = Literal["pending", "running", "completed", "failed"]
diff --git a/src/cloudflare/types/ruleset_create_params.py b/src/cloudflare/types/ruleset_create_params.py
index 7a9b1dd3d38d..cea7f724ade2 100644
--- a/src/cloudflare/types/ruleset_create_params.py
+++ b/src/cloudflare/types/ruleset_create_params.py
@@ -5,7 +5,7 @@
from typing import Dict, List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from .logging_param import LoggingParam
+from ..types import shared_params
__all__ = [
"RulesetCreateParams",
@@ -109,7 +109,7 @@ class RuleRulesetsBlockRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -212,7 +212,7 @@ class RuleRulesetsExecuteRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -238,7 +238,7 @@ class RuleRulesetsLogRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -319,7 +319,7 @@ class RuleRulesetsSkipRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
diff --git a/src/cloudflare/types/ruleset_create_response.py b/src/cloudflare/types/ruleset_create_response.py
index 69f93275e510..45c02ec1b654 100644
--- a/src/cloudflare/types/ruleset_create_response.py
+++ b/src/cloudflare/types/ruleset_create_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from .logging import Logging
+from .shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from .._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/ruleset_get_response.py b/src/cloudflare/types/ruleset_get_response.py
index d011e4f229d6..8dd2e94525e4 100644
--- a/src/cloudflare/types/ruleset_get_response.py
+++ b/src/cloudflare/types/ruleset_get_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from .logging import Logging
+from .shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from .._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/ruleset_update_params.py b/src/cloudflare/types/ruleset_update_params.py
index b87d83ddc70f..5a623bd2b847 100644
--- a/src/cloudflare/types/ruleset_update_params.py
+++ b/src/cloudflare/types/ruleset_update_params.py
@@ -5,7 +5,7 @@
from typing import Dict, List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from .logging_param import LoggingParam
+from ..types import shared_params
__all__ = [
"RulesetUpdateParams",
@@ -107,7 +107,7 @@ class RuleRulesetsBlockRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -210,7 +210,7 @@ class RuleRulesetsExecuteRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -236,7 +236,7 @@ class RuleRulesetsLogRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -317,7 +317,7 @@ class RuleRulesetsSkipRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
diff --git a/src/cloudflare/types/ruleset_update_response.py b/src/cloudflare/types/ruleset_update_response.py
index 1dc8e40e0955..e81480c5118f 100644
--- a/src/cloudflare/types/ruleset_update_response.py
+++ b/src/cloudflare/types/ruleset_update_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from .logging import Logging
+from .shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from .._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/phase_get_response.py b/src/cloudflare/types/rulesets/phase_get_response.py
index 109fe1a99a8f..cf88a2b387ab 100644
--- a/src/cloudflare/types/rulesets/phase_get_response.py
+++ b/src/cloudflare/types/rulesets/phase_get_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/phase_update_params.py b/src/cloudflare/types/rulesets/phase_update_params.py
index 29f1b5d1aef4..ee0dd31a5756 100644
--- a/src/cloudflare/types/rulesets/phase_update_params.py
+++ b/src/cloudflare/types/rulesets/phase_update_params.py
@@ -5,7 +5,7 @@
from typing import Dict, List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from ..logging_param import LoggingParam
+from ...types import shared_params
__all__ = [
"PhaseUpdateParams",
@@ -107,7 +107,7 @@ class RuleRulesetsBlockRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -210,7 +210,7 @@ class RuleRulesetsExecuteRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -236,7 +236,7 @@ class RuleRulesetsLogRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -317,7 +317,7 @@ class RuleRulesetsSkipRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
diff --git a/src/cloudflare/types/rulesets/phase_update_response.py b/src/cloudflare/types/rulesets/phase_update_response.py
index 6105d1dc99e1..dea3c5a4006e 100644
--- a/src/cloudflare/types/rulesets/phase_update_response.py
+++ b/src/cloudflare/types/rulesets/phase_update_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/phases/version_get_response.py b/src/cloudflare/types/rulesets/phases/version_get_response.py
index 6fd98d0fa85b..55f0d62279f3 100644
--- a/src/cloudflare/types/rulesets/phases/version_get_response.py
+++ b/src/cloudflare/types/rulesets/phases/version_get_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ...logging import Logging
+from ...shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ...._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/rule_create_params.py b/src/cloudflare/types/rulesets/rule_create_params.py
index 45e144230687..c6fefe047980 100644
--- a/src/cloudflare/types/rulesets/rule_create_params.py
+++ b/src/cloudflare/types/rulesets/rule_create_params.py
@@ -5,7 +5,7 @@
from typing import Dict, List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from ..logging_param import LoggingParam
+from ...types import shared_params
__all__ = [
"RuleCreateParams",
@@ -49,7 +49,7 @@ class RulesetsBlockRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -97,7 +97,7 @@ class RulesetsExecuteRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -206,7 +206,7 @@ class RulesetsLogRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -238,7 +238,7 @@ class RulesetsSkipRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
diff --git a/src/cloudflare/types/rulesets/rule_create_response.py b/src/cloudflare/types/rulesets/rule_create_response.py
index 9e55762e6a83..e4c09492459e 100644
--- a/src/cloudflare/types/rulesets/rule_create_response.py
+++ b/src/cloudflare/types/rulesets/rule_create_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/rule_delete_response.py b/src/cloudflare/types/rulesets/rule_delete_response.py
index f7557fd53e7f..9e3879da2e47 100644
--- a/src/cloudflare/types/rulesets/rule_delete_response.py
+++ b/src/cloudflare/types/rulesets/rule_delete_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/rule_edit_params.py b/src/cloudflare/types/rulesets/rule_edit_params.py
index 4924cb126d1a..2d951cf7ecf2 100644
--- a/src/cloudflare/types/rulesets/rule_edit_params.py
+++ b/src/cloudflare/types/rulesets/rule_edit_params.py
@@ -5,7 +5,7 @@
from typing import Dict, List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from ..logging_param import LoggingParam
+from ...types import shared_params
__all__ = [
"RuleEditParams",
@@ -52,7 +52,7 @@ class RulesetsBlockRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -103,7 +103,7 @@ class RulesetsExecuteRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -215,7 +215,7 @@ class RulesetsLogRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
@@ -250,7 +250,7 @@ class RulesetsSkipRule(TypedDict, total=False):
expression: str
"""The expression defining which traffic will match the rule."""
- logging: LoggingParam
+ logging: shared_params.UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
"""An object configuring the rule's logging behavior."""
ref: str
diff --git a/src/cloudflare/types/rulesets/rule_edit_response.py b/src/cloudflare/types/rulesets/rule_edit_response.py
index ca3b5bbc9d83..79d7e1765f94 100644
--- a/src/cloudflare/types/rulesets/rule_edit_response.py
+++ b/src/cloudflare/types/rulesets/rule_edit_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/version_get_response.py b/src/cloudflare/types/rulesets/version_get_response.py
index 905e116a774a..f4001774338b 100644
--- a/src/cloudflare/types/rulesets/version_get_response.py
+++ b/src/cloudflare/types/rulesets/version_get_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ..logging import Logging
+from ..shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ..._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/rulesets/versions/by_tag_get_response.py b/src/cloudflare/types/rulesets/versions/by_tag_get_response.py
index 7da35010c1c9..1e8f04fc00af 100644
--- a/src/cloudflare/types/rulesets/versions/by_tag_get_response.py
+++ b/src/cloudflare/types/rulesets/versions/by_tag_get_response.py
@@ -4,7 +4,7 @@
from datetime import datetime
from typing_extensions import Literal
-from ...logging import Logging
+from ...shared import UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c
from ...._models import BaseModel
__all__ = [
@@ -69,7 +69,7 @@ class RuleRulesetsBlockRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -181,7 +181,7 @@ class RuleRulesetsExecuteRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -216,7 +216,7 @@ class RuleRulesetsLogRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
@@ -310,7 +310,7 @@ class RuleRulesetsSkipRule(BaseModel):
expression: Optional[str] = None
"""The expression defining which traffic will match the rule."""
- logging: Optional[Logging] = None
+ logging: Optional[UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c] = None
"""An object configuring the rule's logging behavior."""
ref: Optional[str] = None
diff --git a/src/cloudflare/types/secondary_dns/__init__.py b/src/cloudflare/types/secondary_dns/__init__.py
index 580bcfd952a1..a91180bb1669 100644
--- a/src/cloudflare/types/secondary_dns/__init__.py
+++ b/src/cloudflare/types/secondary_dns/__init__.py
@@ -20,7 +20,6 @@
from .tsig_delete_response import TSIGDeleteResponse as TSIGDeleteResponse
from .incoming_get_response import IncomingGetResponse as IncomingGetResponse
from .outgoing_get_response import OutgoingGetResponse as OutgoingGetResponse
-from .unnamed_schema_ref_70 import UnnamedSchemaRef70 as UnnamedSchemaRef70
from .incoming_create_params import IncomingCreateParams as IncomingCreateParams
from .incoming_delete_params import IncomingDeleteParams as IncomingDeleteParams
from .incoming_update_params import IncomingUpdateParams as IncomingUpdateParams
@@ -40,3 +39,6 @@
from .secondary_dns_enable_transfer import SecondaryDNSEnableTransfer as SecondaryDNSEnableTransfer
from .outgoing_force_notify_response import OutgoingForceNotifyResponse as OutgoingForceNotifyResponse
from .secondary_dns_disable_transfer import SecondaryDNSDisableTransfer as SecondaryDNSDisableTransfer
+from .unnamed_schema_ref_bf34e74a34c9a2f63d85505dc69d4adc import (
+ UnnamedSchemaRefBf34e74a34c9a2f63d85505dc69d4adc as UnnamedSchemaRefBf34e74a34c9a2f63d85505dc69d4adc,
+)
diff --git a/src/cloudflare/types/secondary_dns/unnamed_schema_ref_70.py b/src/cloudflare/types/secondary_dns/unnamed_schema_ref_bf34e74a34c9a2f63d85505dc69d4adc.py
similarity index 54%
rename from src/cloudflare/types/secondary_dns/unnamed_schema_ref_70.py
rename to src/cloudflare/types/secondary_dns/unnamed_schema_ref_bf34e74a34c9a2f63d85505dc69d4adc.py
index 6678dc2bbd1d..e479a3f50f21 100644
--- a/src/cloudflare/types/secondary_dns/unnamed_schema_ref_70.py
+++ b/src/cloudflare/types/secondary_dns/unnamed_schema_ref_bf34e74a34c9a2f63d85505dc69d4adc.py
@@ -3,6 +3,6 @@
from typing import Optional
from typing_extensions import Literal
-__all__ = ["UnnamedSchemaRef70"]
+__all__ = ["UnnamedSchemaRefBf34e74a34c9a2f63d85505dc69d4adc"]
-UnnamedSchemaRef70 = Optional[Literal]
+UnnamedSchemaRefBf34e74a34c9a2f63d85505dc69d4adc = Optional[Literal]
diff --git a/src/cloudflare/types/shared/__init__.py b/src/cloudflare/types/shared/__init__.py
index 5f9e645d630f..c2f99b43c8a6 100644
--- a/src/cloudflare/types/shared/__init__.py
+++ b/src/cloudflare/types/shared/__init__.py
@@ -1,121 +1,78 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from .error_data import ErrorData as ErrorData
-from .response_info import ResponseInfo as ResponseInfo
-from .unnamed_schema_ref_2 import UnnamedSchemaRef2 as UnnamedSchemaRef2
-from .unnamed_schema_ref_3 import UnnamedSchemaRef3 as UnnamedSchemaRef3
-from .unnamed_schema_ref_4 import UnnamedSchemaRef4 as UnnamedSchemaRef4
-from .unnamed_schema_ref_5 import UnnamedSchemaRef5 as UnnamedSchemaRef5
-from .unnamed_schema_ref_7 import UnnamedSchemaRef7 as UnnamedSchemaRef7
-from .unnamed_schema_ref_8 import UnnamedSchemaRef8 as UnnamedSchemaRef8
-from .unnamed_schema_ref_9 import UnnamedSchemaRef9 as UnnamedSchemaRef9
-from .unnamed_schema_ref_10 import UnnamedSchemaRef10 as UnnamedSchemaRef10
-from .unnamed_schema_ref_11 import UnnamedSchemaRef11 as UnnamedSchemaRef11
-from .unnamed_schema_ref_12 import UnnamedSchemaRef12 as UnnamedSchemaRef12
-from .unnamed_schema_ref_13 import UnnamedSchemaRef13 as UnnamedSchemaRef13
-from .unnamed_schema_ref_14 import UnnamedSchemaRef14 as UnnamedSchemaRef14
-from .unnamed_schema_ref_15 import UnnamedSchemaRef15 as UnnamedSchemaRef15
-from .unnamed_schema_ref_16 import UnnamedSchemaRef16 as UnnamedSchemaRef16
-from .unnamed_schema_ref_22 import UnnamedSchemaRef22 as UnnamedSchemaRef22
-from .unnamed_schema_ref_23 import UnnamedSchemaRef23 as UnnamedSchemaRef23
-from .unnamed_schema_ref_24 import UnnamedSchemaRef24 as UnnamedSchemaRef24
-from .unnamed_schema_ref_25 import UnnamedSchemaRef25 as UnnamedSchemaRef25
-from .unnamed_schema_ref_28 import UnnamedSchemaRef28 as UnnamedSchemaRef28
-from .unnamed_schema_ref_34 import UnnamedSchemaRef34 as UnnamedSchemaRef34
-from .unnamed_schema_ref_35 import UnnamedSchemaRef35 as UnnamedSchemaRef35
-from .unnamed_schema_ref_36 import UnnamedSchemaRef36 as UnnamedSchemaRef36
-from .unnamed_schema_ref_37 import UnnamedSchemaRef37 as UnnamedSchemaRef37
-from .unnamed_schema_ref_38 import UnnamedSchemaRef38 as UnnamedSchemaRef38
-from .unnamed_schema_ref_39 import UnnamedSchemaRef39 as UnnamedSchemaRef39
-from .unnamed_schema_ref_40 import UnnamedSchemaRef40 as UnnamedSchemaRef40
-from .unnamed_schema_ref_41 import UnnamedSchemaRef41 as UnnamedSchemaRef41
-from .unnamed_schema_ref_43 import UnnamedSchemaRef43 as UnnamedSchemaRef43
-from .unnamed_schema_ref_44 import UnnamedSchemaRef44 as UnnamedSchemaRef44
-from .unnamed_schema_ref_46 import UnnamedSchemaRef46 as UnnamedSchemaRef46
-from .unnamed_schema_ref_49 import UnnamedSchemaRef49 as UnnamedSchemaRef49
-from .unnamed_schema_ref_51 import UnnamedSchemaRef51 as UnnamedSchemaRef51
-from .unnamed_schema_ref_52 import UnnamedSchemaRef52 as UnnamedSchemaRef52
-from .unnamed_schema_ref_57 import UnnamedSchemaRef57 as UnnamedSchemaRef57
-from .unnamed_schema_ref_59 import UnnamedSchemaRef59 as UnnamedSchemaRef59
-from .unnamed_schema_ref_61 import UnnamedSchemaRef61 as UnnamedSchemaRef61
-from .unnamed_schema_ref_62 import UnnamedSchemaRef62 as UnnamedSchemaRef62
-from .unnamed_schema_ref_63 import UnnamedSchemaRef63 as UnnamedSchemaRef63
-from .unnamed_schema_ref_65 import UnnamedSchemaRef65 as UnnamedSchemaRef65
-from .unnamed_schema_ref_69 import UnnamedSchemaRef69 as UnnamedSchemaRef69
-from .unnamed_schema_ref_71 import UnnamedSchemaRef71 as UnnamedSchemaRef71
-from .unnamed_schema_ref_72 import UnnamedSchemaRef72 as UnnamedSchemaRef72
-from .unnamed_schema_ref_73 import UnnamedSchemaRef73 as UnnamedSchemaRef73
-from .unnamed_schema_ref_75 import UnnamedSchemaRef75 as UnnamedSchemaRef75
-from .unnamed_schema_ref_76 import UnnamedSchemaRef76 as UnnamedSchemaRef76
-from .unnamed_schema_ref_77 import UnnamedSchemaRef77 as UnnamedSchemaRef77
-from .unnamed_schema_ref_78 import UnnamedSchemaRef78 as UnnamedSchemaRef78
-from .unnamed_schema_ref_79 import UnnamedSchemaRef79 as UnnamedSchemaRef79
-from .unnamed_schema_ref_80 import UnnamedSchemaRef80 as UnnamedSchemaRef80
-from .unnamed_schema_ref_81 import UnnamedSchemaRef81 as UnnamedSchemaRef81
-from .unnamed_schema_ref_82 import UnnamedSchemaRef82 as UnnamedSchemaRef82
-from .unnamed_schema_ref_83 import UnnamedSchemaRef83 as UnnamedSchemaRef83
-from .unnamed_schema_ref_84 import UnnamedSchemaRef84 as UnnamedSchemaRef84
-from .unnamed_schema_ref_85 import UnnamedSchemaRef85 as UnnamedSchemaRef85
-from .unnamed_schema_ref_87 import UnnamedSchemaRef87 as UnnamedSchemaRef87
-from .unnamed_schema_ref_88 import UnnamedSchemaRef88 as UnnamedSchemaRef88
-from .unnamed_schema_ref_89 import UnnamedSchemaRef89 as UnnamedSchemaRef89
-from .unnamed_schema_ref_90 import UnnamedSchemaRef90 as UnnamedSchemaRef90
-from .unnamed_schema_ref_91 import UnnamedSchemaRef91 as UnnamedSchemaRef91
-from .unnamed_schema_ref_92 import UnnamedSchemaRef92 as UnnamedSchemaRef92
-from .unnamed_schema_ref_93 import UnnamedSchemaRef93 as UnnamedSchemaRef93
-from .unnamed_schema_ref_94 import UnnamedSchemaRef94 as UnnamedSchemaRef94
-from .unnamed_schema_ref_96 import UnnamedSchemaRef96 as UnnamedSchemaRef96
-from .unnamed_schema_ref_97 import UnnamedSchemaRef97 as UnnamedSchemaRef97
-from .unnamed_schema_ref_98 import UnnamedSchemaRef98 as UnnamedSchemaRef98
-from .unnamed_schema_ref_99 import UnnamedSchemaRef99 as UnnamedSchemaRef99
-from .unnamed_schema_ref_100 import UnnamedSchemaRef100 as UnnamedSchemaRef100
-from .unnamed_schema_ref_101 import UnnamedSchemaRef101 as UnnamedSchemaRef101
-from .unnamed_schema_ref_102 import UnnamedSchemaRef102 as UnnamedSchemaRef102
-from .unnamed_schema_ref_103 import UnnamedSchemaRef103 as UnnamedSchemaRef103
-from .unnamed_schema_ref_104 import UnnamedSchemaRef104 as UnnamedSchemaRef104
-from .unnamed_schema_ref_105 import UnnamedSchemaRef105 as UnnamedSchemaRef105
-from .unnamed_schema_ref_107 import UnnamedSchemaRef107 as UnnamedSchemaRef107
-from .unnamed_schema_ref_108 import UnnamedSchemaRef108 as UnnamedSchemaRef108
-from .unnamed_schema_ref_109 import UnnamedSchemaRef109 as UnnamedSchemaRef109
-from .unnamed_schema_ref_110 import UnnamedSchemaRef110 as UnnamedSchemaRef110
-from .unnamed_schema_ref_111 import UnnamedSchemaRef111 as UnnamedSchemaRef111
-from .unnamed_schema_ref_113 import UnnamedSchemaRef113 as UnnamedSchemaRef113
-from .unnamed_schema_ref_114 import UnnamedSchemaRef114 as UnnamedSchemaRef114
-from .unnamed_schema_ref_115 import UnnamedSchemaRef115 as UnnamedSchemaRef115
-from .unnamed_schema_ref_116 import UnnamedSchemaRef116 as UnnamedSchemaRef116
-from .unnamed_schema_ref_117 import UnnamedSchemaRef117 as UnnamedSchemaRef117
-from .unnamed_schema_ref_118 import UnnamedSchemaRef118 as UnnamedSchemaRef118
-from .unnamed_schema_ref_119 import UnnamedSchemaRef119 as UnnamedSchemaRef119
-from .unnamed_schema_ref_120 import UnnamedSchemaRef120 as UnnamedSchemaRef120
-from .unnamed_schema_ref_121 import UnnamedSchemaRef121 as UnnamedSchemaRef121
-from .unnamed_schema_ref_122 import UnnamedSchemaRef122 as UnnamedSchemaRef122
-from .unnamed_schema_ref_123 import UnnamedSchemaRef123 as UnnamedSchemaRef123
-from .unnamed_schema_ref_124 import UnnamedSchemaRef124 as UnnamedSchemaRef124
-from .unnamed_schema_ref_125 import UnnamedSchemaRef125 as UnnamedSchemaRef125
-from .unnamed_schema_ref_126 import UnnamedSchemaRef126 as UnnamedSchemaRef126
-from .unnamed_schema_ref_131 import UnnamedSchemaRef131 as UnnamedSchemaRef131
-from .unnamed_schema_ref_132 import UnnamedSchemaRef132 as UnnamedSchemaRef132
-from .unnamed_schema_ref_135 import UnnamedSchemaRef135 as UnnamedSchemaRef135
-from .unnamed_schema_ref_136 import UnnamedSchemaRef136 as UnnamedSchemaRef136
-from .unnamed_schema_ref_139 import UnnamedSchemaRef139 as UnnamedSchemaRef139
-from .unnamed_schema_ref_140 import UnnamedSchemaRef140 as UnnamedSchemaRef140
-from .unnamed_schema_ref_142 import UnnamedSchemaRef142 as UnnamedSchemaRef142
-from .unnamed_schema_ref_143 import UnnamedSchemaRef143 as UnnamedSchemaRef143
-from .unnamed_schema_ref_144 import UnnamedSchemaRef144 as UnnamedSchemaRef144
-from .unnamed_schema_ref_145 import UnnamedSchemaRef145 as UnnamedSchemaRef145
-from .unnamed_schema_ref_146 import UnnamedSchemaRef146 as UnnamedSchemaRef146
-from .unnamed_schema_ref_147 import UnnamedSchemaRef147 as UnnamedSchemaRef147
-from .unnamed_schema_ref_148 import UnnamedSchemaRef148 as UnnamedSchemaRef148
-from .unnamed_schema_ref_151 import UnnamedSchemaRef151 as UnnamedSchemaRef151
-from .unnamed_schema_ref_152 import UnnamedSchemaRef152 as UnnamedSchemaRef152
-from .unnamed_schema_ref_155 import UnnamedSchemaRef155 as UnnamedSchemaRef155
-from .unnamed_schema_ref_156 import UnnamedSchemaRef156 as UnnamedSchemaRef156
-from .unnamed_schema_ref_158 import UnnamedSchemaRef158 as UnnamedSchemaRef158
-from .unnamed_schema_ref_159 import UnnamedSchemaRef159 as UnnamedSchemaRef159
-from .unnamed_schema_ref_161 import UnnamedSchemaRef161 as UnnamedSchemaRef161
-from .unnamed_schema_ref_162 import UnnamedSchemaRef162 as UnnamedSchemaRef162
-from .unnamed_schema_ref_163 import UnnamedSchemaRef163 as UnnamedSchemaRef163
-from .unnamed_schema_ref_169 import UnnamedSchemaRef169 as UnnamedSchemaRef169
-from .unnamed_schema_ref_170 import UnnamedSchemaRef170 as UnnamedSchemaRef170
-from .unnamed_schema_ref_171 import UnnamedSchemaRef171 as UnnamedSchemaRef171
-from .unnamed_schema_ref_173 import UnnamedSchemaRef173 as UnnamedSchemaRef173
+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,
+)
+from .unnamed_schema_ref_33f2e3917f3fe46ad98af0acbb1d9a19 import (
+ UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19 as UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19,
+)
+from .unnamed_schema_ref_65e3c8c1a9c4638ec25cdbbaca7165c1 import (
+ UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1 as UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1,
+)
+from .unnamed_schema_ref_67bbb1ccdd42c3e2937b9fd19f791151 import (
+ UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151 as UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151,
+)
+from .unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c import (
+ UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c as UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c,
+)
+from .unnamed_schema_ref_413ab4522f0bb93f63444799121fe2f8 import (
+ UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8 as UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8,
+)
+from .unnamed_schema_ref_602dd5f63eab958d53da61434dec08f0 import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0 as UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+)
+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,
+)
+from .unnamed_schema_ref_9444735ca60712dbcf8afd832eb5716a import (
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a as UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
+from .unnamed_schema_ref_619309774d07ec6904f1e354560d6028 import (
+ UnnamedSchemaRef619309774d07ec6904f1e354560d6028 as UnnamedSchemaRef619309774d07ec6904f1e354560d6028,
+)
+from .unnamed_schema_ref_b0ec5cc02c98b665099a5707a2db4ea6 import (
+ UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6 as UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6,
+)
+from .unnamed_schema_ref_b52ad7cf99890d19f16edcd84d16ef5b import (
+ UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b as UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b,
+)
+from .unnamed_schema_ref_b92f86eb861cd3dee83c40884802fda6 import (
+ UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6 as UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6,
+)
+from .unnamed_schema_ref_cc2ac1a037e5d6702fc77b3bcb527854 import (
+ UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854 as UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854,
+)
+from .unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b import (
+ UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b as UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b,
+)
+from .unnamed_schema_ref_dfef9380cb53cc7d4bda9f75e109d7a2 import (
+ UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2 as UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2,
+)
+from .unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b import (
+ UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b as UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b,
+)
+from .unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846 import (
+ UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846 as UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846,
+)
+from .unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24 import (
+ UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24 as UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24,
+)
+from .unnamed_schema_ref_fb1dc8bb871d835b75bd0c2f50bd8572 import (
+ UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572 as UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572,
+)
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_126.py b/src/cloudflare/types/shared/unnamed_schema_ref_025497b7e63379c31929636b5186e45c.py
similarity index 69%
rename from src/cloudflare/types/shared/unnamed_schema_ref_126.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_025497b7e63379c31929636b5186e45c.py
index 7911501f8303..698a501bde0f 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_126.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_025497b7e63379c31929636b5186e45c.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef126"]
+__all__ = ["UnnamedSchemaRef025497b7e63379c31929636b5186e45c"]
-class UnnamedSchemaRef126(BaseModel):
+class UnnamedSchemaRef025497b7e63379c31929636b5186e45c(BaseModel):
pools: Optional[Dict[str, str]] = None
"""Monitored pool IDs mapped to their respective names."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_100.py b/src/cloudflare/types/shared/unnamed_schema_ref_100.py
deleted file mode 100644
index 0ae4800563e9..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_100.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef100"]
-
-
-class UnnamedSchemaRef100(BaseModel):
- operation_id: Optional[str] = None
- """The unique operation ID of the asynchronous action."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_101.py b/src/cloudflare/types/shared/unnamed_schema_ref_101.py
deleted file mode 100644
index 75dac4d57699..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_101.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef101"]
-
-
-class UnnamedSchemaRef101(BaseModel):
- default_usage_model: Optional[object] = None
-
- green_compute: Optional[object] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_103.py b/src/cloudflare/types/shared/unnamed_schema_ref_103.py
deleted file mode 100644
index 464f042db640..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_103.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef103"]
-
-
-class UnnamedSchemaRef103(BaseModel):
- id: Optional[object] = None
-
- expires_at: Optional[object] = None
-
- url: Optional[object] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_104.py b/src/cloudflare/types/shared/unnamed_schema_ref_104.py
deleted file mode 100644
index c3d392451f81..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_104.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef104"]
-
-
-class UnnamedSchemaRef104(BaseModel):
- usage_model: Optional[object] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_105.py b/src/cloudflare/types/shared/unnamed_schema_ref_105.py
deleted file mode 100644
index 2b072da1e0e1..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_105.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef105"]
-
-
-class UnnamedSchemaRef105(BaseModel):
- name: Optional[object] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_108.py b/src/cloudflare/types/shared/unnamed_schema_ref_108.py
deleted file mode 100644
index 03a30e37fee4..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_108.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef108"]
-
-
-class UnnamedSchemaRef108(BaseModel):
- flag: Optional[bool] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_109.py b/src/cloudflare/types/shared/unnamed_schema_ref_109.py
deleted file mode 100644
index f1e7421c5f55..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_109.py
+++ /dev/null
@@ -1,388 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef109", "AdditionalRoute", "CookieAttributes"]
-
-
-class AdditionalRoute(BaseModel):
- host: Optional[str] = None
- """The hostname to which this waiting room will be applied (no wildcards).
-
- The hostname must be the primary domain, subdomain, or custom hostname (if using
- SSL for SaaS) of this zone. Please do not include the scheme (http:// or
- https://).
- """
-
- path: Optional[str] = None
- """Sets the path within the host to enable the waiting room on.
-
- The waiting room will be enabled for all subpaths as well. If there are two
- waiting rooms on the same subpath, the waiting room for the most specific path
- will be chosen. Wildcards and query parameters are not supported.
- """
-
-
-class CookieAttributes(BaseModel):
- samesite: Optional[Literal["auto", "lax", "none", "strict"]] = None
- """Configures the SameSite attribute on the waiting room cookie.
-
- Value `auto` will be translated to `lax` or `none` depending if **Always Use
- HTTPS** is enabled. Note that when using value `none`, the secure attribute
- cannot be set to `never`.
- """
-
- secure: Optional[Literal["auto", "always", "never"]] = None
- """Configures the Secure attribute on the waiting room cookie.
-
- Value `always` indicates that the Secure attribute will be set in the Set-Cookie
- header, `never` indicates that the Secure attribute will not be set, and `auto`
- will set the Secure attribute depending if **Always Use HTTPS** is enabled.
- """
-
-
-class UnnamedSchemaRef109(BaseModel):
- id: Optional[str] = None
-
- additional_routes: Optional[List[AdditionalRoute]] = None
- """Only available for the Waiting Room Advanced subscription.
-
- Additional hostname and path combinations to which this waiting room will be
- applied. There is an implied wildcard at the end of the path. The hostname and
- path combination must be unique to this and all other waiting rooms.
- """
-
- cookie_attributes: Optional[CookieAttributes] = None
- """Configures cookie attributes for the waiting room cookie.
-
- This encrypted cookie stores a user's status in the waiting room, such as queue
- position.
- """
-
- cookie_suffix: Optional[str] = None
- """
- Appends a '\\__' + a custom suffix to the end of Cloudflare Waiting Room's cookie
- name(**cf_waitingroom). If `cookie_suffix` is "abcd", the cookie name will be
- `**cf_waitingroom_abcd`. This field is required if using `additional_routes`.
- """
-
- created_on: Optional[datetime] = None
-
- custom_page_html: Optional[str] = None
- """Only available for the Waiting Room Advanced subscription.
-
- This is a template html file that will be rendered at the edge. If no
- custom_page_html is provided, the default waiting room will be used. The
- template is based on mustache ( https://mustache.github.io/ ). There are several
- variables that are evaluated by the Cloudflare edge:
-
- 1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to
- take when wait time is not available, for instance when queue_all is
- **true**.
- 2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five
- minutes. Alternatively, you can use:
- 3. {{`waitTime`}} Number of minutes of estimated wait for a user.
- 4. {{`waitTimeHours`}} Number of hours of estimated wait for a user
- (`Math.floor(waitTime/60)`).
- 5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value
- (`waitTime%60`).
- 6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the
- queue.
-
- To view the full list of variables, look at the `cfWaitingRoom` object described
- under the `json_response_enabled` property in other Waiting Room API calls.
- """
-
- default_template_language: Optional[
- Literal[
- "en-US",
- "es-ES",
- "de-DE",
- "fr-FR",
- "it-IT",
- "ja-JP",
- "ko-KR",
- "pt-BR",
- "zh-CN",
- "zh-TW",
- "nl-NL",
- "pl-PL",
- "id-ID",
- "tr-TR",
- "ar-EG",
- "ru-RU",
- "fa-IR",
- ]
- ] = None
- """The language of the default page template.
-
- If no default_template_language is provided, then `en-US` (English) will be
- used.
- """
-
- description: Optional[str] = None
- """A note that you can use to add more details about the waiting room."""
-
- disable_session_renewal: Optional[bool] = None
- """Only available for the Waiting Room Advanced subscription.
-
- Disables automatic renewal of session cookies. If `true`, an accepted user will
- have session_duration minutes to browse the site. After that, they will have to
- go through the waiting room again. If `false`, a user's session cookie will be
- automatically renewed on every request.
- """
-
- host: Optional[str] = None
- """The host name to which the waiting room will be applied (no wildcards).
-
- Please do not include the scheme (http:// or https://). The host and path
- combination must be unique.
- """
-
- json_response_enabled: Optional[bool] = None
- """Only available for the Waiting Room Advanced subscription.
-
- If `true`, requests to the waiting room with the header
- `Accept: application/json` will receive a JSON response object with information
- on the user's status in the waiting room as opposed to the configured static
- HTML page. This JSON response object has one property `cfWaitingRoom` which is
- an object containing the following fields:
-
- 1. `inWaitingRoom`: Boolean indicating if the user is in the waiting room
- (always **true**).
- 2. `waitTimeKnown`: Boolean indicating if the current estimated wait times are
- accurate. If **false**, they are not available.
- 3. `waitTime`: Valid only when `waitTimeKnown` is **true**. Integer indicating
- the current estimated time in minutes the user will wait in the waiting room.
- When `queueingMethod` is **random**, this is set to `waitTime50Percentile`.
- 4. `waitTime25Percentile`: Valid only when `queueingMethod` is **random** and
- `waitTimeKnown` is **true**. Integer indicating the current estimated maximum
- wait time for the 25% of users that gain entry the fastest (25th percentile).
- 5. `waitTime50Percentile`: Valid only when `queueingMethod` is **random** and
- `waitTimeKnown` is **true**. Integer indicating the current estimated maximum
- wait time for the 50% of users that gain entry the fastest (50th percentile).
- In other words, half of the queued users are expected to let into the origin
- website before `waitTime50Percentile` and half are expected to be let in
- after it.
- 6. `waitTime75Percentile`: Valid only when `queueingMethod` is **random** and
- `waitTimeKnown` is **true**. Integer indicating the current estimated maximum
- wait time for the 75% of users that gain entry the fastest (75th percentile).
- 7. `waitTimeFormatted`: String displaying the `waitTime` formatted in English
- for users. If `waitTimeKnown` is **false**, `waitTimeFormatted` will display
- **unavailable**.
- 8. `queueIsFull`: Boolean indicating if the waiting room's queue is currently
- full and not accepting new users at the moment.
- 9. `queueAll`: Boolean indicating if all users will be queued in the waiting
- room and no one will be let into the origin website.
- 10. `lastUpdated`: String displaying the timestamp as an ISO 8601 string of the
- user's last attempt to leave the waiting room and be let into the origin
- website. The user is able to make another attempt after
- `refreshIntervalSeconds` past this time. If the user makes a request too
- soon, it will be ignored and `lastUpdated` will not change.
- 11. `refreshIntervalSeconds`: Integer indicating the number of seconds after
- `lastUpdated` until the user is able to make another attempt to leave the
- waiting room and be let into the origin website. When the `queueingMethod`
- is `reject`, there is no specified refresh time — it will always be
- **zero**.
- 12. `queueingMethod`: The queueing method currently used by the waiting room. It
- is either **fifo**, **random**, **passthrough**, or **reject**.
- 13. `isFIFOQueue`: Boolean indicating if the waiting room uses a FIFO
- (First-In-First-Out) queue.
- 14. `isRandomQueue`: Boolean indicating if the waiting room uses a Random queue
- where users gain access randomly.
- 15. `isPassthroughQueue`: Boolean indicating if the waiting room uses a
- passthrough queue. Keep in mind that when passthrough is enabled, this JSON
- response will only exist when `queueAll` is **true** or `isEventPrequeueing`
- is **true** because in all other cases requests will go directly to the
- origin.
- 16. `isRejectQueue`: Boolean indicating if the waiting room uses a reject queue.
- 17. `isEventActive`: Boolean indicating if an event is currently occurring.
- Events are able to change a waiting room's behavior during a specified
- period of time. For additional information, look at the event properties
- `prequeue_start_time`, `event_start_time`, and `event_end_time` in the
- documentation for creating waiting room events. Events are considered active
- between these start and end times, as well as during the prequeueing period
- if it exists.
- 18. `isEventPrequeueing`: Valid only when `isEventActive` is **true**. Boolean
- indicating if an event is currently prequeueing users before it starts.
- 19. `timeUntilEventStart`: Valid only when `isEventPrequeueing` is **true**.
- Integer indicating the number of minutes until the event starts.
- 20. `timeUntilEventStartFormatted`: String displaying the `timeUntilEventStart`
- formatted in English for users. If `isEventPrequeueing` is **false**,
- `timeUntilEventStartFormatted` will display **unavailable**.
- 21. `timeUntilEventEnd`: Valid only when `isEventActive` is **true**. Integer
- indicating the number of minutes until the event ends.
- 22. `timeUntilEventEndFormatted`: String displaying the `timeUntilEventEnd`
- formatted in English for users. If `isEventActive` is **false**,
- `timeUntilEventEndFormatted` will display **unavailable**.
- 23. `shuffleAtEventStart`: Valid only when `isEventActive` is **true**. Boolean
- indicating if the users in the prequeue are shuffled randomly when the event
- starts.
-
- An example cURL to a waiting room could be:
-
- curl -X GET "https://example.com/waitingroom" \\
- -H "Accept: application/json"
-
- If `json_response_enabled` is **true** and the request hits the waiting room, an
- example JSON response when `queueingMethod` is **fifo** and no event is active
- could be:
-
- {
- "cfWaitingRoom": {
- "inWaitingRoom": true,
- "waitTimeKnown": true,
- "waitTime": 10,
- "waitTime25Percentile": 0,
- "waitTime50Percentile": 0,
- "waitTime75Percentile": 0,
- "waitTimeFormatted": "10 minutes",
- "queueIsFull": false,
- "queueAll": false,
- "lastUpdated": "2020-08-03T23:46:00.000Z",
- "refreshIntervalSeconds": 20,
- "queueingMethod": "fifo",
- "isFIFOQueue": true,
- "isRandomQueue": false,
- "isPassthroughQueue": false,
- "isRejectQueue": false,
- "isEventActive": false,
- "isEventPrequeueing": false,
- "timeUntilEventStart": 0,
- "timeUntilEventStartFormatted": "unavailable",
- "timeUntilEventEnd": 0,
- "timeUntilEventEndFormatted": "unavailable",
- "shuffleAtEventStart": false
- }
- }
-
- If `json_response_enabled` is **true** and the request hits the waiting room, an
- example JSON response when `queueingMethod` is **random** and an event is active
- could be:
-
- {
- "cfWaitingRoom": {
- "inWaitingRoom": true,
- "waitTimeKnown": true,
- "waitTime": 10,
- "waitTime25Percentile": 5,
- "waitTime50Percentile": 10,
- "waitTime75Percentile": 15,
- "waitTimeFormatted": "5 minutes to 15 minutes",
- "queueIsFull": false,
- "queueAll": false,
- "lastUpdated": "2020-08-03T23:46:00.000Z",
- "refreshIntervalSeconds": 20,
- "queueingMethod": "random",
- "isFIFOQueue": false,
- "isRandomQueue": true,
- "isPassthroughQueue": false,
- "isRejectQueue": false,
- "isEventActive": true,
- "isEventPrequeueing": false,
- "timeUntilEventStart": 0,
- "timeUntilEventStartFormatted": "unavailable",
- "timeUntilEventEnd": 15,
- "timeUntilEventEndFormatted": "15 minutes",
- "shuffleAtEventStart": true
- }
- }.
- """
-
- modified_on: Optional[datetime] = None
-
- name: Optional[str] = None
- """A unique name to identify the waiting room.
-
- Only alphanumeric characters, hyphens and underscores are allowed.
- """
-
- new_users_per_minute: Optional[int] = None
- """Sets the number of new users that will be let into the route every minute.
-
- This value is used as baseline for the number of users that are let in per
- minute. So it is possible that there is a little more or little less traffic
- coming to the route based on the traffic patterns at that time around the world.
- """
-
- next_event_prequeue_start_time: Optional[str] = None
- """An ISO 8601 timestamp that marks when the next event will begin queueing."""
-
- next_event_start_time: Optional[str] = None
- """An ISO 8601 timestamp that marks when the next event will start."""
-
- path: Optional[str] = None
- """Sets the path within the host to enable the waiting room on.
-
- The waiting room will be enabled for all subpaths as well. If there are two
- waiting rooms on the same subpath, the waiting room for the most specific path
- will be chosen. Wildcards and query parameters are not supported.
- """
-
- queue_all: Optional[bool] = None
- """
- If queue_all is `true`, all the traffic that is coming to a route will be sent
- to the waiting room. No new traffic can get to the route once this field is set
- and estimated time will become unavailable.
- """
-
- queueing_method: Optional[Literal["fifo", "random", "passthrough", "reject"]] = None
- """Sets the queueing method used by the waiting room.
-
- Changing this parameter from the **default** queueing method is only available
- for the Waiting Room Advanced subscription. Regardless of the queueing method,
- if `queue_all` is enabled or an event is prequeueing, users in the waiting room
- will not be accepted to the origin. These users will always see a waiting room
- page that refreshes automatically. The valid queueing methods are:
-
- 1. `fifo` **(default)**: First-In-First-Out queue where customers gain access in
- the order they arrived.
- 2. `random`: Random queue where customers gain access randomly, regardless of
- arrival time.
- 3. `passthrough`: Users will pass directly through the waiting room and into the
- origin website. As a result, any configured limits will not be respected
- while this is enabled. This method can be used as an alternative to disabling
- a waiting room (with `suspended`) so that analytics are still reported. This
- can be used if you wish to allow all traffic normally, but want to restrict
- traffic during a waiting room event, or vice versa.
- 4. `reject`: Users will be immediately rejected from the waiting room. As a
- result, no users will reach the origin website while this is enabled. This
- can be used if you wish to reject all traffic while performing maintenance,
- block traffic during a specified period of time (an event), or block traffic
- while events are not occurring. Consider a waiting room used for vaccine
- distribution that only allows traffic during sign-up events, and otherwise
- blocks all traffic. For this case, the waiting room uses `reject`, and its
- events override this with `fifo`, `random`, or `passthrough`. When this
- queueing method is enabled and neither `queueAll` is enabled nor an event is
- prequeueing, the waiting room page **will not refresh automatically**.
- """
-
- queueing_status_code: Optional[Literal[200, 202, 429]] = None
- """HTTP status code returned to a user while in the queue."""
-
- session_duration: Optional[int] = None
- """
- Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to
- the route. If a user is not seen by Cloudflare again in that time period, they
- will be treated as a new user that visits the route.
- """
-
- suspended: Optional[bool] = None
- """Suspends or allows traffic going to the waiting room.
-
- If set to `true`, the traffic will not go to the waiting room.
- """
-
- total_active_users: Optional[int] = None
- """Sets the total number of active user sessions on the route at a point in time.
-
- A route is a combination of host and path on which a waiting room is available.
- This value is used as a baseline for the total number of active user sessions on
- the route. It is possible to have a situation where there are more or less
- active users sessions on the route based on the traffic patterns at that time
- around the world.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_110.py b/src/cloudflare/types/shared/unnamed_schema_ref_110.py
deleted file mode 100644
index 0ad2f345d8f4..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_110.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef110"]
-
-
-class UnnamedSchemaRef110(BaseModel):
- search_engine_crawler_bypass: bool
- """
- Whether to allow verified search engine crawlers to bypass all waiting rooms on
- this zone. Verified search engine crawlers will not be tracked or counted by the
- waiting room system, and will not appear in waiting room analytics.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_111.py b/src/cloudflare/types/shared/unnamed_schema_ref_111.py
deleted file mode 100644
index ab38424e7b96..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_111.py
+++ /dev/null
@@ -1,97 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-from datetime import datetime
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef111"]
-
-
-class UnnamedSchemaRef111(BaseModel):
- id: Optional[str] = None
-
- created_on: Optional[datetime] = None
-
- custom_page_html: Optional[str] = None
- """
- If set, the event will override the waiting room's `custom_page_html` property
- while it is active. If null, the event will inherit it.
- """
-
- description: Optional[str] = None
- """A note that you can use to add more details about the event."""
-
- disable_session_renewal: Optional[bool] = None
- """
- If set, the event will override the waiting room's `disable_session_renewal`
- property while it is active. If null, the event will inherit it.
- """
-
- event_end_time: Optional[str] = None
- """An ISO 8601 timestamp that marks the end of the event."""
-
- event_start_time: Optional[str] = None
- """An ISO 8601 timestamp that marks the start of the event.
-
- At this time, queued users will be processed with the event's configuration. The
- start time must be at least one minute before `event_end_time`.
- """
-
- modified_on: Optional[datetime] = None
-
- name: Optional[str] = None
- """A unique name to identify the event.
-
- Only alphanumeric characters, hyphens and underscores are allowed.
- """
-
- new_users_per_minute: Optional[int] = None
- """
- If set, the event will override the waiting room's `new_users_per_minute`
- property while it is active. If null, the event will inherit it. This can only
- be set if the event's `total_active_users` property is also set.
- """
-
- prequeue_start_time: Optional[str] = None
- """
- An ISO 8601 timestamp that marks when to begin queueing all users before the
- event starts. The prequeue must start at least five minutes before
- `event_start_time`.
- """
-
- queueing_method: Optional[str] = None
- """
- If set, the event will override the waiting room's `queueing_method` property
- while it is active. If null, the event will inherit it.
- """
-
- session_duration: Optional[int] = None
- """
- If set, the event will override the waiting room's `session_duration` property
- while it is active. If null, the event will inherit it.
- """
-
- shuffle_at_event_start: Optional[bool] = None
- """
- If enabled, users in the prequeue will be shuffled randomly at the
- `event_start_time`. Requires that `prequeue_start_time` is not null. This is
- useful for situations when many users will join the event prequeue at the same
- time and you want to shuffle them to ensure fairness. Naturally, it makes the
- most sense to enable this feature when the `queueing_method` during the event
- respects ordering such as **fifo**, or else the shuffling may be unnecessary.
- """
-
- suspended: Optional[bool] = None
- """Suspends or allows an event.
-
- If set to `true`, the event is ignored and traffic will be handled based on the
- waiting room configuration.
- """
-
- total_active_users: Optional[int] = None
- """
- If set, the event will override the waiting room's `total_active_users` property
- while it is active. If null, the event will inherit it. This can only be set if
- the event's `new_users_per_minute` property is also set.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_113.py b/src/cloudflare/types/shared/unnamed_schema_ref_113.py
deleted file mode 100644
index 9bf207d0d5e0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_113.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef113"]
-
-
-class UnnamedSchemaRef113(BaseModel):
- enabled: Optional[bool] = None
- """Indicates whether zone-level authenticated origin pulls is enabled."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_114.py b/src/cloudflare/types/shared/unnamed_schema_ref_114.py
deleted file mode 100644
index 88cb275fc836..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_114.py
+++ /dev/null
@@ -1,35 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef114"]
-
-
-class UnnamedSchemaRef114(BaseModel):
- id: Optional[str] = None
-
- auto_refresh_seconds: Optional[float] = None
- """
- How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
- applicable for primary zones.
- """
-
- checked_time: Optional[str] = None
- """The time for a specific event."""
-
- created_time: Optional[str] = None
- """The time for a specific event."""
-
- modified_time: Optional[str] = None
- """The time for a specific event."""
-
- name: Optional[str] = None
- """Zone name."""
-
- peers: Optional[List[object]] = None
- """A list of peer tags."""
-
- soa_serial: Optional[float] = None
- """The serial number of the SOA for the given zone."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_115.py b/src/cloudflare/types/shared/unnamed_schema_ref_115.py
deleted file mode 100644
index 70df0cccaa9f..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_115.py
+++ /dev/null
@@ -1,29 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef115"]
-
-
-class UnnamedSchemaRef115(BaseModel):
- id: Optional[str] = None
-
- checked_time: Optional[str] = None
- """The time for a specific event."""
-
- created_time: Optional[str] = None
- """The time for a specific event."""
-
- last_transferred_time: Optional[str] = None
- """The time for a specific event."""
-
- name: Optional[str] = None
- """Zone name."""
-
- peers: Optional[List[object]] = None
- """A list of peer tags."""
-
- soa_serial: Optional[float] = None
- """The serial number of the SOA for the given zone."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_116.py b/src/cloudflare/types/shared/unnamed_schema_ref_116.py
deleted file mode 100644
index 088490c11248..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_116.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["UnnamedSchemaRef116"]
-
-UnnamedSchemaRef116 = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_117.py b/src/cloudflare/types/shared/unnamed_schema_ref_117.py
deleted file mode 100644
index 7991aa35884b..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_117.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef117"]
-
-
-class UnnamedSchemaRef117(BaseModel):
- encrypted: Optional[int] = None
- """The number of bytes served over HTTPS."""
-
- unencrypted: Optional[int] = None
- """The number of bytes served over HTTP."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_118.py b/src/cloudflare/types/shared/unnamed_schema_ref_118.py
deleted file mode 100644
index 42b550a10a1d..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_118.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from pydantic import Field as FieldInfo
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef118"]
-
-
-class UnnamedSchemaRef118(BaseModel):
- none: Optional[int] = None
- """The number of requests served over HTTP."""
-
- tl_sv1: Optional[int] = FieldInfo(alias="TLSv1", default=None)
- """The number of requests served over TLS v1.0."""
-
- tl_sv1_1: Optional[int] = FieldInfo(alias="TLSv1.1", default=None)
- """The number of requests served over TLS v1.1."""
-
- tl_sv1_2: Optional[int] = FieldInfo(alias="TLSv1.2", default=None)
- """The number of requests served over TLS v1.2."""
-
- tl_sv1_3: Optional[int] = FieldInfo(alias="TLSv1.3", default=None)
- """The number of requests served over TLS v1.3."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_119.py b/src/cloudflare/types/shared/unnamed_schema_ref_119.py
deleted file mode 100644
index 65371bf11ea2..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_119.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef119"]
-
-UnnamedSchemaRef119 = Literal["windows", "linux", "mac"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_121.py b/src/cloudflare/types/shared/unnamed_schema_ref_121.py
deleted file mode 100644
index f8449546af33..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_121.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["UnnamedSchemaRef121"]
-
-UnnamedSchemaRef121 = Union[str, List[str]]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_122.py b/src/cloudflare/types/shared/unnamed_schema_ref_122.py
deleted file mode 100644
index a1e170dc93af..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_122.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef122"]
-
-
-class UnnamedSchemaRef122(BaseModel):
- prompt: str
-
- guidance: Optional[float] = None
-
- image: Optional[List[float]] = None
-
- mask: Optional[List[float]] = None
-
- num_steps: Optional[int] = None
-
- strength: Optional[float] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_131.py b/src/cloudflare/types/shared/unnamed_schema_ref_131.py
deleted file mode 100644
index d7e8056af16c..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_131.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef131"]
-
-
-class UnnamedSchemaRef131(BaseModel):
- id: str
- """The ID of a previously created Access group."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_135.py b/src/cloudflare/types/shared/unnamed_schema_ref_135.py
deleted file mode 100644
index a7480728755a..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_135.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef135"]
-
-
-class UnnamedSchemaRef135(BaseModel):
- label: Optional[str] = None
-
- score: Optional[float] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_136.py b/src/cloudflare/types/shared/unnamed_schema_ref_136.py
deleted file mode 100644
index 075ca5dfd1b0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_136.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef136"]
-
-
-class UnnamedSchemaRef136(BaseModel):
- public_key: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_139.py b/src/cloudflare/types/shared/unnamed_schema_ref_139.py
deleted file mode 100644
index 96e9b0c5392a..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_139.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef139"]
-
-UnnamedSchemaRef139 = Literal["cache_reserve_clear"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_140.py b/src/cloudflare/types/shared/unnamed_schema_ref_140.py
deleted file mode 100644
index e3c3ba6b1dcd..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_140.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef140"]
-
-UnnamedSchemaRef140 = Literal["tc_regional"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_142.py b/src/cloudflare/types/shared/unnamed_schema_ref_142.py
deleted file mode 100644
index cb15ca85aaa7..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_142.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef142"]
-
-UnnamedSchemaRef142 = Literal["origin_max_http_version"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_143.py b/src/cloudflare/types/shared/unnamed_schema_ref_143.py
deleted file mode 100644
index 00eab0d3a969..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_143.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef143"]
-
-
-class UnnamedSchemaRef143(BaseModel):
- id: Optional[str] = None
- """UUID"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_144.py b/src/cloudflare/types/shared/unnamed_schema_ref_144.py
deleted file mode 100644
index a386e63cacbb..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_144.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef144"]
-
-UnnamedSchemaRef144 = Literal["cache_reserve"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_146.py b/src/cloudflare/types/shared/unnamed_schema_ref_146.py
deleted file mode 100644
index c187cfced009..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_146.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef146"]
-
-UnnamedSchemaRef146 = Literal["*", "referral", "referrer"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_151.py b/src/cloudflare/types/shared/unnamed_schema_ref_151.py
deleted file mode 100644
index d148924ef425..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_151.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef151"]
-
-UnnamedSchemaRef151 = Literal["variants"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_152.py b/src/cloudflare/types/shared/unnamed_schema_ref_152.py
deleted file mode 100644
index 59a7bae895eb..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_152.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef152"]
-
-
-class UnnamedSchemaRef152(BaseModel):
- id: Optional[str] = None
- """Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_158.py b/src/cloudflare/types/shared/unnamed_schema_ref_158.py
deleted file mode 100644
index d89fcc91e0a9..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_158.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef158"]
-
-
-class UnnamedSchemaRef158(BaseModel):
- enabled: Optional[bool] = None
- """A flag to enable or disable SCIM for the identity provider."""
-
- group_member_deprovision: Optional[bool] = None
- """
- A flag to revoke a user's session in Access and force a reauthentication on the
- user's Gateway session when they have been added or removed from a group in the
- Identity Provider.
- """
-
- seat_deprovision: Optional[bool] = None
- """
- A flag to remove a user's seat in Zero Trust when they have been deprovisioned
- in the Identity Provider. This cannot be enabled unless user_deprovision is also
- enabled.
- """
-
- secret: Optional[str] = None
- """
- A read-only token generated when the SCIM integration is enabled for the first
- time. It is redacted on subsequent requests. If you lose this you will need to
- refresh it token at /access/identity_providers/:idpID/refresh_scim_secret.
- """
-
- user_deprovision: Optional[bool] = None
- """
- A flag to enable revoking a user's session in Access and Gateway when they have
- been deprovisioned in the Identity Provider.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_161.py b/src/cloudflare/types/shared/unnamed_schema_ref_161.py
deleted file mode 100644
index acc2c3f4bb90..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_161.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["UnnamedSchemaRef161"]
-
-UnnamedSchemaRef161 = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_169.py b/src/cloudflare/types/shared/unnamed_schema_ref_169.py
deleted file mode 100644
index 9dfc7edd8d1e..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_169.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["UnnamedSchemaRef169"]
-
-UnnamedSchemaRef169 = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_170.py b/src/cloudflare/types/shared/unnamed_schema_ref_170.py
deleted file mode 100644
index 7c05f2237bf4..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_170.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef170"]
-
-
-class UnnamedSchemaRef170(BaseModel):
- code: str
-
- message: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_171.py b/src/cloudflare/types/shared/unnamed_schema_ref_171.py
deleted file mode 100644
index 07e3c0ac2d66..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_171.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["UnnamedSchemaRef171"]
-
-UnnamedSchemaRef171 = Union[List[object], str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_173.py b/src/cloudflare/types/shared/unnamed_schema_ref_173.py
deleted file mode 100644
index 90430ab29f5c..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_173.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["UnnamedSchemaRef173"]
-
-UnnamedSchemaRef173 = Union[str, object, None]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_2.py b/src/cloudflare/types/shared/unnamed_schema_ref_2.py
deleted file mode 100644
index a11d30e19383..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_2.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef2"]
-
-UnnamedSchemaRef2 = Literal["pending", "running", "completed", "failed"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_155.py b/src/cloudflare/types/shared/unnamed_schema_ref_2173d81a0b2d332c9e2ac46900fe8bb9.py
similarity index 54%
rename from src/cloudflare/types/shared/unnamed_schema_ref_155.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_2173d81a0b2d332c9e2ac46900fe8bb9.py
index d43aa9efa11d..64e74877ef00 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_155.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_2173d81a0b2d332c9e2ac46900fe8bb9.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef155"]
+__all__ = ["UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9"]
-class UnnamedSchemaRef155(BaseModel):
+class UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9(BaseModel):
name: str
value: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_23.py b/src/cloudflare/types/shared/unnamed_schema_ref_23.py
deleted file mode 100644
index bdfb1f9931a0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_23.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List
-
-__all__ = ["UnnamedSchemaRef23"]
-
-UnnamedSchemaRef23 = List[object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_52.py b/src/cloudflare/types/shared/unnamed_schema_ref_23001f1f0b697900e282236466a95fa3.py
similarity index 68%
rename from src/cloudflare/types/shared/unnamed_schema_ref_52.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_23001f1f0b697900e282236466a95fa3.py
index 292cd6add8ec..efe0112f7d1c 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_52.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_23001f1f0b697900e282236466a95fa3.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef52"]
+__all__ = ["UnnamedSchemaRef23001f1f0b697900e282236466a95fa3"]
-class UnnamedSchemaRef52(BaseModel):
+class UnnamedSchemaRef23001f1f0b697900e282236466a95fa3(BaseModel):
batch_size: Optional[float] = None
max_retries: Optional[float] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_25.py b/src/cloudflare/types/shared/unnamed_schema_ref_25.py
deleted file mode 100644
index d9459a6d3a61..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_25.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef25"]
-
-
-class UnnamedSchemaRef25(BaseModel):
- id: Optional[str] = None
- """Cloudflare account ID."""
-
- gateway_tag: Optional[str] = None
- """Gateway internal ID."""
-
- provider_name: Optional[str] = None
- """The name of the provider. Usually Cloudflare."""
diff --git a/src/cloudflare/types/shared/response_info.py b/src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
similarity index 54%
rename from src/cloudflare/types/shared/response_info.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
index 3208261ab123..898f10b8d27d 100644
--- a/src/cloudflare/types/shared/response_info.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["ResponseInfo"]
+__all__ = ["UnnamedSchemaRef3248f24329456e19dfa042fff9986f72"]
-class ResponseInfo(BaseModel):
+class UnnamedSchemaRef3248f24329456e19dfa042fff9986f72(BaseModel):
code: int
message: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_123.py b/src/cloudflare/types/shared/unnamed_schema_ref_33f2e3917f3fe46ad98af0acbb1d9a19.py
similarity index 97%
rename from src/cloudflare/types/shared/unnamed_schema_ref_123.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_33f2e3917f3fe46ad98af0acbb1d9a19.py
index 616f87ec81de..cf2899cec228 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_123.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_33f2e3917f3fe46ad98af0acbb1d9a19.py
@@ -7,7 +7,7 @@
from ..._models import BaseModel
__all__ = [
- "UnnamedSchemaRef123",
+ "UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19",
"TunnelCfdTunnel",
"TunnelCfdTunnelConnection",
"TunnelWARPConnectorTunnel",
@@ -183,4 +183,4 @@ class TunnelWARPConnectorTunnel(BaseModel):
"""The type of tunnel."""
-UnnamedSchemaRef123 = Union[TunnelCfdTunnel, TunnelWARPConnectorTunnel]
+UnnamedSchemaRef33f2e3917f3fe46ad98af0acbb1d9a19 = Union[TunnelCfdTunnel, TunnelWARPConnectorTunnel]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_34.py b/src/cloudflare/types/shared/unnamed_schema_ref_34.py
deleted file mode 100644
index 24772585b635..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_34.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from pydantic import Field as FieldInfo
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef34"]
-
-
-class UnnamedSchemaRef34(BaseModel):
- id: Optional[str] = None
- """Image unique identifier."""
-
- upload_url: Optional[str] = FieldInfo(alias="uploadURL", default=None)
- """
- The URL the unauthenticated upload can be performed to using a single HTTP POST
- (multipart/form-data) request.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_36.py b/src/cloudflare/types/shared/unnamed_schema_ref_36.py
deleted file mode 100644
index 75d553d415f6..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_36.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef36"]
-
-
-class UnnamedSchemaRef36(BaseModel):
- id: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_37.py b/src/cloudflare/types/shared/unnamed_schema_ref_37.py
deleted file mode 100644
index ee5b4dbb61fd..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_37.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef37"]
-
-
-class UnnamedSchemaRef37(BaseModel):
- id: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_38.py b/src/cloudflare/types/shared/unnamed_schema_ref_38.py
deleted file mode 100644
index f6949170055a..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_38.py
+++ /dev/null
@@ -1,91 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-from .unnamed_schema_ref_83 import UnnamedSchemaRef83
-from .unnamed_schema_ref_84 import UnnamedSchemaRef84
-
-__all__ = ["UnnamedSchemaRef38", "GRETunnel", "GRETunnelHealthCheck"]
-
-
-class GRETunnelHealthCheck(BaseModel):
- direction: Optional[Literal["unidirectional", "bidirectional"]] = None
- """The direction of the flow of the healthcheck.
-
- Either unidirectional, where the probe comes to you via the tunnel and the
- result comes back to Cloudflare via the open Internet, or bidirectional where
- both the probe and result come and go via the tunnel. Note in the case of
- bidirecitonal healthchecks, the target field in health_check is ignored as the
- interface_address is used to send traffic into the tunnel.
- """
-
- enabled: Optional[bool] = None
- """Determines whether to run healthchecks for a tunnel."""
-
- rate: Optional[UnnamedSchemaRef83] = None
- """How frequent the health check is run. The default value is `mid`."""
-
- target: Optional[str] = None
- """The destination address in a request type health check.
-
- After the healthcheck is decapsulated at the customer end of the tunnel, the
- ICMP echo will be forwarded to this address. This field defaults to
- `customer_gre_endpoint address`. This field is ignored for bidirectional
- healthchecks as the interface_address (not assigned to the Cloudflare side of
- the tunnel) is used as the target.
- """
-
- type: Optional[UnnamedSchemaRef84] = None
- """The type of healthcheck to run, reply or request. The default value is `reply`."""
-
-
-class GRETunnel(BaseModel):
- cloudflare_gre_endpoint: str
- """The IP address assigned to the Cloudflare side of the GRE tunnel."""
-
- customer_gre_endpoint: str
- """The IP address assigned to the customer side of the GRE tunnel."""
-
- interface_address: str
- """
- A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side
- of the tunnel. Select the subnet from the following private IP space:
- 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.
- """
-
- name: str
- """The name of the tunnel.
-
- The name cannot contain spaces or special characters, must be 15 characters or
- less, and cannot share a name with another GRE tunnel.
- """
-
- id: Optional[str] = None
- """Tunnel identifier tag."""
-
- created_on: Optional[datetime] = None
- """The date and time the tunnel was created."""
-
- description: Optional[str] = None
- """An optional description of the GRE tunnel."""
-
- health_check: Optional[GRETunnelHealthCheck] = None
-
- modified_on: Optional[datetime] = None
- """The date and time the tunnel was last modified."""
-
- mtu: Optional[int] = None
- """Maximum Transmission Unit (MTU) in bytes for the GRE tunnel.
-
- The minimum value is 576.
- """
-
- ttl: Optional[int] = None
- """Time To Live (TTL) in number of hops of the GRE tunnel."""
-
-
-class UnnamedSchemaRef38(BaseModel):
- gre_tunnels: Optional[List[GRETunnel]] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_39.py b/src/cloudflare/types/shared/unnamed_schema_ref_39.py
deleted file mode 100644
index 8f63c790d43e..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_39.py
+++ /dev/null
@@ -1,85 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-
-from ..._models import BaseModel
-from .unnamed_schema_ref_83 import UnnamedSchemaRef83
-from .unnamed_schema_ref_84 import UnnamedSchemaRef84
-
-__all__ = ["UnnamedSchemaRef39", "IPSECTunnel", "IPSECTunnelPSKMetadata", "IPSECTunnelTunnelHealthCheck"]
-
-
-class IPSECTunnelPSKMetadata(BaseModel):
- last_generated_on: Optional[datetime] = None
- """The date and time the tunnel was last modified."""
-
-
-class IPSECTunnelTunnelHealthCheck(BaseModel):
- enabled: Optional[bool] = None
- """Determines whether to run healthchecks for a tunnel."""
-
- rate: Optional[UnnamedSchemaRef83] = None
- """How frequent the health check is run. The default value is `mid`."""
-
- target: Optional[str] = None
- """The destination address in a request type health check.
-
- After the healthcheck is decapsulated at the customer end of the tunnel, the
- ICMP echo will be forwarded to this address. This field defaults to
- `customer_gre_endpoint address`.
- """
-
- type: Optional[UnnamedSchemaRef84] = None
- """The type of healthcheck to run, reply or request. The default value is `reply`."""
-
-
-class IPSECTunnel(BaseModel):
- cloudflare_endpoint: str
- """The IP address assigned to the Cloudflare side of the IPsec tunnel."""
-
- interface_address: str
- """
- A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side
- of the tunnel. Select the subnet from the following private IP space:
- 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.
- """
-
- name: str
- """The name of the IPsec tunnel. The name cannot share a name with other tunnels."""
-
- id: Optional[str] = None
- """Tunnel identifier tag."""
-
- allow_null_cipher: Optional[bool] = None
- """
- When `true`, the tunnel can use a null-cipher (`ENCR_NULL`) in the ESP tunnel
- (Phase 2).
- """
-
- created_on: Optional[datetime] = None
- """The date and time the tunnel was created."""
-
- customer_endpoint: Optional[str] = None
- """The IP address assigned to the customer side of the IPsec tunnel."""
-
- description: Optional[str] = None
- """An optional description forthe IPsec tunnel."""
-
- modified_on: Optional[datetime] = None
- """The date and time the tunnel was last modified."""
-
- psk_metadata: Optional[IPSECTunnelPSKMetadata] = None
- """The PSK metadata that includes when the PSK was generated."""
-
- replay_protection: Optional[bool] = None
- """
- If `true`, then IPsec replay protection will be supported in the
- Cloudflare-to-customer direction.
- """
-
- tunnel_health_check: Optional[IPSECTunnelTunnelHealthCheck] = None
-
-
-class UnnamedSchemaRef39(BaseModel):
- ipsec_tunnels: Optional[List[IPSECTunnel]] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_4.py b/src/cloudflare/types/shared/unnamed_schema_ref_4.py
deleted file mode 100644
index ae5e88cd934a..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_4.py
+++ /dev/null
@@ -1,81 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef4", "IP", "Membership"]
-
-
-class IP(BaseModel):
- created_at: Optional[datetime] = None
-
- ip: Optional[str] = None
- """An IPv4 or IPv6 address."""
-
-
-class Membership(BaseModel):
- can_delete: Optional[bool] = None
- """Controls whether the membership can be deleted via the API or not."""
-
- created_at: Optional[datetime] = None
-
- identifier: Optional[str] = None
- """Identifier"""
-
- kind: Optional[Literal["zone", "account"]] = None
- """The type of the membership."""
-
-
-class UnnamedSchemaRef4(BaseModel):
- id: Optional[str] = None
- """Identifier"""
-
- can_delete: Optional[bool] = None
- """If set to false, then the Address Map cannot be deleted via API.
-
- This is true for Cloudflare-managed maps.
- """
-
- can_modify_ips: Optional[bool] = None
- """If set to false, then the IPs on the Address Map cannot be modified via the API.
-
- This is true for Cloudflare-managed maps.
- """
-
- created_at: Optional[datetime] = None
-
- default_sni: Optional[str] = None
- """
- If you have legacy TLS clients which do not send the TLS server name indicator,
- then you can specify one default SNI on the map. If Cloudflare receives a TLS
- handshake from a client without an SNI, it will respond with the default SNI on
- those IPs. The default SNI can be any valid zone or subdomain owned by the
- account.
- """
-
- description: Optional[str] = None
- """
- An optional description field which may be used to describe the types of IPs or
- zones on the map.
- """
-
- enabled: Optional[bool] = None
- """Whether the Address Map is enabled or not.
-
- Cloudflare's DNS will not respond with IP addresses on an Address Map until the
- map is enabled.
- """
-
- ips: Optional[List[IP]] = None
- """The set of IPs on the Address Map."""
-
- memberships: Optional[List[Membership]] = None
- """Zones and Accounts which will be assigned IPs on this Address Map.
-
- A zone membership will take priority over an account membership.
- """
-
- modified_at: Optional[datetime] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_40.py b/src/cloudflare/types/shared/unnamed_schema_ref_40.py
deleted file mode 100644
index a2bfb4259654..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_40.py
+++ /dev/null
@@ -1,49 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef40", "Route", "RouteScope"]
-
-
-class RouteScope(BaseModel):
- colo_names: Optional[List[str]] = None
- """List of colo names for the ECMP scope."""
-
- colo_regions: Optional[List[str]] = None
- """List of colo regions for the ECMP scope."""
-
-
-class Route(BaseModel):
- nexthop: str
- """The next-hop IP Address for the static route."""
-
- prefix: str
- """IP Prefix in Classless Inter-Domain Routing format."""
-
- priority: int
- """Priority of the static route."""
-
- id: Optional[str] = None
- """Identifier"""
-
- created_on: Optional[datetime] = None
- """When the route was created."""
-
- description: Optional[str] = None
- """An optional human provided description of the static route."""
-
- modified_on: Optional[datetime] = None
- """When the route was last modified."""
-
- scope: Optional[RouteScope] = None
- """Used only for ECMP routes."""
-
- weight: Optional[int] = None
- """Optional weight of the ECMP scope - if provided."""
-
-
-class UnnamedSchemaRef40(BaseModel):
- routes: Optional[List[Route]] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_156.py b/src/cloudflare/types/shared/unnamed_schema_ref_413ab4522f0bb93f63444799121fe2f8.py
similarity index 97%
rename from src/cloudflare/types/shared/unnamed_schema_ref_156.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_413ab4522f0bb93f63444799121fe2f8.py
index 0184d965119b..c1b54bea3405 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_156.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_413ab4522f0bb93f63444799121fe2f8.py
@@ -7,7 +7,7 @@
from ..._models import BaseModel
__all__ = [
- "UnnamedSchemaRef156",
+ "UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8",
"TunnelCfdTunnel",
"TunnelCfdTunnelConnection",
"TunnelWARPConnectorTunnel",
@@ -183,4 +183,4 @@ class TunnelWARPConnectorTunnel(BaseModel):
"""The type of tunnel."""
-UnnamedSchemaRef156 = Union[TunnelCfdTunnel, TunnelWARPConnectorTunnel]
+UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8 = Union[TunnelCfdTunnel, TunnelWARPConnectorTunnel]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_43.py b/src/cloudflare/types/shared/unnamed_schema_ref_43.py
deleted file mode 100644
index c3c4e7e97928..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_43.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef43"]
-
-
-class UnnamedSchemaRef43(BaseModel):
- id: Optional[str] = None
- """The unique ID of the item in the List."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_46.py b/src/cloudflare/types/shared/unnamed_schema_ref_46.py
deleted file mode 100644
index 6fd03d2c79af..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_46.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef46"]
-
-
-class UnnamedSchemaRef46(BaseModel):
- id: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_49.py b/src/cloudflare/types/shared/unnamed_schema_ref_49.py
deleted file mode 100644
index a8ac184b677a..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_49.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["UnnamedSchemaRef49"]
-
-UnnamedSchemaRef49 = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_5.py b/src/cloudflare/types/shared/unnamed_schema_ref_5.py
deleted file mode 100644
index 0cc615303536..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_5.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef5"]
-
-
-class UnnamedSchemaRef5(BaseModel):
- filename: Optional[str] = None
- """Name of LOA document."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_57.py b/src/cloudflare/types/shared/unnamed_schema_ref_57.py
deleted file mode 100644
index 9f00f2f11fe8..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_57.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef57"]
-
-
-class UnnamedSchemaRef57(BaseModel):
- id: str
- """Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_59.py b/src/cloudflare/types/shared/unnamed_schema_ref_59.py
deleted file mode 100644
index be41f31dd2c6..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_59.py
+++ /dev/null
@@ -1,22 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef59"]
-
-
-class UnnamedSchemaRef59(BaseModel):
- certificate_authority: Optional[Literal["google", "lets_encrypt"]] = None
- """The Certificate Authority that Total TLS certificates will be issued through."""
-
- enabled: Optional[bool] = None
- """
- If enabled, Total TLS will order a hostname specific TLS certificate for any
- proxied A, AAAA, or CNAME record in your zone.
- """
-
- validity_days: Optional[Literal[90]] = None
- """The validity period in days for the certificates ordered via Total TLS."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_63.py b/src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py
similarity index 60%
rename from src/cloudflare/types/shared/unnamed_schema_ref_63.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py
index 076cdfb5b3fd..16cfba37c501 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_63.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_5cf232a1d651060af6450ae882932776.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef63"]
+__all__ = ["UnnamedSchemaRef5cf232a1d651060af6450ae882932776"]
-class UnnamedSchemaRef63(BaseModel):
+class UnnamedSchemaRef5cf232a1d651060af6450ae882932776(BaseModel):
id: Optional[str] = None
"""Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_602dd5f63eab958d53da61434dec08f0.py b/src/cloudflare/types/shared/unnamed_schema_ref_602dd5f63eab958d53da61434dec08f0.py
new file mode 100644
index 000000000000..7506e0eb62e1
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_602dd5f63eab958d53da61434dec08f0.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Union
+
+__all__ = ["UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0"]
+
+UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0 = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_61.py b/src/cloudflare/types/shared/unnamed_schema_ref_61.py
deleted file mode 100644
index c65687ebe3bc..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_61.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef61"]
-
-
-class UnnamedSchemaRef61(BaseModel):
- recs_added: Optional[float] = None
- """Number of DNS records added."""
-
- total_records_parsed: Optional[float] = None
- """Total number of DNS records parsed."""
diff --git a/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py b/src/cloudflare/types/shared/unnamed_schema_ref_619309774d07ec6904f1e354560d6028.py
similarity index 50%
rename from src/cloudflare/types/zero_trust/access/applications/ca_get_response.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_619309774d07ec6904f1e354560d6028.py
index 01b4759ad893..128623ca6327 100644
--- a/src/cloudflare/types/zero_trust/access/applications/ca_get_response.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_619309774d07ec6904f1e354560d6028.py
@@ -1,7 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import Union
-__all__ = ["CAGetResponse"]
-CAGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_65e3c8c1a9c4638ec25cdbbaca7165c1.py b/src/cloudflare/types/shared/unnamed_schema_ref_65e3c8c1a9c4638ec25cdbbaca7165c1.py
new file mode 100644
index 000000000000..1d89a23c4a21
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_65e3c8c1a9c4638ec25cdbbaca7165c1.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List, Union
+
+__all__ = ["UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1"]
+
+UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1 = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_67bbb1ccdd42c3e2937b9fd19f791151.py b/src/cloudflare/types/shared/unnamed_schema_ref_67bbb1ccdd42c3e2937b9fd19f791151.py
new file mode 100644
index 000000000000..bdab340356cf
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_67bbb1ccdd42c3e2937b9fd19f791151.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List, Union
+
+__all__ = ["UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151"]
+
+UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151 = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_69.py b/src/cloudflare/types/shared/unnamed_schema_ref_69.py
deleted file mode 100644
index 403429f856b0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_69.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef69"]
-
-
-class UnnamedSchemaRef69(BaseModel):
- id: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_7.py b/src/cloudflare/types/shared/unnamed_schema_ref_7.py
deleted file mode 100644
index d93205d36954..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_7.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-from datetime import datetime
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef7"]
-
-
-class UnnamedSchemaRef7(BaseModel):
- advertised: Optional[bool] = None
- """Enablement of prefix advertisement to the Internet."""
-
- advertised_modified_at: Optional[datetime] = None
- """Last time the advertisement status was changed.
-
- This field is only not 'null' if on demand is enabled.
- """
diff --git a/src/cloudflare/types/logging.py b/src/cloudflare/types/shared/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
similarity index 50%
rename from src/cloudflare/types/logging.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
index ffa444645efd..1b370c85e5b2 100644
--- a/src/cloudflare/types/logging.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
@@ -1,10 +1,12 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from .._models import BaseModel
-__all__ = ["Logging"]
+from ..._models import BaseModel
-class Logging(BaseModel):
+__all__ = ["UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c"]
+
+
+class UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c(BaseModel):
enabled: bool
"""Whether to generate a log when the rule matches."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_71.py b/src/cloudflare/types/shared/unnamed_schema_ref_71.py
deleted file mode 100644
index 19605167e7d9..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_71.py
+++ /dev/null
@@ -1,69 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef71"]
-
-
-class UnnamedSchemaRef71(BaseModel):
- id: Optional[str] = None
- """Identifier"""
-
- certificate_authority: Optional[Literal["google", "lets_encrypt"]] = None
- """Certificate Authority selected for the order.
-
- For information on any certificate authority specific details or restrictions
- [see this page for more details.](https://developers.cloudflare.com/ssl/reference/certificate-authorities)
- """
-
- cloudflare_branding: Optional[bool] = None
- """Whether or not to add Cloudflare Branding for the order.
-
- This will add sni.cloudflaressl.com as the Common Name if set true.
- """
-
- hosts: Optional[List[str]] = None
- """Comma separated list of valid host names for the certificate packs.
-
- Must contain the zone apex, may not contain more than 50 hosts, and may not be
- empty.
- """
-
- status: Optional[
- Literal[
- "initializing",
- "pending_validation",
- "deleted",
- "pending_issuance",
- "pending_deployment",
- "pending_deletion",
- "pending_expiration",
- "expired",
- "active",
- "initializing_timed_out",
- "validation_timed_out",
- "issuance_timed_out",
- "deployment_timed_out",
- "deletion_timed_out",
- "pending_cleanup",
- "staging_deployment",
- "staging_active",
- "deactivating",
- "inactive",
- "backup_issued",
- "holding_deployment",
- ]
- ] = None
- """Status of certificate pack."""
-
- type: Optional[Literal["advanced"]] = None
- """Type of certificate pack."""
-
- validation_method: Optional[Literal["txt", "http", "email"]] = None
- """Validation Method selected for the order."""
-
- validity_days: Optional[Literal[14, 30, 90, 365]] = None
- """Validity Days selected for the order."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_72.py b/src/cloudflare/types/shared/unnamed_schema_ref_72.py
deleted file mode 100644
index a11c729772a3..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_72.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef72"]
-
-
-class UnnamedSchemaRef72(BaseModel):
- id: str
- """Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_73.py b/src/cloudflare/types/shared/unnamed_schema_ref_73.py
deleted file mode 100644
index ef6bb1acfeb5..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_73.py
+++ /dev/null
@@ -1,131 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union, Optional
-from datetime import datetime
-from typing_extensions import Literal
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef73", "DNS", "EdgeIPs", "EdgeIPsEyeballIPs", "EdgeIPsCustomerOwnedIPs", "OriginDNS"]
-
-
-class DNS(BaseModel):
- name: Optional[str] = None
- """The name of the DNS record associated with the application."""
-
- type: Optional[Literal["CNAME", "ADDRESS"]] = None
- """The type of DNS record associated with the application."""
-
-
-class EdgeIPsEyeballIPs(BaseModel):
- connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
- """The IP versions supported for inbound connections on Spectrum anycast IPs."""
-
- type: Optional[Literal["dynamic"]] = None
- """The type of edge IP configuration specified.
-
- Dynamically allocated edge IPs use Spectrum anycast IPs in accordance with the
- connectivity you specify. Only valid with CNAME DNS names.
- """
-
-
-class EdgeIPsCustomerOwnedIPs(BaseModel):
- ips: Optional[List[str]] = None
- """
- The array of customer owned IPs we broadcast via anycast for this hostname and
- application.
- """
-
- type: Optional[Literal["static"]] = None
- """The type of edge IP configuration specified.
-
- Statically allocated edge IPs use customer IPs in accordance with the ips array
- you specify. Only valid with ADDRESS DNS names.
- """
-
-
-EdgeIPs = Union[EdgeIPsEyeballIPs, EdgeIPsCustomerOwnedIPs]
-
-
-class OriginDNS(BaseModel):
- name: Optional[str] = None
- """The name of the DNS record associated with the origin."""
-
- ttl: Optional[int] = None
- """The TTL of our resolution of your DNS record in seconds."""
-
- type: Optional[Literal["", "A", "AAAA", "SRV"]] = None
- """The type of DNS record associated with the origin.
-
- "" is used to specify a combination of A/AAAA records.
- """
-
-
-class UnnamedSchemaRef73(BaseModel):
- id: Optional[str] = None
- """Application identifier."""
-
- argo_smart_routing: Optional[bool] = None
- """
- Enables Argo Smart Routing for this application. Notes: Only available for TCP
- applications with traffic_type set to "direct".
- """
-
- created_on: Optional[datetime] = None
- """When the Application was created."""
-
- dns: Optional[DNS] = None
- """The name and type of DNS record for the Spectrum application."""
-
- edge_ips: Optional[EdgeIPs] = None
- """The anycast edge IP configuration for the hostname of this application."""
-
- ip_firewall: Optional[bool] = None
- """
- Enables IP Access Rules for this application. Notes: Only available for TCP
- applications.
- """
-
- modified_on: Optional[datetime] = None
- """When the Application was last modified."""
-
- origin_dns: Optional[OriginDNS] = None
- """The name and type of DNS record for the Spectrum application."""
-
- origin_port: Union[int, str, None] = None
- """The destination port at the origin.
-
- Only specified in conjunction with origin_dns. May use an integer to specify a
- single origin port, for example `1000`, or a string to specify a range of origin
- ports, for example `"1000-2000"`. Notes: If specifying a port range, the number
- of ports in the range must match the number of ports specified in the "protocol"
- field.
- """
-
- protocol: Optional[str] = None
- """The port configuration at Cloudflare’s edge.
-
- May specify a single port, for example `"tcp/1000"`, or a range of ports, for
- example `"tcp/1000-2000"`.
- """
-
- proxy_protocol: Optional[Literal["off", "v1", "v2", "simple"]] = None
- """Enables Proxy Protocol to the origin.
-
- Refer to
- [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/)
- for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple
- Proxy Protocol.
- """
-
- tls: Optional[Literal["off", "flexible", "full", "strict"]] = None
- """The type of TLS termination associated with the application."""
-
- traffic_type: Optional[Literal["direct", "http", "https"]] = None
- """Determines how data travels from the edge to your origin.
-
- When set to "direct", Spectrum will send traffic directly to your origin, and
- the application's type is derived from the `protocol`. When set to "http" or
- "https", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends
- traffic to your origin, and the application type matches this property exactly.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_77.py b/src/cloudflare/types/shared/unnamed_schema_ref_77.py
deleted file mode 100644
index c130de19a307..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_77.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef77"]
-
-UnnamedSchemaRef77 = Literal["id", "email"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_78.py b/src/cloudflare/types/shared/unnamed_schema_ref_78.py
deleted file mode 100644
index d27b4d5b5077..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_78.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef78"]
-
-UnnamedSchemaRef78 = Literal["ubiquitous", "optimal", "force"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_79.py b/src/cloudflare/types/shared/unnamed_schema_ref_79.py
deleted file mode 100644
index 3b4bb87d9532..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_79.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef79"]
-
-UnnamedSchemaRef79 = Literal["http", "txt", "email"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_8.py b/src/cloudflare/types/shared/unnamed_schema_ref_8.py
deleted file mode 100644
index 61103c2477a9..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_8.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef8"]
-
-
-class UnnamedSchemaRef8(BaseModel):
- text: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_80.py b/src/cloudflare/types/shared/unnamed_schema_ref_80.py
deleted file mode 100644
index 9098d3760c2d..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_80.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef80"]
-
-UnnamedSchemaRef80 = Literal["dv"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_81.py b/src/cloudflare/types/shared/unnamed_schema_ref_81.py
deleted file mode 100644
index 3231f64511a4..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_81.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef81"]
-
-UnnamedSchemaRef81 = Literal["on", "off"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_82.py b/src/cloudflare/types/shared/unnamed_schema_ref_82.py
deleted file mode 100644
index bcb9fb421648..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_82.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef82"]
-
-UnnamedSchemaRef82 = Literal["tcp", "udp", "icmp"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_83.py b/src/cloudflare/types/shared/unnamed_schema_ref_83.py
deleted file mode 100644
index 849072f381b0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_83.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef83"]
-
-UnnamedSchemaRef83 = Literal["low", "mid", "high"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_84.py b/src/cloudflare/types/shared/unnamed_schema_ref_84.py
deleted file mode 100644
index 713db3d65852..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_84.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef84"]
-
-UnnamedSchemaRef84 = Literal["reply", "request"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_85.py b/src/cloudflare/types/shared/unnamed_schema_ref_85.py
deleted file mode 100644
index ffbdf6716dd9..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_85.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef85"]
-
-UnnamedSchemaRef85 = Literal["r2"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_87.py b/src/cloudflare/types/shared/unnamed_schema_ref_87.py
deleted file mode 100644
index ab3d7a869472..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_87.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef87"]
-
-UnnamedSchemaRef87 = Literal["<", "<=", ">", ">=", "=="]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_88.py b/src/cloudflare/types/shared/unnamed_schema_ref_88.py
deleted file mode 100644
index 0a491120a93d..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_88.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef88"]
-
-UnnamedSchemaRef88 = Literal["<", "<=", ">", ">=", "=="]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_89.py b/src/cloudflare/types/shared/unnamed_schema_ref_89.py
deleted file mode 100644
index ca23191da086..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_89.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List
-
-from pydantic import Field as FieldInfo
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef89"]
-
-
-class UnnamedSchemaRef89(BaseModel):
- action_type: str = FieldInfo(alias="actionType")
- """Tool event type"""
-
- blocking_triggers: List[str] = FieldInfo(alias="blockingTriggers")
- """List of blocking triggers IDs"""
-
- data: object
- """Event payload"""
-
- firing_triggers: List[str] = FieldInfo(alias="firingTriggers")
- """List of firing triggers IDs"""
diff --git a/src/cloudflare/types/ssl/certificate_pack_delete_response.py b/src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py
similarity index 60%
rename from src/cloudflare/types/ssl/certificate_pack_delete_response.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py
index 20f9fa49401e..7e2f0b2b0a88 100644
--- a/src/cloudflare/types/ssl/certificate_pack_delete_response.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_8900f4cb9dca9b9ed0ac41ad571e6837.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["CertificatePackDeleteResponse"]
+__all__ = ["UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837"]
-class CertificatePackDeleteResponse(BaseModel):
+class UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837(BaseModel):
id: Optional[str] = None
"""Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_8d6a37a1e4190f86652802244d29525f.py b/src/cloudflare/types/shared/unnamed_schema_ref_8d6a37a1e4190f86652802244d29525f.py
new file mode 100644
index 000000000000..fff122e453be
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_8d6a37a1e4190f86652802244d29525f.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Union
+
+__all__ = ["UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f"]
+
+UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_90.py b/src/cloudflare/types/shared/unnamed_schema_ref_90.py
deleted file mode 100644
index 7052497de6a3..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_90.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Dict
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef90"]
-
-
-class UnnamedSchemaRef90(BaseModel):
- accept_all: Dict[str, str]
- """Object where keys are language codes"""
-
- confirm_my_choices: Dict[str, str]
- """Object where keys are language codes"""
-
- reject_all: Dict[str, str]
- """Object where keys are language codes"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_91.py b/src/cloudflare/types/shared/unnamed_schema_ref_91.py
deleted file mode 100644
index 966b9c2ecc6e..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_91.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-from pydantic import Field as FieldInfo
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef91"]
-
-
-class UnnamedSchemaRef91(BaseModel):
- escaped_worker_name: str = FieldInfo(alias="escapedWorkerName")
-
- worker_tag: str = FieldInfo(alias="workerTag")
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_92.py b/src/cloudflare/types/shared/unnamed_schema_ref_92.py
deleted file mode 100644
index 638db67a1824..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_92.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef92"]
-
-UnnamedSchemaRef92 = Literal["on", "off"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_93.py b/src/cloudflare/types/shared/unnamed_schema_ref_93.py
deleted file mode 100644
index c2733e4f94e1..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_93.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef93"]
-
-
-class UnnamedSchemaRef93(BaseModel):
- data: Optional[List[List[float]]] = None
-
- shape: Optional[List[float]] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_94.py b/src/cloudflare/types/shared/unnamed_schema_ref_94.py
deleted file mode 100644
index 59144fae53e8..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_94.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef94"]
-
-
-class UnnamedSchemaRef94(BaseModel):
- end: Optional[float] = None
-
- start: Optional[float] = None
-
- word: Optional[str] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_9444735ca60712dbcf8afd832eb5716a.py b/src/cloudflare/types/shared/unnamed_schema_ref_9444735ca60712dbcf8afd832eb5716a.py
new file mode 100644
index 000000000000..7d657bb9cfdb
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_9444735ca60712dbcf8afd832eb5716a.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Union, Optional
+
+__all__ = ["UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a"]
+
+UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_96.py b/src/cloudflare/types/shared/unnamed_schema_ref_96.py
deleted file mode 100644
index 033703dc0cab..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_96.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef96"]
-
-UnnamedSchemaRef96 = Literal["custom"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_97.py b/src/cloudflare/types/shared/unnamed_schema_ref_97.py
deleted file mode 100644
index fe919b688ab1..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_97.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef97"]
-
-UnnamedSchemaRef97 = Literal["predefined"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_98.py b/src/cloudflare/types/shared/unnamed_schema_ref_98.py
deleted file mode 100644
index 5b1c7ebbc578..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_98.py
+++ /dev/null
@@ -1,267 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Optional
-from datetime import datetime
-from typing_extensions import Literal
-
-from pydantic import Field as FieldInfo
-
-from ..._models import BaseModel
-
-__all__ = [
- "UnnamedSchemaRef98",
- "LoadShedding",
- "NotificationFilter",
- "NotificationFilterOrigin",
- "NotificationFilterPool",
- "OriginSteering",
- "Origin",
- "OriginHeader",
-]
-
-
-class LoadShedding(BaseModel):
- default_percent: Optional[float] = None
- """The percent of traffic to shed from the pool, according to the default policy.
-
- Applies to new sessions and traffic without session affinity.
- """
-
- default_policy: Optional[Literal["random", "hash"]] = None
- """The default policy to use when load shedding.
-
- A random policy randomly sheds a given percent of requests. A hash policy
- computes a hash over the CF-Connecting-IP address and sheds all requests
- originating from a percent of IPs.
- """
-
- session_percent: Optional[float] = None
- """
- The percent of existing sessions to shed from the pool, according to the session
- policy.
- """
-
- session_policy: Optional[Literal["hash"]] = None
- """
- Only the hash policy is supported for existing sessions (to avoid exponential
- decay).
- """
-
-
-class NotificationFilterOrigin(BaseModel):
- disable: Optional[bool] = None
- """If set true, disable notifications for this type of resource (pool or origin)."""
-
- healthy: Optional[bool] = None
- """If present, send notifications only for this health status (e.g.
-
- false for only DOWN events). Use null to reset (all events).
- """
-
-
-class NotificationFilterPool(BaseModel):
- disable: Optional[bool] = None
- """If set true, disable notifications for this type of resource (pool or origin)."""
-
- healthy: Optional[bool] = None
- """If present, send notifications only for this health status (e.g.
-
- false for only DOWN events). Use null to reset (all events).
- """
-
-
-class NotificationFilter(BaseModel):
- origin: Optional[NotificationFilterOrigin] = None
- """Filter options for a particular resource type (pool or origin).
-
- Use null to reset.
- """
-
- pool: Optional[NotificationFilterPool] = None
- """Filter options for a particular resource type (pool or origin).
-
- Use null to reset.
- """
-
-
-class OriginSteering(BaseModel):
- policy: Optional[Literal["random", "hash", "least_outstanding_requests", "least_connections"]] = None
- """The type of origin steering policy to use.
-
- - `"random"`: Select an origin randomly.
- - `"hash"`: Select an origin by computing a hash over the CF-Connecting-IP
- address.
- - `"least_outstanding_requests"`: Select an origin by taking into consideration
- origin weights, as well as each origin's number of outstanding requests.
- Origins with more pending requests are weighted proportionately less relative
- to others.
- - `"least_connections"`: Select an origin by taking into consideration origin
- weights, as well as each origin's number of open connections. Origins with
- more open connections are weighted proportionately less relative to others.
- Supported for HTTP/1 and HTTP/2 connections.
- """
-
-
-class OriginHeader(BaseModel):
- host: Optional[List[str]] = FieldInfo(alias="Host", default=None)
- """The 'Host' header allows to override the hostname set in the HTTP request.
-
- Current support is 1 'Host' header override per origin.
- """
-
-
-class Origin(BaseModel):
- address: Optional[str] = None
- """
- The IP address (IPv4 or IPv6) of the origin, or its publicly addressable
- hostname. Hostnames entered here should resolve directly to the origin, and not
- be a hostname proxied by Cloudflare. To set an internal/reserved address,
- virtual_network_id must also be set.
- """
-
- disabled_at: Optional[datetime] = None
- """This field shows up only if the origin is disabled.
-
- This field is set with the time the origin was disabled.
- """
-
- enabled: Optional[bool] = None
- """Whether to enable (the default) this origin within the pool.
-
- Disabled origins will not receive traffic and are excluded from health checks.
- The origin will only be disabled for the current pool.
- """
-
- header: Optional[OriginHeader] = None
- """The request header is used to pass additional information with an HTTP request.
-
- Currently supported header is 'Host'.
- """
-
- name: Optional[str] = None
- """A human-identifiable name for the origin."""
-
- virtual_network_id: Optional[str] = None
- """The virtual network subnet ID the origin belongs in.
-
- Virtual network must also belong to the account.
- """
-
- weight: Optional[float] = None
- """The weight of this origin relative to other origins in the pool.
-
- Based on the configured weight the total traffic is distributed among origins
- within the pool.
-
- - `origin_steering.policy="least_outstanding_requests"`: Use weight to scale the
- origin's outstanding requests.
- - `origin_steering.policy="least_connections"`: Use weight to scale the origin's
- open connections.
- """
-
-
-class UnnamedSchemaRef98(BaseModel):
- check_regions: Optional[
- List[
- Literal[
- "WNAM",
- "ENAM",
- "WEU",
- "EEU",
- "NSAM",
- "SSAM",
- "OC",
- "ME",
- "NAF",
- "SAF",
- "SAS",
- "SEAS",
- "NEAS",
- "ALL_REGIONS",
- ]
- ]
- ] = None
- """A list of regions from which to run health checks.
-
- Null means every Cloudflare data center.
- """
-
- description: Optional[str] = None
- """A human-readable description of the pool."""
-
- disabled_at: Optional[datetime] = None
- """This field shows up only if the pool is disabled.
-
- This field is set with the time the pool was disabled at.
- """
-
- enabled: Optional[bool] = None
- """Whether to enable (the default) or disable this pool.
-
- Disabled pools will not receive traffic and are excluded from health checks.
- Disabling a pool will cause any load balancers using it to failover to the next
- pool (if any).
- """
-
- latitude: Optional[float] = None
- """
- The latitude of the data center containing the origins used in this pool in
- decimal degrees. If this is set, longitude must also be set.
- """
-
- load_shedding: Optional[LoadShedding] = None
- """Configures load shedding policies and percentages for the pool."""
-
- longitude: Optional[float] = None
- """
- The longitude of the data center containing the origins used in this pool in
- decimal degrees. If this is set, latitude must also be set.
- """
-
- minimum_origins: Optional[int] = None
- """
- The minimum number of origins that must be healthy for this pool to serve
- traffic. If the number of healthy origins falls below this number, the pool will
- be marked unhealthy and will failover to the next available pool.
- """
-
- monitor: Optional[object] = None
- """
- The ID of the Monitor to use for checking the health of origins within this
- pool.
- """
-
- name: Optional[str] = None
- """A short name (tag) for the pool.
-
- Only alphanumeric characters, hyphens, and underscores are allowed.
- """
-
- notification_email: Optional[str] = None
- """This field is now deprecated.
-
- It has been moved to Cloudflare's Centralized Notification service
- https://developers.cloudflare.com/fundamentals/notifications/. The email address
- to send health status notifications to. This can be an individual mailbox or a
- mailing list. Multiple emails can be supplied as a comma delimited list.
- """
-
- notification_filter: Optional[NotificationFilter] = None
- """Filter pool and origin health notifications by resource type or health status.
-
- Use null to reset.
- """
-
- origin_steering: Optional[OriginSteering] = None
- """Configures origin steering for the pool.
-
- Controls how origins are selected for new sessions and traffic without session
- affinity.
- """
-
- origins: Optional[List[Origin]] = None
- """The list of origins within this pool.
-
- Traffic directed at this pool is balanced across all currently healthy origins,
- provided the pool itself is healthy.
- """
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_99.py b/src/cloudflare/types/shared/unnamed_schema_ref_99.py
deleted file mode 100644
index 4e25f04101b0..000000000000
--- a/src/cloudflare/types/shared/unnamed_schema_ref_99.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef99"]
-
-
-class UnnamedSchemaRef99(BaseModel):
- id: str
- """Identifier"""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_b0ec5cc02c98b665099a5707a2db4ea6.py b/src/cloudflare/types/shared/unnamed_schema_ref_b0ec5cc02c98b665099a5707a2db4ea6.py
new file mode 100644
index 000000000000..bd4144c89c10
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_b0ec5cc02c98b665099a5707a2db4ea6.py
@@ -0,0 +1,9 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List
+
+from ..user.load_balancers import Pool
+
+__all__ = ["UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6"]
+
+UnnamedSchemaRefB0ec5cc02c98b665099a5707a2db4ea6 = List[Pool]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_145.py b/src/cloudflare/types/shared/unnamed_schema_ref_b52ad7cf99890d19f16edcd84d16ef5b.py
similarity index 96%
rename from src/cloudflare/types/shared/unnamed_schema_ref_145.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_b52ad7cf99890d19f16edcd84d16ef5b.py
index 1a02bdf5bd8c..dab0b89d1384 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_145.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_b52ad7cf99890d19f16edcd84d16ef5b.py
@@ -6,10 +6,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef145"]
+__all__ = ["UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b"]
-class UnnamedSchemaRef145(BaseModel):
+class UnnamedSchemaRefB52ad7cf99890d19f16edcd84d16ef5b(BaseModel):
id: Optional[str] = None
allow_insecure: Optional[bool] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_147.py b/src/cloudflare/types/shared/unnamed_schema_ref_b92f86eb861cd3dee83c40884802fda6.py
similarity index 98%
rename from src/cloudflare/types/shared/unnamed_schema_ref_147.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_b92f86eb861cd3dee83c40884802fda6.py
index 60bb3a108433..70b6c9f44392 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_147.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_b92f86eb861cd3dee83c40884802fda6.py
@@ -9,7 +9,7 @@
from ..._models import BaseModel
__all__ = [
- "UnnamedSchemaRef147",
+ "UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6",
"LoadShedding",
"NotificationFilter",
"NotificationFilterOrigin",
@@ -160,7 +160,7 @@ class Origin(BaseModel):
"""
-class UnnamedSchemaRef147(BaseModel):
+class UnnamedSchemaRefB92f86eb861cd3dee83c40884802fda6(BaseModel):
id: Optional[str] = None
check_regions: Optional[
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_124.py b/src/cloudflare/types/shared/unnamed_schema_ref_cc2ac1a037e5d6702fc77b3bcb527854.py
similarity index 58%
rename from src/cloudflare/types/shared/unnamed_schema_ref_124.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_cc2ac1a037e5d6702fc77b3bcb527854.py
index 12cab73aac77..caa9da73a457 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_124.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_cc2ac1a037e5d6702fc77b3bcb527854.py
@@ -4,8 +4,8 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef124"]
+__all__ = ["UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854"]
-class UnnamedSchemaRef124(BaseModel):
+class UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854(BaseModel):
valid: Optional[bool] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b.py b/src/cloudflare/types/shared/unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b.py
new file mode 100644
index 000000000000..ee6a49363f68
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_d8600eb4758b3ae35607a0327bcd691b.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b"]
+
+UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b = Literal["*", "referral", "referrer"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_dfef9380cb53cc7d4bda9f75e109d7a2.py b/src/cloudflare/types/shared/unnamed_schema_ref_dfef9380cb53cc7d4bda9f75e109d7a2.py
new file mode 100644
index 000000000000..4b1f393ad279
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_dfef9380cb53cc7d4bda9f75e109d7a2.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List
+
+__all__ = ["UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2"]
+
+UnnamedSchemaRefDfef9380cb53cc7d4bda9f75e109d7a2 = List[object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_9.py b/src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py
similarity index 83%
rename from src/cloudflare/types/shared/unnamed_schema_ref_9.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py
index b6fab21d08ff..ba236ab375c8 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_9.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_e7c61ebe06ebfc3861ae8b9db4ba152b.py
@@ -7,11 +7,11 @@
from pydantic import Field as FieldInfo
from ..._models import BaseModel
-from .response_info import ResponseInfo
-from .unnamed_schema_ref_171 import UnnamedSchemaRef171
+from .unnamed_schema_ref_3248f24329456e19dfa042fff9986f72 import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
+from .unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846 import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
__all__ = [
- "UnnamedSchemaRef9",
+ "UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b",
"UnionMember0",
"UnionMember0Result",
"UnionMember0ResultAction",
@@ -102,14 +102,14 @@ class UnionMember0(BaseModel):
class AaaAPIResponseCommon(BaseModel):
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- result: UnnamedSchemaRef171
+ result: UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
success: Literal[True]
"""Whether the API call was successful"""
-UnnamedSchemaRef9 = Union[UnionMember0, AaaAPIResponseCommon]
+UnnamedSchemaRefE7c61ebe06ebfc3861ae8b9db4ba152b = Union[UnionMember0, AaaAPIResponseCommon]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846.py b/src/cloudflare/types/shared/unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846.py
new file mode 100644
index 000000000000..5549c55be61a
--- /dev/null
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_ec4d85c3d1bcc6b3b7e99c199ae99846.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List, Union
+
+__all__ = ["UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846"]
+
+UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846 = Union[List[object], str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_51.py b/src/cloudflare/types/shared/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
similarity index 81%
rename from src/cloudflare/types/shared/unnamed_schema_ref_51.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
index bd64fe830d6f..00b7abb4f48e 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_51.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef51"]
+__all__ = ["UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24"]
-class UnnamedSchemaRef51(BaseModel):
+class UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24(BaseModel):
body_part: Optional[str] = None
"""Name of the part in the multipart request that contains the script (e.g.
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_132.py b/src/cloudflare/types/shared/unnamed_schema_ref_fb1dc8bb871d835b75bd0c2f50bd8572.py
similarity index 60%
rename from src/cloudflare/types/shared/unnamed_schema_ref_132.py
rename to src/cloudflare/types/shared/unnamed_schema_ref_fb1dc8bb871d835b75bd0c2f50bd8572.py
index 7aca941d7651..2ea16391c015 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_132.py
+++ b/src/cloudflare/types/shared/unnamed_schema_ref_fb1dc8bb871d835b75bd0c2f50bd8572.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef132"]
+__all__ = ["UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572"]
-class UnnamedSchemaRef132(BaseModel):
+class UnnamedSchemaRefFb1dc8bb871d835b75bd0c2f50bd8572(BaseModel):
id: Optional[str] = None
"""UUID"""
diff --git a/src/cloudflare/types/shared_params/__init__.py b/src/cloudflare/types/shared_params/__init__.py
index 4e45e97a45b5..e13f5e8dfc78 100644
--- a/src/cloudflare/types/shared_params/__init__.py
+++ b/src/cloudflare/types/shared_params/__init__.py
@@ -1,23 +1,11 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from .response_info import ResponseInfo as ResponseInfo
-from .unnamed_schema_ref_28 import UnnamedSchemaRef28 as UnnamedSchemaRef28
-from .unnamed_schema_ref_51 import UnnamedSchemaRef51 as UnnamedSchemaRef51
-from .unnamed_schema_ref_75 import UnnamedSchemaRef75 as UnnamedSchemaRef75
-from .unnamed_schema_ref_76 import UnnamedSchemaRef76 as UnnamedSchemaRef76
-from .unnamed_schema_ref_77 import UnnamedSchemaRef77 as UnnamedSchemaRef77
-from .unnamed_schema_ref_78 import UnnamedSchemaRef78 as UnnamedSchemaRef78
-from .unnamed_schema_ref_81 import UnnamedSchemaRef81 as UnnamedSchemaRef81
-from .unnamed_schema_ref_82 import UnnamedSchemaRef82 as UnnamedSchemaRef82
-from .unnamed_schema_ref_83 import UnnamedSchemaRef83 as UnnamedSchemaRef83
-from .unnamed_schema_ref_84 import UnnamedSchemaRef84 as UnnamedSchemaRef84
-from .unnamed_schema_ref_85 import UnnamedSchemaRef85 as UnnamedSchemaRef85
-from .unnamed_schema_ref_87 import UnnamedSchemaRef87 as UnnamedSchemaRef87
-from .unnamed_schema_ref_88 import UnnamedSchemaRef88 as UnnamedSchemaRef88
-from .unnamed_schema_ref_92 import UnnamedSchemaRef92 as UnnamedSchemaRef92
-from .unnamed_schema_ref_119 import UnnamedSchemaRef119 as UnnamedSchemaRef119
-from .unnamed_schema_ref_121 import UnnamedSchemaRef121 as UnnamedSchemaRef121
-from .unnamed_schema_ref_125 import UnnamedSchemaRef125 as UnnamedSchemaRef125
-from .unnamed_schema_ref_131 import UnnamedSchemaRef131 as UnnamedSchemaRef131
-from .unnamed_schema_ref_158 import UnnamedSchemaRef158 as UnnamedSchemaRef158
-from .unnamed_schema_ref_163 import UnnamedSchemaRef163 as UnnamedSchemaRef163
+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_121.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_121.py
deleted file mode 100644
index 86c5fd2f35f3..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_121.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List, Union
-
-__all__ = ["UnnamedSchemaRef121"]
-
-UnnamedSchemaRef121 = Union[str, List[str]]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_131.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_131.py
deleted file mode 100644
index 500753513ab0..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_131.py
+++ /dev/null
@@ -1,12 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["UnnamedSchemaRef131"]
-
-
-class UnnamedSchemaRef131(TypedDict, total=False):
- id: Required[str]
- """The ID of a previously created Access group."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_163.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_163.py
deleted file mode 100644
index 5958cbeca4e8..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_163.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef163"]
-
-UnnamedSchemaRef163 = Literal[
- "onetimepin",
- "azureAD",
- "saml",
- "centrify",
- "facebook",
- "github",
- "google-apps",
- "google",
- "linkedin",
- "oidc",
- "okta",
- "onelogin",
- "pingone",
- "yandex",
-]
diff --git a/src/cloudflare/types/shared_params/response_info.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
similarity index 61%
rename from src/cloudflare/types/shared_params/response_info.py
rename to src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
index 5e5530fa01e9..14c9d60db846 100644
--- a/src/cloudflare/types/shared_params/response_info.py
+++ b/src/cloudflare/types/shared_params/unnamed_schema_ref_3248f24329456e19dfa042fff9986f72.py
@@ -4,10 +4,10 @@
from typing_extensions import Required, TypedDict
-__all__ = ["ResponseInfo"]
+__all__ = ["UnnamedSchemaRef3248f24329456e19dfa042fff9986f72"]
-class ResponseInfo(TypedDict, total=False):
+class UnnamedSchemaRef3248f24329456e19dfa042fff9986f72(TypedDict, total=False):
code: Required[int]
message: Required[str]
diff --git a/src/cloudflare/types/logging_param.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
similarity index 64%
rename from src/cloudflare/types/logging_param.py
rename to src/cloudflare/types/shared_params/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
index 7ffdd5a2f4d7..0399c05f1e7e 100644
--- a/src/cloudflare/types/logging_param.py
+++ b/src/cloudflare/types/shared_params/unnamed_schema_ref_70f2c6ccd8a405358ac7ef8fc3d6751c.py
@@ -4,9 +4,9 @@
from typing_extensions import Required, TypedDict
-__all__ = ["LoggingParam"]
+__all__ = ["UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c"]
-class LoggingParam(TypedDict, total=False):
+class UnnamedSchemaRef70f2c6ccd8a405358ac7ef8fc3d6751c(TypedDict, total=False):
enabled: Required[bool]
"""Whether to generate a log when the rule matches."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_75.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_75.py
deleted file mode 100644
index 3a651e9d78fd..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_75.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef75"]
-
-UnnamedSchemaRef75 = Literal[
- "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
- "urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
- "urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
-]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_78.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_78.py
deleted file mode 100644
index 905654996ce1..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_78.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef78"]
-
-UnnamedSchemaRef78 = Literal["ubiquitous", "optimal", "force"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_81.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_81.py
deleted file mode 100644
index 3895e6976c7a..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_81.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef81"]
-
-UnnamedSchemaRef81 = Literal["on", "off"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_82.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_82.py
deleted file mode 100644
index 3b3bc3d46e58..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_82.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef82"]
-
-UnnamedSchemaRef82 = Literal["tcp", "udp", "icmp"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_83.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_83.py
deleted file mode 100644
index f745a2825ff2..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_83.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef83"]
-
-UnnamedSchemaRef83 = Literal["low", "mid", "high"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_84.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_84.py
deleted file mode 100644
index 464ad5020e77..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_84.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef84"]
-
-UnnamedSchemaRef84 = Literal["reply", "request"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_85.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_85.py
deleted file mode 100644
index 2edf53261f35..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_85.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef85"]
-
-UnnamedSchemaRef85 = Literal["r2"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_87.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_87.py
deleted file mode 100644
index d7009a9d6f90..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_87.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef87"]
-
-UnnamedSchemaRef87 = Literal["<", "<=", ">", ">=", "=="]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_88.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_88.py
deleted file mode 100644
index b383211bb72c..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_88.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef88"]
-
-UnnamedSchemaRef88 = Literal["<", "<=", ">", ">=", "=="]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_92.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_92.py
deleted file mode 100644
index bbb1ad0c6945..000000000000
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_92.py
+++ /dev/null
@@ -1,9 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Literal
-
-__all__ = ["UnnamedSchemaRef92"]
-
-UnnamedSchemaRef92 = Literal["on", "off"]
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_51.py b/src/cloudflare/types/shared_params/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
similarity index 79%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_51.py
rename to src/cloudflare/types/shared_params/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
index 9f7c325c7b90..92d25bae35af 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_51.py
+++ b/src/cloudflare/types/shared_params/unnamed_schema_ref_ee1e79edcb234d14c4dd266880f2fd24.py
@@ -4,10 +4,10 @@
from typing_extensions import TypedDict
-__all__ = ["UnnamedSchemaRef51"]
+__all__ = ["UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24"]
-class UnnamedSchemaRef51(TypedDict, total=False):
+class UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24(TypedDict, total=False):
body_part: str
"""Name of the part in the multipart request that contains the script (e.g.
diff --git a/src/cloudflare/types/spectrum/analytics/events/__init__.py b/src/cloudflare/types/spectrum/analytics/events/__init__.py
index 628747c3784e..adc8f70e0ab1 100644
--- a/src/cloudflare/types/spectrum/analytics/events/__init__.py
+++ b/src/cloudflare/types/spectrum/analytics/events/__init__.py
@@ -4,5 +4,3 @@
from .bytime_get_params import BytimeGetParams as BytimeGetParams
from .summary_get_params import SummaryGetParams as SummaryGetParams
-from .bytime_get_response import BytimeGetResponse as BytimeGetResponse
-from .summary_get_response import SummaryGetResponse as SummaryGetResponse
diff --git a/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py b/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py
deleted file mode 100644
index 66bf70649f04..000000000000
--- a/src/cloudflare/types/spectrum/analytics/events/bytime_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["BytimeGetResponse"]
-
-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
deleted file mode 100644
index 1702aa672265..000000000000
--- a/src/cloudflare/types/spectrum/analytics/events/summary_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["SummaryGetResponse"]
-
-SummaryGetResponse = Union[str, object, None]
diff --git a/src/cloudflare/types/speed/test_list_response.py b/src/cloudflare/types/speed/test_list_response.py
index e97b4874d959..6701b1f63595 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 ResponseInfo
+from ..shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ..._models import BaseModel
__all__ = ["TestListResponse", "ResultInfo"]
@@ -20,9 +20,9 @@ class ResultInfo(BaseModel):
class TestListResponse(BaseModel):
__test__ = False
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
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 f17a6876dd7a..ac44ec8d0ea9 100644
--- a/src/cloudflare/types/ssl/__init__.py
+++ b/src/cloudflare/types/ssl/__init__.py
@@ -3,7 +3,6 @@
from __future__ import annotations
from .analyze_create_params import AnalyzeCreateParams as AnalyzeCreateParams
-from .analyze_create_response import AnalyzeCreateResponse as AnalyzeCreateResponse
from .verification_get_params import VerificationGetParams as VerificationGetParams
from .tls_verification_setting import TLSVerificationSetting as TLSVerificationSetting
from .verification_edit_params import VerificationEditParams as VerificationEditParams
@@ -12,7 +11,5 @@
from .recommendation_get_response import RecommendationGetResponse as RecommendationGetResponse
from .certificate_pack_edit_params import CertificatePackEditParams as CertificatePackEditParams
from .certificate_pack_list_params import CertificatePackListParams as CertificatePackListParams
-from .certificate_pack_get_response import CertificatePackGetResponse as CertificatePackGetResponse
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/ssl/analyze_create_params.py b/src/cloudflare/types/ssl/analyze_create_params.py
index e517dca50931..35efe11a72db 100644
--- a/src/cloudflare/types/ssl/analyze_create_params.py
+++ b/src/cloudflare/types/ssl/analyze_create_params.py
@@ -4,7 +4,7 @@
from typing_extensions import Required, TypedDict
-from ..shared import UnnamedSchemaRef78
+from ..unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1 import UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
__all__ = ["AnalyzeCreateParams"]
@@ -13,7 +13,7 @@ class AnalyzeCreateParams(TypedDict, total=False):
zone_id: Required[str]
"""Identifier"""
- bundle_method: UnnamedSchemaRef78
+ bundle_method: UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1
"""
A ubiquitous bundle has the highest probability of being verified everywhere,
even by clients using outdated or unusual trust stores. An optimal bundle uses
diff --git a/src/cloudflare/types/ssl/analyze_create_response.py b/src/cloudflare/types/ssl/analyze_create_response.py
deleted file mode 100644
index 71192d91d66f..000000000000
--- a/src/cloudflare/types/ssl/analyze_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["AnalyzeCreateResponse"]
-
-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
deleted file mode 100644
index b232e7c20180..000000000000
--- a/src/cloudflare/types/ssl/certificate_pack_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CertificatePackGetResponse"]
-
-CertificatePackGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/storage/__init__.py b/src/cloudflare/types/storage/__init__.py
index c5b7f500d597..29bae3427c33 100644
--- a/src/cloudflare/types/storage/__init__.py
+++ b/src/cloudflare/types/storage/__init__.py
@@ -6,3 +6,6 @@
from .analytics_stored_params import AnalyticsStoredParams as AnalyticsStoredParams
from .workers_kv_schemas_result import WorkersKVSchemasResult as WorkersKVSchemasResult
from .workers_kv_components_schemas_result import WorkersKVComponentsSchemasResult as WorkersKVComponentsSchemasResult
+from .unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7 import (
+ UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7 as UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7,
+)
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_148.py b/src/cloudflare/types/storage/unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7.py
similarity index 63%
rename from src/cloudflare/types/shared/unnamed_schema_ref_148.py
rename to src/cloudflare/types/storage/unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7.py
index 67bd3bd6c402..154d97ce54ae 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_148.py
+++ b/src/cloudflare/types/storage/unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef148"]
+__all__ = ["UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7"]
-class UnnamedSchemaRef148(BaseModel):
+class UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7(BaseModel):
metrics: List[object]
"""List of metrics returned by the query."""
diff --git a/src/cloudflare/types/storage/workers_kv_components_schemas_result.py b/src/cloudflare/types/storage/workers_kv_components_schemas_result.py
index 65576cf8718d..ad98a78df869 100644
--- a/src/cloudflare/types/storage/workers_kv_components_schemas_result.py
+++ b/src/cloudflare/types/storage/workers_kv_components_schemas_result.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef148
from ..._models import BaseModel
+from .unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7 import UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7
__all__ = ["WorkersKVComponentsSchemasResult", "Query"]
@@ -53,7 +53,7 @@ class Query(BaseModel):
class WorkersKVComponentsSchemasResult(BaseModel):
- data: Optional[List[UnnamedSchemaRef148]] = None
+ data: Optional[List[UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7]] = None
data_lag: float
"""Number of seconds between current time and last processed event, i.e.
diff --git a/src/cloudflare/types/storage/workers_kv_schemas_result.py b/src/cloudflare/types/storage/workers_kv_schemas_result.py
index 5424e3c16d58..67cf2e073340 100644
--- a/src/cloudflare/types/storage/workers_kv_schemas_result.py
+++ b/src/cloudflare/types/storage/workers_kv_schemas_result.py
@@ -3,8 +3,8 @@
from typing import List, Optional
from datetime import datetime
-from ..shared import UnnamedSchemaRef148
from ..._models import BaseModel
+from .unnamed_schema_ref_608bee5065f7314d6fa572b89a1910f7 import UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7
__all__ = ["WorkersKVSchemasResult", "Query"]
@@ -53,7 +53,7 @@ class Query(BaseModel):
class WorkersKVSchemasResult(BaseModel):
- data: Optional[List[UnnamedSchemaRef148]] = None
+ data: Optional[List[UnnamedSchemaRef608bee5065f7314d6fa572b89a1910f7]] = None
data_lag: float
"""Number of seconds between current time and last processed event, i.e.
diff --git a/src/cloudflare/types/stream/__init__.py b/src/cloudflare/types/stream/__init__.py
index 4a3dd4216f30..3f6894afd922 100644
--- a/src/cloudflare/types/stream/__init__.py
+++ b/src/cloudflare/types/stream/__init__.py
@@ -14,37 +14,26 @@
from .clip_create_params import ClipCreateParams as ClipCreateParams
from .copy_create_params import CopyCreateParams as CopyCreateParams
from .embed_get_response import EmbedGetResponse as EmbedGetResponse
-from .key_delete_response import KeyDeleteResponse as KeyDeleteResponse
from .token_create_params import TokenCreateParams as TokenCreateParams
from .caption_get_response import CaptionGetResponse as CaptionGetResponse
-from .webhook_get_response import WebhookGetResponse as WebhookGetResponse
from .caption_delete_params import CaptionDeleteParams as CaptionDeleteParams
from .caption_update_params import CaptionUpdateParams as CaptionUpdateParams
-from .download_get_response import DownloadGetResponse as DownloadGetResponse
from .token_create_response import TokenCreateResponse as TokenCreateResponse
from .webhook_delete_params import WebhookDeleteParams as WebhookDeleteParams
from .webhook_update_params import WebhookUpdateParams as WebhookUpdateParams
from .download_create_params import DownloadCreateParams as DownloadCreateParams
from .live_input_list_params import LiveInputListParams as LiveInputListParams
-from .watermark_get_response import WatermarkGetResponse as WatermarkGetResponse
from .audio_track_copy_params import AudioTrackCopyParams as AudioTrackCopyParams
from .audio_track_edit_params import AudioTrackEditParams as AudioTrackEditParams
from .caption_delete_response import CaptionDeleteResponse as CaptionDeleteResponse
-from .caption_update_response import CaptionUpdateResponse as CaptionUpdateResponse
from .watermark_create_params import WatermarkCreateParams as WatermarkCreateParams
from .watermark_delete_params import WatermarkDeleteParams as WatermarkDeleteParams
-from .webhook_delete_response import WebhookDeleteResponse as WebhookDeleteResponse
-from .webhook_update_response import WebhookUpdateResponse as WebhookUpdateResponse
from .audio_track_get_response import AudioTrackGetResponse as AudioTrackGetResponse
-from .download_create_response import DownloadCreateResponse as DownloadCreateResponse
-from .download_delete_response import DownloadDeleteResponse as DownloadDeleteResponse
from .live_input_create_params import LiveInputCreateParams as LiveInputCreateParams
from .live_input_delete_params import LiveInputDeleteParams as LiveInputDeleteParams
from .live_input_list_response import LiveInputListResponse as LiveInputListResponse
from .live_input_update_params import LiveInputUpdateParams as LiveInputUpdateParams
-from .watermark_create_response import WatermarkCreateResponse as WatermarkCreateResponse
from .video_storage_usage_params import VideoStorageUsageParams as VideoStorageUsageParams
-from .audio_track_delete_response import AudioTrackDeleteResponse as AudioTrackDeleteResponse
from .direct_upload_create_params import DirectUploadCreateParams as DirectUploadCreateParams
from .video_storage_usage_response import VideoStorageUsageResponse as VideoStorageUsageResponse
from .direct_upload_create_response import DirectUploadCreateResponse as DirectUploadCreateResponse
diff --git a/src/cloudflare/types/stream/audio_track_delete_response.py b/src/cloudflare/types/stream/audio_track_delete_response.py
deleted file mode 100644
index 24406bb13e75..000000000000
--- a/src/cloudflare/types/stream/audio_track_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["AudioTrackDeleteResponse"]
-
-AudioTrackDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/caption_update_response.py b/src/cloudflare/types/stream/caption_update_response.py
deleted file mode 100644
index e35e3e0b6b63..000000000000
--- a/src/cloudflare/types/stream/caption_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CaptionUpdateResponse"]
-
-CaptionUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/download_create_response.py b/src/cloudflare/types/stream/download_create_response.py
deleted file mode 100644
index 3b49a17fbbff..000000000000
--- a/src/cloudflare/types/stream/download_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["DownloadCreateResponse"]
-
-DownloadCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/download_delete_response.py b/src/cloudflare/types/stream/download_delete_response.py
deleted file mode 100644
index 5cc7b88881bf..000000000000
--- a/src/cloudflare/types/stream/download_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["DownloadDeleteResponse"]
-
-DownloadDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/download_get_response.py b/src/cloudflare/types/stream/download_get_response.py
deleted file mode 100644
index 86c81865af39..000000000000
--- a/src/cloudflare/types/stream/download_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["DownloadGetResponse"]
-
-DownloadGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/key_delete_response.py b/src/cloudflare/types/stream/key_delete_response.py
deleted file mode 100644
index 3ce3eb0cdf60..000000000000
--- a/src/cloudflare/types/stream/key_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["KeyDeleteResponse"]
-
-KeyDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/watermark_create_response.py b/src/cloudflare/types/stream/watermark_create_response.py
deleted file mode 100644
index aa2d892dc741..000000000000
--- a/src/cloudflare/types/stream/watermark_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["WatermarkCreateResponse"]
-
-WatermarkCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/watermark_get_response.py b/src/cloudflare/types/stream/watermark_get_response.py
deleted file mode 100644
index 10fb745c0a12..000000000000
--- a/src/cloudflare/types/stream/watermark_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["WatermarkGetResponse"]
-
-WatermarkGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/webhook_delete_response.py b/src/cloudflare/types/stream/webhook_delete_response.py
deleted file mode 100644
index a8193942fa55..000000000000
--- a/src/cloudflare/types/stream/webhook_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["WebhookDeleteResponse"]
-
-WebhookDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/webhook_get_response.py b/src/cloudflare/types/stream/webhook_get_response.py
deleted file mode 100644
index 9335fac3543c..000000000000
--- a/src/cloudflare/types/stream/webhook_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["WebhookGetResponse"]
-
-WebhookGetResponse = Union[str, object]
diff --git a/src/cloudflare/types/stream/webhook_update_response.py b/src/cloudflare/types/stream/webhook_update_response.py
deleted file mode 100644
index 64e235c1a9aa..000000000000
--- a/src/cloudflare/types/stream/webhook_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["WebhookUpdateResponse"]
-
-WebhookUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/subscription_create_response.py b/src/cloudflare/types/subscription_create_response.py
deleted file mode 100644
index 4b0efa126636..000000000000
--- a/src/cloudflare/types/subscription_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionCreateResponse"]
-
-SubscriptionCreateResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/subscription_delete_response.py b/src/cloudflare/types/subscription_delete_response.py
new file mode 100644
index 000000000000..ce2b575d64b2
--- /dev/null
+++ b/src/cloudflare/types/subscription_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__ = ["SubscriptionDeleteResponse"]
+
+
+class SubscriptionDeleteResponse(BaseModel):
+ subscription_id: Optional[str] = None
+ """Subscription identifier tag."""
diff --git a/src/cloudflare/types/subscription_get_response.py b/src/cloudflare/types/subscription_get_response.py
deleted file mode 100644
index 6f4b57540772..000000000000
--- a/src/cloudflare/types/subscription_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionGetResponse"]
-
-SubscriptionGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/subscription_update_response.py b/src/cloudflare/types/subscription_update_response.py
deleted file mode 100644
index 12cf6aa283aa..000000000000
--- a/src/cloudflare/types/subscription_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionUpdateResponse"]
-
-SubscriptionUpdateResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1.py b/src/cloudflare/types/unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1.py
new file mode 100644
index 000000000000..c1324606cdcd
--- /dev/null
+++ b/src/cloudflare/types/unnamed_schema_ref_16aca57bde2963201c7e6e895436c1c1.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1"]
+
+UnnamedSchemaRef16aca57bde2963201c7e6e895436c1c1 = Literal["ubiquitous", "optimal", "force"]
diff --git a/src/cloudflare/types/unnamed_schema_ref_106.py b/src/cloudflare/types/unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42.py
similarity index 53%
rename from src/cloudflare/types/unnamed_schema_ref_106.py
rename to src/cloudflare/types/unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42.py
index 662ca6cfb824..a097debe6b83 100644
--- a/src/cloudflare/types/unnamed_schema_ref_106.py
+++ b/src/cloudflare/types/unnamed_schema_ref_16e559c45a31db5480e21fbe904b2e42.py
@@ -2,10 +2,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef106"]
+__all__ = ["UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42"]
-class UnnamedSchemaRef106(BaseModel):
+class UnnamedSchemaRef16e559c45a31db5480e21fbe904b2e42(BaseModel):
code: str
name: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_13.py b/src/cloudflare/types/unnamed_schema_ref_209db30ed499548152d6f3bccf720b54.py
similarity index 64%
rename from src/cloudflare/types/shared/unnamed_schema_ref_13.py
rename to src/cloudflare/types/unnamed_schema_ref_209db30ed499548152d6f3bccf720b54.py
index e4488937e575..10bf44de4ca1 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_13.py
+++ b/src/cloudflare/types/unnamed_schema_ref_209db30ed499548152d6f3bccf720b54.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef13"]
+__all__ = ["UnnamedSchemaRef209db30ed499548152d6f3bccf720b54"]
-class UnnamedSchemaRef13(BaseModel):
+class UnnamedSchemaRef209db30ed499548152d6f3bccf720b54(BaseModel):
category: Optional[str] = None
"""Name of the category applied."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_12.py b/src/cloudflare/types/unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb.py
similarity index 64%
rename from src/cloudflare/types/shared/unnamed_schema_ref_12.py
rename to src/cloudflare/types/unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb.py
index ed0af5369082..26e75f4f2c09 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_12.py
+++ b/src/cloudflare/types/unnamed_schema_ref_39419d70e2399b28b15cd660afd342fb.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef12"]
+__all__ = ["UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb"]
-class UnnamedSchemaRef12(BaseModel):
+class UnnamedSchemaRef39419d70e2399b28b15cd660afd342fb(BaseModel):
url: Optional[str] = None
"""URL that was submitted."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39.py b/src/cloudflare/types/unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39.py
new file mode 100644
index 000000000000..810026cd7113
--- /dev/null
+++ b/src/cloudflare/types/unnamed_schema_ref_3b1a76a5e4a139b72ed7d93834773d39.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39"]
+
+UnnamedSchemaRef3b1a76a5e4a139b72ed7d93834773d39 = Literal["reply", "request"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_15.py b/src/cloudflare/types/unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8.py
similarity index 72%
rename from src/cloudflare/types/shared/unnamed_schema_ref_15.py
rename to src/cloudflare/types/unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8.py
index 79e26e28a4dd..6602bfe45d51 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_15.py
+++ b/src/cloudflare/types/unnamed_schema_ref_3e10ea08deb8102a27500f986488c1e8.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef15"]
+__all__ = ["UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8"]
-class UnnamedSchemaRef15(BaseModel):
+class UnnamedSchemaRef3e10ea08deb8102a27500f986488c1e8(BaseModel):
banning: Optional[bool] = None
"""For internal use."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_154.py b/src/cloudflare/types/unnamed_schema_ref_4124a22436f90127c7fa2c4543219752.py
similarity index 68%
rename from src/cloudflare/types/unnamed_schema_ref_154.py
rename to src/cloudflare/types/unnamed_schema_ref_4124a22436f90127c7fa2c4543219752.py
index 1ac4144562bc..61eafcbccc9b 100644
--- a/src/cloudflare/types/unnamed_schema_ref_154.py
+++ b/src/cloudflare/types/unnamed_schema_ref_4124a22436f90127c7fa2c4543219752.py
@@ -4,10 +4,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef154"]
+__all__ = ["UnnamedSchemaRef4124a22436f90127c7fa2c4543219752"]
-class UnnamedSchemaRef154(BaseModel):
+class UnnamedSchemaRef4124a22436f90127c7fa2c4543219752(BaseModel):
client_asn: int = FieldInfo(alias="clientASN")
client_as_name: str = FieldInfo(alias="clientASName")
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_11.py b/src/cloudflare/types/unnamed_schema_ref_44e66100b948bfe723054c56b6144766.py
similarity index 63%
rename from src/cloudflare/types/shared/unnamed_schema_ref_11.py
rename to src/cloudflare/types/unnamed_schema_ref_44e66100b948bfe723054c56b6144766.py
index ade6c43749ef..6c251cd446fd 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_11.py
+++ b/src/cloudflare/types/unnamed_schema_ref_44e66100b948bfe723054c56b6144766.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef11"]
+__all__ = ["UnnamedSchemaRef44e66100b948bfe723054c56b6144766"]
-class UnnamedSchemaRef11(BaseModel):
+class UnnamedSchemaRef44e66100b948bfe723054c56b6144766(BaseModel):
url: Optional[str] = None
"""URL that was skipped."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_22.py b/src/cloudflare/types/unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba.py
similarity index 69%
rename from src/cloudflare/types/shared/unnamed_schema_ref_22.py
rename to src/cloudflare/types/unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba.py
index 072b38afa9e9..52af265a78b5 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_22.py
+++ b/src/cloudflare/types/unnamed_schema_ref_6595695ff25b0614667b25f66b7bbaba.py
@@ -2,12 +2,12 @@
from typing import List
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef22"]
+__all__ = ["UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba"]
-class UnnamedSchemaRef22(BaseModel):
+class UnnamedSchemaRef6595695ff25b0614667b25f66b7bbaba(BaseModel):
dimensions: List[str]
"""
Array of dimension values, representing the combination of dimension values
diff --git a/src/cloudflare/types/unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca.py b/src/cloudflare/types/unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca.py
new file mode 100644
index 000000000000..8428b2534886
--- /dev/null
+++ b/src/cloudflare/types/unnamed_schema_ref_65be9614de145bf4a58d0fddf46df7ca.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import List
+
+__all__ = ["UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca"]
+
+UnnamedSchemaRef65be9614de145bf4a58d0fddf46df7ca = List[object]
diff --git a/src/cloudflare/types/unnamed_schema_ref_129.py b/src/cloudflare/types/unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb.py
similarity index 63%
rename from src/cloudflare/types/unnamed_schema_ref_129.py
rename to src/cloudflare/types/unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb.py
index a6f0385b0c95..5fba65cc2167 100644
--- a/src/cloudflare/types/unnamed_schema_ref_129.py
+++ b/src/cloudflare/types/unnamed_schema_ref_75bae70cf28e6bcef364b9840db3bdeb.py
@@ -5,10 +5,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef129"]
+__all__ = ["UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb"]
-class UnnamedSchemaRef129(BaseModel):
+class UnnamedSchemaRef75bae70cf28e6bcef364b9840db3bdeb(BaseModel):
timestamps: List[datetime]
values: List[str]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_10.py b/src/cloudflare/types/unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669.py
similarity index 52%
rename from src/cloudflare/types/shared/unnamed_schema_ref_10.py
rename to src/cloudflare/types/unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669.py
index ab9356b1fb0d..18f780c68406 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_10.py
+++ b/src/cloudflare/types/unnamed_schema_ref_767c0981cf47f45f0c766253dbd18669.py
@@ -2,11 +2,11 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef10"]
+__all__ = ["UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669"]
-class UnnamedSchemaRef10(BaseModel):
+class UnnamedSchemaRef767c0981cf47f45f0c766253dbd18669(BaseModel):
url: Optional[str] = None
"""URL that was excluded."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_153.py b/src/cloudflare/types/unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55.py
similarity index 78%
rename from src/cloudflare/types/unnamed_schema_ref_153.py
rename to src/cloudflare/types/unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55.py
index 05a1f31acfdb..0c9716982879 100644
--- a/src/cloudflare/types/unnamed_schema_ref_153.py
+++ b/src/cloudflare/types/unnamed_schema_ref_7826220e105d84352ba1108d9ed88e55.py
@@ -4,10 +4,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef153"]
+__all__ = ["UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55"]
-class UnnamedSchemaRef153(BaseModel):
+class UnnamedSchemaRef7826220e105d84352ba1108d9ed88e55(BaseModel):
timestamps: List[str]
if TYPE_CHECKING:
diff --git a/src/cloudflare/types/unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510.py b/src/cloudflare/types/unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510.py
new file mode 100644
index 000000000000..144df300f82d
--- /dev/null
+++ b/src/cloudflare/types/unnamed_schema_ref_78adb375f06c6d462dd92b99e2ecf510.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510"]
+
+UnnamedSchemaRef78adb375f06c6d462dd92b99e2ecf510 = Literal["http", "txt", "email"]
diff --git a/src/cloudflare/types/unnamed_schema_ref_160.py b/src/cloudflare/types/unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09.py
similarity index 71%
rename from src/cloudflare/types/unnamed_schema_ref_160.py
rename to src/cloudflare/types/unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09.py
index 92be93deb0df..aac451244dc0 100644
--- a/src/cloudflare/types/unnamed_schema_ref_160.py
+++ b/src/cloudflare/types/unnamed_schema_ref_83a14d589e799bc901b9ccc870251d09.py
@@ -4,10 +4,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef160"]
+__all__ = ["UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09"]
-class UnnamedSchemaRef160(BaseModel):
+class UnnamedSchemaRef83a14d589e799bc901b9ccc870251d09(BaseModel):
client_country_alpha2: str = FieldInfo(alias="clientCountryAlpha2")
client_country_name: str = FieldInfo(alias="clientCountryName")
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_24.py b/src/cloudflare/types/unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2.py
similarity index 85%
rename from src/cloudflare/types/shared/unnamed_schema_ref_24.py
rename to src/cloudflare/types/unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2.py
index 09a8017f52c5..fce05fe31784 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_24.py
+++ b/src/cloudflare/types/unnamed_schema_ref_85b45d163202bbab7456da6b346d9fe2.py
@@ -4,12 +4,12 @@
from datetime import datetime
from typing_extensions import Literal
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef24"]
+__all__ = ["UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2"]
-class UnnamedSchemaRef24(BaseModel):
+class UnnamedSchemaRef85b45d163202bbab7456da6b346d9fe2(BaseModel):
dimensions: List[str]
"""Array of dimension names."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_128.py b/src/cloudflare/types/unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297.py
similarity index 65%
rename from src/cloudflare/types/unnamed_schema_ref_128.py
rename to src/cloudflare/types/unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297.py
index 326e486a929b..22641d9d660d 100644
--- a/src/cloudflare/types/unnamed_schema_ref_128.py
+++ b/src/cloudflare/types/unnamed_schema_ref_8b383e904d9fb02521257ef9cc77d297.py
@@ -4,10 +4,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef128"]
+__all__ = ["UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297"]
-class UnnamedSchemaRef128(BaseModel):
+class UnnamedSchemaRef8b383e904d9fb02521257ef9cc77d297(BaseModel):
i_pv4: str = FieldInfo(alias="IPv4")
i_pv6: str = FieldInfo(alias="IPv6")
diff --git a/src/cloudflare/types/unnamed_schema_ref_53.py b/src/cloudflare/types/unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a.py
similarity index 70%
rename from src/cloudflare/types/unnamed_schema_ref_53.py
rename to src/cloudflare/types/unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a.py
index bcea7c6926a6..5fbb46c7cc87 100644
--- a/src/cloudflare/types/unnamed_schema_ref_53.py
+++ b/src/cloudflare/types/unnamed_schema_ref_9002274ed7cb7f3dc567421e31529a3a.py
@@ -6,10 +6,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef53"]
+__all__ = ["UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a"]
-class UnnamedSchemaRef53(BaseModel):
+class UnnamedSchemaRef9002274ed7cb7f3dc567421e31529a3a(BaseModel):
i_pv4: List[str] = FieldInfo(alias="IPv4")
i_pv6: List[str] = FieldInfo(alias="IPv6")
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_77.py b/src/cloudflare/types/unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1.py
similarity index 50%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_77.py
rename to src/cloudflare/types/unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1.py
index 5ed2bdc6ae40..eb7fad16f899 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_77.py
+++ b/src/cloudflare/types/unnamed_schema_ref_9a9935a9a770967bb604ae41a81e42e1.py
@@ -1,9 +1,7 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from __future__ import annotations
-
from typing_extensions import Literal
-__all__ = ["UnnamedSchemaRef77"]
+__all__ = ["UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1"]
-UnnamedSchemaRef77 = Literal["id", "email"]
+UnnamedSchemaRef9a9935a9a770967bb604ae41a81e42e1 = Literal["dv"]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_14.py b/src/cloudflare/types/unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014.py
similarity index 71%
rename from src/cloudflare/types/shared/unnamed_schema_ref_14.py
rename to src/cloudflare/types/unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014.py
index 64c9d8814f03..1681812ac70c 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_14.py
+++ b/src/cloudflare/types/unnamed_schema_ref_9b4c9779a35b172cb69c71389ebc7014.py
@@ -4,12 +4,12 @@
from pydantic import Field as FieldInfo
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef14"]
+__all__ = ["UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014"]
-class UnnamedSchemaRef14(BaseModel):
+class UnnamedSchemaRef9b4c9779a35b172cb69c71389ebc7014(BaseModel):
ai_model_name: Optional[str] = FieldInfo(alias="model_name", default=None)
"""Name of the model."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_16.py b/src/cloudflare/types/unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869.py
similarity index 75%
rename from src/cloudflare/types/shared/unnamed_schema_ref_16.py
rename to src/cloudflare/types/unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869.py
index 70b32870a50e..d9a521b986f9 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_16.py
+++ b/src/cloudflare/types/unnamed_schema_ref_a64e2a18a86750b6bd72cdf37ecfd869.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef16"]
+__all__ = ["UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869"]
-class UnnamedSchemaRef16(BaseModel):
+class UnnamedSchemaRefA64e2a18a86750b6bd72cdf37ecfd869(BaseModel):
last_processed: Optional[str] = None
"""Timestamp of when the submission was processed."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_174.py b/src/cloudflare/types/unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1.py
similarity index 83%
rename from src/cloudflare/types/unnamed_schema_ref_174.py
rename to src/cloudflare/types/unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1.py
index 14d39ee864e7..d16ac339e3b2 100644
--- a/src/cloudflare/types/unnamed_schema_ref_174.py
+++ b/src/cloudflare/types/unnamed_schema_ref_b5f3bd1840490bc487ffef84567807b1.py
@@ -7,10 +7,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef174"]
+__all__ = ["UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1"]
-class UnnamedSchemaRef174(BaseModel):
+class UnnamedSchemaRefB5f3bd1840490bc487ffef84567807b1(BaseModel):
data_source: str = FieldInfo(alias="dataSource")
description: str
diff --git a/src/cloudflare/types/unnamed_schema_ref_175.py b/src/cloudflare/types/unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5.py
similarity index 74%
rename from src/cloudflare/types/unnamed_schema_ref_175.py
rename to src/cloudflare/types/unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5.py
index c7fcd345c1e2..c5f10c11f7ad 100644
--- a/src/cloudflare/types/unnamed_schema_ref_175.py
+++ b/src/cloudflare/types/unnamed_schema_ref_baac9d7da12de53e99142f8ecd3982e5.py
@@ -6,10 +6,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef175"]
+__all__ = ["UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5"]
-class UnnamedSchemaRef175(BaseModel):
+class UnnamedSchemaRefBaac9d7da12de53e99142f8ecd3982e5(BaseModel):
end_time: datetime = FieldInfo(alias="endTime")
"""Adjusted end of date range."""
diff --git a/src/cloudflare/types/unnamed_schema_ref_130.py b/src/cloudflare/types/unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7.py
similarity index 58%
rename from src/cloudflare/types/unnamed_schema_ref_130.py
rename to src/cloudflare/types/unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7.py
index 71bb38d6fd07..f9721155fe01 100644
--- a/src/cloudflare/types/unnamed_schema_ref_130.py
+++ b/src/cloudflare/types/unnamed_schema_ref_c5858f1f916a921846e0b6159af470a7.py
@@ -2,10 +2,10 @@
from .._models import BaseModel
-__all__ = ["UnnamedSchemaRef130"]
+__all__ = ["UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7"]
-class UnnamedSchemaRef130(BaseModel):
+class UnnamedSchemaRefC5858f1f916a921846e0b6159af470a7(BaseModel):
data_time: str
query_time: str
diff --git a/src/cloudflare/types/unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5.py b/src/cloudflare/types/unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5.py
new file mode 100644
index 000000000000..8afccbc66f0c
--- /dev/null
+++ b/src/cloudflare/types/unnamed_schema_ref_eebdc868ce7f7ae92e23438caa84e7b5.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5"]
+
+UnnamedSchemaRefEebdc868ce7f7ae92e23438caa84e7b5 = Literal["low", "mid", "high"]
diff --git a/src/cloudflare/types/url_scanner/__init__.py b/src/cloudflare/types/url_scanner/__init__.py
index e103c6950245..2a81253003bf 100644
--- a/src/cloudflare/types/url_scanner/__init__.py
+++ b/src/cloudflare/types/url_scanner/__init__.py
@@ -7,4 +7,6 @@
from .scan_create_params import ScanCreateParams as ScanCreateParams
from .scan_create_response import ScanCreateResponse as ScanCreateResponse
from .scan_screenshot_params import ScanScreenshotParams as ScanScreenshotParams
-from .unnamed_schema_ref_134 import UnnamedSchemaRef134 as UnnamedSchemaRef134
+from .unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6 import (
+ UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6 as UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6,
+)
diff --git a/src/cloudflare/types/url_scanner/scan_get_response.py b/src/cloudflare/types/url_scanner/scan_get_response.py
index c0104e4b2ce0..0e09b7bebd1d 100644
--- a/src/cloudflare/types/url_scanner/scan_get_response.py
+++ b/src/cloudflare/types/url_scanner/scan_get_response.py
@@ -5,9 +5,9 @@
from pydantic import Field as FieldInfo
-from ..shared import UnnamedSchemaRef155
+from ..shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ..._models import BaseModel
-from .unnamed_schema_ref_134 import UnnamedSchemaRef134
+from .unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6 import UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6
__all__ = [
"ScanGetResponse",
@@ -17,7 +17,6 @@
"ScanMeta",
"ScanMetaProcessors",
"ScanMetaProcessorsCategories",
- "ScanMetaProcessorsCategoriesContent",
"ScanMetaProcessorsCategoriesRisk",
"ScanMetaProcessorsRank",
"ScanMetaProcessorsTech",
@@ -70,14 +69,6 @@ class ScanGeo(BaseModel):
"""GeoIP country location"""
-class ScanMetaProcessorsCategoriesContent(BaseModel):
- id: int
-
- name: str
-
- super_category_id: Optional[int] = None
-
-
class ScanMetaProcessorsCategoriesRisk(BaseModel):
id: int
@@ -87,7 +78,7 @@ class ScanMetaProcessorsCategoriesRisk(BaseModel):
class ScanMetaProcessorsCategories(BaseModel):
- content: List[ScanMetaProcessorsCategoriesContent]
+ content: List[UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]
risks: List[ScanMetaProcessorsCategoriesRisk]
@@ -248,7 +239,7 @@ class ScanPage(BaseModel):
domain: str
- headers: List[UnnamedSchemaRef155]
+ headers: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
ip: str
@@ -410,19 +401,19 @@ class ScanASNs(BaseModel):
class ScanDomainsExampleComCategoriesInherited(BaseModel):
- content: Optional[List[UnnamedSchemaRef134]] = None
+ content: Optional[List[UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]] = None
from_: Optional[str] = FieldInfo(alias="from", default=None)
- risks: Optional[List[UnnamedSchemaRef134]] = None
+ risks: Optional[List[UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]] = None
class ScanDomainsExampleComCategories(BaseModel):
inherited: ScanDomainsExampleComCategoriesInherited
- content: Optional[List[UnnamedSchemaRef134]] = None
+ content: Optional[List[UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]] = None
- risks: Optional[List[UnnamedSchemaRef134]] = None
+ risks: Optional[List[UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6]] = None
class ScanDomainsExampleComDNS(BaseModel):
diff --git a/src/cloudflare/types/url_scanner/scan_har_response.py b/src/cloudflare/types/url_scanner/scan_har_response.py
index 9aeb2baa2f96..b2d8df130f71 100644
--- a/src/cloudflare/types/url_scanner/scan_har_response.py
+++ b/src/cloudflare/types/url_scanner/scan_har_response.py
@@ -4,6 +4,7 @@
from pydantic import Field as FieldInfo
+from ..shared import UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9
from ..._models import BaseModel
__all__ = [
@@ -13,10 +14,8 @@
"HarLogCreator",
"HarLogEntry",
"HarLogEntryRequest",
- "HarLogEntryRequestHeader",
"HarLogEntryResponse",
"HarLogEntryResponseContent",
- "HarLogEntryResponseHeader",
"HarLogPage",
"HarLogPagePageTimings",
]
@@ -30,16 +29,10 @@ class HarLogCreator(BaseModel):
version: str
-class HarLogEntryRequestHeader(BaseModel):
- name: str
-
- value: str
-
-
class HarLogEntryRequest(BaseModel):
body_size: float = FieldInfo(alias="bodySize")
- headers: List[HarLogEntryRequestHeader]
+ headers: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
headers_size: float = FieldInfo(alias="headersSize")
@@ -58,12 +51,6 @@ class HarLogEntryResponseContent(BaseModel):
compression: Optional[int] = None
-class HarLogEntryResponseHeader(BaseModel):
- name: str
-
- value: str
-
-
class HarLogEntryResponse(BaseModel):
transfer_size: float = FieldInfo(alias="_transferSize")
@@ -71,7 +58,7 @@ class HarLogEntryResponse(BaseModel):
content: HarLogEntryResponseContent
- headers: List[HarLogEntryResponseHeader]
+ headers: List[UnnamedSchemaRef2173d81a0b2d332c9e2ac46900fe8bb9]
headers_size: float = FieldInfo(alias="headersSize")
diff --git a/src/cloudflare/types/url_scanner/unnamed_schema_ref_134.py b/src/cloudflare/types/url_scanner/unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6.py
similarity index 63%
rename from src/cloudflare/types/url_scanner/unnamed_schema_ref_134.py
rename to src/cloudflare/types/url_scanner/unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6.py
index b5ecc946056e..4f4be3b92aa0 100644
--- a/src/cloudflare/types/url_scanner/unnamed_schema_ref_134.py
+++ b/src/cloudflare/types/url_scanner/unnamed_schema_ref_6d7a78acccfc753a8e931b1c4e72b6a6.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef134"]
+__all__ = ["UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6"]
-class UnnamedSchemaRef134(BaseModel):
+class UnnamedSchemaRef6d7a78acccfc753a8e931b1c4e72b6a6(BaseModel):
id: int
name: str
diff --git a/src/cloudflare/types/user/__init__.py b/src/cloudflare/types/user/__init__.py
index f18b70f07219..134695205ba2 100644
--- a/src/cloudflare/types/user/__init__.py
+++ b/src/cloudflare/types/user/__init__.py
@@ -6,26 +6,20 @@
from .organization import Organization as Organization
from .token_list_params import TokenListParams as TokenListParams
from .invite_edit_params import InviteEditParams as InviteEditParams
-from .token_get_response import TokenGetResponse as TokenGetResponse
-from .invite_get_response import InviteGetResponse as InviteGetResponse
from .token_create_params import TokenCreateParams as TokenCreateParams
from .token_delete_params import TokenDeleteParams as TokenDeleteParams
from .token_update_params import TokenUpdateParams as TokenUpdateParams
-from .invite_edit_response import InviteEditResponse as InviteEditResponse
from .invite_list_response import InviteListResponse as InviteListResponse
from .audit_log_list_params import AuditLogListParams as AuditLogListParams
from .token_create_response import TokenCreateResponse as TokenCreateResponse
from .token_delete_response import TokenDeleteResponse as TokenDeleteResponse
-from .token_update_response import TokenUpdateResponse as TokenUpdateResponse
from .token_verify_response import TokenVerifyResponse as TokenVerifyResponse
from .audit_log_list_response import AuditLogListResponse as AuditLogListResponse
from .organization_list_params import OrganizationListParams as OrganizationListParams
from .subscription_edit_params import SubscriptionEditParams as SubscriptionEditParams
-from .organization_get_response import OrganizationGetResponse as OrganizationGetResponse
from .subscription_get_response import SubscriptionGetResponse as SubscriptionGetResponse
from .organization_delete_params import OrganizationDeleteParams as OrganizationDeleteParams
from .subscription_delete_params import SubscriptionDeleteParams as SubscriptionDeleteParams
-from .subscription_edit_response import SubscriptionEditResponse as SubscriptionEditResponse
from .subscription_update_params import SubscriptionUpdateParams as SubscriptionUpdateParams
from .organization_delete_response import OrganizationDeleteResponse as OrganizationDeleteResponse
-from .subscription_update_response import SubscriptionUpdateResponse as SubscriptionUpdateResponse
+from .subscription_delete_response import SubscriptionDeleteResponse as SubscriptionDeleteResponse
diff --git a/src/cloudflare/types/user/billing/__init__.py b/src/cloudflare/types/user/billing/__init__.py
index e8ddc3e1d28e..6839137c981b 100644
--- a/src/cloudflare/types/user/billing/__init__.py
+++ b/src/cloudflare/types/user/billing/__init__.py
@@ -5,4 +5,3 @@
from .billing_history import BillingHistory as BillingHistory
from .history_get_params import HistoryGetParams as HistoryGetParams
from .history_get_response import HistoryGetResponse as HistoryGetResponse
-from .profile_get_response import ProfileGetResponse as ProfileGetResponse
diff --git a/src/cloudflare/types/user/billing/profile_get_response.py b/src/cloudflare/types/user/billing/profile_get_response.py
deleted file mode 100644
index 29d6d78c9492..000000000000
--- a/src/cloudflare/types/user/billing/profile_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["ProfileGetResponse"]
-
-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
deleted file mode 100644
index 646377ca831e..000000000000
--- a/src/cloudflare/types/user/invite_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["InviteEditResponse"]
-
-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
deleted file mode 100644
index 27a15f71311b..000000000000
--- a/src/cloudflare/types/user/invite_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["InviteGetResponse"]
-
-InviteGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/user/load_balancers/monitor_references_response.py b/src/cloudflare/types/user/load_balancers/monitor_references_response.py
index 67a9f1fb6004..e2cf0acc9602 100644
--- a/src/cloudflare/types/user/load_balancers/monitor_references_response.py
+++ b/src/cloudflare/types/user/load_balancers/monitor_references_response.py
@@ -2,14 +2,14 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef146
+from ...shared import UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b
from ...._models import BaseModel
__all__ = ["MonitorReferencesResponse", "MonitorReferencesResponseItem"]
class MonitorReferencesResponseItem(BaseModel):
- reference_type: Optional[UnnamedSchemaRef146] = None
+ reference_type: Optional[UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b] = None
resource_id: Optional[str] = None
diff --git a/src/cloudflare/types/user/load_balancers/pool_references_response.py b/src/cloudflare/types/user/load_balancers/pool_references_response.py
index 6b1dcb57d403..1541e222d0ba 100644
--- a/src/cloudflare/types/user/load_balancers/pool_references_response.py
+++ b/src/cloudflare/types/user/load_balancers/pool_references_response.py
@@ -2,14 +2,14 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef146
+from ...shared import UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b
from ...._models import BaseModel
__all__ = ["PoolReferencesResponse", "PoolReferencesResponseItem"]
class PoolReferencesResponseItem(BaseModel):
- reference_type: Optional[UnnamedSchemaRef146] = None
+ reference_type: Optional[UnnamedSchemaRefD8600eb4758b3ae35607a0327bcd691b] = None
resource_id: Optional[str] = None
diff --git a/src/cloudflare/types/user/organization_get_response.py b/src/cloudflare/types/user/organization_get_response.py
deleted file mode 100644
index 4ba74b46f853..000000000000
--- a/src/cloudflare/types/user/organization_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["OrganizationGetResponse"]
-
-OrganizationGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_3.py b/src/cloudflare/types/user/subscription_delete_response.py
similarity index 73%
rename from src/cloudflare/types/shared/unnamed_schema_ref_3.py
rename to src/cloudflare/types/user/subscription_delete_response.py
index c660733c80d9..9afa5116dc3a 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_3.py
+++ b/src/cloudflare/types/user/subscription_delete_response.py
@@ -4,9 +4,9 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef3"]
+__all__ = ["SubscriptionDeleteResponse"]
-class UnnamedSchemaRef3(BaseModel):
+class SubscriptionDeleteResponse(BaseModel):
subscription_id: Optional[str] = None
"""Subscription identifier tag."""
diff --git a/src/cloudflare/types/user/subscription_edit_response.py b/src/cloudflare/types/user/subscription_edit_response.py
deleted file mode 100644
index b83f60ab65b2..000000000000
--- a/src/cloudflare/types/user/subscription_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionEditResponse"]
-
-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
deleted file mode 100644
index 12cf6aa283aa..000000000000
--- a/src/cloudflare/types/user/subscription_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionUpdateResponse"]
-
-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
deleted file mode 100644
index a45eff432639..000000000000
--- a/src/cloudflare/types/user/token_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["TokenGetResponse"]
-
-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
deleted file mode 100644
index 4600c9aba027..000000000000
--- a/src/cloudflare/types/user/token_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["TokenUpdateResponse"]
-
-TokenUpdateResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/user_edit_response.py b/src/cloudflare/types/user_edit_response.py
deleted file mode 100644
index e2077cf822de..000000000000
--- a/src/cloudflare/types/user_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["UserEditResponse"]
-
-UserEditResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/user_get_response.py b/src/cloudflare/types/user_get_response.py
deleted file mode 100644
index 7a0f59652a59..000000000000
--- a/src/cloudflare/types/user_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["UserGetResponse"]
-
-UserGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/workers/__init__.py b/src/cloudflare/types/workers/__init__.py
index 9bb637ef0ebd..2acc1f5d3d60 100644
--- a/src/cloudflare/types/workers/__init__.py
+++ b/src/cloudflare/types/workers/__init__.py
@@ -19,8 +19,6 @@
from .filter_update_params import FilterUpdateParams as FilterUpdateParams
from .script_delete_params import ScriptDeleteParams as ScriptDeleteParams
from .script_update_params import ScriptUpdateParams as ScriptUpdateParams
-from .route_create_response import RouteCreateResponse as RouteCreateResponse
-from .route_delete_response import RouteDeleteResponse as RouteDeleteResponse
from .filter_create_response import FilterCreateResponse as FilterCreateResponse
from .filter_delete_response import FilterDeleteResponse as FilterDeleteResponse
from .subdomain_get_response import SubdomainGetResponse as SubdomainGetResponse
diff --git a/src/cloudflare/types/workers/ai_run_params.py b/src/cloudflare/types/workers/ai_run_params.py
index 1272bc9db1c6..f29e3068b688 100644
--- a/src/cloudflare/types/workers/ai_run_params.py
+++ b/src/cloudflare/types/workers/ai_run_params.py
@@ -5,8 +5,6 @@
from typing import List, Union, Iterable
from typing_extensions import Required, TypedDict
-from ...types import shared_params
-
__all__ = [
"AIRunParams",
"TextClassification",
@@ -57,7 +55,7 @@ class SentenceSimilarity(TypedDict, total=False):
class TextEmbeddings(TypedDict, total=False):
account_id: Required[str]
- text: Required[shared_params.UnnamedSchemaRef121]
+ text: Required[Union[str, List[str]]]
class SpeechRecognition(TypedDict, total=False):
diff --git a/src/cloudflare/types/workers/ai_run_response.py b/src/cloudflare/types/workers/ai_run_response.py
index dfbe6f96fae3..5877761e02c5 100644
--- a/src/cloudflare/types/workers/ai_run_response.py
+++ b/src/cloudflare/types/workers/ai_run_response.py
@@ -2,13 +2,15 @@
from typing import List, Union, Optional
-from ..shared import UnnamedSchemaRef94, UnnamedSchemaRef135
from ..._models import BaseModel
__all__ = [
"AIRunResponse",
+ "TextClassification",
"TextEmbeddings",
"SpeechRecognition",
+ "SpeechRecognitionWord",
+ "ImageClassification",
"ObjectDetection",
"ObjectDetectionBox",
"Response",
@@ -18,12 +20,26 @@
]
+class TextClassification(BaseModel):
+ label: Optional[str] = None
+
+ score: Optional[float] = None
+
+
class TextEmbeddings(BaseModel):
data: Optional[List[List[float]]] = None
shape: Optional[List[float]] = None
+class SpeechRecognitionWord(BaseModel):
+ end: Optional[float] = None
+
+ start: Optional[float] = None
+
+ word: Optional[str] = None
+
+
class SpeechRecognition(BaseModel):
text: str
@@ -31,7 +47,13 @@ class SpeechRecognition(BaseModel):
word_count: Optional[float] = None
- words: Optional[List[UnnamedSchemaRef94]] = None
+ words: Optional[List[SpeechRecognitionWord]] = None
+
+
+class ImageClassification(BaseModel):
+ label: Optional[str] = None
+
+ score: Optional[float] = None
class ObjectDetectionBox(BaseModel):
@@ -69,12 +91,12 @@ class ImageToText(BaseModel):
AIRunResponse = Union[
- List[UnnamedSchemaRef135],
+ List[TextClassification],
object,
List[float],
TextEmbeddings,
SpeechRecognition,
- List[UnnamedSchemaRef135],
+ List[ImageClassification],
List[ObjectDetection],
Response,
object,
diff --git a/src/cloudflare/types/workers/route_create_response.py b/src/cloudflare/types/workers/route_create_response.py
deleted file mode 100644
index c841ac52d0e4..000000000000
--- a/src/cloudflare/types/workers/route_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["RouteCreateResponse"]
-
-RouteCreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/workers/route_delete_response.py b/src/cloudflare/types/workers/route_delete_response.py
deleted file mode 100644
index f84ca5cc5343..000000000000
--- a/src/cloudflare/types/workers/route_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["RouteDeleteResponse"]
-
-RouteDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/workers/scripts/__init__.py b/src/cloudflare/types/workers/scripts/__init__.py
index 46d3c3aff8c5..8f93dbe0a2c0 100644
--- a/src/cloudflare/types/workers/scripts/__init__.py
+++ b/src/cloudflare/types/workers/scripts/__init__.py
@@ -25,3 +25,12 @@
from .usage_model_update_params import UsageModelUpdateParams as UsageModelUpdateParams
from .deployment_create_response import DeploymentCreateResponse as DeploymentCreateResponse
from .usage_model_update_response import UsageModelUpdateResponse as UsageModelUpdateResponse
+from .unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26 import (
+ UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26 as UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26,
+)
+from .unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8 import (
+ UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8 as UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8,
+)
+from .unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param import (
+ UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param as UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param,
+)
diff --git a/src/cloudflare/types/workers/scripts/content_update_params.py b/src/cloudflare/types/workers/scripts/content_update_params.py
index 43271f18b3aa..d50a85c565d7 100644
--- a/src/cloudflare/types/workers/scripts/content_update_params.py
+++ b/src/cloudflare/types/workers/scripts/content_update_params.py
@@ -26,5 +26,5 @@ class ContentUpdateParams(TypedDict, total=False):
part name.
"""
- metadata: shared_params.UnnamedSchemaRef51
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24
"""JSON encoded metadata about the uploaded parts and Worker configuration."""
diff --git a/src/cloudflare/types/workers/scripts/deployment_create_params.py b/src/cloudflare/types/workers/scripts/deployment_create_params.py
index 481024a36caa..ff9c06c169ab 100644
--- a/src/cloudflare/types/workers/scripts/deployment_create_params.py
+++ b/src/cloudflare/types/workers/scripts/deployment_create_params.py
@@ -2,22 +2,19 @@
from __future__ import annotations
-from typing_extensions import Required, Annotated, TypedDict
+from typing_extensions import Required, TypedDict
-from ...._utils import PropertyInfo
+from .unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param import (
+ UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param,
+)
-__all__ = ["DeploymentCreateParams", "Annotations"]
+__all__ = ["DeploymentCreateParams"]
class DeploymentCreateParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
- annotations: Annotations
+ annotations: UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param
strategy: str
-
-
-class Annotations(TypedDict, total=False):
- workers_message: Annotated[str, PropertyInfo(alias="workers/message")]
- """Human-readable message about the deployment."""
diff --git a/src/cloudflare/types/workers/scripts/deployment_create_response.py b/src/cloudflare/types/workers/scripts/deployment_create_response.py
index 7097c17dd62a..205e144fd991 100644
--- a/src/cloudflare/types/workers/scripts/deployment_create_response.py
+++ b/src/cloudflare/types/workers/scripts/deployment_create_response.py
@@ -2,22 +2,16 @@
from typing import Optional
-from pydantic import Field as FieldInfo
-
from ...._models import BaseModel
+from .unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8 import UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8
-__all__ = ["DeploymentCreateResponse", "Annotations"]
-
-
-class Annotations(BaseModel):
- workers_message: Optional[str] = FieldInfo(alias="workers/message", default=None)
- """Human-readable message about the deployment."""
+__all__ = ["DeploymentCreateResponse"]
class DeploymentCreateResponse(BaseModel):
id: Optional[str] = None
- annotations: Optional[Annotations] = None
+ annotations: Optional[UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8] = None
author_email: Optional[str] = None
diff --git a/src/cloudflare/types/workers/scripts/deployment_get_response.py b/src/cloudflare/types/workers/scripts/deployment_get_response.py
index 49b5a84b2762..854a1dbac8c2 100644
--- a/src/cloudflare/types/workers/scripts/deployment_get_response.py
+++ b/src/cloudflare/types/workers/scripts/deployment_get_response.py
@@ -2,22 +2,16 @@
from typing import List, Optional
-from pydantic import Field as FieldInfo
-
from ...._models import BaseModel
+from .unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8 import UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8
-__all__ = ["DeploymentGetResponse", "Deployment", "DeploymentAnnotations"]
-
-
-class DeploymentAnnotations(BaseModel):
- workers_message: Optional[str] = FieldInfo(alias="workers/message", default=None)
- """Human-readable message about the deployment."""
+__all__ = ["DeploymentGetResponse", "Deployment"]
class Deployment(BaseModel):
id: Optional[str] = None
- annotations: Optional[DeploymentAnnotations] = None
+ annotations: Optional[UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8] = None
author_email: Optional[str] = None
diff --git a/src/cloudflare/types/workers/scripts/schedule_get_response.py b/src/cloudflare/types/workers/scripts/schedule_get_response.py
index a19cf08562f0..3fd5a9f20870 100644
--- a/src/cloudflare/types/workers/scripts/schedule_get_response.py
+++ b/src/cloudflare/types/workers/scripts/schedule_get_response.py
@@ -2,11 +2,11 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef102
from ...._models import BaseModel
+from .unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26 import UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26
__all__ = ["ScheduleGetResponse"]
class ScheduleGetResponse(BaseModel):
- schedules: Optional[List[UnnamedSchemaRef102]] = None
+ schedules: Optional[List[UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26]] = None
diff --git a/src/cloudflare/types/workers/scripts/schedule_update_response.py b/src/cloudflare/types/workers/scripts/schedule_update_response.py
index b4b6b9312aaa..abf3e52019bb 100644
--- a/src/cloudflare/types/workers/scripts/schedule_update_response.py
+++ b/src/cloudflare/types/workers/scripts/schedule_update_response.py
@@ -2,11 +2,11 @@
from typing import List, Optional
-from ...shared import UnnamedSchemaRef102
from ...._models import BaseModel
+from .unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26 import UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26
__all__ = ["ScheduleUpdateResponse"]
class ScheduleUpdateResponse(BaseModel):
- schedules: Optional[List[UnnamedSchemaRef102]] = None
+ schedules: Optional[List[UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26]] = None
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_102.py b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26.py
similarity index 59%
rename from src/cloudflare/types/shared/unnamed_schema_ref_102.py
rename to src/cloudflare/types/workers/scripts/unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26.py
index e347f399f191..65ebe2f742db 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_102.py
+++ b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_c8302c265937f9d6f96fd69644e56b26.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from ...._models import BaseModel
-__all__ = ["UnnamedSchemaRef102"]
+__all__ = ["UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26"]
-class UnnamedSchemaRef102(BaseModel):
+class UnnamedSchemaRefC8302c265937f9d6f96fd69644e56b26(BaseModel):
created_on: Optional[object] = None
cron: Optional[object] = None
diff --git a/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8.py b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8.py
new file mode 100644
index 000000000000..7954f5006f94
--- /dev/null
+++ b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8.py
@@ -0,0 +1,14 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from pydantic import Field as FieldInfo
+
+from ...._models import BaseModel
+
+__all__ = ["UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8"]
+
+
+class UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8(BaseModel):
+ workers_message: Optional[str] = FieldInfo(alias="workers/message", default=None)
+ """Human-readable message about the deployment."""
diff --git a/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param.py b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param.py
new file mode 100644
index 000000000000..c2993691717e
--- /dev/null
+++ b/src/cloudflare/types/workers/scripts/unnamed_schema_ref_fda1c6f6758e763ae3b2964521f2fdd8_param.py
@@ -0,0 +1,14 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from __future__ import annotations
+
+from typing_extensions import Annotated, TypedDict
+
+from ...._utils import PropertyInfo
+
+__all__ = ["UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param"]
+
+
+class UnnamedSchemaRefFda1c6f6758e763ae3b2964521f2fdd8Param(TypedDict, total=False):
+ workers_message: Annotated[str, PropertyInfo(alias="workers/message")]
+ """Human-readable message about the deployment."""
diff --git a/src/cloudflare/types/workers/services/environments/content_update_params.py b/src/cloudflare/types/workers/services/environments/content_update_params.py
index a7adb925fb2a..a8367f23c928 100644
--- a/src/cloudflare/types/workers/services/environments/content_update_params.py
+++ b/src/cloudflare/types/workers/services/environments/content_update_params.py
@@ -29,5 +29,5 @@ class ContentUpdateParams(TypedDict, total=False):
part name.
"""
- metadata: shared_params.UnnamedSchemaRef51
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24
"""JSON encoded metadata about the uploaded parts and Worker configuration."""
diff --git a/src/cloudflare/types/workers/services/environments/setting_edit_params.py b/src/cloudflare/types/workers/services/environments/setting_edit_params.py
index 7f6a4673848a..8f035c83de59 100644
--- a/src/cloudflare/types/workers/services/environments/setting_edit_params.py
+++ b/src/cloudflare/types/workers/services/environments/setting_edit_params.py
@@ -17,9 +17,9 @@ class SettingEditParams(TypedDict, total=False):
service_name: Required[str]
"""Name of Worker to bind to"""
- errors: Required[Iterable[shared_params.ResponseInfo]]
+ errors: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
- messages: Required[Iterable[shared_params.ResponseInfo]]
+ messages: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
result: Required[Result]
diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/content_update_params.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/content_update_params.py
index 0690b73da9b0..7ebc603efe97 100644
--- a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/content_update_params.py
+++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/content_update_params.py
@@ -29,5 +29,5 @@ class ContentUpdateParams(TypedDict, total=False):
part name.
"""
- metadata: shared_params.UnnamedSchemaRef51
+ metadata: shared_params.UnnamedSchemaRefEe1e79edcb234d14c4dd266880f2fd24
"""JSON encoded metadata about the uploaded parts and Worker configuration."""
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 d428ad8fe553..7a62e788b162 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
@@ -17,9 +17,9 @@ class SettingEditParams(TypedDict, total=False):
dispatch_namespace: Required[str]
"""Name of the Workers for Platforms dispatch namespace."""
- errors: Required[Iterable[shared_params.ResponseInfo]]
+ errors: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
- messages: Required[Iterable[shared_params.ResponseInfo]]
+ messages: Required[Iterable[shared_params.UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]]
result: Required[Result]
diff --git a/src/cloudflare/types/zero_trust/__init__.py b/src/cloudflare/types/zero_trust/__init__.py
index e5b5aa801530..22e154ba78e9 100644
--- a/src/cloudflare/types/zero_trust/__init__.py
+++ b/src/cloudflare/types/zero_trust/__init__.py
@@ -26,3 +26,15 @@
from .identity_provider_delete_response import IdentityProviderDeleteResponse as IdentityProviderDeleteResponse
from .connectivity_setting_edit_response import ConnectivitySettingEditResponse as ConnectivitySettingEditResponse
from .organization_revoke_users_response import OrganizationRevokeUsersResponse as OrganizationRevokeUsersResponse
+from .unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb import (
+ UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb as UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb,
+)
+from .unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11 import (
+ UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11 as UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11,
+)
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1 import (
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1 as UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1,
+)
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param import (
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param as UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param,
+)
diff --git a/src/cloudflare/types/zero_trust/access/__init__.py b/src/cloudflare/types/zero_trust/access/__init__.py
index 06e4fc606721..2aa030e15610 100644
--- a/src/cloudflare/types/zero_trust/access/__init__.py
+++ b/src/cloudflare/types/zero_trust/access/__init__.py
@@ -4,7 +4,6 @@
from .zero_trust_tag import ZeroTrustTag as ZeroTrustTag
from .zero_trust_apps import ZeroTrustApps as ZeroTrustApps
-from .key_get_response import KeyGetResponse as KeyGetResponse
from .zero_trust_users import ZeroTrustUsers as ZeroTrustUsers
from .key_update_params import KeyUpdateParams as KeyUpdateParams
from .tag_create_params import TagCreateParams as TagCreateParams
@@ -12,8 +11,6 @@
from .zero_trust_groups import ZeroTrustGroups as ZeroTrustGroups
from .group_create_params import GroupCreateParams as GroupCreateParams
from .group_update_params import GroupUpdateParams as GroupUpdateParams
-from .key_rotate_response import KeyRotateResponse as KeyRotateResponse
-from .key_update_response import KeyUpdateResponse as KeyUpdateResponse
from .tag_delete_response import TagDeleteResponse as TagDeleteResponse
from .zero_trust_bookmarks import ZeroTrustBookmarks as ZeroTrustBookmarks
from .group_delete_response import GroupDeleteResponse as GroupDeleteResponse
@@ -38,3 +35,15 @@
from .service_token_create_response import ServiceTokenCreateResponse as ServiceTokenCreateResponse
from .service_token_rotate_response import ServiceTokenRotateResponse as ServiceTokenRotateResponse
from .zero_trust_custom_page_without_html import ZeroTrustCustomPageWithoutHTML as ZeroTrustCustomPageWithoutHTML
+from .unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832 import (
+ UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832 as UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832,
+)
+from .unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9 import (
+ UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9 as UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9,
+)
+from .unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419 import (
+ UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419 as UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419,
+)
+from .unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param import (
+ UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param as UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param,
+)
diff --git a/src/cloudflare/types/zero_trust/access/application_create_params.py b/src/cloudflare/types/zero_trust/access/application_create_params.py
index 46efae019bb4..58b672505304 100644
--- a/src/cloudflare/types/zero_trust/access/application_create_params.py
+++ b/src/cloudflare/types/zero_trust/access/application_create_params.py
@@ -5,8 +5,11 @@
from typing import List, Union
from typing_extensions import Literal, Required, TypedDict
-from ....types import shared_params
-from ...shared import UnnamedSchemaRef75, UnnamedSchemaRef77
+from .unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9 import UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9
+from .unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419 import UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419
+from .unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param import (
+ UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param,
+)
__all__ = [
"ApplicationCreateParams",
@@ -224,10 +227,10 @@ class SaaSApplicationSaasAppAccessSamlSaasAppCustomAttributes(TypedDict, total=F
name: str
"""The name of the attribute."""
- name_format: UnnamedSchemaRef75
+ name_format: UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9
"""A globally unique name for an identity or service provider."""
- source: shared_params.UnnamedSchemaRef76
+ source: UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param
class SaaSApplicationSaasAppAccessSamlSaasApp(TypedDict, total=False):
@@ -255,7 +258,7 @@ class SaaSApplicationSaasAppAccessSamlSaasApp(TypedDict, total=False):
idp_entity_id: str
"""The unique identifier for your SaaS application."""
- name_id_format: UnnamedSchemaRef77
+ name_id_format: UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419
"""The format of the name identifier sent to the SaaS application."""
name_id_transform_jsonata: str
diff --git a/src/cloudflare/types/zero_trust/access/application_update_params.py b/src/cloudflare/types/zero_trust/access/application_update_params.py
index 009702481eeb..9e88c430e370 100644
--- a/src/cloudflare/types/zero_trust/access/application_update_params.py
+++ b/src/cloudflare/types/zero_trust/access/application_update_params.py
@@ -5,8 +5,11 @@
from typing import List, Union
from typing_extensions import Literal, Required, TypedDict
-from ....types import shared_params
-from ...shared import UnnamedSchemaRef75, UnnamedSchemaRef77
+from .unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9 import UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9
+from .unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419 import UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419
+from .unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param import (
+ UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param,
+)
__all__ = [
"ApplicationUpdateParams",
@@ -224,10 +227,10 @@ class SaaSApplicationSaasAppAccessSamlSaasAppCustomAttributes(TypedDict, total=F
name: str
"""The name of the attribute."""
- name_format: UnnamedSchemaRef75
+ name_format: UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9
"""A globally unique name for an identity or service provider."""
- source: shared_params.UnnamedSchemaRef76
+ source: UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param
class SaaSApplicationSaasAppAccessSamlSaasApp(TypedDict, total=False):
@@ -255,7 +258,7 @@ class SaaSApplicationSaasAppAccessSamlSaasApp(TypedDict, total=False):
idp_entity_id: str
"""The unique identifier for your SaaS application."""
- name_id_format: UnnamedSchemaRef77
+ name_id_format: UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419
"""The format of the name identifier sent to the SaaS application."""
name_id_transform_jsonata: str
diff --git a/src/cloudflare/types/zero_trust/access/applications/__init__.py b/src/cloudflare/types/zero_trust/access/applications/__init__.py
index 4c51f6afacf2..de1d030480ba 100644
--- a/src/cloudflare/types/zero_trust/access/applications/__init__.py
+++ b/src/cloudflare/types/zero_trust/access/applications/__init__.py
@@ -3,11 +3,12 @@
from __future__ import annotations
from .zero_trust_ca import ZeroTrustCA as ZeroTrustCA
-from .ca_get_response import CAGetResponse as CAGetResponse
-from .ca_create_response import CACreateResponse as CACreateResponse
from .ca_delete_response import CADeleteResponse as CADeleteResponse
from .zero_trust_policies import ZeroTrustPolicies as ZeroTrustPolicies
from .policy_create_params import PolicyCreateParams as PolicyCreateParams
from .policy_update_params import PolicyUpdateParams as PolicyUpdateParams
from .policy_delete_response import PolicyDeleteResponse as PolicyDeleteResponse
from .user_policy_check_list_response import UserPolicyCheckListResponse as UserPolicyCheckListResponse
+from .unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919 import (
+ UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919 as UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919,
+)
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
deleted file mode 100644
index a104dcf93de9..000000000000
--- a/src/cloudflare/types/zero_trust/access/applications/ca_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["CACreateResponse"]
-
-CACreateResponse = Union[str, object]
diff --git a/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py b/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py
index 45cb753979d3..a6d53febf41a 100644
--- a/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py
+++ b/src/cloudflare/types/zero_trust/access/applications/policy_create_params.py
@@ -5,7 +5,6 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypedDict
-from .....types import shared_params
from ....._utils import PropertyInfo
__all__ = [
@@ -24,6 +23,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -60,6 +60,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -95,6 +96,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -237,8 +239,13 @@ class IncludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class IncludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[IncludeAccessAccessGroupRuleGroup]
class IncludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -449,8 +456,13 @@ class ExcludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class ExcludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[ExcludeAccessAccessGroupRuleGroup]
class ExcludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -650,8 +662,13 @@ class RequireAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class RequireAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[RequireAccessAccessGroupRuleGroup]
class RequireAccessAzureGroupRuleAzureAd(TypedDict, total=False):
diff --git a/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py b/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py
index c5161d540776..223aea70ccda 100644
--- a/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py
+++ b/src/cloudflare/types/zero_trust/access/applications/policy_update_params.py
@@ -5,7 +5,6 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypedDict
-from .....types import shared_params
from ....._utils import PropertyInfo
__all__ = [
@@ -24,6 +23,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -60,6 +60,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -95,6 +96,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -240,8 +242,13 @@ class IncludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class IncludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[IncludeAccessAccessGroupRuleGroup]
class IncludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -452,8 +459,13 @@ class ExcludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class ExcludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[ExcludeAccessAccessGroupRuleGroup]
class ExcludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -653,8 +665,13 @@ class RequireAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class RequireAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[RequireAccessAccessGroupRuleGroup]
class RequireAccessAzureGroupRuleAzureAd(TypedDict, total=False):
diff --git a/src/cloudflare/types/zero_trust/access/applications/unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919.py b/src/cloudflare/types/zero_trust/access/applications/unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919.py
new file mode 100644
index 000000000000..73e9666d2ce1
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/access/applications/unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919.py
@@ -0,0 +1,11 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing import Optional
+
+from ....._models import BaseModel
+
+__all__ = ["UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919"]
+
+
+class UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919(BaseModel):
+ country: Optional[str] = None
diff --git a/src/cloudflare/types/zero_trust/access/applications/user_policy_check_list_response.py b/src/cloudflare/types/zero_trust/access/applications/user_policy_check_list_response.py
index 7e0bd187b85a..38239154b269 100644
--- a/src/cloudflare/types/zero_trust/access/applications/user_policy_check_list_response.py
+++ b/src/cloudflare/types/zero_trust/access/applications/user_policy_check_list_response.py
@@ -3,8 +3,9 @@
from typing import List, Optional
from ....._models import BaseModel
+from .unnamed_schema_ref_6a02fe18089d53b52b2cd3949b717919 import UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919
-__all__ = ["UserPolicyCheckListResponse", "AppState", "UserIdentity", "UserIdentityGeo"]
+__all__ = ["UserPolicyCheckListResponse", "AppState", "UserIdentity"]
class AppState(BaseModel):
@@ -22,10 +23,6 @@ class AppState(BaseModel):
status: Optional[str] = None
-class UserIdentityGeo(BaseModel):
- country: Optional[str] = None
-
-
class UserIdentity(BaseModel):
id: Optional[str] = None
@@ -35,7 +32,7 @@ class UserIdentity(BaseModel):
email: Optional[str] = None
- geo: Optional[UserIdentityGeo] = None
+ geo: Optional[UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919] = None
iat: Optional[int] = None
diff --git a/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py b/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py
index 8458453accc2..91fd93a10f25 100644
--- a/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py
+++ b/src/cloudflare/types/zero_trust/access/applications/zero_trust_policies.py
@@ -6,7 +6,6 @@
from pydantic import Field as FieldInfo
-from ....shared import UnnamedSchemaRef131
from ....._models import BaseModel
__all__ = [
@@ -26,6 +25,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -61,6 +61,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -96,6 +97,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -185,8 +187,13 @@ class ExcludeAccessCertificateRule(BaseModel):
certificate: object
+class ExcludeAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: ExcludeAccessAccessGroupRuleGroup
class ExcludeAccessAzureGroupRuleAzureAd(BaseModel):
@@ -384,8 +391,13 @@ class IncludeAccessCertificateRule(BaseModel):
certificate: object
+class IncludeAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: IncludeAccessAccessGroupRuleGroup
class IncludeAccessAzureGroupRuleAzureAd(BaseModel):
@@ -583,8 +595,13 @@ class RequireAccessCertificateRule(BaseModel):
certificate: object
+class RequireAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: RequireAccessAccessGroupRuleGroup
class RequireAccessAzureGroupRuleAzureAd(BaseModel):
diff --git a/src/cloudflare/types/zero_trust/access/group_create_params.py b/src/cloudflare/types/zero_trust/access/group_create_params.py
index 1f97f6bd5362..c7866aad82e4 100644
--- a/src/cloudflare/types/zero_trust/access/group_create_params.py
+++ b/src/cloudflare/types/zero_trust/access/group_create_params.py
@@ -5,7 +5,6 @@
from typing import Union, Iterable
from typing_extensions import Required, Annotated, TypedDict
-from ....types import shared_params
from ...._utils import PropertyInfo
__all__ = [
@@ -24,6 +23,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -59,6 +59,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -94,6 +95,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -204,8 +206,13 @@ class IncludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class IncludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[IncludeAccessAccessGroupRuleGroup]
class IncludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -405,8 +412,13 @@ class ExcludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class ExcludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[ExcludeAccessAccessGroupRuleGroup]
class ExcludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -606,8 +618,13 @@ class RequireAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class RequireAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[RequireAccessAccessGroupRuleGroup]
class RequireAccessAzureGroupRuleAzureAd(TypedDict, total=False):
diff --git a/src/cloudflare/types/zero_trust/access/group_update_params.py b/src/cloudflare/types/zero_trust/access/group_update_params.py
index dc1ba0ed1f38..15684eaf347e 100644
--- a/src/cloudflare/types/zero_trust/access/group_update_params.py
+++ b/src/cloudflare/types/zero_trust/access/group_update_params.py
@@ -5,7 +5,6 @@
from typing import Union, Iterable
from typing_extensions import Required, Annotated, TypedDict
-from ....types import shared_params
from ...._utils import PropertyInfo
__all__ = [
@@ -24,6 +23,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -59,6 +59,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -94,6 +95,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -204,8 +206,13 @@ class IncludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class IncludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[IncludeAccessAccessGroupRuleGroup]
class IncludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -405,8 +412,13 @@ class ExcludeAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class ExcludeAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[ExcludeAccessAccessGroupRuleGroup]
class ExcludeAccessAzureGroupRuleAzureAd(TypedDict, total=False):
@@ -606,8 +618,13 @@ class RequireAccessCertificateRule(TypedDict, total=False):
certificate: Required[object]
+class RequireAccessAccessGroupRuleGroup(TypedDict, total=False):
+ id: Required[str]
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(TypedDict, total=False):
- group: Required[shared_params.UnnamedSchemaRef131]
+ group: Required[RequireAccessAccessGroupRuleGroup]
class RequireAccessAzureGroupRuleAzureAd(TypedDict, total=False):
diff --git a/src/cloudflare/types/zero_trust/access/key_get_response.py b/src/cloudflare/types/zero_trust/access/key_get_response.py
deleted file mode 100644
index 79cfd988d583..000000000000
--- a/src/cloudflare/types/zero_trust/access/key_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["KeyGetResponse"]
-
-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
deleted file mode 100644
index 1ababd82b3cd..000000000000
--- a/src/cloudflare/types/zero_trust/access/key_rotate_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["KeyRotateResponse"]
-
-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
deleted file mode 100644
index a63396635f68..000000000000
--- a/src/cloudflare/types/zero_trust/access/key_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["KeyUpdateResponse"]
-
-KeyUpdateResponse = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_76.py b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832.py
similarity index 53%
rename from src/cloudflare/types/shared/unnamed_schema_ref_76.py
rename to src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832.py
index 4ae0a575cb7b..6209e5a4a2ab 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_76.py
+++ b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832.py
@@ -2,11 +2,11 @@
from typing import Optional
-from ..._models import BaseModel
+from ...._models import BaseModel
-__all__ = ["UnnamedSchemaRef76"]
+__all__ = ["UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832"]
-class UnnamedSchemaRef76(BaseModel):
+class UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832(BaseModel):
name: Optional[str] = None
"""The name of the IdP attribute."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_76.py b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param.py
similarity index 59%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_76.py
rename to src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param.py
index 75172ddb621d..bb025e42ece0 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_76.py
+++ b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832_param.py
@@ -4,9 +4,9 @@
from typing_extensions import TypedDict
-__all__ = ["UnnamedSchemaRef76"]
+__all__ = ["UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param"]
-class UnnamedSchemaRef76(TypedDict, total=False):
+class UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832Param(TypedDict, total=False):
name: str
"""The name of the IdP attribute."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_75.py b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9.py
similarity index 71%
rename from src/cloudflare/types/shared/unnamed_schema_ref_75.py
rename to src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9.py
index 5ab93d44ee3a..ad224d9557c4 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_75.py
+++ b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9.py
@@ -2,9 +2,9 @@
from typing_extensions import Literal
-__all__ = ["UnnamedSchemaRef75"]
+__all__ = ["UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9"]
-UnnamedSchemaRef75 = Literal[
+UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9 = Literal[
"urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified",
"urn:oasis:names:tc:SAML:2.0:attrname-format:basic",
"urn:oasis:names:tc:SAML:2.0:attrname-format:uri",
diff --git a/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419.py b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419.py
new file mode 100644
index 000000000000..bbb4cf243efd
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/access/unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419"]
+
+UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419 = Literal["id", "email"]
diff --git a/src/cloudflare/types/zero_trust/access/users/active_session_get_response.py b/src/cloudflare/types/zero_trust/access/users/active_session_get_response.py
index 523b0f0fc484..115fea2de1d1 100644
--- a/src/cloudflare/types/zero_trust/access/users/active_session_get_response.py
+++ b/src/cloudflare/types/zero_trust/access/users/active_session_get_response.py
@@ -5,16 +5,9 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
+from ..applications import UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919
-__all__ = [
- "ActiveSessionGetResponse",
- "DeviceSessions",
- "DevicePosture",
- "DevicePostureCheck",
- "Geo",
- "IDP",
- "MTLSAuth",
-]
+__all__ = ["ActiveSessionGetResponse", "DeviceSessions", "DevicePosture", "DevicePostureCheck", "IDP", "MTLSAuth"]
class DeviceSessions(BaseModel):
@@ -47,10 +40,6 @@ class DevicePosture(BaseModel):
type: Optional[str] = None
-class Geo(BaseModel):
- country: Optional[str] = None
-
-
class IDP(BaseModel):
id: Optional[str] = None
@@ -84,7 +73,7 @@ class ActiveSessionGetResponse(BaseModel):
email: Optional[str] = None
- geo: Optional[Geo] = None
+ geo: Optional[UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919] = None
iat: Optional[float] = None
diff --git a/src/cloudflare/types/zero_trust/access/users/zero_trust_identity.py b/src/cloudflare/types/zero_trust/access/users/zero_trust_identity.py
index 8411f8fe6dd1..2fdb32862aeb 100644
--- a/src/cloudflare/types/zero_trust/access/users/zero_trust_identity.py
+++ b/src/cloudflare/types/zero_trust/access/users/zero_trust_identity.py
@@ -5,8 +5,9 @@
from pydantic import Field as FieldInfo
from ....._models import BaseModel
+from ..applications import UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919
-__all__ = ["ZeroTrustIdentity", "DeviceSessions", "DevicePosture", "DevicePostureCheck", "Geo", "IDP", "MTLSAuth"]
+__all__ = ["ZeroTrustIdentity", "DeviceSessions", "DevicePosture", "DevicePostureCheck", "IDP", "MTLSAuth"]
class DeviceSessions(BaseModel):
@@ -39,10 +40,6 @@ class DevicePosture(BaseModel):
type: Optional[str] = None
-class Geo(BaseModel):
- country: Optional[str] = None
-
-
class IDP(BaseModel):
id: Optional[str] = None
@@ -76,7 +73,7 @@ class ZeroTrustIdentity(BaseModel):
email: Optional[str] = None
- geo: Optional[Geo] = None
+ geo: Optional[UnnamedSchemaRef6a02fe18089d53b52b2cd3949b717919] = None
iat: Optional[float] = None
diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_apps.py b/src/cloudflare/types/zero_trust/access/zero_trust_apps.py
index 953369032790..da35f1bcc7a2 100644
--- a/src/cloudflare/types/zero_trust/access/zero_trust_apps.py
+++ b/src/cloudflare/types/zero_trust/access/zero_trust_apps.py
@@ -4,8 +4,10 @@
from datetime import datetime
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef75, UnnamedSchemaRef76, UnnamedSchemaRef77
from ...._models import BaseModel
+from .unnamed_schema_ref_6ed9646890b9be79e16f1cfff86ec832 import UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832
+from .unnamed_schema_ref_c335ce55d4fdf132c942dfce6e45dcb9 import UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9
+from .unnamed_schema_ref_c6200e37c458aaa3c42e6e5b999bc419 import UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419
__all__ = [
"ZeroTrustApps",
@@ -184,10 +186,10 @@ class SaaSApplicationSaasAppAccessSamlSaasAppCustomAttributes(BaseModel):
name: Optional[str] = None
"""The name of the attribute."""
- name_format: Optional[UnnamedSchemaRef75] = None
+ name_format: Optional[UnnamedSchemaRefC335ce55d4fdf132c942dfce6e45dcb9] = None
"""A globally unique name for an identity or service provider."""
- source: Optional[UnnamedSchemaRef76] = None
+ source: Optional[UnnamedSchemaRef6ed9646890b9be79e16f1cfff86ec832] = None
class SaaSApplicationSaasAppAccessSamlSaasApp(BaseModel):
@@ -217,7 +219,7 @@ class SaaSApplicationSaasAppAccessSamlSaasApp(BaseModel):
idp_entity_id: Optional[str] = None
"""The unique identifier for your SaaS application."""
- name_id_format: Optional[UnnamedSchemaRef77] = None
+ name_id_format: Optional[UnnamedSchemaRefC6200e37c458aaa3c42e6e5b999bc419] = None
"""The format of the name identifier sent to the SaaS application."""
name_id_transform_jsonata: Optional[str] = None
diff --git a/src/cloudflare/types/zero_trust/access/zero_trust_groups.py b/src/cloudflare/types/zero_trust/access/zero_trust_groups.py
index e33d7f5e56a2..f7cde2ccddbe 100644
--- a/src/cloudflare/types/zero_trust/access/zero_trust_groups.py
+++ b/src/cloudflare/types/zero_trust/access/zero_trust_groups.py
@@ -5,7 +5,6 @@
from pydantic import Field as FieldInfo
-from ...shared import UnnamedSchemaRef131
from ...._models import BaseModel
__all__ = [
@@ -24,6 +23,7 @@
"ExcludeAccessIPListRuleIPList",
"ExcludeAccessCertificateRule",
"ExcludeAccessAccessGroupRule",
+ "ExcludeAccessAccessGroupRuleGroup",
"ExcludeAccessAzureGroupRule",
"ExcludeAccessAzureGroupRuleAzureAd",
"ExcludeAccessGitHubOrganizationRule",
@@ -59,6 +59,7 @@
"IncludeAccessIPListRuleIPList",
"IncludeAccessCertificateRule",
"IncludeAccessAccessGroupRule",
+ "IncludeAccessAccessGroupRuleGroup",
"IncludeAccessAzureGroupRule",
"IncludeAccessAzureGroupRuleAzureAd",
"IncludeAccessGitHubOrganizationRule",
@@ -94,6 +95,7 @@
"IsDefaultAccessIPListRuleIPList",
"IsDefaultAccessCertificateRule",
"IsDefaultAccessAccessGroupRule",
+ "IsDefaultAccessAccessGroupRuleGroup",
"IsDefaultAccessAzureGroupRule",
"IsDefaultAccessAzureGroupRuleAzureAd",
"IsDefaultAccessGitHubOrganizationRule",
@@ -129,6 +131,7 @@
"RequireAccessIPListRuleIPList",
"RequireAccessCertificateRule",
"RequireAccessAccessGroupRule",
+ "RequireAccessAccessGroupRuleGroup",
"RequireAccessAzureGroupRule",
"RequireAccessAzureGroupRuleAzureAd",
"RequireAccessGitHubOrganizationRule",
@@ -207,8 +210,13 @@ class ExcludeAccessCertificateRule(BaseModel):
certificate: object
+class ExcludeAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class ExcludeAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: ExcludeAccessAccessGroupRuleGroup
class ExcludeAccessAzureGroupRuleAzureAd(BaseModel):
@@ -406,8 +414,13 @@ class IncludeAccessCertificateRule(BaseModel):
certificate: object
+class IncludeAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class IncludeAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: IncludeAccessAccessGroupRuleGroup
class IncludeAccessAzureGroupRuleAzureAd(BaseModel):
@@ -605,8 +618,13 @@ class IsDefaultAccessCertificateRule(BaseModel):
certificate: object
+class IsDefaultAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class IsDefaultAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: IsDefaultAccessAccessGroupRuleGroup
class IsDefaultAccessAzureGroupRuleAzureAd(BaseModel):
@@ -806,8 +824,13 @@ class RequireAccessCertificateRule(BaseModel):
certificate: object
+class RequireAccessAccessGroupRuleGroup(BaseModel):
+ id: str
+ """The ID of a previously created Access group."""
+
+
class RequireAccessAccessGroupRule(BaseModel):
- group: UnnamedSchemaRef131
+ group: RequireAccessAccessGroupRuleGroup
class RequireAccessAzureGroupRuleAzureAd(BaseModel):
diff --git a/src/cloudflare/types/zero_trust/devices/__init__.py b/src/cloudflare/types/zero_trust/devices/__init__.py
index f21f706dfeb1..135b00e548b4 100644
--- a/src/cloudflare/types/zero_trust/devices/__init__.py
+++ b/src/cloudflare/types/zero_trust/devices/__init__.py
@@ -26,3 +26,9 @@
from .override_code_list_response import OverrideCodeListResponse as OverrideCodeListResponse
from .devices_device_settings_policy import DevicesDeviceSettingsPolicy as DevicesDeviceSettingsPolicy
from .zero_trust_account_device_settings import ZeroTrustAccountDeviceSettings as ZeroTrustAccountDeviceSettings
+from .unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930 import (
+ UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930 as UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930,
+)
+from .unnamed_schema_ref_41885dd46b9e0294254c49305a273681 import (
+ UnnamedSchemaRef41885dd46b9e0294254c49305a273681 as UnnamedSchemaRef41885dd46b9e0294254c49305a273681,
+)
diff --git a/src/cloudflare/types/zero_trust/devices/device_posture_rules.py b/src/cloudflare/types/zero_trust/devices/device_posture_rules.py
index 39e5b12eaaa2..1acd4faea925 100644
--- a/src/cloudflare/types/zero_trust/devices/device_posture_rules.py
+++ b/src/cloudflare/types/zero_trust/devices/device_posture_rules.py
@@ -5,8 +5,9 @@
from pydantic import Field as FieldInfo
-from ...shared import UnnamedSchemaRef87, UnnamedSchemaRef88, UnnamedSchemaRef119
from ...._models import BaseModel
+from .unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930 import UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+from .unnamed_schema_ref_41885dd46b9e0294254c49305a273681 import UnnamedSchemaRef41885dd46b9e0294254c49305a273681
__all__ = [
"DevicePostureRules",
@@ -32,7 +33,7 @@
class InputTeamsDevicesFileInputRequest(BaseModel):
- operating_system: UnnamedSchemaRef119
+ operating_system: UnnamedSchemaRef41885dd46b9e0294254c49305a273681
"""Operating system"""
path: str
@@ -68,8 +69,8 @@ class InputTeamsDevicesOSVersionInputRequest(BaseModel):
operating_system: Literal["windows"]
"""Operating System"""
- operator: Literal["<", "<=", ">", ">=", "=="]
- """Operator"""
+ operator: UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+ """operator"""
version: str
"""Version of OS"""
@@ -97,7 +98,7 @@ class InputTeamsDevicesFirewallInputRequest(BaseModel):
class InputTeamsDevicesSentineloneInputRequest(BaseModel):
- operating_system: UnnamedSchemaRef119
+ operating_system: UnnamedSchemaRef41885dd46b9e0294254c49305a273681
"""Operating system"""
path: str
@@ -111,7 +112,7 @@ class InputTeamsDevicesSentineloneInputRequest(BaseModel):
class InputTeamsDevicesCarbonblackInputRequest(BaseModel):
- operating_system: UnnamedSchemaRef119
+ operating_system: UnnamedSchemaRef41885dd46b9e0294254c49305a273681
"""Operating system"""
path: str
@@ -133,7 +134,7 @@ class InputTeamsDevicesDiskEncryptionInputRequest(BaseModel):
class InputTeamsDevicesApplicationInputRequest(BaseModel):
- operating_system: UnnamedSchemaRef119
+ operating_system: UnnamedSchemaRef41885dd46b9e0294254c49305a273681
"""Operating system"""
path: str
@@ -169,8 +170,8 @@ class InputTeamsDevicesCrowdstrikeInputRequest(BaseModel):
last_seen: Optional[str] = None
"""For more details on last seen, please refer to the Crowdstrike documentation."""
- operator: Optional[UnnamedSchemaRef87] = None
- """Operator"""
+ operator: Optional[UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930] = None
+ """operator"""
os: Optional[str] = None
"""Os Version"""
@@ -187,7 +188,7 @@ class InputTeamsDevicesCrowdstrikeInputRequest(BaseModel):
version: Optional[str] = None
"""Version"""
- version_operator: Optional[UnnamedSchemaRef88] = FieldInfo(alias="versionOperator", default=None)
+ version_operator: Optional[Literal["<", "<=", ">", ">=", "=="]] = FieldInfo(alias="versionOperator", default=None)
"""Version Operator"""
@@ -246,7 +247,7 @@ class InputTeamsDevicesSentineloneS2sInputRequest(BaseModel):
network_status: Optional[Literal["connected", "disconnected", "disconnecting", "connecting"]] = None
"""Network status of device."""
- operator: Optional[Literal["<", "<=", ">", ">=", "=="]] = None
+ operator: Optional[UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930] = None
"""operator"""
diff --git a/src/cloudflare/types/zero_trust/devices/posture_create_params.py b/src/cloudflare/types/zero_trust/devices/posture_create_params.py
index 268ab787828f..8c57e734b9bf 100644
--- a/src/cloudflare/types/zero_trust/devices/posture_create_params.py
+++ b/src/cloudflare/types/zero_trust/devices/posture_create_params.py
@@ -5,8 +5,9 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypedDict
-from ...shared import UnnamedSchemaRef87, UnnamedSchemaRef88, UnnamedSchemaRef119
from ...._utils import PropertyInfo
+from .unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930 import UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+from .unnamed_schema_ref_41885dd46b9e0294254c49305a273681 import UnnamedSchemaRef41885dd46b9e0294254c49305a273681
__all__ = [
"PostureCreateParams",
@@ -86,7 +87,7 @@ class PostureCreateParams(TypedDict, total=False):
class InputTeamsDevicesFileInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -122,8 +123,8 @@ class InputTeamsDevicesOSVersionInputRequest(TypedDict, total=False):
operating_system: Required[Literal["windows"]]
"""Operating System"""
- operator: Required[Literal["<", "<=", ">", ">=", "=="]]
- """Operator"""
+ operator: Required[UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930]
+ """operator"""
version: Required[str]
"""Version of OS"""
@@ -151,7 +152,7 @@ class InputTeamsDevicesFirewallInputRequest(TypedDict, total=False):
class InputTeamsDevicesSentineloneInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -165,7 +166,7 @@ class InputTeamsDevicesSentineloneInputRequest(TypedDict, total=False):
class InputTeamsDevicesCarbonblackInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -187,7 +188,7 @@ class InputTeamsDevicesDiskEncryptionInputRequest(TypedDict, total=False):
class InputTeamsDevicesApplicationInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -223,8 +224,8 @@ class InputTeamsDevicesCrowdstrikeInputRequest(TypedDict, total=False):
last_seen: str
"""For more details on last seen, please refer to the Crowdstrike documentation."""
- operator: UnnamedSchemaRef87
- """Operator"""
+ operator: UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+ """operator"""
os: str
"""Os Version"""
@@ -241,7 +242,7 @@ class InputTeamsDevicesCrowdstrikeInputRequest(TypedDict, total=False):
version: str
"""Version"""
- version_operator: Annotated[UnnamedSchemaRef88, PropertyInfo(alias="versionOperator")]
+ version_operator: Annotated[Literal["<", "<=", ">", ">=", "=="], PropertyInfo(alias="versionOperator")]
"""Version Operator"""
@@ -302,7 +303,7 @@ class InputTeamsDevicesSentineloneS2sInputRequest(TypedDict, total=False):
network_status: Literal["connected", "disconnected", "disconnecting", "connecting"]
"""Network status of device."""
- operator: Literal["<", "<=", ">", ">=", "=="]
+ operator: UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
"""operator"""
diff --git a/src/cloudflare/types/zero_trust/devices/posture_update_params.py b/src/cloudflare/types/zero_trust/devices/posture_update_params.py
index 351432e4de99..b32d908c742e 100644
--- a/src/cloudflare/types/zero_trust/devices/posture_update_params.py
+++ b/src/cloudflare/types/zero_trust/devices/posture_update_params.py
@@ -5,8 +5,9 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypedDict
-from ...shared import UnnamedSchemaRef87, UnnamedSchemaRef88, UnnamedSchemaRef119
from ...._utils import PropertyInfo
+from .unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930 import UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+from .unnamed_schema_ref_41885dd46b9e0294254c49305a273681 import UnnamedSchemaRef41885dd46b9e0294254c49305a273681
__all__ = [
"PostureUpdateParams",
@@ -86,7 +87,7 @@ class PostureUpdateParams(TypedDict, total=False):
class InputTeamsDevicesFileInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -122,8 +123,8 @@ class InputTeamsDevicesOSVersionInputRequest(TypedDict, total=False):
operating_system: Required[Literal["windows"]]
"""Operating System"""
- operator: Required[Literal["<", "<=", ">", ">=", "=="]]
- """Operator"""
+ operator: Required[UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930]
+ """operator"""
version: Required[str]
"""Version of OS"""
@@ -151,7 +152,7 @@ class InputTeamsDevicesFirewallInputRequest(TypedDict, total=False):
class InputTeamsDevicesSentineloneInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -165,7 +166,7 @@ class InputTeamsDevicesSentineloneInputRequest(TypedDict, total=False):
class InputTeamsDevicesCarbonblackInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -187,7 +188,7 @@ class InputTeamsDevicesDiskEncryptionInputRequest(TypedDict, total=False):
class InputTeamsDevicesApplicationInputRequest(TypedDict, total=False):
- operating_system: Required[UnnamedSchemaRef119]
+ operating_system: Required[UnnamedSchemaRef41885dd46b9e0294254c49305a273681]
"""Operating system"""
path: Required[str]
@@ -223,8 +224,8 @@ class InputTeamsDevicesCrowdstrikeInputRequest(TypedDict, total=False):
last_seen: str
"""For more details on last seen, please refer to the Crowdstrike documentation."""
- operator: UnnamedSchemaRef87
- """Operator"""
+ operator: UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
+ """operator"""
os: str
"""Os Version"""
@@ -241,7 +242,7 @@ class InputTeamsDevicesCrowdstrikeInputRequest(TypedDict, total=False):
version: str
"""Version"""
- version_operator: Annotated[UnnamedSchemaRef88, PropertyInfo(alias="versionOperator")]
+ version_operator: Annotated[Literal["<", "<=", ">", ">=", "=="], PropertyInfo(alias="versionOperator")]
"""Version Operator"""
@@ -302,7 +303,7 @@ class InputTeamsDevicesSentineloneS2sInputRequest(TypedDict, total=False):
network_status: Literal["connected", "disconnected", "disconnecting", "connecting"]
"""Network status of device."""
- operator: Literal["<", "<=", ">", ">=", "=="]
+ operator: UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930
"""operator"""
diff --git a/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930.py b/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930.py
new file mode 100644
index 000000000000..653f654984e0
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_34ef0ad73a63c3f76ed170adca181930.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930"]
+
+UnnamedSchemaRef34ef0ad73a63c3f76ed170adca181930 = Literal["<", "<=", ">", ">=", "=="]
diff --git a/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_41885dd46b9e0294254c49305a273681.py b/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_41885dd46b9e0294254c49305a273681.py
new file mode 100644
index 000000000000..8212e0739df2
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/devices/unnamed_schema_ref_41885dd46b9e0294254c49305a273681.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRef41885dd46b9e0294254c49305a273681"]
+
+UnnamedSchemaRef41885dd46b9e0294254c49305a273681 = Literal["windows", "linux", "mac"]
diff --git a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_http_details.py b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_http_details.py
index 5f9e2c36f125..c74415c88cd9 100644
--- a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_http_details.py
+++ b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_http_details.py
@@ -6,6 +6,7 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
+from ..unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11 import UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11
__all__ = [
"DigitalExperienceMonitoringHTTPDetails",
@@ -29,7 +30,6 @@
"HTTPStatsByColoResourceFetchTimeMsSlot",
"HTTPStatsByColoServerResponseTimeMs",
"HTTPStatsByColoServerResponseTimeMsSlot",
- "TargetPolicy",
]
@@ -241,15 +241,6 @@ class HTTPStatsByColo(BaseModel):
"""Count of unique devices that have run this test in the given time period"""
-class TargetPolicy(BaseModel):
- id: str
-
- default: bool
- """Whether the policy is the default for the account"""
-
- name: str
-
-
class DigitalExperienceMonitoringHTTPDetails(BaseModel):
host: Optional[str] = None
"""The url of the HTTP synthetic application test"""
@@ -269,6 +260,6 @@ class DigitalExperienceMonitoringHTTPDetails(BaseModel):
name: Optional[str] = None
"""The name of the HTTP synthetic application test"""
- target_policies: Optional[List[TargetPolicy]] = None
+ target_policies: Optional[List[UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11]] = None
targeted: Optional[bool] = None
diff --git a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_tests.py b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_tests.py
index c30e7c659def..5f0a87e1a462 100644
--- a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_tests.py
+++ b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_tests.py
@@ -6,6 +6,7 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
+from ..unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11 import UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11
__all__ = [
"DigitalExperienceMonitoringTests",
@@ -25,7 +26,6 @@
"TestHTTPResultsByColoResourceFetchTimeOverTime",
"TestHTTPResultsByColoResourceFetchTimeOverTimeTimePeriod",
"TestHTTPResultsByColoResourceFetchTimeOverTimeValue",
- "TestTargetPolicy",
"TestTracerouteResults",
"TestTracerouteResultsRoundTripTime",
"TestTracerouteResultsRoundTripTimeHistory",
@@ -159,16 +159,6 @@ class TestHTTPResultsByColo(BaseModel):
resource_fetch_time: TestHTTPResultsByColoResourceFetchTime = FieldInfo(alias="resourceFetchTime")
-class TestTargetPolicy(BaseModel):
- __test__ = False
- id: str
-
- default: bool
- """Whether the policy is the default for the account"""
-
- name: str
-
-
class TestTracerouteResultsRoundTripTimeHistoryTimePeriod(BaseModel):
__test__ = False
units: Literal["hours", "days", "testRuns"]
@@ -311,7 +301,7 @@ class Test(BaseModel):
method: Optional[str] = None
"""for HTTP, the method to use when running the test"""
- target_policies: Optional[List[TestTargetPolicy]] = None
+ target_policies: Optional[List[UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11]] = None
targeted: Optional[bool] = None
diff --git a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_traceroute_details.py b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_traceroute_details.py
index f6332be171a2..9aaddbb16f7a 100644
--- a/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_traceroute_details.py
+++ b/src/cloudflare/types/zero_trust/dex/digital_experience_monitoring_traceroute_details.py
@@ -6,10 +6,10 @@
from pydantic import Field as FieldInfo
from ...._models import BaseModel
+from ..unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11 import UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11
__all__ = [
"DigitalExperienceMonitoringTracerouteDetails",
- "TargetPolicy",
"TracerouteStats",
"TracerouteStatsAvailabilityPct",
"TracerouteStatsAvailabilityPctSlot",
@@ -31,15 +31,6 @@
]
-class TargetPolicy(BaseModel):
- id: str
-
- default: bool
- """Whether the policy is the default for the account"""
-
- name: str
-
-
class TracerouteStatsAvailabilityPctSlot(BaseModel):
timestamp: str
@@ -232,7 +223,7 @@ class DigitalExperienceMonitoringTracerouteDetails(BaseModel):
name: str
"""The name of the Traceroute synthetic application test"""
- target_policies: Optional[List[TargetPolicy]] = None
+ target_policies: Optional[List[UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11]] = None
targeted: Optional[bool] = None
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 77875117aafb..ed8943d56d7e 100644
--- a/src/cloudflare/types/zero_trust/dex/test_list_response.py
+++ b/src/cloudflare/types/zero_trust/dex/test_list_response.py
@@ -3,7 +3,7 @@
from typing import List, Optional
from typing_extensions import Literal
-from ...shared import ResponseInfo
+from ...shared import UnnamedSchemaRef3248f24329456e19dfa042fff9986f72
from ...._models import BaseModel
from .digital_experience_monitoring_tests import DigitalExperienceMonitoringTests
@@ -26,9 +26,9 @@ class ResultInfo(BaseModel):
class TestListResponse(BaseModel):
__test__ = False
- errors: List[ResponseInfo]
+ errors: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
- messages: List[ResponseInfo]
+ messages: List[UnnamedSchemaRef3248f24329456e19dfa042fff9986f72]
result: DigitalExperienceMonitoringTests
diff --git a/src/cloudflare/types/zero_trust/dlp/__init__.py b/src/cloudflare/types/zero_trust/dlp/__init__.py
index 5786dd444be2..b2b128c1b0d7 100644
--- a/src/cloudflare/types/zero_trust/dlp/__init__.py
+++ b/src/cloudflare/types/zero_trust/dlp/__init__.py
@@ -10,7 +10,13 @@
from .dataset_create_params import DatasetCreateParams as DatasetCreateParams
from .dataset_update_params import DatasetUpdateParams as DatasetUpdateParams
from .pattern_validate_params import PatternValidateParams as PatternValidateParams
-from .payload_log_get_response import PayloadLogGetResponse as PayloadLogGetResponse
-from .pattern_validate_response import PatternValidateResponse as PatternValidateResponse
from .payload_log_update_params import PayloadLogUpdateParams as PayloadLogUpdateParams
-from .payload_log_update_response import PayloadLogUpdateResponse as PayloadLogUpdateResponse
+from .unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1 import (
+ UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1 as UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1,
+)
+from .unnamed_schema_ref_e31ff4936b1b42746e8cb62bbc87f2e5 import (
+ UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5 as UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5,
+)
+from .unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0 import (
+ UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0 as UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0,
+)
diff --git a/src/cloudflare/types/zero_trust/dlp/pattern_validate_response.py b/src/cloudflare/types/zero_trust/dlp/pattern_validate_response.py
deleted file mode 100644
index c2f67a1de2f5..000000000000
--- a/src/cloudflare/types/zero_trust/dlp/pattern_validate_response.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ...._models import BaseModel
-
-__all__ = ["PatternValidateResponse"]
-
-
-class PatternValidateResponse(BaseModel):
- valid: Optional[bool] = None
diff --git a/src/cloudflare/types/zero_trust/dlp/payload_log_update_response.py b/src/cloudflare/types/zero_trust/dlp/payload_log_update_response.py
deleted file mode 100644
index 5c5fcb53bc5b..000000000000
--- a/src/cloudflare/types/zero_trust/dlp/payload_log_update_response.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ...._models import BaseModel
-
-__all__ = ["PayloadLogUpdateResponse"]
-
-
-class PayloadLogUpdateResponse(BaseModel):
- public_key: Optional[str] = None
diff --git a/src/cloudflare/types/zero_trust/dlp/profiles/dlp_custom_profile.py b/src/cloudflare/types/zero_trust/dlp/profiles/dlp_custom_profile.py
index bd84cdd6e590..e13d7bf4f238 100644
--- a/src/cloudflare/types/zero_trust/dlp/profiles/dlp_custom_profile.py
+++ b/src/cloudflare/types/zero_trust/dlp/profiles/dlp_custom_profile.py
@@ -4,8 +4,8 @@
from datetime import datetime
from typing_extensions import Literal
-from ....shared import UnnamedSchemaRef96
from ....._models import BaseModel
+from ..unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1 import UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1
__all__ = ["DLPCustomProfile", "ContextAwareness", "ContextAwarenessSkip", "Entry", "EntryPattern"]
@@ -86,7 +86,7 @@ class DLPCustomProfile(BaseModel):
ocr_enabled: Optional[bool] = None
"""If true, scan images via OCR to determine if any text present matches filters."""
- type: Optional[UnnamedSchemaRef96] = None
+ type: Optional[UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1] = None
"""The type of the profile."""
updated_at: Optional[datetime] = None
diff --git a/src/cloudflare/types/zero_trust/dlp/profiles/dlp_predefined_profile.py b/src/cloudflare/types/zero_trust/dlp/profiles/dlp_predefined_profile.py
index 5f72a277fbcd..ac7c20cf82d5 100644
--- a/src/cloudflare/types/zero_trust/dlp/profiles/dlp_predefined_profile.py
+++ b/src/cloudflare/types/zero_trust/dlp/profiles/dlp_predefined_profile.py
@@ -2,8 +2,8 @@
from typing import List, Optional
-from ....shared import UnnamedSchemaRef97
from ....._models import BaseModel
+from ..unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0 import UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0
__all__ = ["DLPPredefinedProfile", "ContextAwareness", "ContextAwarenessSkip", "Entry"]
@@ -60,5 +60,5 @@ class DLPPredefinedProfile(BaseModel):
ocr_enabled: Optional[bool] = None
"""If true, scan images via OCR to determine if any text present matches filters."""
- type: Optional[UnnamedSchemaRef97] = None
+ type: Optional[UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0] = None
"""The type of the profile."""
diff --git a/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1.py b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1.py
new file mode 100644
index 000000000000..2d8ab8385d95
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_c105db122868c71badeac3b4822ad6b1.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1"]
+
+UnnamedSchemaRefC105db122868c71badeac3b4822ad6b1 = Literal["custom"]
diff --git a/src/cloudflare/types/zero_trust/dlp/payload_log_get_response.py b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e31ff4936b1b42746e8cb62bbc87f2e5.py
similarity index 59%
rename from src/cloudflare/types/zero_trust/dlp/payload_log_get_response.py
rename to src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e31ff4936b1b42746e8cb62bbc87f2e5.py
index df752b6d9d32..126bb2753b0e 100644
--- a/src/cloudflare/types/zero_trust/dlp/payload_log_get_response.py
+++ b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e31ff4936b1b42746e8cb62bbc87f2e5.py
@@ -4,8 +4,8 @@
from ...._models import BaseModel
-__all__ = ["PayloadLogGetResponse"]
+__all__ = ["UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5"]
-class PayloadLogGetResponse(BaseModel):
+class UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5(BaseModel):
public_key: Optional[str] = None
diff --git a/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0.py b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0.py
new file mode 100644
index 000000000000..dcb84eb40bd3
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/dlp/unnamed_schema_ref_e38bfdf1acf5a4bfada6779c79528bc0.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0"]
+
+UnnamedSchemaRefE38bfdf1acf5a4bfada6779c79528bc0 = Literal["predefined"]
diff --git a/src/cloudflare/types/zero_trust/gateway/__init__.py b/src/cloudflare/types/zero_trust/gateway/__init__.py
index 54d3311232a5..3fa93afc29b0 100644
--- a/src/cloudflare/types/zero_trust/gateway/__init__.py
+++ b/src/cloudflare/types/zero_trust/gateway/__init__.py
@@ -10,13 +10,10 @@
from .rule_delete_params import RuleDeleteParams as RuleDeleteParams
from .rule_update_params import RuleUpdateParams as RuleUpdateParams
from .list_create_response import ListCreateResponse as ListCreateResponse
-from .list_delete_response import ListDeleteResponse as ListDeleteResponse
-from .rule_delete_response import RuleDeleteResponse as RuleDeleteResponse
from .logging_update_params import LoggingUpdateParams as LoggingUpdateParams
from .location_create_params import LocationCreateParams as LocationCreateParams
from .location_delete_params import LocationDeleteParams as LocationDeleteParams
from .location_update_params import LocationUpdateParams as LocationUpdateParams
-from .location_delete_response import LocationDeleteResponse as LocationDeleteResponse
from .zero_trust_gateway_lists import ZeroTrustGatewayLists as ZeroTrustGatewayLists
from .zero_trust_gateway_rules import ZeroTrustGatewayRules as ZeroTrustGatewayRules
from .configuration_edit_params import ConfigurationEditParams as ConfigurationEditParams
@@ -31,9 +28,20 @@
from .zero_trust_gateway_locations import ZeroTrustGatewayLocations as ZeroTrustGatewayLocations
from .configuration_update_response import ConfigurationUpdateResponse as ConfigurationUpdateResponse
from .zero_trust_gateway_categories import ZeroTrustGatewayCategories as ZeroTrustGatewayCategories
-from .proxy_endpoint_delete_response import ProxyEndpointDeleteResponse as ProxyEndpointDeleteResponse
from .audit_ssh_setting_update_params import AuditSSHSettingUpdateParams as AuditSSHSettingUpdateParams
from .zero_trust_gateway_proxy_endpoints import ZeroTrustGatewayProxyEndpoints as ZeroTrustGatewayProxyEndpoints
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e import (
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e as UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e,
+)
+from .unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b import (
+ UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b as UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b,
+)
from .zero_trust_gateway_gateway_account_logging_settings import (
ZeroTrustGatewayGatewayAccountLoggingSettings as ZeroTrustGatewayGatewayAccountLoggingSettings,
)
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param import (
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam as UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam,
+)
+from .unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param import (
+ UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam as UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam,
+)
diff --git a/src/cloudflare/types/zero_trust/gateway/configuration_edit_params.py b/src/cloudflare/types/zero_trust/gateway/configuration_edit_params.py
index 4a6946a32191..47f2cfc44949 100644
--- a/src/cloudflare/types/zero_trust/gateway/configuration_edit_params.py
+++ b/src/cloudflare/types/zero_trust/gateway/configuration_edit_params.py
@@ -4,7 +4,9 @@
from typing_extensions import Required, TypedDict
-from ....types import shared_params
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param import (
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam,
+)
__all__ = ["ConfigurationEditParams"]
@@ -12,5 +14,5 @@
class ConfigurationEditParams(TypedDict, total=False):
account_id: Required[str]
- settings: shared_params.UnnamedSchemaRef125
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam
"""account settings."""
diff --git a/src/cloudflare/types/zero_trust/gateway/configuration_edit_response.py b/src/cloudflare/types/zero_trust/gateway/configuration_edit_response.py
index e5917a37e0dd..0b61b6ed6fae 100644
--- a/src/cloudflare/types/zero_trust/gateway/configuration_edit_response.py
+++ b/src/cloudflare/types/zero_trust/gateway/configuration_edit_response.py
@@ -3,8 +3,8 @@
from typing import Optional
from datetime import datetime
-from ...shared import UnnamedSchemaRef125
from ...._models import BaseModel
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e import UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e
__all__ = ["ConfigurationEditResponse"]
@@ -12,7 +12,7 @@
class ConfigurationEditResponse(BaseModel):
created_at: Optional[datetime] = None
- settings: Optional[UnnamedSchemaRef125] = None
+ settings: Optional[UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e] = None
"""account settings."""
updated_at: Optional[datetime] = None
diff --git a/src/cloudflare/types/zero_trust/gateway/configuration_get_response.py b/src/cloudflare/types/zero_trust/gateway/configuration_get_response.py
index b1d2ef1adabf..e803d29e9712 100644
--- a/src/cloudflare/types/zero_trust/gateway/configuration_get_response.py
+++ b/src/cloudflare/types/zero_trust/gateway/configuration_get_response.py
@@ -3,8 +3,8 @@
from typing import Optional
from datetime import datetime
-from ...shared import UnnamedSchemaRef125
from ...._models import BaseModel
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e import UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e
__all__ = ["ConfigurationGetResponse"]
@@ -12,7 +12,7 @@
class ConfigurationGetResponse(BaseModel):
created_at: Optional[datetime] = None
- settings: Optional[UnnamedSchemaRef125] = None
+ settings: Optional[UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e] = None
"""account settings."""
updated_at: Optional[datetime] = None
diff --git a/src/cloudflare/types/zero_trust/gateway/configuration_update_params.py b/src/cloudflare/types/zero_trust/gateway/configuration_update_params.py
index 03a0f948fc2c..8c4d1da174a8 100644
--- a/src/cloudflare/types/zero_trust/gateway/configuration_update_params.py
+++ b/src/cloudflare/types/zero_trust/gateway/configuration_update_params.py
@@ -4,7 +4,9 @@
from typing_extensions import Required, TypedDict
-from ....types import shared_params
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param import (
+ UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam,
+)
__all__ = ["ConfigurationUpdateParams"]
@@ -12,5 +14,5 @@
class ConfigurationUpdateParams(TypedDict, total=False):
account_id: Required[str]
- settings: shared_params.UnnamedSchemaRef125
+ settings: UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam
"""account settings."""
diff --git a/src/cloudflare/types/zero_trust/gateway/configuration_update_response.py b/src/cloudflare/types/zero_trust/gateway/configuration_update_response.py
index 30e9939ae0d0..bf9cbc1fc112 100644
--- a/src/cloudflare/types/zero_trust/gateway/configuration_update_response.py
+++ b/src/cloudflare/types/zero_trust/gateway/configuration_update_response.py
@@ -3,8 +3,8 @@
from typing import Optional
from datetime import datetime
-from ...shared import UnnamedSchemaRef125
from ...._models import BaseModel
+from .unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e import UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e
__all__ = ["ConfigurationUpdateResponse"]
@@ -12,7 +12,7 @@
class ConfigurationUpdateResponse(BaseModel):
created_at: Optional[datetime] = None
- settings: Optional[UnnamedSchemaRef125] = None
+ settings: Optional[UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e] = None
"""account settings."""
updated_at: Optional[datetime] = None
diff --git a/src/cloudflare/types/zero_trust/gateway/list_delete_response.py b/src/cloudflare/types/zero_trust/gateway/list_delete_response.py
deleted file mode 100644
index ca9c43f744b0..000000000000
--- a/src/cloudflare/types/zero_trust/gateway/list_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ListDeleteResponse"]
-
-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
deleted file mode 100644
index 5c1f628ac328..000000000000
--- a/src/cloudflare/types/zero_trust/gateway/location_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["LocationDeleteResponse"]
-
-LocationDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/zero_trust/gateway/logging_update_params.py b/src/cloudflare/types/zero_trust/gateway/logging_update_params.py
index b6b1895dbd93..3e8185860d6b 100644
--- a/src/cloudflare/types/zero_trust/gateway/logging_update_params.py
+++ b/src/cloudflare/types/zero_trust/gateway/logging_update_params.py
@@ -4,7 +4,9 @@
from typing_extensions import Required, TypedDict
-from ....types import shared_params
+from .unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param import (
+ UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam,
+)
__all__ = ["LoggingUpdateParams"]
@@ -18,5 +20,5 @@ class LoggingUpdateParams(TypedDict, total=False):
are: source IP, user email, user ID, device ID, URL, referrer, user agent).
"""
- settings_by_rule_type: shared_params.UnnamedSchemaRef28
+ settings_by_rule_type: UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam
"""Logging settings by rule type."""
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
deleted file mode 100644
index 633466c153cc..000000000000
--- a/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ProxyEndpointDeleteResponse"]
-
-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
deleted file mode 100644
index ba9fb55f8dcc..000000000000
--- a/src/cloudflare/types/zero_trust/gateway/rule_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["RuleDeleteResponse"]
-
-RuleDeleteResponse = Union[str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_125.py b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e.py
similarity index 96%
rename from src/cloudflare/types/shared/unnamed_schema_ref_125.py
rename to src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e.py
index 612a25e9a5a2..24009f7d9190 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_125.py
+++ b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e.py
@@ -3,10 +3,10 @@
from typing import Optional
from datetime import datetime
-from ..._models import BaseModel
+from ...._models import BaseModel
__all__ = [
- "UnnamedSchemaRef125",
+ "UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e",
"ActivityLog",
"Antivirus",
"AntivirusNotificationSettings",
@@ -135,7 +135,7 @@ class TLSDecrypt(BaseModel):
"""Enable inspecting encrypted HTTP traffic."""
-class UnnamedSchemaRef125(BaseModel):
+class UnnamedSchemaRef055aaf3918bf29f81c09d394a864182e(BaseModel):
activity_log: Optional[ActivityLog] = None
"""Activity log settings."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_125.py b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param.py
similarity index 96%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_125.py
rename to src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param.py
index 9da690c2e255..7ee3b05df8ee 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_125.py
+++ b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_055aaf3918bf29f81c09d394a864182e_param.py
@@ -5,7 +5,7 @@
from typing_extensions import Required, TypedDict
__all__ = [
- "UnnamedSchemaRef125",
+ "UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam",
"ActivityLog",
"Antivirus",
"AntivirusNotificationSettings",
@@ -129,7 +129,7 @@ class TLSDecrypt(TypedDict, total=False):
"""Enable inspecting encrypted HTTP traffic."""
-class UnnamedSchemaRef125(TypedDict, total=False):
+class UnnamedSchemaRef055aaf3918bf29f81c09d394a864182eParam(TypedDict, total=False):
activity_log: ActivityLog
"""Activity log settings."""
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_28.py b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b.py
similarity index 69%
rename from src/cloudflare/types/shared/unnamed_schema_ref_28.py
rename to src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b.py
index 1427cef32b41..cabc5f597ca4 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_28.py
+++ b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b.py
@@ -2,12 +2,12 @@
from typing import Optional
-from ..._models import BaseModel
+from ...._models import BaseModel
-__all__ = ["UnnamedSchemaRef28"]
+__all__ = ["UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b"]
-class UnnamedSchemaRef28(BaseModel):
+class UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b(BaseModel):
dns: Optional[object] = None
"""Logging settings for DNS firewall."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_28.py b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param.py
similarity index 70%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_28.py
rename to src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param.py
index 811a2de60cb7..89e65eb906e1 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_28.py
+++ b/src/cloudflare/types/zero_trust/gateway/unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b_param.py
@@ -4,10 +4,10 @@
from typing_extensions import TypedDict
-__all__ = ["UnnamedSchemaRef28"]
+__all__ = ["UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam"]
-class UnnamedSchemaRef28(TypedDict, total=False):
+class UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7bParam(TypedDict, total=False):
dns: object
"""Logging settings for DNS firewall."""
diff --git a/src/cloudflare/types/zero_trust/gateway/zero_trust_gateway_gateway_account_logging_settings.py b/src/cloudflare/types/zero_trust/gateway/zero_trust_gateway_gateway_account_logging_settings.py
index 332a13300542..c4f7e84442d3 100644
--- a/src/cloudflare/types/zero_trust/gateway/zero_trust_gateway_gateway_account_logging_settings.py
+++ b/src/cloudflare/types/zero_trust/gateway/zero_trust_gateway_gateway_account_logging_settings.py
@@ -2,8 +2,8 @@
from typing import Optional
-from ...shared import UnnamedSchemaRef28
from ...._models import BaseModel
+from .unnamed_schema_ref_e86eeb84b7e922c35cfb0031a6309f7b import UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b
__all__ = ["ZeroTrustGatewayGatewayAccountLoggingSettings"]
@@ -15,5 +15,5 @@ class ZeroTrustGatewayGatewayAccountLoggingSettings(BaseModel):
are: source IP, user email, user ID, device ID, URL, referrer, user agent).
"""
- settings_by_rule_type: Optional[UnnamedSchemaRef28] = None
+ settings_by_rule_type: Optional[UnnamedSchemaRefE86eeb84b7e922c35cfb0031a6309f7b] = None
"""Logging settings by rule type."""
diff --git a/src/cloudflare/types/zero_trust/identity_provider_create_params.py b/src/cloudflare/types/zero_trust/identity_provider_create_params.py
index 8d4508bb4905..6f2ff4a0a057 100644
--- a/src/cloudflare/types/zero_trust/identity_provider_create_params.py
+++ b/src/cloudflare/types/zero_trust/identity_provider_create_params.py
@@ -5,8 +5,10 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from ...types import shared_params
-from ..shared import UnnamedSchemaRef163
+from .unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb import UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param import (
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param,
+)
__all__ = [
"IdentityProviderCreateParams",
@@ -52,7 +54,7 @@ class AccessAzureAd(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -65,7 +67,7 @@ class AccessAzureAd(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -119,7 +121,7 @@ class AccessCentrify(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -132,7 +134,7 @@ class AccessCentrify(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -170,7 +172,7 @@ class AccessFacebook(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -183,7 +185,7 @@ class AccessFacebook(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -209,7 +211,7 @@ class AccessGitHub(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -222,7 +224,7 @@ class AccessGitHub(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -248,7 +250,7 @@ class AccessGoogle(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -261,7 +263,7 @@ class AccessGoogle(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -293,7 +295,7 @@ class AccessGoogleApps(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -306,7 +308,7 @@ class AccessGoogleApps(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -341,7 +343,7 @@ class AccessLinkedin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -354,7 +356,7 @@ class AccessLinkedin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -380,7 +382,7 @@ class AccessOidc(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -393,7 +395,7 @@ class AccessOidc(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -437,7 +439,7 @@ class AccessOkta(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -450,7 +452,7 @@ class AccessOkta(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -488,7 +490,7 @@ class AccessOnelogin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -501,7 +503,7 @@ class AccessOnelogin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -536,7 +538,7 @@ class AccessPingone(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -549,7 +551,7 @@ class AccessPingone(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -584,7 +586,7 @@ class AccessSaml(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -597,7 +599,7 @@ class AccessSaml(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -655,7 +657,7 @@ class AccessYandex(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -668,7 +670,7 @@ class AccessYandex(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -694,7 +696,7 @@ class AccessOnetimepin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -707,7 +709,7 @@ class AccessOnetimepin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
diff --git a/src/cloudflare/types/zero_trust/identity_provider_list_response.py b/src/cloudflare/types/zero_trust/identity_provider_list_response.py
index 76292a5d9d11..ef88feaf85a8 100644
--- a/src/cloudflare/types/zero_trust/identity_provider_list_response.py
+++ b/src/cloudflare/types/zero_trust/identity_provider_list_response.py
@@ -3,8 +3,9 @@
from typing import List, Union, Optional
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef158, UnnamedSchemaRef163
from ..._models import BaseModel
+from .unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb import UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1 import UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1
__all__ = [
"IdentityProviderListResponse",
@@ -85,7 +86,7 @@ class AccessAzureAd(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -95,7 +96,7 @@ class AccessAzureAd(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -133,7 +134,7 @@ class AccessCentrify(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -143,7 +144,7 @@ class AccessCentrify(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -169,7 +170,7 @@ class AccessFacebook(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -179,7 +180,7 @@ class AccessFacebook(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -205,7 +206,7 @@ class AccessGitHub(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -215,7 +216,7 @@ class AccessGitHub(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -247,7 +248,7 @@ class AccessGoogle(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -257,7 +258,7 @@ class AccessGoogle(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -292,7 +293,7 @@ class AccessGoogleApps(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -302,7 +303,7 @@ class AccessGoogleApps(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -328,7 +329,7 @@ class AccessLinkedin(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -338,7 +339,7 @@ class AccessLinkedin(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -382,7 +383,7 @@ class AccessOidc(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -392,7 +393,7 @@ class AccessOidc(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -430,7 +431,7 @@ class AccessOkta(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -440,7 +441,7 @@ class AccessOkta(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -475,7 +476,7 @@ class AccessOnelogin(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -485,7 +486,7 @@ class AccessOnelogin(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -520,7 +521,7 @@ class AccessPingone(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -530,7 +531,7 @@ class AccessPingone(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -588,7 +589,7 @@ class AccessSaml(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -598,7 +599,7 @@ class AccessSaml(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -624,7 +625,7 @@ class AccessYandex(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -634,7 +635,7 @@ class AccessYandex(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
diff --git a/src/cloudflare/types/zero_trust/identity_provider_update_params.py b/src/cloudflare/types/zero_trust/identity_provider_update_params.py
index 0a44d125c823..3d0d9abd7997 100644
--- a/src/cloudflare/types/zero_trust/identity_provider_update_params.py
+++ b/src/cloudflare/types/zero_trust/identity_provider_update_params.py
@@ -5,8 +5,10 @@
from typing import List, Union, Iterable
from typing_extensions import Literal, Required, TypedDict
-from ...types import shared_params
-from ..shared import UnnamedSchemaRef163
+from .unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb import UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param import (
+ UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param,
+)
__all__ = [
"IdentityProviderUpdateParams",
@@ -52,7 +54,7 @@ class AccessAzureAd(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -65,7 +67,7 @@ class AccessAzureAd(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -119,7 +121,7 @@ class AccessCentrify(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -132,7 +134,7 @@ class AccessCentrify(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -170,7 +172,7 @@ class AccessFacebook(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -183,7 +185,7 @@ class AccessFacebook(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -209,7 +211,7 @@ class AccessGitHub(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -222,7 +224,7 @@ class AccessGitHub(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -248,7 +250,7 @@ class AccessGoogle(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -261,7 +263,7 @@ class AccessGoogle(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -293,7 +295,7 @@ class AccessGoogleApps(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -306,7 +308,7 @@ class AccessGoogleApps(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -341,7 +343,7 @@ class AccessLinkedin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -354,7 +356,7 @@ class AccessLinkedin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -380,7 +382,7 @@ class AccessOidc(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -393,7 +395,7 @@ class AccessOidc(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -437,7 +439,7 @@ class AccessOkta(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -450,7 +452,7 @@ class AccessOkta(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -488,7 +490,7 @@ class AccessOnelogin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -501,7 +503,7 @@ class AccessOnelogin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -536,7 +538,7 @@ class AccessPingone(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -549,7 +551,7 @@ class AccessPingone(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -584,7 +586,7 @@ class AccessSaml(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -597,7 +599,7 @@ class AccessSaml(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -655,7 +657,7 @@ class AccessYandex(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -668,7 +670,7 @@ class AccessYandex(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -694,7 +696,7 @@ class AccessOnetimepin(TypedDict, total=False):
name: Required[str]
"""The name of the identity provider, shown to users on the login page."""
- type: Required[UnnamedSchemaRef163]
+ type: Required[UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb]
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -707,7 +709,7 @@ class AccessOnetimepin(TypedDict, total=False):
zone_id: str
"""The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
- scim_config: shared_params.UnnamedSchemaRef158
+ scim_config: UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
diff --git a/src/cloudflare/types/zero_trust/networks/__init__.py b/src/cloudflare/types/zero_trust/networks/__init__.py
index 0cd0de28fcb9..fc27eeba4c91 100644
--- a/src/cloudflare/types/zero_trust/networks/__init__.py
+++ b/src/cloudflare/types/zero_trust/networks/__init__.py
@@ -12,6 +12,3 @@
from .virtual_network_list_params import VirtualNetworkListParams as VirtualNetworkListParams
from .virtual_network_create_params import VirtualNetworkCreateParams as VirtualNetworkCreateParams
from .virtual_network_delete_params import VirtualNetworkDeleteParams as VirtualNetworkDeleteParams
-from .virtual_network_edit_response import VirtualNetworkEditResponse as VirtualNetworkEditResponse
-from .virtual_network_create_response import VirtualNetworkCreateResponse as VirtualNetworkCreateResponse
-from .virtual_network_delete_response import VirtualNetworkDeleteResponse as VirtualNetworkDeleteResponse
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
deleted file mode 100644
index 72b480fefc98..000000000000
--- a/src/cloudflare/types/zero_trust/networks/virtual_network_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["VirtualNetworkCreateResponse"]
-
-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
deleted file mode 100644
index 8974890539f4..000000000000
--- a/src/cloudflare/types/zero_trust/networks/virtual_network_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["VirtualNetworkDeleteResponse"]
-
-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
deleted file mode 100644
index df75a34f89c8..000000000000
--- a/src/cloudflare/types/zero_trust/networks/virtual_network_edit_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["VirtualNetworkEditResponse"]
-
-VirtualNetworkEditResponse = Union[List[object], str, object]
diff --git a/src/cloudflare/types/zero_trust/tunnels/__init__.py b/src/cloudflare/types/zero_trust/tunnels/__init__.py
index b0c087850960..7301baa06a4c 100644
--- a/src/cloudflare/types/zero_trust/tunnels/__init__.py
+++ b/src/cloudflare/types/zero_trust/tunnels/__init__.py
@@ -7,8 +7,5 @@
from .connection_get_response import ConnectionGetResponse as ConnectionGetResponse
from .connection_delete_params import ConnectionDeleteParams as ConnectionDeleteParams
from .management_create_params import ManagementCreateParams as ManagementCreateParams
-from .configuration_get_response import ConfigurationGetResponse as ConfigurationGetResponse
-from .connection_delete_response import ConnectionDeleteResponse as ConnectionDeleteResponse
from .management_create_response import ManagementCreateResponse as ManagementCreateResponse
from .configuration_update_params import ConfigurationUpdateParams as ConfigurationUpdateParams
-from .configuration_update_response import ConfigurationUpdateResponse as ConfigurationUpdateResponse
diff --git a/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py b/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py
deleted file mode 100644
index c85fe4c82216..000000000000
--- a/src/cloudflare/types/zero_trust/tunnels/configuration_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ConfigurationGetResponse"]
-
-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
deleted file mode 100644
index 122da9f590b1..000000000000
--- a/src/cloudflare/types/zero_trust/tunnels/configuration_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ConfigurationUpdateResponse"]
-
-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
deleted file mode 100644
index 256bbaccfc50..000000000000
--- a/src/cloudflare/types/zero_trust/tunnels/connection_delete_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["ConnectionDeleteResponse"]
-
-ConnectionDeleteResponse = Union[List[object], str, object]
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_163.py b/src/cloudflare/types/zero_trust/unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb.py
similarity index 73%
rename from src/cloudflare/types/shared/unnamed_schema_ref_163.py
rename to src/cloudflare/types/zero_trust/unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb.py
index e0a43260a8aa..59557688957c 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_163.py
+++ b/src/cloudflare/types/zero_trust/unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb.py
@@ -2,9 +2,9 @@
from typing_extensions import Literal
-__all__ = ["UnnamedSchemaRef163"]
+__all__ = ["UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb"]
-UnnamedSchemaRef163 = Literal[
+UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb = Literal[
"onetimepin",
"azureAD",
"saml",
diff --git a/src/cloudflare/types/zero_trust/unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11.py b/src/cloudflare/types/zero_trust/unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11.py
new file mode 100644
index 000000000000..2c524b6966b8
--- /dev/null
+++ b/src/cloudflare/types/zero_trust/unnamed_schema_ref_bf9e2abcf1b78a6cab8e6e29e2228a11.py
@@ -0,0 +1,14 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from ..._models import BaseModel
+
+__all__ = ["UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11"]
+
+
+class UnnamedSchemaRefBf9e2abcf1b78a6cab8e6e29e2228a11(BaseModel):
+ id: str
+
+ default: bool
+ """Whether the policy is the default for the account"""
+
+ name: str
diff --git a/src/cloudflare/types/shared/unnamed_schema_ref_159.py b/src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1.py
similarity index 90%
rename from src/cloudflare/types/shared/unnamed_schema_ref_159.py
rename to src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1.py
index a0d7ec590e95..43576d8d14a7 100644
--- a/src/cloudflare/types/shared/unnamed_schema_ref_159.py
+++ b/src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["UnnamedSchemaRef159"]
+__all__ = ["UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1"]
-class UnnamedSchemaRef159(BaseModel):
+class UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1(BaseModel):
enabled: Optional[bool] = None
"""A flag to enable or disable SCIM for the identity provider."""
diff --git a/src/cloudflare/types/shared_params/unnamed_schema_ref_158.py b/src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param.py
similarity index 88%
rename from src/cloudflare/types/shared_params/unnamed_schema_ref_158.py
rename to src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param.py
index 634998706e62..920a874e4f94 100644
--- a/src/cloudflare/types/shared_params/unnamed_schema_ref_158.py
+++ b/src/cloudflare/types/zero_trust/unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1_param.py
@@ -4,10 +4,10 @@
from typing_extensions import TypedDict
-__all__ = ["UnnamedSchemaRef158"]
+__all__ = ["UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param"]
-class UnnamedSchemaRef158(TypedDict, total=False):
+class UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1Param(TypedDict, total=False):
enabled: bool
"""A flag to enable or disable SCIM for the identity provider."""
diff --git a/src/cloudflare/types/zero_trust/zero_trust_identity_providers.py b/src/cloudflare/types/zero_trust/zero_trust_identity_providers.py
index ff6a02a10663..47d463a06338 100644
--- a/src/cloudflare/types/zero_trust/zero_trust_identity_providers.py
+++ b/src/cloudflare/types/zero_trust/zero_trust_identity_providers.py
@@ -3,8 +3,9 @@
from typing import List, Union, Optional
from typing_extensions import Literal
-from ..shared import UnnamedSchemaRef158, UnnamedSchemaRef163
from ..._models import BaseModel
+from .unnamed_schema_ref_9ab84e842cdf571c8f3898648bcdabcb import UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
+from .unnamed_schema_ref_dd86d8b7ea73283da7b160ed3f86cae1 import UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1
__all__ = [
"ZeroTrustIdentityProviders",
@@ -86,7 +87,7 @@ class AccessAzureAd(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -96,7 +97,7 @@ class AccessAzureAd(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -134,7 +135,7 @@ class AccessCentrify(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -144,7 +145,7 @@ class AccessCentrify(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -170,7 +171,7 @@ class AccessFacebook(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -180,7 +181,7 @@ class AccessFacebook(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -206,7 +207,7 @@ class AccessGitHub(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -216,7 +217,7 @@ class AccessGitHub(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -248,7 +249,7 @@ class AccessGoogle(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -258,7 +259,7 @@ class AccessGoogle(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -293,7 +294,7 @@ class AccessGoogleApps(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -303,7 +304,7 @@ class AccessGoogleApps(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -329,7 +330,7 @@ class AccessLinkedin(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -339,7 +340,7 @@ class AccessLinkedin(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -383,7 +384,7 @@ class AccessOidc(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -393,7 +394,7 @@ class AccessOidc(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -431,7 +432,7 @@ class AccessOkta(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -441,7 +442,7 @@ class AccessOkta(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -476,7 +477,7 @@ class AccessOnelogin(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -486,7 +487,7 @@ class AccessOnelogin(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -521,7 +522,7 @@ class AccessPingone(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -531,7 +532,7 @@ class AccessPingone(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -589,7 +590,7 @@ class AccessSaml(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -599,7 +600,7 @@ class AccessSaml(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -625,7 +626,7 @@ class AccessYandex(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -635,7 +636,7 @@ class AccessYandex(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
@@ -653,7 +654,7 @@ class AccessOnetimepin(BaseModel):
name: str
"""The name of the identity provider, shown to users on the login page."""
- type: UnnamedSchemaRef163
+ type: UnnamedSchemaRef9ab84e842cdf571c8f3898648bcdabcb
"""The type of identity provider.
To determine the value for a specific provider, refer to our
@@ -663,7 +664,7 @@ class AccessOnetimepin(BaseModel):
id: Optional[str] = None
"""UUID"""
- scim_config: Optional[UnnamedSchemaRef158] = None
+ scim_config: Optional[UnnamedSchemaRefDd86d8b7ea73283da7b160ed3f86cae1] = None
"""
The configuration settings for enabling a System for Cross-Domain Identity
Management (SCIM) with the identity provider.
diff --git a/src/cloudflare/types/zones/__init__.py b/src/cloudflare/types/zones/__init__.py
index 26f7ae3686e0..06c40c2f66d0 100644
--- a/src/cloudflare/types/zones/__init__.py
+++ b/src/cloudflare/types/zones/__init__.py
@@ -3,20 +3,16 @@
from __future__ import annotations
from .dns_setting import DNSSetting as DNSSetting
-from .hold_get_response import HoldGetResponse as HoldGetResponse
from .hold_create_params import HoldCreateParams as HoldCreateParams
from .hold_delete_params import HoldDeleteParams as HoldDeleteParams
from .setting_edit_params import SettingEditParams as SettingEditParams
-from .hold_create_response import HoldCreateResponse as HoldCreateResponse
from .setting_get_response import SettingGetResponse as SettingGetResponse
from .setting_edit_response import SettingEditResponse as SettingEditResponse
-from .unnamed_schema_ref_64 import UnnamedSchemaRef64 as UnnamedSchemaRef64
from .dns_setting_edit_params import DNSSettingEditParams as DNSSettingEditParams
-from .subscription_get_response import SubscriptionGetResponse as SubscriptionGetResponse
from .subscription_create_params import SubscriptionCreateParams as SubscriptionCreateParams
from .subscription_list_response import SubscriptionListResponse as SubscriptionListResponse
-from .subscription_create_response import SubscriptionCreateResponse as SubscriptionCreateResponse
-from .custom_nameserver_get_response import CustomNameserverGetResponse as CustomNameserverGetResponse
from .custom_nameserver_update_params import CustomNameserverUpdateParams as CustomNameserverUpdateParams
from .activation_check_trigger_response import ActivationCheckTriggerResponse as ActivationCheckTriggerResponse
-from .custom_nameserver_update_response import CustomNameserverUpdateResponse as CustomNameserverUpdateResponse
+from .unnamed_schema_ref_45004a9444b6da9f88158ed2fb9a5820 import (
+ UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820 as UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820,
+)
diff --git a/src/cloudflare/types/zones/custom_nameserver_get_response.py b/src/cloudflare/types/zones/custom_nameserver_get_response.py
deleted file mode 100644
index a257787a1843..000000000000
--- a/src/cloudflare/types/zones/custom_nameserver_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["CustomNameserverGetResponse"]
-
-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
deleted file mode 100644
index d2c3ed336e7e..000000000000
--- a/src/cloudflare/types/zones/custom_nameserver_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List, Union
-
-__all__ = ["CustomNameserverUpdateResponse"]
-
-CustomNameserverUpdateResponse = Union[List[object], str, object, None]
diff --git a/src/cloudflare/types/zones/hold_get_response.py b/src/cloudflare/types/zones/hold_get_response.py
deleted file mode 100644
index 33c1edfe722e..000000000000
--- a/src/cloudflare/types/zones/hold_get_response.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["HoldGetResponse"]
-
-
-class HoldGetResponse(BaseModel):
- hold: Optional[bool] = None
-
- hold_after: Optional[str] = None
-
- include_subdomains: Optional[str] = None
diff --git a/src/cloudflare/types/zones/settings/__init__.py b/src/cloudflare/types/zones/settings/__init__.py
index b52ab8460528..e92df35a6b64 100644
--- a/src/cloudflare/types/zones/settings/__init__.py
+++ b/src/cloudflare/types/zones/settings/__init__.py
@@ -187,3 +187,6 @@
from .zone_setting_automatic_platform_optimization_param import (
ZoneSettingAutomaticPlatformOptimizationParam as ZoneSettingAutomaticPlatformOptimizationParam,
)
+from .unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa import (
+ UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa as UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa,
+)
diff --git a/src/cloudflare/types/zones/settings/minify_edit_params.py b/src/cloudflare/types/zones/settings/minify_edit_params.py
index e6b49fd8be52..71a2e4988cf1 100644
--- a/src/cloudflare/types/zones/settings/minify_edit_params.py
+++ b/src/cloudflare/types/zones/settings/minify_edit_params.py
@@ -4,8 +4,6 @@
from typing_extensions import Literal, Required, TypedDict
-from ...shared import UnnamedSchemaRef92
-
__all__ = ["MinifyEditParams", "Value"]
@@ -18,7 +16,7 @@ class MinifyEditParams(TypedDict, total=False):
class Value(TypedDict, total=False):
- css: UnnamedSchemaRef92
+ css: Literal["on", "off"]
"""Automatically minify all CSS files for your website."""
html: Literal["on", "off"]
diff --git a/src/cloudflare/types/zones/settings/origin_max_http_version_edit_response.py b/src/cloudflare/types/zones/settings/origin_max_http_version_edit_response.py
index e7f903be78b2..57b6ddd9bffb 100644
--- a/src/cloudflare/types/zones/settings/origin_max_http_version_edit_response.py
+++ b/src/cloudflare/types/zones/settings/origin_max_http_version_edit_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef142
from ...._models import BaseModel
+from .unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa import UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa
__all__ = ["OriginMaxHTTPVersionEditResponse"]
class OriginMaxHTTPVersionEditResponse(BaseModel):
- id: UnnamedSchemaRef142
+ id: UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa
"""Value of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/zones/settings/origin_max_http_version_get_response.py b/src/cloudflare/types/zones/settings/origin_max_http_version_get_response.py
index bd4e67b0471f..5fa0cce3f833 100644
--- a/src/cloudflare/types/zones/settings/origin_max_http_version_get_response.py
+++ b/src/cloudflare/types/zones/settings/origin_max_http_version_get_response.py
@@ -4,14 +4,14 @@
from datetime import datetime
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef142
from ...._models import BaseModel
+from .unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa import UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa
__all__ = ["OriginMaxHTTPVersionGetResponse"]
class OriginMaxHTTPVersionGetResponse(BaseModel):
- id: UnnamedSchemaRef142
+ id: UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa
"""Value of the zone setting."""
modified_on: Optional[datetime] = None
diff --git a/src/cloudflare/types/zones/settings/unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa.py b/src/cloudflare/types/zones/settings/unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa.py
new file mode 100644
index 000000000000..9e56b5de1422
--- /dev/null
+++ b/src/cloudflare/types/zones/settings/unnamed_schema_ref_b234e6a28c1a1c7c29213787c0621eaa.py
@@ -0,0 +1,7 @@
+# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
+
+from typing_extensions import Literal
+
+__all__ = ["UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa"]
+
+UnnamedSchemaRefB234e6a28c1a1c7c29213787c0621eaa = Literal["origin_max_http_version"]
diff --git a/src/cloudflare/types/zones/settings/zone_setting_minify.py b/src/cloudflare/types/zones/settings/zone_setting_minify.py
index e7f68b9536c8..efb415b77120 100644
--- a/src/cloudflare/types/zones/settings/zone_setting_minify.py
+++ b/src/cloudflare/types/zones/settings/zone_setting_minify.py
@@ -4,14 +4,13 @@
from datetime import datetime
from typing_extensions import Literal
-from ...shared import UnnamedSchemaRef92
from ...._models import BaseModel
__all__ = ["ZoneSettingMinify", "Value"]
class Value(BaseModel):
- css: Optional[UnnamedSchemaRef92] = None
+ css: Optional[Literal["on", "off"]] = None
"""Automatically minify all CSS files for your website."""
html: Optional[Literal["on", "off"]] = None
diff --git a/src/cloudflare/types/zones/settings/zone_setting_minify_param.py b/src/cloudflare/types/zones/settings/zone_setting_minify_param.py
index fad905495768..f812a1d9ca49 100644
--- a/src/cloudflare/types/zones/settings/zone_setting_minify_param.py
+++ b/src/cloudflare/types/zones/settings/zone_setting_minify_param.py
@@ -4,13 +4,11 @@
from typing_extensions import Literal, Required, TypedDict
-from ...shared import UnnamedSchemaRef92
-
__all__ = ["ZoneSettingMinifyParam", "Value"]
class Value(TypedDict, total=False):
- css: UnnamedSchemaRef92
+ css: Literal["on", "off"]
"""Automatically minify all CSS files for your website."""
html: Literal["on", "off"]
diff --git a/src/cloudflare/types/zones/subscription_create_response.py b/src/cloudflare/types/zones/subscription_create_response.py
deleted file mode 100644
index 4b0efa126636..000000000000
--- a/src/cloudflare/types/zones/subscription_create_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionCreateResponse"]
-
-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
deleted file mode 100644
index 6f4b57540772..000000000000
--- a/src/cloudflare/types/zones/subscription_get_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union, Optional
-
-__all__ = ["SubscriptionGetResponse"]
-
-SubscriptionGetResponse = Union[Optional[str], Optional[object]]
diff --git a/src/cloudflare/types/zones/hold_create_response.py b/src/cloudflare/types/zones/unnamed_schema_ref_45004a9444b6da9f88158ed2fb9a5820.py
similarity index 67%
rename from src/cloudflare/types/zones/hold_create_response.py
rename to src/cloudflare/types/zones/unnamed_schema_ref_45004a9444b6da9f88158ed2fb9a5820.py
index c2080e947561..4ff409ec1bc8 100644
--- a/src/cloudflare/types/zones/hold_create_response.py
+++ b/src/cloudflare/types/zones/unnamed_schema_ref_45004a9444b6da9f88158ed2fb9a5820.py
@@ -4,10 +4,10 @@
from ..._models import BaseModel
-__all__ = ["HoldCreateResponse"]
+__all__ = ["UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820"]
-class HoldCreateResponse(BaseModel):
+class UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820(BaseModel):
hold: Optional[bool] = None
hold_after: Optional[str] = None
diff --git a/src/cloudflare/types/zones/unnamed_schema_ref_64.py b/src/cloudflare/types/zones/unnamed_schema_ref_64.py
deleted file mode 100644
index 77456ba13d2f..000000000000
--- a/src/cloudflare/types/zones/unnamed_schema_ref_64.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Optional
-
-from ..._models import BaseModel
-
-__all__ = ["UnnamedSchemaRef64"]
-
-
-class UnnamedSchemaRef64(BaseModel):
- hold: Optional[bool] = None
-
- hold_after: Optional[str] = None
-
- include_subdomains: Optional[str] = None
diff --git a/src/cloudflare/types/zones/workers/__init__.py b/src/cloudflare/types/zones/workers/__init__.py
index 238c4989cf13..6f7e7554b05d 100644
--- a/src/cloudflare/types/zones/workers/__init__.py
+++ b/src/cloudflare/types/zones/workers/__init__.py
@@ -4,4 +4,3 @@
from .script_delete_params import ScriptDeleteParams as ScriptDeleteParams
from .script_update_params import ScriptUpdateParams as ScriptUpdateParams
-from .script_update_response import ScriptUpdateResponse as ScriptUpdateResponse
diff --git a/src/cloudflare/types/zones/workers/script_update_response.py b/src/cloudflare/types/zones/workers/script_update_response.py
deleted file mode 100644
index 969aa3085360..000000000000
--- a/src/cloudflare/types/zones/workers/script_update_response.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import Union
-
-__all__ = ["ScriptUpdateResponse"]
-
-ScriptUpdateResponse = Union[str, object]
diff --git a/tests/api_resources/accounts/test_roles.py b/tests/api_resources/accounts/test_roles.py
index 2cbdcfab4c50..0fa4f2c8a476 100644
--- a/tests/api_resources/accounts/test_roles.py
+++ b/tests/api_resources/accounts/test_roles.py
@@ -10,7 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.accounts import RoleGetResponse, RoleListResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from cloudflare.types.accounts import RoleListResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -59,7 +60,7 @@ def test_method_get(self, client: Cloudflare) -> None:
{},
account_id={},
)
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -72,7 +73,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
role = response.parse()
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -85,7 +86,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
role = response.parse()
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -134,7 +135,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
{},
account_id={},
)
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -147,7 +148,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
role = await response.parse()
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -160,6 +161,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
role = await response.parse()
- assert_matches_type(RoleGetResponse, role, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, role, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/address_maps/test_accounts.py b/tests/api_resources/addressing/address_maps/test_accounts.py
index 873237569e96..ff2115efde8a 100644
--- a/tests/api_resources/addressing/address_maps/test_accounts.py
+++ b/tests/api_resources/addressing/address_maps/test_accounts.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.addressing.address_maps import (
- AccountDeleteResponse,
- AccountUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -56,7 +53,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -85,7 +82,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +96,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"
account = response.parse()
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -113,7 +110,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -146,7 +143,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -160,7 +157,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -174,7 +171,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(Optional[AccountUpdateResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -203,7 +200,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -217,7 +214,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"
account = await response.parse()
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -231,7 +228,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], account, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/address_maps/test_ips.py b/tests/api_resources/addressing/address_maps/test_ips.py
index 5ac092eb7624..9334638bd8b3 100644
--- a/tests/api_resources/addressing/address_maps/test_ips.py
+++ b/tests/api_resources/addressing/address_maps/test_ips.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.addressing.address_maps import (
- IPDeleteResponse,
- IPUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None:
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -44,7 +41,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = response.parse()
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -59,7 +56,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = response.parse()
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -99,7 +96,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -114,7 +111,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"
ip = response.parse()
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -129,7 +126,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = response.parse()
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -173,7 +170,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -188,7 +185,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = await response.parse()
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -203,7 +200,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = await response.parse()
- assert_matches_type(Optional[IPUpdateResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -243,7 +240,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -258,7 +255,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"
ip = await response.parse()
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -273,7 +270,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ip = await response.parse()
- assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], ip, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/address_maps/test_zones.py b/tests/api_resources/addressing/address_maps/test_zones.py
index 450019f8c449..cc0dda919178 100644
--- a/tests/api_resources/addressing/address_maps/test_zones.py
+++ b/tests/api_resources/addressing/address_maps/test_zones.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.addressing.address_maps import (
- ZoneDeleteResponse,
- ZoneUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -44,7 +41,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = response.parse()
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -59,7 +56,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = response.parse()
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -99,7 +96,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -114,7 +111,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"
zone = response.parse()
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -129,7 +126,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = response.parse()
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -173,7 +170,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -188,7 +185,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = await response.parse()
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -203,7 +200,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = await response.parse()
- assert_matches_type(Optional[ZoneUpdateResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -243,7 +240,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -258,7 +255,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"
zone = await response.parse()
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -273,7 +270,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
zone = await response.parse()
- assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], zone, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py
index 5917c0952cf6..eb1d71ada3c7 100644
--- a/tests/api_resources/addressing/prefixes/bgp/test_bindings.py
+++ b/tests/api_resources/addressing/prefixes/bgp/test_bindings.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from cloudflare.types.addressing.prefixes.bgp import AddressingServiceBinding
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -142,7 +142,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -156,7 +156,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"
binding = response.parse()
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -170,7 +170,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
binding = response.parse()
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -389,7 +389,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -403,7 +403,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"
binding = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -417,7 +417,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
binding = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, binding, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, binding, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/test_address_maps.py b/tests/api_resources/addressing/test_address_maps.py
index d97e34185aed..5c6b41662c7a 100644
--- a/tests/api_resources/addressing/test_address_maps.py
+++ b/tests/api_resources/addressing/test_address_maps.py
@@ -10,11 +10,11 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from cloudflare.types.addressing import (
AddressingAddressMaps,
AddressMapGetResponse,
AddressMapCreateResponse,
- AddressMapDeleteResponse,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -125,7 +125,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -139,7 +139,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"
address_map = response.parse()
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -153,7 +153,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
address_map = response.parse()
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -396,7 +398,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -410,7 +412,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"
address_map = await response.parse()
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -424,7 +426,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
address_map = await response.parse()
- assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], address_map, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/addressing/test_prefixes.py b/tests/api_resources/addressing/test_prefixes.py
index 69b0b61d2881..5ec882d319a0 100644
--- a/tests/api_resources/addressing/test_prefixes.py
+++ b/tests/api_resources/addressing/test_prefixes.py
@@ -10,8 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from cloudflare.types.addressing import (
- PrefixDeleteResponse,
AddressingIpamPrefixes,
)
@@ -125,7 +125,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -139,7 +139,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"
prefix = response.parse()
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -153,7 +153,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
prefix = response.parse()
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -391,7 +391,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -405,7 +405,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"
prefix = await response.parse()
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -419,7 +419,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
prefix = await response.parse()
- assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], prefix, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/alerting/destinations/test_pagerduty.py b/tests/api_resources/alerting/destinations/test_pagerduty.py
index 07b1cb564360..ae7d8ac9e1ac 100644
--- a/tests/api_resources/alerting/destinations/test_pagerduty.py
+++ b/tests/api_resources/alerting/destinations/test_pagerduty.py
@@ -9,12 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.alerting.destinations import (
- PagerdutyGetResponse,
- PagerdutyLinkResponse,
- PagerdutyCreateResponse,
- PagerdutyDeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
+from cloudflare.types.alerting.destinations import PagerdutyGetResponse, PagerdutyLinkResponse, PagerdutyCreateResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -70,7 +66,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
pagerduty = client.alerting.destinations.pagerduty.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -82,7 +78,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"
pagerduty = response.parse()
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -94,7 +90,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerduty = response.parse()
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -252,7 +250,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
pagerduty = await async_client.alerting.destinations.pagerduty.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -264,7 +262,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"
pagerduty = await response.parse()
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -276,7 +274,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerduty = await response.parse()
- assert_matches_type(Optional[PagerdutyDeleteResponse], pagerduty, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], pagerduty, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/alerting/destinations/test_webhooks.py b/tests/api_resources/alerting/destinations/test_webhooks.py
index 315b3c36ea4f..c3a390693913 100644
--- a/tests/api_resources/alerting/destinations/test_webhooks.py
+++ b/tests/api_resources/alerting/destinations/test_webhooks.py
@@ -10,10 +10,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from cloudflare.types.alerting.destinations import (
AlertingWebhooks,
WebhookCreateResponse,
- WebhookDeleteResponse,
WebhookUpdateResponse,
)
@@ -207,7 +207,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"b115d5ec-15c6-41ee-8b76-92c449b5227b",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -220,7 +220,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"
webhook = response.parse()
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -233,7 +233,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -492,7 +492,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"b115d5ec-15c6-41ee-8b76-92c449b5227b",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -505,7 +505,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"
webhook = await response.parse()
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -518,7 +518,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], webhook, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/alerting/test_available_alerts.py b/tests/api_resources/alerting/test_available_alerts.py
index d08fbd7953da..c3c5c6dc2fe3 100644
--- a/tests/api_resources/alerting/test_available_alerts.py
+++ b/tests/api_resources/alerting/test_available_alerts.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef116
+from cloudflare.types.alerting import AvailableAlertListResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -23,7 +23,7 @@ def test_method_list(self, client: Cloudflare) -> None:
available_alert = client.alerting.available_alerts.list(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -35,7 +35,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
available_alert = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -47,7 +47,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
available_alert = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -69,7 +69,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
available_alert = await async_client.alerting.available_alerts.list(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
available_alert = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -93,7 +93,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
available_alert = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef116], available_alert, path=["response"])
+ assert_matches_type(Optional[AvailableAlertListResponse], available_alert, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/alerting/test_policies.py b/tests/api_resources/alerting/test_policies.py
index 3668367e9966..759428106d76 100644
--- a/tests/api_resources/alerting/test_policies.py
+++ b/tests/api_resources/alerting/test_policies.py
@@ -10,10 +10,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
from cloudflare.types.alerting import (
AlertingPolicies,
PolicyCreateResponse,
- PolicyDeleteResponse,
PolicyUpdateResponse,
)
@@ -317,7 +317,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"0da2b59e-f118-439d-8097-bdfb215203c9",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -330,7 +330,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"
policy = response.parse()
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -343,7 +343,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
policy = response.parse()
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -712,7 +712,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"0da2b59e-f118-439d-8097-bdfb215203c9",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -725,7 +725,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"
policy = await response.parse()
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -738,7 +738,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
policy = await response.parse()
- assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], policy, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/argo/test_smart_routing.py b/tests/api_resources/argo/test_smart_routing.py
index 27d13739d4c7..f4c99f2ae09c 100644
--- a/tests/api_resources/argo/test_smart_routing.py
+++ b/tests/api_resources/argo/test_smart_routing.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.argo import SmartRoutingGetResponse, SmartRoutingEditResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +37,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = response.parse()
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = response.parse()
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -69,7 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None:
smart_routing = client.argo.smart_routing.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = response.parse()
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -93,7 +93,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = response.parse()
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -116,7 +116,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -129,7 +129,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = await response.parse()
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -142,7 +142,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = await response.parse()
- assert_matches_type(SmartRoutingEditResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -161,7 +161,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
smart_routing = await async_client.argo.smart_routing.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -173,7 +173,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = await response.parse()
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -185,7 +185,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_routing = await response.parse()
- assert_matches_type(SmartRoutingGetResponse, smart_routing, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_routing, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/argo/test_tiered_caching.py b/tests/api_resources/argo/test_tiered_caching.py
index 13d8943f0007..ec82b2af1032 100644
--- a/tests/api_resources/argo/test_tiered_caching.py
+++ b/tests/api_resources/argo/test_tiered_caching.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.argo import TieredCachingGetResponse, TieredCachingEditResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +37,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = response.parse()
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = response.parse()
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -69,7 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None:
tiered_caching = client.argo.tiered_caching.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = response.parse()
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -93,7 +93,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = response.parse()
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -116,7 +116,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -129,7 +129,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = await response.parse()
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -142,7 +142,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = await response.parse()
- assert_matches_type(TieredCachingEditResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -161,7 +161,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
tiered_caching = await async_client.argo.tiered_caching.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -173,7 +173,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = await response.parse()
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -185,7 +185,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tiered_caching = await response.parse()
- assert_matches_type(TieredCachingGetResponse, tiered_caching, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, tiered_caching, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/billing/test_profiles.py b/tests/api_resources/billing/test_profiles.py
index 63e0a0eca24d..d62b9ffa17ae 100644
--- a/tests/api_resources/billing/test_profiles.py
+++ b/tests/api_resources/billing/test_profiles.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.billing import ProfileGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -23,7 +23,7 @@ def test_method_get(self, client: Cloudflare) -> None:
profile = client.billing.profiles.get(
{},
)
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -35,7 +35,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -47,7 +47,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -61,7 +61,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
profile = await async_client.billing.profiles.get(
{},
)
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -73,7 +73,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = await response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -85,6 +85,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = await response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/cache/test_smart_tiered_cache.py b/tests/api_resources/cache/test_smart_tiered_cache.py
index a45c9af8dba7..8df2a3c14ee2 100644
--- a/tests/api_resources/cache/test_smart_tiered_cache.py
+++ b/tests/api_resources/cache/test_smart_tiered_cache.py
@@ -9,11 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.cache import (
- SmartTieredCacheGetResponse,
- SmartTieredCacheEditResponse,
- SmartTieredCacheDeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +24,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -41,7 +37,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"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -54,7 +50,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -74,7 +70,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -87,7 +83,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -100,7 +96,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -119,7 +115,7 @@ def test_method_get(self, client: Cloudflare) -> None:
smart_tiered_cache = client.cache.smart_tiered_cache.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -131,7 +127,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -143,7 +139,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = response.parse()
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -166,7 +162,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -179,7 +175,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"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -192,7 +188,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -212,7 +208,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
value="on",
)
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +221,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -238,7 +234,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheEditResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -257,7 +253,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
smart_tiered_cache = await async_client.cache.smart_tiered_cache.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -269,7 +265,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -281,7 +277,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
smart_tiered_cache = await response.parse()
- assert_matches_type(SmartTieredCacheGetResponse, smart_tiered_cache, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, smart_tiered_cache, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/cloudforce_one/requests/test_message.py b/tests/api_resources/cloudforce_one/requests/test_message.py
index ad14203df3d0..42ab6318a54f 100644
--- a/tests/api_resources/cloudforce_one/requests/test_message.py
+++ b/tests/api_resources/cloudforce_one/requests/test_message.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare._utils import parse_datetime
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from cloudflare.types.cloudforce_one.requests import (
MessageGetResponse,
CloudforceOneRequestMessageItem,
@@ -164,7 +164,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
request_identifier="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
)
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -178,7 +178,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"
message = response.parse()
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -192,7 +192,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
message = response.parse()
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -436,7 +436,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
request_identifier="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
)
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -450,7 +450,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"
message = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -464,7 +464,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
message = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, message, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, message, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/cloudforce_one/requests/test_priority.py b/tests/api_resources/cloudforce_one/requests/test_priority.py
index b3aa45a1451f..2ea9e29ad9f4 100644
--- a/tests/api_resources/cloudforce_one/requests/test_priority.py
+++ b/tests/api_resources/cloudforce_one/requests/test_priority.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from cloudflare.types.cloudforce_one import CloudforceOneQuota, CloudforceOneRequestItem
from cloudflare.types.cloudforce_one.requests import (
CloudforceOnePriorityItem,
@@ -158,7 +158,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -171,7 +171,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"
priority = response.parse()
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -184,7 +184,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
priority = response.parse()
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -438,7 +438,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -451,7 +451,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"
priority = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -464,7 +464,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
priority = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, priority, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, priority, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/cloudforce_one/test_requests.py b/tests/api_resources/cloudforce_one/test_requests.py
index 52fd89e6d413..af671c41b00e 100644
--- a/tests/api_resources/cloudforce_one/test_requests.py
+++ b/tests/api_resources/cloudforce_one/test_requests.py
@@ -11,7 +11,7 @@
from tests.utils import assert_matches_type
from cloudflare._utils import parse_datetime
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from cloudflare.types.cloudforce_one import (
CloudforceOneQuota,
CloudforceOneRequestItem,
@@ -222,7 +222,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -235,7 +235,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"
request = response.parse()
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -248,7 +248,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
request = response.parse()
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -645,7 +645,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -658,7 +658,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"
request = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -671,7 +671,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
request = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, request, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, request, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/custom_hostnames/test_fallback_origin.py b/tests/api_resources/custom_hostnames/test_fallback_origin.py
index ba04772700c9..fd6a08038694 100644
--- a/tests/api_resources/custom_hostnames/test_fallback_origin.py
+++ b/tests/api_resources/custom_hostnames/test_fallback_origin.py
@@ -9,11 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.custom_hostnames import (
- FallbackOriginGetResponse,
- FallbackOriginDeleteResponse,
- FallbackOriginUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +24,7 @@ def test_method_update(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
origin="fallback.example.com",
)
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -41,7 +37,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -54,7 +50,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -74,7 +70,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -87,7 +83,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"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -100,7 +96,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -119,7 +115,7 @@ def test_method_get(self, client: Cloudflare) -> None:
fallback_origin = client.custom_hostnames.fallback_origin.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -131,7 +127,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -143,7 +139,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = response.parse()
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -166,7 +162,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
origin="fallback.example.com",
)
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -179,7 +175,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -192,7 +188,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginUpdateResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -212,7 +208,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +221,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"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -238,7 +234,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -257,7 +253,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
fallback_origin = await async_client.custom_hostnames.fallback_origin.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -269,7 +265,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -281,7 +277,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
fallback_origin = await response.parse()
- assert_matches_type(FallbackOriginGetResponse, fallback_origin, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, fallback_origin, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/d1/test_database.py b/tests/api_resources/d1/test_database.py
index e008fc887877..f0bca2b765f0 100644
--- a/tests/api_resources/d1/test_database.py
+++ b/tests/api_resources/d1/test_database.py
@@ -3,7 +3,7 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
@@ -15,7 +15,7 @@
DatabaseQueryResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -129,7 +129,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -142,7 +142,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"
database = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -155,7 +155,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
database = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -404,7 +404,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -417,7 +417,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"
database = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -430,7 +430,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
database = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], database, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, database, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/firewall/test_access_rules.py b/tests/api_resources/firewall/test_access_rules.py
index 9cd8e0ae26f9..a6c4dd142aa5 100644
--- a/tests/api_resources/firewall/test_access_rules.py
+++ b/tests/api_resources/firewall/test_access_rules.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.firewall import (
AccessRuleDeleteResponse,
)
@@ -30,7 +30,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
zone_id="string",
notes="This rule is enabled because of an event that occurred on date X.",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -60,7 +60,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -75,7 +75,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -259,7 +259,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -275,7 +275,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
zone_id="string",
notes="This rule is enabled because of an event that occurred on date X.",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -291,7 +291,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -307,7 +307,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -340,7 +340,7 @@ def test_method_get(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -350,7 +350,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -364,7 +364,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -378,7 +378,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -412,7 +412,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -427,7 +427,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
zone_id="string",
notes="This rule is enabled because of an event that occurred on date X.",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -442,7 +442,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -457,7 +457,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -641,7 +641,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -657,7 +657,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
zone_id="string",
notes="This rule is enabled because of an event that occurred on date X.",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -673,7 +673,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -689,7 +689,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -722,7 +722,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -732,7 +732,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -746,7 +746,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -760,7 +760,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
access_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], access_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, access_rule, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/firewall/test_ua_rules.py b/tests/api_resources/firewall/test_ua_rules.py
index 961bad4456fb..19d406fc4ab2 100644
--- a/tests/api_resources/firewall/test_ua_rules.py
+++ b/tests/api_resources/firewall/test_ua_rules.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.firewall import (
UARuleListResponse,
UARuleDeleteResponse,
@@ -29,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -55,7 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -76,7 +76,7 @@ def test_method_update(self, client: Cloudflare) -> None:
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -90,7 +90,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -104,7 +104,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -244,7 +244,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -257,7 +257,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -270,7 +270,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -300,7 +300,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -313,7 +313,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -326,7 +326,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -347,7 +347,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -361,7 +361,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -375,7 +375,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -515,7 +515,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -528,7 +528,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -541,7 +541,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ua_rule = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], ua_rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ua_rule, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/firewall/waf/packages/test_groups.py b/tests/api_resources/firewall/waf/packages/test_groups.py
index 1ec43f16b3df..672e05bad345 100644
--- a/tests/api_resources/firewall/waf/packages/test_groups.py
+++ b/tests/api_resources/firewall/waf/packages/test_groups.py
@@ -10,11 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.firewall.waf.packages import (
- GroupGetResponse,
- GroupEditResponse,
- WAFManagedRulesGroup,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from cloudflare.types.firewall.waf.packages import WAFManagedRulesGroup
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -99,7 +96,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -110,7 +107,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
mode="on",
)
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -124,7 +121,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = response.parse()
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -138,7 +135,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = response.parse()
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -174,7 +171,7 @@ def test_method_get(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -188,7 +185,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = response.parse()
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -202,7 +199,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = response.parse()
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -311,7 +308,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -322,7 +319,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
mode="on",
)
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -336,7 +333,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = await response.parse()
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -350,7 +347,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = await response.parse()
- assert_matches_type(GroupEditResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -386,7 +383,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -400,7 +397,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = await response.parse()
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -414,7 +411,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
group = await response.parse()
- assert_matches_type(GroupGetResponse, group, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, group, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/firewall/waf/packages/test_rules.py b/tests/api_resources/firewall/waf/packages/test_rules.py
index 5cd2c4812696..7ce3f4301b89 100644
--- a/tests/api_resources/firewall/waf/packages/test_rules.py
+++ b/tests/api_resources/firewall/waf/packages/test_rules.py
@@ -10,8 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.firewall.waf.packages import (
- RuleGetResponse,
RuleEditResponse,
WAFManagedRulesRule,
)
@@ -175,7 +175,7 @@ def test_method_get(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -189,7 +189,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = response.parse()
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -203,7 +203,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = response.parse()
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -388,7 +388,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
package_id="a25a9a7e9c00afc1fb2e0245519d725b",
)
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -402,7 +402,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = await response.parse()
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -416,7 +416,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = await response.parse()
- assert_matches_type(RuleGetResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/hostnames/settings/test_tls.py b/tests/api_resources/hostnames/settings/test_tls.py
index c0b7a137525f..36b390abae3e 100644
--- a/tests/api_resources/hostnames/settings/test_tls.py
+++ b/tests/api_resources/hostnames/settings/test_tls.py
@@ -9,8 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef65
-from cloudflare.types.hostnames.settings import TLSGetResponse, HostnameSettingDelete
+from cloudflare.types.hostnames.settings import HostnameStting, TLSGetResponse, HostnameSettingDelete
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -27,7 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None:
setting_id="ciphers",
value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"],
)
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +41,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tls = response.parse()
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -57,7 +56,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tls = response.parse()
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -196,7 +195,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
setting_id="ciphers",
value=["ECDHE-RSA-AES128-GCM-SHA256", "AES128-GCM-SHA256"],
)
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -211,7 +210,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tls = await response.parse()
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -226,7 +225,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tls = await response.parse()
- assert_matches_type(UnnamedSchemaRef65, tls, path=["response"])
+ assert_matches_type(HostnameStting, tls, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/hyperdrive/test_configs.py b/tests/api_resources/hyperdrive/test_configs.py
index 104ea51410ad..6a6b9c8d33d9 100644
--- a/tests/api_resources/hyperdrive/test_configs.py
+++ b/tests/api_resources/hyperdrive/test_configs.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.hyperdrive import (
ConfigGetResponse,
ConfigEditResponse,
@@ -186,7 +186,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -199,7 +199,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"
config = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -212,7 +212,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
config = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -510,7 +510,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -523,7 +523,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"
config = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -536,7 +536,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
config = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], config, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, config, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/images/test_v1.py b/tests/api_resources/images/test_v1.py
index 0093f38741ec..39bca42483a1 100644
--- a/tests/api_resources/images/test_v1.py
+++ b/tests/api_resources/images/test_v1.py
@@ -13,8 +13,8 @@
from cloudflare.types.images import (
Image,
V1ListResponse,
- V1DeleteResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -174,7 +174,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -188,7 +188,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"
v1 = response.parse()
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -202,7 +202,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
v1 = response.parse()
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -494,7 +494,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -508,7 +508,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"
v1 = await response.parse()
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -522,7 +522,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
v1 = await response.parse()
- assert_matches_type(V1DeleteResponse, v1, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, v1, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/images/v1/test_variants.py b/tests/api_resources/images/v1/test_variants.py
index eb8a00d66f04..ddb3b5757a7a 100644
--- a/tests/api_resources/images/v1/test_variants.py
+++ b/tests/api_resources/images/v1/test_variants.py
@@ -9,10 +9,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.images.v1 import (
V1ImageVariant,
V1ImageVariants,
- VariantDeleteResponse,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -157,7 +157,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -171,7 +171,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"
variant = response.parse()
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -185,7 +185,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
variant = response.parse()
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -496,7 +496,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -510,7 +510,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"
variant = await response.parse()
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -524,7 +524,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
variant = await response.parse()
- assert_matches_type(VariantDeleteResponse, variant, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, variant, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/intel/attack_surface_report/test_issues.py b/tests/api_resources/intel/attack_surface_report/test_issues.py
index 31bd421e533e..afd8d3b496a2 100644
--- a/tests/api_resources/intel/attack_surface_report/test_issues.py
+++ b/tests/api_resources/intel/attack_surface_report/test_issues.py
@@ -10,11 +10,11 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePagination, AsyncV4PagePagination
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
from cloudflare.types.intel.attack_surface_report import (
IssueListResponse,
IssueTypeResponse,
IssueClassResponse,
- IssueDismissResponse,
IssueSeverityResponse,
)
@@ -155,7 +155,7 @@ def test_method_dismiss(self, client: Cloudflare) -> None:
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -165,7 +165,7 @@ def test_method_dismiss_with_all_params(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dismiss=True,
)
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -178,7 +178,7 @@ def test_raw_response_dismiss(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
issue = response.parse()
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -191,7 +191,7 @@ def test_streaming_response_dismiss(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
issue = response.parse()
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -467,7 +467,7 @@ async def test_method_dismiss(self, async_client: AsyncCloudflare) -> None:
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -477,7 +477,7 @@ async def test_method_dismiss_with_all_params(self, async_client: AsyncCloudflar
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dismiss=True,
)
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -490,7 +490,7 @@ async def test_raw_response_dismiss(self, async_client: AsyncCloudflare) -> None
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
issue = await response.parse()
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -503,7 +503,7 @@ async def test_streaming_response_dismiss(self, async_client: AsyncCloudflare) -
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
issue = await response.parse()
- assert_matches_type(IssueDismissResponse, issue, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, issue, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/intel/test_miscategorizations.py b/tests/api_resources/intel/test_miscategorizations.py
index 8231ba952c54..789e89122cdc 100644
--- a/tests/api_resources/intel/test_miscategorizations.py
+++ b/tests/api_resources/intel/test_miscategorizations.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.intel import MiscategorizationCreateResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -23,7 +23,7 @@ def test_method_create(self, client: Cloudflare) -> None:
miscategorization = client.intel.miscategorizations.create(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -38,7 +38,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
security_removes=[83],
url="string",
)
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
miscategorization = response.parse()
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -62,7 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
miscategorization = response.parse()
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -84,7 +84,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
miscategorization = await async_client.intel.miscategorizations.create(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +99,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
security_removes=[83],
url="string",
)
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -111,7 +111,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
miscategorization = await response.parse()
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -123,7 +123,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
miscategorization = await response.parse()
- assert_matches_type(MiscategorizationCreateResponse, miscategorization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, miscategorization, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/kv/namespaces/test_bulk.py b/tests/api_resources/kv/namespaces/test_bulk.py
index 50d6d3c6d992..1e1c1aa2a78a 100644
--- a/tests/api_resources/kv/namespaces/test_bulk.py
+++ b/tests/api_resources/kv/namespaces/test_bulk.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.kv.namespaces import (
- BulkDeleteResponse,
- BulkUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body=[{}, {}, {}],
)
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +39,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = response.parse()
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -56,7 +53,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = response.parse()
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -85,7 +82,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body=["My-Key", "My-Key", "My-Key"],
)
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +96,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"
bulk = response.parse()
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -113,7 +110,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = response.parse()
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -146,7 +143,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body=[{}, {}, {}],
)
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -160,7 +157,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = await response.parse()
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -174,7 +171,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = await response.parse()
- assert_matches_type(BulkUpdateResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -203,7 +200,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body=["My-Key", "My-Key", "My-Key"],
)
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -217,7 +214,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"
bulk = await response.parse()
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -231,7 +228,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bulk = await response.parse()
- assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bulk, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/kv/namespaces/test_values.py b/tests/api_resources/kv/namespaces/test_values.py
index 9003443b5e9d..f433fef68916 100644
--- a/tests/api_resources/kv/namespaces/test_values.py
+++ b/tests/api_resources/kv/namespaces/test_values.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.kv.namespaces import (
- ValueDeleteResponse,
- ValueUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None:
metadata='{"someMetadataKey": "someMetadataValue"}',
value="Some Value",
)
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -46,7 +43,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = response.parse()
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -62,7 +59,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = response.parse()
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -105,7 +102,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
namespace_id="0f2ac74b498b48028cb68387c421e279",
body={},
)
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -120,7 +117,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"
value = response.parse()
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -135,7 +132,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = response.parse()
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -244,7 +241,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
metadata='{"someMetadataKey": "someMetadataValue"}',
value="Some Value",
)
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -260,7 +257,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = await response.parse()
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -276,7 +273,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = await response.parse()
- assert_matches_type(ValueUpdateResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -319,7 +316,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
namespace_id="0f2ac74b498b48028cb68387c421e279",
body={},
)
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -334,7 +331,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"
value = await response.parse()
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -349,7 +346,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
value = await response.parse()
- assert_matches_type(ValueDeleteResponse, value, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, value, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/kv/test_namespaces.py b/tests/api_resources/kv/test_namespaces.py
index 9c99fad6cc80..f6b997560063 100644
--- a/tests/api_resources/kv/test_namespaces.py
+++ b/tests/api_resources/kv/test_namespaces.py
@@ -11,10 +11,9 @@
from tests.utils import assert_matches_type
from cloudflare.types.kv import (
WorkersKVNamespace,
- NamespaceDeleteResponse,
- NamespaceUpdateResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -76,7 +75,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
title="My Own Namespace",
)
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -90,7 +89,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = response.parse()
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -104,7 +103,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = response.parse()
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -187,7 +186,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -201,7 +200,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"
namespace = response.parse()
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -215,7 +214,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = response.parse()
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -294,7 +293,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
title="My Own Namespace",
)
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -308,7 +307,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = await response.parse()
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -322,7 +321,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = await response.parse()
- assert_matches_type(NamespaceUpdateResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -405,7 +404,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -419,7 +418,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"
namespace = await response.parse()
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -433,7 +432,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
namespace = await response.parse()
- assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, namespace, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/load_balancers/test_regions.py b/tests/api_resources/load_balancers/test_regions.py
index ae7e7b8f3d45..cb700116a077 100644
--- a/tests/api_resources/load_balancers/test_regions.py
+++ b/tests/api_resources/load_balancers/test_regions.py
@@ -9,7 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.load_balancers import RegionGetResponse, RegionListResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from cloudflare.types.load_balancers import RegionGetResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -23,7 +24,7 @@ def test_method_list(self, client: Cloudflare) -> None:
region = client.load_balancers.regions.list(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -34,7 +35,7 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
subdivision_code="CA",
subdivision_code_a2="CA",
)
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -46,7 +47,7 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
region = response.parse()
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -58,7 +59,7 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
region = response.parse()
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -126,7 +127,7 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
region = await async_client.load_balancers.regions.list(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -137,7 +138,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
subdivision_code="CA",
subdivision_code_a2="CA",
)
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -149,7 +150,7 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
region = await response.parse()
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -161,7 +162,7 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
region = await response.parse()
- assert_matches_type(RegionListResponse, region, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, region, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/logpush/test_jobs.py b/tests/api_resources/logpush/test_jobs.py
index a7366aedf7ad..e7c08f1de4cb 100644
--- a/tests/api_resources/logpush/test_jobs.py
+++ b/tests/api_resources/logpush/test_jobs.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef161
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from cloudflare.types.logpush.datasets import LogpushJob
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -262,7 +262,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -273,7 +273,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -288,7 +288,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"
job = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -303,7 +303,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
job = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -640,7 +640,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -651,7 +651,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -666,7 +666,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"
job = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -681,7 +681,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
job = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], job, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], job, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/logpush/test_ownership.py b/tests/api_resources/logpush/test_ownership.py
index cf96d023ce66..773105d19dbc 100644
--- a/tests/api_resources/logpush/test_ownership.py
+++ b/tests/api_resources/logpush/test_ownership.py
@@ -9,10 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.logpush import (
- OwnershipCreateResponse,
- OwnershipValidateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854
+from cloudflare.types.logpush import OwnershipCreateResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -96,7 +94,7 @@ def test_method_validate(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -107,7 +105,7 @@ def test_method_validate_with_all_params(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -122,7 +120,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ownership = response.parse()
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -137,7 +135,9 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ownership = response.parse()
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -240,7 +240,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -251,7 +251,7 @@ async def test_method_validate_with_all_params(self, async_client: AsyncCloudfla
account_id="string",
zone_id="string",
)
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -266,7 +266,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ownership = await response.parse()
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -281,7 +281,9 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare)
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ownership = await response.parse()
- assert_matches_type(Optional[OwnershipValidateResponse], ownership, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], ownership, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/logs/control/cmb/test_config.py b/tests/api_resources/logs/control/cmb/test_config.py
index ebd328585304..a28c1208072f 100644
--- a/tests/api_resources/logs/control/cmb/test_config.py
+++ b/tests/api_resources/logs/control/cmb/test_config.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef161
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from cloudflare.types.logs.control.cmb import CmbConfig
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -76,7 +76,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -89,7 +89,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"
config = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -102,7 +102,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
config = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -219,7 +219,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -232,7 +232,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"
config = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -245,7 +245,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
config = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef161], config, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], config, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/logs/test_rayid.py b/tests/api_resources/logs/test_rayid.py
index a5264c4450ac..722850e71679 100644
--- a/tests/api_resources/logs/test_rayid.py
+++ b/tests/api_resources/logs/test_rayid.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.logs import RayIDGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"41ddf1740f67442d",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -35,7 +35,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
fields="ClientIP,RayID,EdgeStartTimestamp",
timestamps="unixnano",
)
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -48,7 +48,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rayid = response.parse()
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -61,7 +61,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rayid = response.parse()
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -91,7 +91,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"41ddf1740f67442d",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -102,7 +102,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
fields="ClientIP,RayID,EdgeStartTimestamp",
timestamps="unixnano",
)
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -115,7 +115,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rayid = await response.parse()
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -128,7 +128,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rayid = await response.parse()
- assert_matches_type(RayIDGetResponse, rayid, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, rayid, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/logs/test_received.py b/tests/api_resources/logs/test_received.py
index 38002e7e0f91..1c777acc209b 100644
--- a/tests/api_resources/logs/test_received.py
+++ b/tests/api_resources/logs/test_received.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.logs import ReceivedGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
end="2018-05-20T10:01:00Z",
)
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -38,7 +38,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
start="2018-05-20T10:00:00Z",
timestamps="unixnano",
)
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -51,7 +51,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
received = response.parse()
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -64,7 +64,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
received = response.parse()
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -88,7 +88,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
end="2018-05-20T10:01:00Z",
)
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -102,7 +102,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
start="2018-05-20T10:00:00Z",
timestamps="unixnano",
)
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -115,7 +115,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
received = await response.parse()
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -128,7 +128,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
received = await response.parse()
- assert_matches_type(ReceivedGetResponse, received, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, received, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/pages/projects/deployments/history/test_logs.py b/tests/api_resources/pages/projects/deployments/history/test_logs.py
index 7e59a77f9b24..dd818af6574c 100644
--- a/tests/api_resources/pages/projects/deployments/history/test_logs.py
+++ b/tests/api_resources/pages/projects/deployments/history/test_logs.py
@@ -3,13 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.pages.projects.deployments.history import LogGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -25,7 +25,7 @@ def test_method_get(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
)
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -39,7 +39,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
log = response.parse()
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -53,7 +53,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
log = response.parse()
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -93,7 +93,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
)
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -107,7 +107,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
log = await response.parse()
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -121,7 +121,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
log = await response.parse()
- assert_matches_type(LogGetResponse, log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], log, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/pages/projects/test_domains.py b/tests/api_resources/pages/projects/test_domains.py
index 5e2614a1a25d..e43e63b9aa71 100644
--- a/tests/api_resources/pages/projects/test_domains.py
+++ b/tests/api_resources/pages/projects/test_domains.py
@@ -10,11 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.pages.projects import (
- DomainGetResponse,
- DomainEditResponse,
- DomainCreateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={"name": "example.com"},
)
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -44,7 +40,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -58,7 +54,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -210,7 +206,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
project_name="this-is-my-project-01",
body={},
)
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +221,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -240,7 +236,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -279,7 +275,7 @@ def test_method_get(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
)
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -293,7 +289,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -307,7 +303,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -347,7 +343,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={"name": "example.com"},
)
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -361,7 +357,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -375,7 +371,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainCreateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -527,7 +523,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
project_name="this-is-my-project-01",
body={},
)
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -542,7 +538,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -557,7 +553,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainEditResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -596,7 +592,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
)
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -610,7 +606,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -624,7 +620,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/pages/test_projects.py b/tests/api_resources/pages/test_projects.py
index 8bd5d365760b..18039cb30883 100644
--- a/tests/api_resources/pages/test_projects.py
+++ b/tests/api_resources/pages/test_projects.py
@@ -3,7 +3,7 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
@@ -13,9 +13,8 @@
from cloudflare.types.pages import (
PagesProjects,
PagesDeployments,
- ProjectEditResponse,
- ProjectCreateResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None:
project = client.pages.projects.create(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -109,7 +108,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
name="NextJS Blog",
production_branch="main",
)
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -121,7 +120,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = response.parse()
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -133,7 +132,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = response.parse()
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -267,7 +266,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
}
},
)
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -296,7 +295,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = response.parse()
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -325,7 +324,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = response.parse()
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -490,7 +489,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
project = await async_client.pages.projects.create(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -570,7 +569,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
name="NextJS Blog",
production_branch="main",
)
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -582,7 +581,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = await response.parse()
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -594,7 +593,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = await response.parse()
- assert_matches_type(ProjectCreateResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -728,7 +727,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
}
},
)
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -757,7 +756,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = await response.parse()
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -786,7 +785,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
project = await response.parse()
- assert_matches_type(ProjectEditResponse, project, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], project, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/queues/test_consumers.py b/tests/api_resources/queues/test_consumers.py
index 20b325cd82f1..bbf92b888781 100644
--- a/tests/api_resources/queues/test_consumers.py
+++ b/tests/api_resources/queues/test_consumers.py
@@ -12,9 +12,9 @@
from cloudflare.types.queues import (
ConsumerGetResponse,
ConsumerCreateResponse,
- ConsumerDeleteResponse,
ConsumerUpdateResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -233,7 +233,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -248,7 +248,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"
consumer = response.parse()
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -263,7 +263,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
consumer = response.parse()
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -561,7 +561,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -576,7 +576,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"
consumer = await response.parse()
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -591,7 +591,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
consumer = await response.parse()
- assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], consumer, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/registrar/test_domains.py b/tests/api_resources/registrar/test_domains.py
index 69435a7178b5..5ee6af947204 100644
--- a/tests/api_resources/registrar/test_domains.py
+++ b/tests/api_resources/registrar/test_domains.py
@@ -10,7 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.registrar import DomainGetResponse, DomainListResponse, DomainUpdateResponse
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from cloudflare.types.registrar import DomainListResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -25,7 +26,7 @@ def test_method_update(self, client: Cloudflare) -> None:
"cloudflare.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +38,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
locked=False,
privacy=True,
)
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +51,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -63,7 +64,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -131,7 +132,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"cloudflare.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -144,7 +145,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -157,7 +158,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -187,7 +188,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
"cloudflare.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -199,7 +200,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
locked=False,
privacy=True,
)
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -212,7 +213,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +226,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainUpdateResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -293,7 +294,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"cloudflare.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -306,7 +307,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -319,7 +320,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
domain = await response.parse()
- assert_matches_type(Optional[DomainGetResponse], domain, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], domain, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/spectrum/analytics/events/test_bytimes.py b/tests/api_resources/spectrum/analytics/events/test_bytimes.py
index 9afdcf9b72a7..a0e175f30d38 100644
--- a/tests/api_resources/spectrum/analytics/events/test_bytimes.py
+++ b/tests/api_resources/spectrum/analytics/events/test_bytimes.py
@@ -3,14 +3,14 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare._utils import parse_datetime
-from cloudflare.types.spectrum.analytics.events import BytimeGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_get(self, client: Cloudflare) -> None:
bytime = client.spectrum.analytics.events.bytimes.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -39,7 +39,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
time_delta="minute",
until=parse_datetime("2014-01-02T03:20:00Z"),
)
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -51,7 +51,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bytime = response.parse()
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -63,7 +63,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bytime = response.parse()
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -85,7 +85,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
bytime = await async_client.spectrum.analytics.events.bytimes.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -100,7 +100,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
time_delta="minute",
until=parse_datetime("2014-01-02T03:20:00Z"),
)
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -112,7 +112,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bytime = await response.parse()
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -124,7 +124,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
bytime = await response.parse()
- assert_matches_type(Optional[BytimeGetResponse], bytime, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, bytime, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/spectrum/analytics/events/test_summaries.py b/tests/api_resources/spectrum/analytics/events/test_summaries.py
index 5f19bf08707b..196915980bad 100644
--- a/tests/api_resources/spectrum/analytics/events/test_summaries.py
+++ b/tests/api_resources/spectrum/analytics/events/test_summaries.py
@@ -3,14 +3,14 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare._utils import parse_datetime
-from cloudflare.types.spectrum.analytics.events import SummaryGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_get(self, client: Cloudflare) -> None:
summary = client.spectrum.analytics.events.summaries.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -38,7 +38,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
sort=["+count", "-bytesIngress"],
until=parse_datetime("2014-01-02T03:20:00Z"),
)
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
summary = response.parse()
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -62,7 +62,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
summary = response.parse()
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -84,7 +84,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
summary = await async_client.spectrum.analytics.events.summaries.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -98,7 +98,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
sort=["+count", "-bytesIngress"],
until=parse_datetime("2014-01-02T03:20:00Z"),
)
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -110,7 +110,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
summary = await response.parse()
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -122,7 +122,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
summary = await response.parse()
- assert_matches_type(Optional[SummaryGetResponse], summary, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, summary, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/spectrum/test_apps.py b/tests/api_resources/spectrum/test_apps.py
index baf6d870c203..125a20ed8057 100644
--- a/tests/api_resources/spectrum/test_apps.py
+++ b/tests/api_resources/spectrum/test_apps.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.spectrum import (
AppCreateResponse,
AppDeleteResponse,
@@ -328,7 +328,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -341,7 +341,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
app = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -354,7 +354,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
app = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -682,7 +682,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -695,7 +695,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
app = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -708,7 +708,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
app = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], app, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, app, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/ssl/test_analyze.py b/tests/api_resources/ssl/test_analyze.py
index ce96ca2df0cf..d4b07d25fe5a 100644
--- a/tests/api_resources/ssl/test_analyze.py
+++ b/tests/api_resources/ssl/test_analyze.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.ssl import AnalyzeCreateResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -23,7 +23,7 @@ def test_method_create(self, client: Cloudflare) -> None:
analyze = client.ssl.analyze.create(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -33,7 +33,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
bundle_method="ubiquitous",
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
)
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
analyze = response.parse()
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -57,7 +57,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
analyze = response.parse()
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -79,7 +79,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
analyze = await async_client.ssl.analyze.create(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -89,7 +89,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
bundle_method="ubiquitous",
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
)
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -101,7 +101,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
analyze = await response.parse()
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -113,7 +113,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
analyze = await response.parse()
- assert_matches_type(AnalyzeCreateResponse, analyze, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, analyze, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/ssl/test_certificate_packs.py b/tests/api_resources/ssl/test_certificate_packs.py
index 8cc4c1436fe5..13cad6ef8131 100644
--- a/tests/api_resources/ssl/test_certificate_packs.py
+++ b/tests/api_resources/ssl/test_certificate_packs.py
@@ -10,11 +10,13 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types.ssl import (
- CertificatePackGetResponse,
CertificatePackEditResponse,
- CertificatePackDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -81,7 +83,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -95,7 +97,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(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -109,7 +111,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(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -194,7 +196,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -207,7 +209,7 @@ def test_raw_response_get(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(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -220,7 +222,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = response.parse()
- assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -302,7 +304,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -316,7 +318,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(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -330,7 +332,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(CertificatePackDeleteResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -415,7 +417,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -428,7 +430,7 @@ async def test_raw_response_get(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(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -441,7 +443,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
certificate_pack = await response.parse()
- assert_matches_type(CertificatePackGetResponse, certificate_pack, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, certificate_pack, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_audio_tracks.py b/tests/api_resources/stream/test_audio_tracks.py
index ed0b79fd7773..a832f3bd63cf 100644
--- a/tests/api_resources/stream/test_audio_tracks.py
+++ b/tests/api_resources/stream/test_audio_tracks.py
@@ -9,11 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.stream import (
- StreamAudio,
- AudioTrackGetResponse,
- AudioTrackDeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+from cloudflare.types.stream import StreamAudio, AudioTrackGetResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +26,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
)
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -43,7 +40,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"
audio_track = response.parse()
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -57,7 +54,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
audio_track = response.parse()
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -293,7 +290,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
)
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -307,7 +304,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"
audio_track = await response.parse()
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -321,7 +318,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
audio_track = await response.parse()
- assert_matches_type(AudioTrackDeleteResponse, audio_track, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, audio_track, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_captions.py b/tests/api_resources/stream/test_captions.py
index 6365db01a96e..4993d08ce2c9 100644
--- a/tests/api_resources/stream/test_captions.py
+++ b/tests/api_resources/stream/test_captions.py
@@ -9,10 +9,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.stream import (
CaptionGetResponse,
CaptionDeleteResponse,
- CaptionUpdateResponse,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +30,7 @@ def test_method_update(self, client: Cloudflare) -> None:
identifier="ea95132c15732412d22c1476fa83f27a",
file="@/Users/kyle/Desktop/tr.vtt",
)
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
caption = response.parse()
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -60,7 +60,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
caption = response.parse()
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -226,7 +226,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
identifier="ea95132c15732412d22c1476fa83f27a",
file="@/Users/kyle/Desktop/tr.vtt",
)
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -241,7 +241,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
caption = await response.parse()
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -256,7 +256,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
caption = await response.parse()
- assert_matches_type(CaptionUpdateResponse, caption, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, caption, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_downloads.py b/tests/api_resources/stream/test_downloads.py
index c5a8662fa516..2f2474d8d0d4 100644
--- a/tests/api_resources/stream/test_downloads.py
+++ b/tests/api_resources/stream/test_downloads.py
@@ -9,10 +9,9 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.stream import (
- DownloadGetResponse,
- DownloadCreateResponse,
- DownloadDeleteResponse,
+from cloudflare.types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -43,7 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = response.parse()
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -57,7 +56,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = response.parse()
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -85,7 +84,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -98,7 +97,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"
download = response.parse()
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -111,7 +110,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = response.parse()
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -137,7 +136,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -150,7 +149,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = response.parse()
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -163,7 +162,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = response.parse()
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -194,7 +193,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -208,7 +207,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = await response.parse()
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -222,7 +221,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = await response.parse()
- assert_matches_type(DownloadCreateResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -250,7 +249,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -263,7 +262,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"
download = await response.parse()
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -276,7 +275,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = await response.parse()
- assert_matches_type(DownloadDeleteResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, download, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -302,7 +301,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -315,7 +314,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = await response.parse()
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -328,7 +327,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
download = await response.parse()
- assert_matches_type(DownloadGetResponse, download, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, download, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_keys.py b/tests/api_resources/stream/test_keys.py
index 0a1a04fcee29..178ecb20d1ae 100644
--- a/tests/api_resources/stream/test_keys.py
+++ b/tests/api_resources/stream/test_keys.py
@@ -9,7 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.stream import StreamKeys, KeyGetResponse, KeyDeleteResponse
+from cloudflare.types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
+from cloudflare.types.stream import StreamKeys, KeyGetResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -71,7 +72,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -85,7 +86,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"
key = response.parse()
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +100,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -220,7 +221,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -234,7 +235,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"
key = await response.parse()
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -248,7 +249,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyDeleteResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, key, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_watermarks.py b/tests/api_resources/stream/test_watermarks.py
index c32c8313abf3..9a68102941cc 100644
--- a/tests/api_resources/stream/test_watermarks.py
+++ b/tests/api_resources/stream/test_watermarks.py
@@ -10,12 +10,11 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef49
-from cloudflare.types.stream import (
- StreamWatermarks,
- WatermarkGetResponse,
- WatermarkCreateResponse,
+from cloudflare.types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
)
+from cloudflare.types.stream import StreamWatermarks
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
file="@/Users/rchen/Downloads/watermark.png",
)
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -44,7 +43,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
position="center",
scale=0.1,
)
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -57,7 +56,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = response.parse()
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -70,7 +69,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = response.parse()
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -133,7 +132,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -147,7 +146,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"
watermark = response.parse()
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -161,7 +160,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = response.parse()
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -189,7 +188,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -202,7 +201,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = response.parse()
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -215,7 +214,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = response.parse()
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -245,7 +244,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
file="@/Users/rchen/Downloads/watermark.png",
)
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -259,7 +258,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
position="center",
scale=0.1,
)
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -272,7 +271,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = await response.parse()
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -285,7 +284,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = await response.parse()
- assert_matches_type(WatermarkCreateResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -348,7 +347,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -362,7 +361,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"
watermark = await response.parse()
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -376,7 +375,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = await response.parse()
- assert_matches_type(UnnamedSchemaRef49, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -404,7 +403,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -417,7 +416,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = await response.parse()
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -430,7 +429,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
watermark = await response.parse()
- assert_matches_type(WatermarkGetResponse, watermark, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, watermark, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/stream/test_webhooks.py b/tests/api_resources/stream/test_webhooks.py
index d9ffbfa7de43..0e614b30d4f9 100644
--- a/tests/api_resources/stream/test_webhooks.py
+++ b/tests/api_resources/stream/test_webhooks.py
@@ -9,10 +9,9 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.stream import (
- WebhookGetResponse,
- WebhookDeleteResponse,
- WebhookUpdateResponse,
+from cloudflare.types.shared import (
+ UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
notification_url="https://example.com",
)
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -41,7 +40,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -54,7 +53,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -74,7 +73,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -87,7 +86,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"
webhook = response.parse()
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -100,7 +99,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -119,7 +118,7 @@ def test_method_get(self, client: Cloudflare) -> None:
webhook = client.stream.webhooks.get(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -131,7 +130,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -143,7 +142,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = response.parse()
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -166,7 +165,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
notification_url="https://example.com",
)
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -179,7 +178,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -192,7 +191,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(WebhookUpdateResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -212,7 +211,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +224,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"
webhook = await response.parse()
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -238,7 +237,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(WebhookDeleteResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -257,7 +256,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
webhook = await async_client.stream.webhooks.get(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -269,7 +268,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -281,7 +280,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
webhook = await response.parse()
- assert_matches_type(WebhookGetResponse, webhook, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, webhook, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py
index 272bd5c46fce..a8fa48afd293 100644
--- a/tests/api_resources/test_accounts.py
+++ b/tests/api_resources/test_accounts.py
@@ -9,8 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types import AccountGetResponse, AccountUpdateResponse
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -25,7 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id={},
name="Demo Account",
)
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -39,7 +39,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
"use_account_custom_ns_by_default": True,
},
)
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -52,7 +52,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -65,7 +65,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -114,7 +114,7 @@ def test_method_get(self, client: Cloudflare) -> None:
account = client.accounts.get(
account_id={},
)
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -126,7 +126,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -138,7 +138,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = response.parse()
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -153,7 +153,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id={},
name="Demo Account",
)
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -167,7 +167,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
"use_account_custom_ns_by_default": True,
},
)
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -180,7 +180,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -193,7 +193,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(AccountUpdateResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -242,7 +242,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
account = await async_client.accounts.get(
account_id={},
)
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -254,7 +254,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -266,6 +266,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
account = await response.parse()
- assert_matches_type(AccountGetResponse, account, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, account, 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 81fa03c2e4e9..4b38015f15c3 100644
--- a/tests/api_resources/test_custom_certificates.py
+++ b/tests/api_resources/test_custom_certificates.py
@@ -11,12 +11,12 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
CustomCertificate,
- CustomCertificateGetResponse,
- CustomCertificateEditResponse,
- CustomCertificateCreateResponse,
- CustomCertificateDeleteResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
+from cloudflare.types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -32,7 +32,7 @@ def test_method_create(self, client: Cloudflare) -> None:
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -46,7 +46,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
policy="(country: US) or (region: EU)",
type="sni_custom",
)
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -60,7 +60,7 @@ def test_raw_response_create(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(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -74,7 +74,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = response.parse()
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -150,7 +150,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -164,7 +164,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(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -178,7 +178,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(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -206,7 +206,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -220,7 +220,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
policy="(country: US) or (region: EU)",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -233,7 +233,7 @@ def test_raw_response_edit(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(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -246,7 +246,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = response.parse()
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -272,7 +272,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -285,7 +285,7 @@ def test_raw_response_get(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(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -298,7 +298,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = response.parse()
- assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -329,7 +329,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -343,7 +343,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
policy="(country: US) or (region: EU)",
type="sni_custom",
)
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -357,7 +357,7 @@ async def test_raw_response_create(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(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -371,7 +371,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = await response.parse()
- assert_matches_type(CustomCertificateCreateResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -447,7 +447,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -461,7 +461,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(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -475,7 +475,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(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -503,7 +503,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -517,7 +517,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
policy="(country: US) or (region: EU)",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -530,7 +530,7 @@ async def test_raw_response_edit(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(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -543,7 +543,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = await response.parse()
- assert_matches_type(CustomCertificateEditResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -569,7 +569,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -582,7 +582,7 @@ async def test_raw_response_get(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(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, custom_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -595,7 +595,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_certificate = await response.parse()
- assert_matches_type(CustomCertificateGetResponse, custom_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, 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 e45d10f59fd5..3e55370cd11b 100644
--- a/tests/api_resources/test_custom_hostnames.py
+++ b/tests/api_resources/test_custom_hostnames.py
@@ -14,9 +14,9 @@
CustomHostnameEditResponse,
CustomHostnameListResponse,
CustomHostnameCreateResponse,
- 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")
@@ -167,7 +167,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -181,7 +181,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(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -195,7 +195,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(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -495,7 +495,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -509,7 +509,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(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -523,7 +523,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(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, custom_hostname, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_custom_nameservers.py b/tests/api_resources/test_custom_nameservers.py
index 502a47dd7186..09664d89d16d 100644
--- a/tests/api_resources/test_custom_nameservers.py
+++ b/tests/api_resources/test_custom_nameservers.py
@@ -12,10 +12,10 @@
from cloudflare.types import (
CustomNameserver,
CustomNameserverGetResponse,
- CustomNameserverDeleteResponse,
CustomNameserverVerifyResponse,
CustomNameserverAvailabiltyResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -87,7 +87,9 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="372e67954025e0ba6aaa6d586b9e0b59",
body={},
)
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -101,7 +103,9 @@ 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_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -115,7 +119,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -334,7 +340,9 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="372e67954025e0ba6aaa6d586b9e0b59",
body={},
)
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -348,7 +356,9 @@ 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_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -362,7 +372,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_dnssec.py b/tests/api_resources/test_dnssec.py
index c854fe5ce793..5faa58dd16d4 100644
--- a/tests/api_resources/test_dnssec.py
+++ b/tests/api_resources/test_dnssec.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types import DNSSEC
-from cloudflare.types.shared import UnnamedSchemaRef49
+from cloudflare.types.shared import UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -25,7 +25,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -38,7 +38,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"
dnssec = response.parse()
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -51,7 +51,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
dnssec = response.parse()
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -170,7 +170,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -183,7 +183,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"
dnssec = await response.parse()
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -196,7 +196,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
dnssec = await response.parse()
- assert_matches_type(UnnamedSchemaRef49, dnssec, path=["response"])
+ assert_matches_type(UnnamedSchemaRef602dd5f63eab958d53da61434dec08f0, dnssec, 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 d08900466375..54d36cea601f 100644
--- a/tests/api_resources/test_keyless_certificates.py
+++ b/tests/api_resources/test_keyless_certificates.py
@@ -11,9 +11,9 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
KeylessCertificateHostname,
- 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")
@@ -142,7 +142,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -156,7 +156,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(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -170,7 +170,9 @@ 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(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -443,7 +445,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -457,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"
keyless_certificate = await response.parse()
- assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -471,7 +473,9 @@ 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(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, keyless_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_memberships.py b/tests/api_resources/test_memberships.py
index 5f0f4fb7056d..eacb0087301a 100644
--- a/tests/api_resources/test_memberships.py
+++ b/tests/api_resources/test_memberships.py
@@ -11,11 +11,10 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
Membership,
- MembershipGetResponse,
MembershipDeleteResponse,
- MembershipUpdateResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +29,7 @@ def test_method_update(self, client: Cloudflare) -> None:
"4536bcfad5faccb111b47003c79917fa",
status="accepted",
)
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -43,7 +42,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = response.parse()
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -56,7 +55,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = response.parse()
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -163,7 +162,7 @@ def test_method_get(self, client: Cloudflare) -> None:
membership = client.memberships.get(
"4536bcfad5faccb111b47003c79917fa",
)
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -175,7 +174,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = response.parse()
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -187,7 +186,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = response.parse()
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -210,7 +209,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
"4536bcfad5faccb111b47003c79917fa",
status="accepted",
)
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -223,7 +222,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = await response.parse()
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -236,7 +235,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = await response.parse()
- assert_matches_type(MembershipUpdateResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -343,7 +342,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
membership = await async_client.memberships.get(
"4536bcfad5faccb111b47003c79917fa",
)
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -355,7 +354,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = await response.parse()
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -367,7 +366,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
membership = await response.parse()
- assert_matches_type(MembershipGetResponse, membership, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, membership, 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 1b640b94000b..6d25f679da5f 100644
--- a/tests/api_resources/test_origin_ca_certificates.py
+++ b/tests/api_resources/test_origin_ca_certificates.py
@@ -11,11 +11,12 @@
from tests.utils import assert_matches_type
from cloudflare.types import (
OriginCACertificate,
- OriginCACertificateGetResponse,
- OriginCACertificateCreateResponse,
- OriginCACertificateDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import (
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837,
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a,
+)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -27,7 +28,7 @@ class TestOriginCACertificates:
@parametrize
def test_method_create(self, client: Cloudflare) -> None:
origin_ca_certificate = client.origin_ca_certificates.create()
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -38,7 +39,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
request_type="origin-rsa",
requested_validity=5475,
)
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -48,7 +49,7 @@ def test_raw_response_create(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(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -58,7 +59,9 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = response.parse()
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -105,7 +108,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -118,7 +121,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(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -131,7 +134,9 @@ 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(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -150,7 +155,7 @@ def test_method_get(self, client: Cloudflare) -> None:
origin_ca_certificate = client.origin_ca_certificates.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -162,7 +167,7 @@ def test_raw_response_get(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(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -174,7 +179,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = response.parse()
- assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -194,7 +201,7 @@ class TestAsyncOriginCACertificates:
@parametrize
async def test_method_create(self, async_client: AsyncCloudflare) -> None:
origin_ca_certificate = await async_client.origin_ca_certificates.create()
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -205,7 +212,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
request_type="origin-rsa",
requested_validity=5475,
)
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -215,7 +222,7 @@ async def test_raw_response_create(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(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -225,7 +232,9 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = await response.parse()
- assert_matches_type(OriginCACertificateCreateResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -272,7 +281,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -285,7 +294,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(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -298,7 +307,9 @@ 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(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef8900f4cb9dca9b9ed0ac41ad571e6837, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -317,7 +328,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
origin_ca_certificate = await async_client.origin_ca_certificates.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -329,7 +340,7 @@ async def test_raw_response_get(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(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -341,7 +352,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_ca_certificate = await response.parse()
- assert_matches_type(OriginCACertificateGetResponse, origin_ca_certificate, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_ca_certificate, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_origin_post_quantum_encryption.py b/tests/api_resources/test_origin_post_quantum_encryption.py
index 794b93f5d90d..d21b5ded7c70 100644
--- a/tests/api_resources/test_origin_post_quantum_encryption.py
+++ b/tests/api_resources/test_origin_post_quantum_encryption.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types import (
- OriginPostQuantumEncryptionGetResponse,
- OriginPostQuantumEncryptionUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +25,7 @@ def test_method_update(self, client: Cloudflare) -> None:
value="preferred",
)
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
@pytest.mark.skip()
@@ -43,7 +40,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_post_quantum_encryption = response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
@pytest.mark.skip()
@@ -58,7 +55,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
origin_post_quantum_encryption = response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
assert cast(Any, response.is_closed) is True
@@ -78,7 +75,9 @@ def test_method_get(self, client: Cloudflare) -> None:
origin_post_quantum_encryption = client.origin_post_quantum_encryption.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -90,7 +89,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_post_quantum_encryption = response.parse()
- assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -103,7 +104,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
origin_post_quantum_encryption = response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
assert cast(Any, response.is_closed) is True
@@ -128,7 +129,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
value="preferred",
)
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
@pytest.mark.skip()
@@ -143,7 +144,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_post_quantum_encryption = await response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
@pytest.mark.skip()
@@ -158,7 +159,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
origin_post_quantum_encryption = await response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionUpdateResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
assert cast(Any, response.is_closed) is True
@@ -178,7 +179,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
origin_post_quantum_encryption = await async_client.origin_post_quantum_encryption.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -190,7 +193,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_post_quantum_encryption = await response.parse()
- assert_matches_type(OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -203,7 +208,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
origin_post_quantum_encryption = await response.parse()
assert_matches_type(
- OriginPostQuantumEncryptionGetResponse, origin_post_quantum_encryption, path=["response"]
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_post_quantum_encryption, path=["response"]
)
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_origin_tls_client_auth.py b/tests/api_resources/test_origin_tls_client_auth.py
index ebadfa7603cf..9df0577c0d92 100644
--- a/tests/api_resources/test_origin_tls_client_auth.py
+++ b/tests/api_resources/test_origin_tls_client_auth.py
@@ -10,12 +10,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types import (
- OriginTLSClientAuthGetResponse,
OriginTLSClientAuthListResponse,
- OriginTLSClientAuthCreateResponse,
- OriginTLSClientAuthDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -31,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +43,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -59,7 +57,9 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -125,7 +125,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -139,7 +139,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_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -153,7 +153,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -181,7 +183,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -194,7 +196,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -207,7 +209,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = response.parse()
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -238,7 +242,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
certificate="-----BEGIN CERTIFICATE-----\nMIIDtTCCAp2gAwIBAgIJAMHAwfXZ5/PWMA0GCSqGSIb3DQEBCwUAMEUxCzAJBgNV\nBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX\naWRnaXRzIFB0eSBMdGQwHhcNMTYwODI0MTY0MzAxWhcNMTYxMTIyMTY0MzAxWjBF\nMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEhMB8GA1UEChMYSW50\nZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\nCgKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmGdtcGbg/1\nCGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKnabIRuGvB\nKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpidtnKX/a+5\n0GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+pyFxIXjbEI\ndZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pEewooaeO2\nizNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABo4GnMIGkMB0GA1UdDgQWBBT/LbE4\n9rWf288N6sJA5BRb6FJIGDB1BgNVHSMEbjBsgBT/LbE49rWf288N6sJA5BRb6FJI\nGKFJpEcwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgTClNvbWUtU3RhdGUxITAfBgNV\nBAoTGEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZIIJAMHAwfXZ5/PWMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAHHFwl0tH0quUYZYO0dZYt4R7SJ0pCm2\n2satiyzHl4OnXcHDpekAo7/a09c6Lz6AU83cKy/+x3/djYHXWba7HpEu0dR3ugQP\nMlr4zrhd9xKZ0KZKiYmtJH+ak4OM4L3FbT0owUZPyjLSlhMtJVcoRp5CJsjAMBUG\nSvD8RX+T01wzox/Qb+lnnNnOlaWpqu8eoOenybxKp1a9ULzIVvN/LAcc+14vioFq\n2swRWtmocBAs8QR9n4uvbpiYvS8eYueDCWMM4fvFfBhaDZ3N9IbtySh3SpFdQDhw\nYbjM2rxXiyLGxB4Bol7QTv4zHif7Zt89FReT/NBy4rzaskDJY5L6xmY=\n-----END CERTIFICATE-----\n",
private_key="-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwQHoetcl9+5ikGzV6cMzWtWPJHqXT3wpbEkRU9Yz7lgvddmG\ndtcGbg/1CGZu0jJGkMoppoUo4c3dts3iwqRYmBikUP77wwY2QGmDZw2FvkJCJlKn\nabIRuGvBKwzESIXgKk2016aTP6/dAjEHyo6SeoK8lkIySUvK0fyOVlsiEsCmOpid\ntnKX/a+50GjB79CJH4ER2lLVZnhePFR/zUOyPxZQQ4naHf7yu/b5jhO0f8fwt+py\nFxIXjbEIdZliWRkRMtzrHOJIhrmJ2A1J7iOrirbbwillwjjNVUWPf3IJ3M12S9pE\newooaeO2izNTERcG9HzAacbVRn2Y2SWIyT/18QIDAQABAoIBACbhTYXBZYKmYPCb\nHBR1IBlCQA2nLGf0qRuJNJZg5iEzXows/6tc8YymZkQE7nolapWsQ+upk2y5Xdp/\naxiuprIs9JzkYK8Ox0r+dlwCG1kSW+UAbX0bQ/qUqlsTvU6muVuMP8vZYHxJ3wmb\n+ufRBKztPTQ/rYWaYQcgC0RWI20HTFBMxlTAyNxYNWzX7RKFkGVVyB9RsAtmcc8g\n+j4OdosbfNoJPS0HeIfNpAznDfHKdxDk2Yc1tV6RHBrC1ynyLE9+TaflIAdo2MVv\nKLMLq51GqYKtgJFIlBRPQqKoyXdz3fGvXrTkf/WY9QNq0J1Vk5ERePZ54mN8iZB7\n9lwy/AkCgYEA6FXzosxswaJ2wQLeoYc7ceaweX/SwTvxHgXzRyJIIT0eJWgx13Wo\n/WA3Iziimsjf6qE+SI/8laxPp2A86VMaIt3Z3mJN/CqSVGw8LK2AQst+OwdPyDMu\niacE8lj/IFGC8mwNUAb9CzGU3JpU4PxxGFjS/eMtGeRXCWkK4NE+G08CgYEA1Kp9\nN2JrVlqUz+gAX+LPmE9OEMAS9WQSQsfCHGogIFDGGcNf7+uwBM7GAaSJIP01zcoe\nVAgWdzXCv3FLhsaZoJ6RyLOLay5phbu1iaTr4UNYm5WtYTzMzqh8l1+MFFDl9xDB\nvULuCIIrglM5MeS/qnSg1uMoH2oVPj9TVst/ir8CgYEAxrI7Ws9Zc4Bt70N1As+U\nlySjaEVZCMkqvHJ6TCuVZFfQoE0r0whdLdRLU2PsLFP+q7qaeZQqgBaNSKeVcDYR\n9B+nY/jOmQoPewPVsp/vQTCnE/R81spu0mp0YI6cIheT1Z9zAy322svcc43JaWB7\nmEbeqyLOP4Z4qSOcmghZBSECgYACvR9Xs0DGn+wCsW4vze/2ei77MD4OQvepPIFX\ndFZtlBy5ADcgE9z0cuVB6CiL8DbdK5kwY9pGNr8HUCI03iHkW6Zs+0L0YmihfEVe\nPG19PSzK9CaDdhD9KFZSbLyVFmWfxOt50H7YRTTiPMgjyFpfi5j2q348yVT0tEQS\nfhRqaQKBgAcWPokmJ7EbYQGeMbS7HC8eWO/RyamlnSffdCdSc7ue3zdVJxpAkQ8W\nqu80pEIF6raIQfAf8MXiiZ7auFOSnHQTXUbhCpvDLKi0Mwq3G8Pl07l+2s6dQG6T\nlv6XTQaMyf6n1yjzL+fzDrH3qXMxHMO/b13EePXpDMpY7HQpoLDi\n-----END RSA PRIVATE KEY-----\n",
)
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -252,7 +256,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -266,7 +270,9 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthCreateResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -332,7 +338,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -346,7 +352,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_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -360,7 +366,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -388,7 +396,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -401,7 +409,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -414,7 +422,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
origin_tls_client_auth = await response.parse()
- assert_matches_type(OriginTLSClientAuthGetResponse, origin_tls_client_auth, path=["response"])
+ assert_matches_type(
+ UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, origin_tls_client_auth, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_pagerules.py b/tests/api_resources/test_pagerules.py
index 7fd08df02973..168cf507c86b 100644
--- a/tests/api_resources/test_pagerules.py
+++ b/tests/api_resources/test_pagerules.py
@@ -10,13 +10,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types import (
- PageruleGetResponse,
- PageruleEditResponse,
PageruleListResponse,
- PageruleCreateResponse,
PageruleDeleteResponse,
- PageruleUpdateResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -40,7 +37,7 @@ def test_method_create(self, client: Cloudflare) -> None:
}
],
)
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -68,7 +65,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
priority=0,
status="active",
)
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -90,7 +87,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -112,7 +109,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -151,7 +148,7 @@ def test_method_update(self, client: Cloudflare) -> None:
}
],
)
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -180,7 +177,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
priority=0,
status="active",
)
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -203,7 +200,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -226,7 +223,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -383,7 +380,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -412,7 +409,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
}
],
)
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -425,7 +422,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -438,7 +435,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -464,7 +461,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -477,7 +474,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -490,7 +487,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = response.parse()
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -529,7 +526,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
}
],
)
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -557,7 +554,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
priority=0,
status="active",
)
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -579,7 +576,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -601,7 +598,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleCreateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -640,7 +637,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
}
],
)
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -669,7 +666,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
priority=0,
status="active",
)
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -692,7 +689,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -715,7 +712,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleUpdateResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -872,7 +869,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -901,7 +898,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
}
],
)
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -914,7 +911,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -927,7 +924,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleEditResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -953,7 +950,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -966,7 +963,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -979,7 +976,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pagerule = await response.parse()
- assert_matches_type(PageruleGetResponse, pagerule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, pagerule, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py
index 09a971a7f1c9..1ab9e543cb1f 100644
--- a/tests/api_resources/test_queues.py
+++ b/tests/api_resources/test_queues.py
@@ -13,9 +13,9 @@
QueueGetResponse,
QueueListResponse,
QueueCreateResponse,
- QueueDeleteResponse,
QueueUpdateResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -176,7 +176,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -190,7 +190,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"
queue = response.parse()
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -204,7 +204,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
queue = response.parse()
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -434,7 +434,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -448,7 +448,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"
queue = await response.parse()
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -462,7 +462,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
queue = await response.parse()
- assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], queue, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_rate_limits.py b/tests/api_resources/test_rate_limits.py
index a86a043e8ca0..c0e5daabc2fe 100644
--- a/tests/api_resources/test_rate_limits.py
+++ b/tests/api_resources/test_rate_limits.py
@@ -14,7 +14,7 @@
RateLimitDeleteResponse,
)
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -55,7 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -185,7 +185,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -199,7 +199,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -213,7 +213,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -241,7 +241,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -254,7 +254,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -267,7 +267,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -297,7 +297,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -310,7 +310,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -323,7 +323,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -453,7 +453,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -467,7 +467,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -481,7 +481,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -509,7 +509,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -522,7 +522,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -535,7 +535,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rate_limit = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], rate_limit, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rate_limit, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_snippets.py b/tests/api_resources/test_snippets.py
index 1f583ebbbdc9..fcf0594f1521 100644
--- a/tests/api_resources/test_snippets.py
+++ b/tests/api_resources/test_snippets.py
@@ -11,7 +11,7 @@
from tests.utils import assert_matches_type
from cloudflare.types import Snippet
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -131,7 +131,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"snippet_name_01",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -144,7 +144,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"
snippet = response.parse()
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -157,7 +157,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
snippet = response.parse()
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -344,7 +344,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"snippet_name_01",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -357,7 +357,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"
snippet = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -370,7 +370,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
snippet = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, snippet, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, snippet, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_subscriptions.py b/tests/api_resources/test_subscriptions.py
index b017964b607c..3427c55b72ba 100644
--- a/tests/api_resources/test_subscriptions.py
+++ b/tests/api_resources/test_subscriptions.py
@@ -10,13 +10,11 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types import (
- SubscriptionGetResponse,
SubscriptionListResponse,
- SubscriptionCreateResponse,
- SubscriptionUpdateResponse,
+ SubscriptionDeleteResponse,
)
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef3
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None:
subscription = client.subscriptions.create(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -70,7 +68,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
},
zone={},
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -82,7 +80,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -94,7 +92,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -113,7 +111,7 @@ def test_method_update(self, client: Cloudflare) -> None:
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -154,7 +152,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
},
zone={},
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -167,7 +165,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -180,7 +178,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -251,7 +249,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -265,7 +263,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"
subscription = response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -279,7 +277,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -308,7 +306,7 @@ def test_method_get(self, client: Cloudflare) -> None:
subscription = client.subscriptions.get(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -320,7 +318,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -332,7 +330,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -354,7 +352,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.subscriptions.create(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -394,7 +392,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
},
zone={},
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -406,7 +404,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -418,7 +416,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -437,7 +435,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -478,7 +476,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
},
zone={},
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -491,7 +489,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -504,7 +502,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -575,7 +573,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -589,7 +587,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"
subscription = await response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -603,7 +601,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -632,7 +630,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.subscriptions.get(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -644,7 +642,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -656,7 +654,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_user.py b/tests/api_resources/test_user.py
index 0d384f15858b..59733454a1cb 100644
--- a/tests/api_resources/test_user.py
+++ b/tests/api_resources/test_user.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types import UserGetResponse, UserEditResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -21,7 +21,7 @@ class TestUser:
@parametrize
def test_method_edit(self, client: Cloudflare) -> None:
user = client.user.edit()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -33,7 +33,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
telephone="+1 123-123-1234",
zipcode="12345",
)
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -43,7 +43,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = response.parse()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -53,7 +53,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = response.parse()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -61,7 +61,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
@parametrize
def test_method_get(self, client: Cloudflare) -> None:
user = client.user.get()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -71,7 +71,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = response.parse()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = response.parse()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -93,7 +93,7 @@ class TestAsyncUser:
@parametrize
async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
user = await async_client.user.edit()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -105,7 +105,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
telephone="+1 123-123-1234",
zipcode="12345",
)
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -115,7 +115,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = await response.parse()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -125,7 +125,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = await response.parse()
- assert_matches_type(UserEditResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -133,7 +133,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
@parametrize
async def test_method_get(self, async_client: AsyncCloudflare) -> None:
user = await async_client.user.get()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -143,7 +143,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = await response.parse()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -153,6 +153,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
user = await response.parse()
- assert_matches_type(UserGetResponse, user, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, user, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/test_warp_connector.py b/tests/api_resources/test_warp_connector.py
index 835f7b83b7fb..6badb18aa018 100644
--- a/tests/api_resources/test_warp_connector.py
+++ b/tests/api_resources/test_warp_connector.py
@@ -14,7 +14,7 @@
)
from cloudflare._utils import parse_datetime
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef123
+from cloudflare.types.shared import UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +29,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
name="blog",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +42,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -55,7 +55,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -74,7 +74,11 @@ def test_method_list(self, client: Cloudflare) -> None:
warp_connector = client.warp_connector.list(
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -92,7 +96,11 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
was_active_at=parse_datetime("2009-11-10T23:00:00Z"),
was_inactive_at=parse_datetime("2009-11-10T23:00:00Z"),
)
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -104,7 +112,11 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -116,7 +128,11 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
assert cast(Any, response.is_closed) is True
@@ -136,7 +152,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -150,7 +166,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"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -164,7 +180,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -192,7 +208,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -203,7 +219,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
name="blog",
tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -216,7 +232,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -229,7 +245,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -255,7 +271,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -268,7 +284,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -281,7 +297,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -363,7 +379,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
name="blog",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -376,7 +392,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -389,7 +405,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -408,7 +424,11 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
warp_connector = await async_client.warp_connector.list(
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -426,7 +446,11 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
was_active_at=parse_datetime("2009-11-10T23:00:00Z"),
was_inactive_at=parse_datetime("2009-11-10T23:00:00Z"),
)
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -438,7 +462,11 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
@pytest.mark.skip()
@parametrize
@@ -450,7 +478,11 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], warp_connector, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8],
+ warp_connector,
+ path=["response"],
+ )
assert cast(Any, response.is_closed) is True
@@ -470,7 +502,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -484,7 +516,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"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -498,7 +530,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -526,7 +558,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -537,7 +569,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
name="blog",
tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -550,7 +582,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -563,7 +595,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -589,7 +621,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -602,7 +634,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -615,7 +647,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
warp_connector = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, warp_connector, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, warp_connector, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/user/billing/test_profile.py b/tests/api_resources/user/billing/test_profile.py
index fdeecb4384e6..8341e2f7f7e5 100644
--- a/tests/api_resources/user/billing/test_profile.py
+++ b/tests/api_resources/user/billing/test_profile.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.user.billing import ProfileGetResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -21,7 +21,7 @@ class TestProfile:
@parametrize
def test_method_get(self, client: Cloudflare) -> None:
profile = client.user.billing.profile.get()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -31,7 +31,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -41,7 +41,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -53,7 +53,7 @@ class TestAsyncProfile:
@parametrize
async def test_method_get(self, async_client: AsyncCloudflare) -> None:
profile = await async_client.user.billing.profile.get()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -63,7 +63,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = await response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -73,6 +73,6 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
profile = await response.parse()
- assert_matches_type(ProfileGetResponse, profile, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, profile, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/user/test_invites.py b/tests/api_resources/user/test_invites.py
index 9527cdf4a38f..095855195bb0 100644
--- a/tests/api_resources/user/test_invites.py
+++ b/tests/api_resources/user/test_invites.py
@@ -10,7 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.user import InviteGetResponse, InviteEditResponse, InviteListResponse
+from cloudflare.types.user import InviteListResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -53,7 +54,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
"4f5f0c14a2a41d5063dd301b2f829f04",
status="accepted",
)
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -66,7 +67,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = response.parse()
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -79,7 +80,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = response.parse()
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -98,7 +99,7 @@ def test_method_get(self, client: Cloudflare) -> None:
invite = client.user.invites.get(
"4f5f0c14a2a41d5063dd301b2f829f04",
)
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -110,7 +111,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = response.parse()
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -122,7 +123,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = response.parse()
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -173,7 +174,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"4f5f0c14a2a41d5063dd301b2f829f04",
status="accepted",
)
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -186,7 +187,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = await response.parse()
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -199,7 +200,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = await response.parse()
- assert_matches_type(InviteEditResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -218,7 +219,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
invite = await async_client.user.invites.get(
"4f5f0c14a2a41d5063dd301b2f829f04",
)
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -230,7 +231,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = await response.parse()
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -242,7 +243,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
invite = await response.parse()
- assert_matches_type(InviteGetResponse, invite, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, invite, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/user/test_organizations.py b/tests/api_resources/user/test_organizations.py
index 9d3593991ee0..9683a086bdc3 100644
--- a/tests/api_resources/user/test_organizations.py
+++ b/tests/api_resources/user/test_organizations.py
@@ -12,9 +12,9 @@
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
from cloudflare.types.user import (
Organization,
- OrganizationGetResponse,
OrganizationDeleteResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -116,7 +116,7 @@ def test_method_get(self, client: Cloudflare) -> None:
organization = client.user.organizations.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -128,7 +128,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
organization = response.parse()
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -140,7 +140,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
organization = response.parse()
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -250,7 +250,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
organization = await async_client.user.organizations.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -262,7 +262,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
organization = await response.parse()
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -274,7 +274,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
organization = await response.parse()
- assert_matches_type(OrganizationGetResponse, organization, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, organization, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/user/test_subscriptions.py b/tests/api_resources/user/test_subscriptions.py
index 1b1ab2ca84c2..bbc51d17643a 100644
--- a/tests/api_resources/user/test_subscriptions.py
+++ b/tests/api_resources/user/test_subscriptions.py
@@ -11,10 +11,9 @@
from tests.utils import assert_matches_type
from cloudflare.types.user import (
SubscriptionGetResponse,
- SubscriptionEditResponse,
- SubscriptionUpdateResponse,
+ SubscriptionDeleteResponse,
)
-from cloudflare.types.shared import UnnamedSchemaRef3
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +27,7 @@ def test_method_update(self, client: Cloudflare) -> None:
subscription = client.user.subscriptions.update(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -68,7 +67,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
},
zone={},
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -80,7 +79,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -92,7 +91,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -111,7 +110,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"506e3185e9c882d175a2d0cb0093d9f2",
body={},
)
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -124,7 +123,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"
subscription = response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -137,7 +136,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -156,7 +155,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
subscription = client.user.subscriptions.edit(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -196,7 +195,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
},
zone={},
)
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -208,7 +207,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -220,7 +219,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -270,7 +269,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.user.subscriptions.update(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -310,7 +309,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
},
zone={},
)
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -322,7 +321,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -334,7 +333,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionUpdateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -353,7 +352,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"506e3185e9c882d175a2d0cb0093d9f2",
body={},
)
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -366,7 +365,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"
subscription = await response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -379,7 +378,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(UnnamedSchemaRef3, subscription, path=["response"])
+ assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -398,7 +397,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.user.subscriptions.edit(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -438,7 +437,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
},
zone={},
)
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -450,7 +449,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -462,7 +461,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionEditResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/user/test_tokens.py b/tests/api_resources/user/test_tokens.py
index 69ffa843fff4..be3ecd9e7334 100644
--- a/tests/api_resources/user/test_tokens.py
+++ b/tests/api_resources/user/test_tokens.py
@@ -12,12 +12,11 @@
from cloudflare._utils import parse_datetime
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
from cloudflare.types.user import (
- TokenGetResponse,
TokenCreateResponse,
TokenDeleteResponse,
- TokenUpdateResponse,
TokenVerifyResponse,
)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -213,7 +212,7 @@ def test_method_update(self, client: Cloudflare) -> None:
],
status="active",
)
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -257,7 +256,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
expires_on=parse_datetime("2020-01-01T00:00:00Z"),
not_before=parse_datetime("2018-07-01T05:20:00Z"),
)
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -297,7 +296,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = response.parse()
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -337,7 +336,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = response.parse()
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -422,7 +421,7 @@ def test_method_get(self, client: Cloudflare) -> None:
token = client.user.tokens.get(
{},
)
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -434,7 +433,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = response.parse()
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -446,7 +445,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = response.parse()
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -670,7 +669,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
],
status="active",
)
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -714,7 +713,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
expires_on=parse_datetime("2020-01-01T00:00:00Z"),
not_before=parse_datetime("2018-07-01T05:20:00Z"),
)
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -754,7 +753,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = await response.parse()
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -794,7 +793,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = await response.parse()
- assert_matches_type(TokenUpdateResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -879,7 +878,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
token = await async_client.user.tokens.get(
{},
)
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -891,7 +890,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = await response.parse()
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -903,7 +902,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
token = await response.parse()
- assert_matches_type(TokenGetResponse, token, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, token, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/vectorize/test_indexes.py b/tests/api_resources/vectorize/test_indexes.py
index 0d3eb1cc3f6b..a8e753418caf 100644
--- a/tests/api_resources/vectorize/test_indexes.py
+++ b/tests/api_resources/vectorize/test_indexes.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.vectorize import (
VectorizeIndexQuery,
VectorizeCreateIndex,
@@ -192,7 +192,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
"example-index",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -205,7 +205,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"
index = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -218,7 +218,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
index = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -763,7 +763,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"example-index",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -776,7 +776,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"
index = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -789,7 +789,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
index = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], index, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, index, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/workers/scripts/test_deployments.py b/tests/api_resources/workers/scripts/test_deployments.py
index 5ff04d519c5b..f650505f6461 100644
--- a/tests/api_resources/workers/scripts/test_deployments.py
+++ b/tests/api_resources/workers/scripts/test_deployments.py
@@ -9,7 +9,10 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.workers.scripts import DeploymentGetResponse, DeploymentCreateResponse
+from cloudflare.types.workers.scripts import (
+ DeploymentGetResponse,
+ DeploymentCreateResponse,
+)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
diff --git a/tests/api_resources/workers/scripts/test_tail.py b/tests/api_resources/workers/scripts/test_tail.py
index 546fca2b0abd..afe6b465782a 100644
--- a/tests/api_resources/workers/scripts/test_tail.py
+++ b/tests/api_resources/workers/scripts/test_tail.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef171
+from cloudflare.types.shared import UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846
from cloudflare.types.workers.scripts import TailGetResponse, TailCreateResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -84,7 +84,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
script_name="this-is_my_script-01",
body={},
)
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +99,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"
tail = response.parse()
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -114,7 +114,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tail = response.parse()
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -267,7 +267,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
script_name="this-is_my_script-01",
body={},
)
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -282,7 +282,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"
tail = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -297,7 +297,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tail = await response.parse()
- assert_matches_type(UnnamedSchemaRef171, tail, path=["response"])
+ assert_matches_type(UnnamedSchemaRefEc4d85c3d1bcc6b3b7e99c199ae99846, tail, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/workers/test_routes.py b/tests/api_resources/workers/test_routes.py
index 29eeb5347e2d..4e447461d816 100644
--- a/tests/api_resources/workers/test_routes.py
+++ b/tests/api_resources/workers/test_routes.py
@@ -10,11 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.workers import (
- WorkersRoute,
- RouteCreateResponse,
- RouteDeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
+from cloudflare.types.workers import WorkersRoute
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -29,7 +26,7 @@ def test_method_create(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
pattern="example.net/*",
)
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -39,7 +36,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
pattern="example.net/*",
script="this-is_my_script-01",
)
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -52,7 +49,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = response.parse()
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -65,7 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = response.parse()
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -196,7 +193,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -210,7 +207,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"
route = response.parse()
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -224,7 +221,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = response.parse()
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -308,7 +305,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
pattern="example.net/*",
)
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -318,7 +315,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
pattern="example.net/*",
script="this-is_my_script-01",
)
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -331,7 +328,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = await response.parse()
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -344,7 +341,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = await response.parse()
- assert_matches_type(RouteCreateResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -475,7 +472,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -489,7 +486,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"
route = await response.parse()
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -503,7 +500,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
route = await response.parse()
- assert_matches_type(RouteDeleteResponse, route, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, route, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/access/applications/test_cas.py b/tests/api_resources/zero_trust/access/applications/test_cas.py
index 3ac1aafb0b7b..114308d8c8d9 100644
--- a/tests/api_resources/zero_trust/access/applications/test_cas.py
+++ b/tests/api_resources/zero_trust/access/applications/test_cas.py
@@ -10,12 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.zero_trust.access.applications import (
- ZeroTrustCA,
- CAGetResponse,
- CACreateResponse,
- CADeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
+from cloudflare.types.zero_trust.access.applications import ZeroTrustCA, CADeleteResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -31,7 +27,7 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -41,7 +37,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -55,7 +51,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = response.parse()
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -69,7 +65,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = response.parse()
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -240,7 +236,7 @@ def test_method_get(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -250,7 +246,7 @@ def test_method_get_with_all_params(self, client: Cloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -264,7 +260,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = response.parse()
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -278,7 +274,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = response.parse()
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -318,7 +314,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -328,7 +324,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
account_id="string",
zone_id="string",
)
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -342,7 +338,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = await response.parse()
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -356,7 +352,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = await response.parse()
- assert_matches_type(CACreateResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -527,7 +523,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
account_id="string",
zone_id="string",
)
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -537,7 +533,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncCloudflare) -
account_id="string",
zone_id="string",
)
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -551,7 +547,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = await response.parse()
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -565,7 +561,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
ca = await response.parse()
- assert_matches_type(CAGetResponse, ca, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, ca, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/access/test_keys.py b/tests/api_resources/zero_trust/access/test_keys.py
index 3485f9113bb2..dd94a7159aa3 100644
--- a/tests/api_resources/zero_trust/access/test_keys.py
+++ b/tests/api_resources/zero_trust/access/test_keys.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.access import KeyGetResponse, KeyRotateResponse, KeyUpdateResponse
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_update(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
key_rotation_interval_days=30,
)
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +37,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -69,7 +69,7 @@ def test_method_get(self, client: Cloudflare) -> None:
key = client.zero_trust.access.keys.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -93,7 +93,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -111,7 +111,7 @@ def test_method_rotate(self, client: Cloudflare) -> None:
key = client.zero_trust.access.keys.rotate(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -123,7 +123,7 @@ def test_raw_response_rotate(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -135,7 +135,7 @@ def test_streaming_response_rotate(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = response.parse()
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -158,7 +158,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
key_rotation_interval_days=30,
)
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -171,7 +171,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -184,7 +184,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyUpdateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -203,7 +203,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
key = await async_client.zero_trust.access.keys.get(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -215,7 +215,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -227,7 +227,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyGetResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -245,7 +245,7 @@ async def test_method_rotate(self, async_client: AsyncCloudflare) -> None:
key = await async_client.zero_trust.access.keys.rotate(
"023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -257,7 +257,7 @@ async def test_raw_response_rotate(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -269,7 +269,7 @@ async def test_streaming_response_rotate(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
key = await response.parse()
- assert_matches_type(KeyRotateResponse, key, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, key, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/devices/posture/test_integrations.py b/tests/api_resources/zero_trust/devices/posture/test_integrations.py
index 0c1bc24516d7..18e245d3cc0e 100644
--- a/tests/api_resources/zero_trust/devices/posture/test_integrations.py
+++ b/tests/api_resources/zero_trust/devices/posture/test_integrations.py
@@ -10,7 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust.devices.posture import (
DevicePostureIntegrations,
)
@@ -166,7 +166,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -180,7 +180,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"
integration = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -194,7 +194,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
integration = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -486,7 +486,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -500,7 +500,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"
integration = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -514,7 +514,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
integration = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], integration, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, integration, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/devices/test_revoke.py b/tests/api_resources/zero_trust/devices/test_revoke.py
index 4ccc5d675c94..ab512905d6f7 100644
--- a/tests/api_resources/zero_trust/devices/test_revoke.py
+++ b/tests/api_resources/zero_trust/devices/test_revoke.py
@@ -3,13 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
],
)
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
revoke = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -62,7 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
revoke = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -94,7 +94,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
],
)
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -111,7 +111,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
revoke = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -128,7 +128,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
revoke = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], revoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, revoke, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/devices/test_unrevoke.py b/tests/api_resources/zero_trust/devices/test_unrevoke.py
index 2987e36d0f73..da363198ba2f 100644
--- a/tests/api_resources/zero_trust/devices/test_unrevoke.py
+++ b/tests/api_resources/zero_trust/devices/test_unrevoke.py
@@ -3,13 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +28,7 @@ def test_method_create(self, client: Cloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
],
)
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
unrevoke = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -62,7 +62,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
unrevoke = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -94,7 +94,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
],
)
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -111,7 +111,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
unrevoke = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -128,7 +128,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
unrevoke = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], unrevoke, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, unrevoke, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
index ecfdaac80737..4afe5f4caf8c 100644
--- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
+++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
@@ -9,7 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.shared import UnnamedSchemaRef169
+from cloudflare.types.shared import UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f
from cloudflare.types.zero_trust.dlp.profiles import (
DLPCustomProfile,
CustomCreateResponse,
@@ -174,7 +174,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -188,7 +188,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 = response.parse()
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -202,7 +202,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom = response.parse()
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -432,7 +432,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -446,7 +446,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 = await response.parse()
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -460,7 +460,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom = await response.parse()
- assert_matches_type(UnnamedSchemaRef169, custom, path=["response"])
+ assert_matches_type(UnnamedSchemaRef8d6a37a1e4190f86652802244d29525f, custom, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/dlp/test_patterns.py b/tests/api_resources/zero_trust/dlp/test_patterns.py
index 78006df2495d..d51b48494bfb 100644
--- a/tests/api_resources/zero_trust/dlp/test_patterns.py
+++ b/tests/api_resources/zero_trust/dlp/test_patterns.py
@@ -3,13 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.dlp import PatternValidateResponse
+from cloudflare.types.shared import UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_validate(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
regex="^4[0-9]{6,}$",
)
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +37,7 @@ def test_raw_response_validate(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pattern = response.parse()
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,7 @@ def test_streaming_response_validate(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pattern = response.parse()
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -74,7 +74,7 @@ async def test_method_validate(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
regex="^4[0-9]{6,}$",
)
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -87,7 +87,7 @@ async def test_raw_response_validate(self, async_client: AsyncCloudflare) -> Non
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pattern = await response.parse()
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -100,7 +100,7 @@ async def test_streaming_response_validate(self, async_client: AsyncCloudflare)
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
pattern = await response.parse()
- assert_matches_type(PatternValidateResponse, pattern, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefCc2ac1a037e5d6702fc77b3bcb527854], pattern, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/dlp/test_payload_logs.py b/tests/api_resources/zero_trust/dlp/test_payload_logs.py
index 0f18a2aa45e1..ce4c31c883e4 100644
--- a/tests/api_resources/zero_trust/dlp/test_payload_logs.py
+++ b/tests/api_resources/zero_trust/dlp/test_payload_logs.py
@@ -3,13 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.dlp import PayloadLogGetResponse, PayloadLogUpdateResponse
+from cloudflare.types.zero_trust.dlp import UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -24,7 +24,7 @@ def test_method_update(self, client: Cloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
public_key="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=",
)
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -37,7 +37,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = response.parse()
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -50,7 +50,9 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = response.parse()
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -69,7 +71,7 @@ def test_method_get(self, client: Cloudflare) -> None:
payload_log = client.zero_trust.dlp.payload_logs.get(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +83,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = response.parse()
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -93,7 +95,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = response.parse()
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -116,7 +120,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
account_id="023e105f4ecef8ad9ca31a8372d0c353",
public_key="EmpOvSXw8BfbrGCi0fhGiD/3yXk2SiV1Nzg2lru3oj0=",
)
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -129,7 +133,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = await response.parse()
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -142,7 +146,9 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = await response.parse()
- assert_matches_type(PayloadLogUpdateResponse, payload_log, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -161,7 +167,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
payload_log = await async_client.zero_trust.dlp.payload_logs.get(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -173,7 +179,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = await response.parse()
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -185,7 +191,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
payload_log = await response.parse()
- assert_matches_type(PayloadLogGetResponse, payload_log, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRefE31ff4936b1b42746e8cb62bbc87f2e5], payload_log, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/gateway/test_lists.py b/tests/api_resources/zero_trust/gateway/test_lists.py
index 982a8d89d63c..d4beb995661a 100644
--- a/tests/api_resources/zero_trust/gateway/test_lists.py
+++ b/tests/api_resources/zero_trust/gateway/test_lists.py
@@ -10,9 +10,9 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust.gateway import (
ListCreateResponse,
- ListDeleteResponse,
ZeroTrustGatewayLists,
)
@@ -202,7 +202,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -216,7 +216,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"
list = response.parse()
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -230,7 +230,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
list = response.parse()
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -550,7 +550,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -564,7 +564,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"
list = await response.parse()
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -578,7 +578,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
list = await response.parse()
- assert_matches_type(ListDeleteResponse, list, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, list, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/gateway/test_locations.py b/tests/api_resources/zero_trust/gateway/test_locations.py
index 1aa91e12fa6f..c82cb591cb17 100644
--- a/tests/api_resources/zero_trust/gateway/test_locations.py
+++ b/tests/api_resources/zero_trust/gateway/test_locations.py
@@ -10,8 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust.gateway import (
- LocationDeleteResponse,
ZeroTrustGatewayLocations,
)
@@ -199,7 +199,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -213,7 +213,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"
location = response.parse()
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -227,7 +227,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
location = response.parse()
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -482,7 +482,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -496,7 +496,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"
location = await response.parse()
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -510,7 +510,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
location = await response.parse()
- assert_matches_type(LocationDeleteResponse, location, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, location, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/gateway/test_logging.py b/tests/api_resources/zero_trust/gateway/test_logging.py
index 605aea4d2f01..271ab5a347b7 100644
--- a/tests/api_resources/zero_trust/gateway/test_logging.py
+++ b/tests/api_resources/zero_trust/gateway/test_logging.py
@@ -9,7 +9,9 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.gateway import ZeroTrustGatewayGatewayAccountLoggingSettings
+from cloudflare.types.zero_trust.gateway import (
+ ZeroTrustGatewayGatewayAccountLoggingSettings,
+)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
diff --git a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
index 6ad58d66a1b6..ebeb9cd86834 100644
--- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
+++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
@@ -10,8 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust.gateway import (
- ProxyEndpointDeleteResponse,
ZeroTrustGatewayProxyEndpoints,
)
@@ -121,7 +121,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -135,7 +135,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"
proxy_endpoint = response.parse()
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -149,7 +149,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
proxy_endpoint = response.parse()
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -389,7 +389,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -403,7 +403,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"
proxy_endpoint = await response.parse()
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -417,7 +417,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
proxy_endpoint = await response.parse()
- assert_matches_type(ProxyEndpointDeleteResponse, proxy_endpoint, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, proxy_endpoint, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/gateway/test_rules.py b/tests/api_resources/zero_trust/gateway/test_rules.py
index 95f2fc126ca0..3a07d40478fd 100644
--- a/tests/api_resources/zero_trust/gateway/test_rules.py
+++ b/tests/api_resources/zero_trust/gateway/test_rules.py
@@ -10,8 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust.gateway import (
- RuleDeleteResponse,
ZeroTrustGatewayRules,
)
@@ -410,7 +410,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -424,7 +424,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"
rule = response.parse()
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -438,7 +438,7 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = response.parse()
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -904,7 +904,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -918,7 +918,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"
rule = await response.parse()
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -932,7 +932,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
rule = await response.parse()
- assert_matches_type(RuleDeleteResponse, rule, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, rule, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/networks/test_virtual_networks.py b/tests/api_resources/zero_trust/networks/test_virtual_networks.py
index c52caf96c86b..c9e66b173745 100644
--- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py
+++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py
@@ -3,18 +3,16 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
from cloudflare.types.zero_trust.networks import (
TunnelVirtualNetwork,
- VirtualNetworkEditResponse,
- VirtualNetworkCreateResponse,
- VirtualNetworkDeleteResponse,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -30,7 +28,9 @@ def test_method_create(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
name="us-east-1-vpc",
)
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -41,7 +41,9 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
comment="Staging VPC for data science",
is_default=True,
)
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -54,7 +56,9 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -67,7 +71,9 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -143,7 +149,9 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -157,7 +165,9 @@ 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"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -171,7 +181,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -199,7 +211,9 @@ def test_method_edit(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -211,7 +225,9 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
is_default_network=True,
name="us-east-1-vpc",
)
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -224,7 +240,9 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -237,7 +255,9 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = response.parse()
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -267,7 +287,9 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
name="us-east-1-vpc",
)
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -278,7 +300,9 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
comment="Staging VPC for data science",
is_default=True,
)
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -291,7 +315,9 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -304,7 +330,9 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkCreateResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -380,7 +408,9 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -394,7 +424,9 @@ 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"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -408,7 +440,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -436,7 +470,9 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -448,7 +484,9 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
is_default_network=True,
name="us-east-1-vpc",
)
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -461,7 +499,9 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -474,7 +514,9 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
virtual_network = await response.parse()
- assert_matches_type(VirtualNetworkEditResponse, virtual_network, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], virtual_network, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/test_devices.py b/tests/api_resources/zero_trust/test_devices.py
index 74916833d356..456b4d37f0f0 100644
--- a/tests/api_resources/zero_trust/test_devices.py
+++ b/tests/api_resources/zero_trust/test_devices.py
@@ -3,14 +3,14 @@
from __future__ import annotations
import os
-from typing import Any, Optional, cast
+from typing import Any, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.shared import UnnamedSchemaRef173
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
from cloudflare.types.zero_trust import ZeroTrustDevices
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -68,7 +68,7 @@ def test_method_get(self, client: Cloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -81,7 +81,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
device = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -94,7 +94,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
device = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -166,7 +166,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -179,7 +179,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
device = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -192,7 +192,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
device = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef173], device, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, device, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/test_tunnels.py b/tests/api_resources/zero_trust/test_tunnels.py
index a96de42759eb..93eaaf4ba122 100644
--- a/tests/api_resources/zero_trust/test_tunnels.py
+++ b/tests/api_resources/zero_trust/test_tunnels.py
@@ -11,7 +11,7 @@
from tests.utils import assert_matches_type
from cloudflare._utils import parse_datetime
from cloudflare.pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from cloudflare.types.shared import UnnamedSchemaRef123
+from cloudflare.types.shared import UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8
from cloudflare.types.zero_trust import (
TunnelArgoTunnel,
)
@@ -78,7 +78,9 @@ def test_method_list(self, client: Cloudflare) -> None:
tunnel = client.zero_trust.tunnels.list(
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -97,7 +99,9 @@ def test_method_list_with_all_params(self, client: Cloudflare) -> None:
was_active_at=parse_datetime("2009-11-10T23:00:00Z"),
was_inactive_at=parse_datetime("2009-11-10T23:00:00Z"),
)
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -109,7 +113,9 @@ def test_raw_response_list(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = response.parse()
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -121,7 +127,9 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = response.parse()
- assert_matches_type(SyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ SyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -197,7 +205,7 @@ def test_method_edit(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -208,7 +216,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
name="blog",
tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=",
)
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -221,7 +229,7 @@ def test_raw_response_edit(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = response.parse()
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -234,7 +242,7 @@ def test_streaming_response_edit(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = response.parse()
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -365,7 +373,9 @@ async def test_method_list(self, async_client: AsyncCloudflare) -> None:
tunnel = await async_client.zero_trust.tunnels.list(
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -384,7 +394,9 @@ async def test_method_list_with_all_params(self, async_client: AsyncCloudflare)
was_active_at=parse_datetime("2009-11-10T23:00:00Z"),
was_inactive_at=parse_datetime("2009-11-10T23:00:00Z"),
)
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -396,7 +408,9 @@ async def test_raw_response_list(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = await response.parse()
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -408,7 +422,9 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = await response.parse()
- assert_matches_type(AsyncV4PagePaginationArray[UnnamedSchemaRef123], tunnel, path=["response"])
+ assert_matches_type(
+ AsyncV4PagePaginationArray[UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8], tunnel, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -484,7 +500,7 @@ async def test_method_edit(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
)
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -495,7 +511,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
name="blog",
tunnel_secret="AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=",
)
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -508,7 +524,7 @@ async def test_raw_response_edit(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -521,7 +537,7 @@ async def test_streaming_response_edit(self, async_client: AsyncCloudflare) -> N
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
tunnel = await response.parse()
- assert_matches_type(UnnamedSchemaRef123, tunnel, path=["response"])
+ assert_matches_type(UnnamedSchemaRef413ab4522f0bb93f63444799121fe2f8, tunnel, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/tunnels/test_configurations.py b/tests/api_resources/zero_trust/tunnels/test_configurations.py
index 3b66ce60c1d0..d34a88793823 100644
--- a/tests/api_resources/zero_trust/tunnels/test_configurations.py
+++ b/tests/api_resources/zero_trust/tunnels/test_configurations.py
@@ -3,16 +3,13 @@
from __future__ import annotations
import os
-from typing import Any, cast
+from typing import Any, Optional, cast
import pytest
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.tunnels import (
- ConfigurationGetResponse,
- ConfigurationUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -27,7 +24,9 @@ def test_method_update(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -136,7 +135,9 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
"warp_routing": {"enabled": True},
},
)
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -149,7 +150,9 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = response.parse()
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -162,7 +165,9 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = response.parse()
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -188,7 +193,9 @@ def test_method_get(self, client: Cloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -201,7 +208,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = response.parse()
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -214,7 +223,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = response.parse()
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -244,7 +255,9 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -353,7 +366,9 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
"warp_routing": {"enabled": True},
},
)
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -366,7 +381,9 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = await response.parse()
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -379,7 +396,9 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = await response.parse()
- assert_matches_type(ConfigurationUpdateResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -405,7 +424,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -418,7 +439,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = await response.parse()
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -431,7 +454,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
configuration = await response.parse()
- assert_matches_type(ConfigurationGetResponse, configuration, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], configuration, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zero_trust/tunnels/test_connections.py b/tests/api_resources/zero_trust/tunnels/test_connections.py
index d7d2ec576f37..972194937f1f 100644
--- a/tests/api_resources/zero_trust/tunnels/test_connections.py
+++ b/tests/api_resources/zero_trust/tunnels/test_connections.py
@@ -9,10 +9,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zero_trust.tunnels import (
- ConnectionGetResponse,
- ConnectionDeleteResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1
+from cloudflare.types.zero_trust.tunnels import ConnectionGetResponse
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +26,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -42,7 +40,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"
connection = response.parse()
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -56,7 +54,9 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
connection = response.parse()
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -141,7 +141,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account_id="699d98642c564d2e855e9661899b7252",
body={},
)
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -155,7 +155,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"
connection = await response.parse()
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -169,7 +169,9 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
connection = await response.parse()
- assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef65e3c8c1a9c4638ec25cdbbaca7165c1], connection, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zones/test_custom_nameservers.py b/tests/api_resources/zones/test_custom_nameservers.py
index 0d059a2b75b5..29d739a15aea 100644
--- a/tests/api_resources/zones/test_custom_nameservers.py
+++ b/tests/api_resources/zones/test_custom_nameservers.py
@@ -9,10 +9,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
-from cloudflare.types.zones import (
- CustomNameserverGetResponse,
- CustomNameserverUpdateResponse,
-)
+from cloudflare.types.shared import UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -26,7 +23,9 @@ def test_method_update(self, client: Cloudflare) -> None:
custom_nameserver = client.zones.custom_nameservers.update(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -36,7 +35,9 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
enabled=True,
ns_set=1,
)
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -48,7 +49,9 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -60,7 +63,9 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -78,7 +83,9 @@ def test_method_get(self, client: Cloudflare) -> None:
custom_nameserver = client.zones.custom_nameservers.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -90,7 +97,9 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -102,7 +111,9 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = response.parse()
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -124,7 +135,9 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
custom_nameserver = await async_client.zones.custom_nameservers.update(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -134,7 +147,9 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
enabled=True,
ns_set=1,
)
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -146,7 +161,9 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -158,7 +175,9 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverUpdateResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
@@ -176,7 +195,9 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
custom_nameserver = await async_client.zones.custom_nameservers.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -188,7 +209,9 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
@pytest.mark.skip()
@parametrize
@@ -200,7 +223,9 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
custom_nameserver = await response.parse()
- assert_matches_type(Optional[CustomNameserverGetResponse], custom_nameserver, path=["response"])
+ assert_matches_type(
+ Optional[UnnamedSchemaRef67bbb1ccdd42c3e2937b9fd19f791151], custom_nameserver, path=["response"]
+ )
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zones/test_holds.py b/tests/api_resources/zones/test_holds.py
index 7022bac865f6..ea9413b17002 100644
--- a/tests/api_resources/zones/test_holds.py
+++ b/tests/api_resources/zones/test_holds.py
@@ -10,9 +10,7 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.types.zones import (
- HoldGetResponse,
- HoldCreateResponse,
- UnnamedSchemaRef64,
+ UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820,
)
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -27,7 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None:
hold = client.zones.holds.create(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -36,7 +34,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
include_subdomains=True,
)
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -48,7 +46,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = response.parse()
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -60,7 +58,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = response.parse()
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -78,7 +76,7 @@ def test_method_delete(self, client: Cloudflare) -> None:
hold = client.zones.holds.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -87,7 +85,7 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
hold_after="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -99,7 +97,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"
hold = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, 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"
hold = response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -129,7 +127,7 @@ def test_method_get(self, client: Cloudflare) -> None:
hold = client.zones.holds.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -141,7 +139,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = response.parse()
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -153,7 +151,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = response.parse()
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -175,7 +173,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
hold = await async_client.zones.holds.create(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -184,7 +182,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
include_subdomains=True,
)
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -196,7 +194,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = await response.parse()
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -208,7 +206,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = await response.parse()
- assert_matches_type(HoldCreateResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -226,7 +224,7 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
hold = await async_client.zones.holds.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -235,7 +233,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
hold_after="string",
)
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -247,7 +245,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"
hold = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -259,7 +257,7 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = await response.parse()
- assert_matches_type(Optional[UnnamedSchemaRef64], hold, path=["response"])
+ assert_matches_type(Optional[UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820], hold, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -277,7 +275,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
hold = await async_client.zones.holds.get(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
)
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -289,7 +287,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = await response.parse()
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -301,7 +299,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
hold = await response.parse()
- assert_matches_type(HoldGetResponse, hold, path=["response"])
+ assert_matches_type(UnnamedSchemaRef45004a9444b6da9f88158ed2fb9a5820, hold, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zones/test_subscriptions.py b/tests/api_resources/zones/test_subscriptions.py
index 969e48d0ee76..08b41d427a25 100644
--- a/tests/api_resources/zones/test_subscriptions.py
+++ b/tests/api_resources/zones/test_subscriptions.py
@@ -10,11 +10,8 @@
from cloudflare import Cloudflare, AsyncCloudflare
from tests.utils import assert_matches_type
from cloudflare.pagination import SyncSinglePage, AsyncSinglePage
-from cloudflare.types.zones import (
- SubscriptionGetResponse,
- SubscriptionListResponse,
- SubscriptionCreateResponse,
-)
+from cloudflare.types.zones import SubscriptionListResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -28,7 +25,7 @@ def test_method_create(self, client: Cloudflare) -> None:
subscription = client.zones.subscriptions.create(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -68,7 +65,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
},
zone={},
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -80,7 +77,7 @@ def test_raw_response_create(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -92,7 +89,7 @@ def test_streaming_response_create(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -152,7 +149,7 @@ def test_method_get(self, client: Cloudflare) -> None:
subscription = client.zones.subscriptions.get(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -164,7 +161,7 @@ def test_raw_response_get(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -176,7 +173,7 @@ def test_streaming_response_get(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -198,7 +195,7 @@ async def test_method_create(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.zones.subscriptions.create(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -238,7 +235,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
},
zone={},
)
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -250,7 +247,7 @@ async def test_raw_response_create(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -262,7 +259,7 @@ async def test_streaming_response_create(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionCreateResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -322,7 +319,7 @@ async def test_method_get(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.zones.subscriptions.get(
"506e3185e9c882d175a2d0cb0093d9f2",
)
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -334,7 +331,7 @@ async def test_raw_response_get(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -346,7 +343,7 @@ async def test_streaming_response_get(self, async_client: AsyncCloudflare) -> No
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
subscription = await response.parse()
- assert_matches_type(SubscriptionGetResponse, subscription, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, subscription, path=["response"])
assert cast(Any, response.is_closed) is True
diff --git a/tests/api_resources/zones/workers/test_script.py b/tests/api_resources/zones/workers/test_script.py
index a8a61e36ddf6..bc03fee7b479 100644
--- a/tests/api_resources/zones/workers/test_script.py
+++ b/tests/api_resources/zones/workers/test_script.py
@@ -17,7 +17,7 @@
StreamedBinaryAPIResponse,
AsyncStreamedBinaryAPIResponse,
)
-from cloudflare.types.zones.workers import ScriptUpdateResponse
+from cloudflare.types.shared import UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a
base_url = os.environ.get("TEST_API_BASE_URL", "http://127.0.0.1:4010")
@@ -32,7 +32,7 @@ def test_method_update(self, client: Cloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -45,7 +45,7 @@ def test_raw_response_update(self, client: Cloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
script = response.parse()
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -58,7 +58,7 @@ def test_streaming_response_update(self, client: Cloudflare) -> None:
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
script = response.parse()
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
assert cast(Any, response.is_closed) is True
@@ -188,7 +188,7 @@ async def test_method_update(self, async_client: AsyncCloudflare) -> None:
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
body={},
)
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -201,7 +201,7 @@ async def test_raw_response_update(self, async_client: AsyncCloudflare) -> None:
assert response.is_closed is True
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
script = await response.parse()
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
@pytest.mark.skip()
@parametrize
@@ -214,7 +214,7 @@ async def test_streaming_response_update(self, async_client: AsyncCloudflare) ->
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
script = await response.parse()
- assert_matches_type(ScriptUpdateResponse, script, path=["response"])
+ assert_matches_type(UnnamedSchemaRef9444735ca60712dbcf8afd832eb5716a, script, path=["response"])
assert cast(Any, response.is_closed) is True